Skip to content

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

fix: key allowScripts for R by its resolved name, not the alias (#233)

Alex Matthewsda42967f9f27
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6a556daf..644db9e6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,14 @@
### Fixed
+- **`allowScripts` now names R by the identity npm actually matches on.** The
+ entry was `[email protected]`, the alias in `dependencies`, but npm derives
+ the identity from the resolved package in the lockfile —
+ `@davisvaughan/[email protected]`. The old key matched nothing, so the
+ grammar's install script counted as unreviewed and was blocked;
+ `npm ci --strict-allow-scripts` failed on it. Harmless in practice only
+ because the package ships prebuilds for every supported platform. Note the
+ `overrides` key must stay the alias — the two fields key differently.
- **`graft check` no longer reports every container-tier node as `removed`.**
`checkGraph` branched on the depth and breadth tiers but never on the container
tier the build uses for `.vue`, so `genericLangOf` returned null, a `generic!`
diff --git a/node_modules b/node_modules
new file mode 120000
index 00000000..9cf9293f
--- /dev/null
+++ b/node_modules
@@ -0,0 +1 @@
+/Users/shrishdwivedi/Documents/Context graphs/context-graph-engine/node_modules
\ No newline at end of file
diff --git a/package.json b/package.json
index 0431bbdd..28d340f7 100644
--- a/package.json
+++ b/package.json
@@ -93,6 +93,6 @@
+ "@davisvaughan/[email protected]": true
}
}