Install with pnpm, as the sibling branch does

bun install does not rewrite what is already in node_modules when a version
goes DOWN, which silently left @ng-org/orm and @ng-org/web on versions that
disagree about orm_start_graph's arity — the callback then lands in the config
slot and the SDK rejects it as unserializable. Every dependency measurement
taken this way was meaningless.

Carried over from ng-eventually with it: cucumber invoked through the package
entry rather than the .bin shim, which node --import tsx/esm cannot load under
pnpm; the build:orm paths, which still pointed at a src/shapes that moved to
src/shared/shapes; and the tsconfig fix that DROPS baseUrl instead of silencing
its deprecation — reported as a config error, it made tsc exit without checking
a single file.
This commit is contained in:
Sylvain Duchesne
2026-09-21 13:55:32 +02:00
parent 46abbf2e64
commit db483726af
4 changed files with 6179 additions and 1411 deletions
-1402
View File
File diff suppressed because it is too large Load Diff
+10 -4
View File
@@ -8,13 +8,13 @@
"start": "NODE_ENV=production bun src/index.ts",
"build": "bun run build.ts",
"test:cucumber": "bun run cucumber:run && bun run cucumber:report && bun run features:parse && bun run steps:extract",
"cucumber:run": "node --import tsx/esm node_modules/.bin/cucumber-js --config cucumber.json",
"test:data": "node --import tsx/esm node_modules/.bin/cucumber-js --config cucumber.json --tags @data",
"cucumber:run": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json",
"test:data": "node --import tsx/esm node_modules/@cucumber/cucumber/bin/cucumber.js --config cucumber.json --tags @data",
"test:auth-setup": "bun scripts/setup-test-auth.ts",
"cucumber:report": "bun scripts/parse-test-results.ts",
"features:parse": "bun scripts/parse-features.ts",
"steps:extract": "bun scripts/extract-step-definitions.ts",
"build:orm": "rdf-orm build --input ./src/shapes/shex --output ./src/shapes/orm",
"build:orm": "rdf-orm build --input ./src/shared/shapes/shex --output ./src/shared/shapes/orm",
"build:ng": "bash scripts/build-ng-packages.sh",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
@@ -58,5 +58,11 @@
"@storybook/addon-a11y": "^10.3.5",
"@storybook/addon-docs": "^10.3.5",
"@storybook/addon-onboarding": "^10.3.5"
}
},
"pnpm": {
"onlyBuiltDependencies": [
"bun"
]
},
"packageManager": "pnpm@10.26.0+sha512.3b3f6c725ebe712506c0ab1ad4133cf86b1f4b687effce62a9b38b4d72e3954242e643190fc51fa1642949c735f403debd44f5cb0edd657abe63a8b6a7e1e402"
}
+6165
View File
File diff suppressed because it is too large Load Diff
+4 -5
View File
@@ -21,11 +21,10 @@
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// `baseUrl` is deprecated in TS 6 and the deprecation is reported as a CONFIG
// error — which makes tsc exit(2) WITHOUT typechecking a single file. The
// typecheck gate was silently inert; this silences the deprecation so it runs.
"ignoreDeprecations": "6.0",
"baseUrl": ".",
// No `baseUrl`: deprecated in TypeScript 6, where it is reported as an ERROR
// that aborts the whole compilation — `tsc --noEmit` then exits 0 having
// checked nothing, so the typecheck gate silently passes everything. `paths`
// resolves relative to this file since TS 4.4, so dropping it changes nothing.
"paths": {
"@/*": ["./src/*"]
},