The indexing package installs, and there is still one verifier
`1.0.1` moves the data layer from `dependencies` to `peerDependencies`, satisfied by the application's own copy. The path that broke `1.0.0` survives only in devDependencies, which pnpm never installs for a git dependency -- verified at the tag's commit rather than taken on trust. One verifier, proven: the data layer and `@ng-org/web` each resolve to the same realpath from the application and from inside the new package, and exactly one `@ng-org/web` exists in the whole store. No overrides, no resolutions, no hoisting flag, no `.npmrc` -- the peer dependency did it alone, which is the point: the singleton becomes structural instead of something checked afterwards. The runtime surface matches the engagement exactly -- five values exported, every other published name type-only and erased. Nothing undeclared, nothing missing. Local wiring stays ONE script rather than a sibling: a provider registry drives the same copy-overlay, the same `--once`, the same watch loop, only the paths differ. Its single-instance assertion became a loop over every package a provider shares with the application, which matters here because that provider's own checkout carries `file:` links -- the very symlink hazard the script exists for. Its header no longer promises what the old one did: a running dev server never picks up a refreshed node_modules package, not even across a real rebuild.
This commit is contained in:
+3
-1
@@ -17,12 +17,14 @@
|
||||
"build:orm": "rdf-orm build --input ./src/shared/shapes/shex --output ./src/shared/shapes/orm",
|
||||
"validate": "bun scripts/validate.ts",
|
||||
"build:ng": "bash scripts/build-ng-packages.sh",
|
||||
"link:polyfill": "bun scripts/link-polyfill.ts",
|
||||
"link:polyfill": "bun scripts/link-polyfill.ts polyfill",
|
||||
"link:indexing": "bun scripts/link-polyfill.ts indexing",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ng-eventually/polyfill": "git+https://gitea.reconnexion.apps.gueraud.net/Reconnexion/ng-eventually.git#a8d53010c227462cc9317e9be499c2100ca8d533&path:/packages/polyfill",
|
||||
"@ng-helpers/indexing": "git+https://gitea.reconnexion.apps.gueraud.net/Sylvain/ng-helpers.git#v1.0.1",
|
||||
"@ng-org/alien-deepsignals": "0.1.2-alpha.11",
|
||||
"@ng-org/orm": "0.1.2-alpha.18",
|
||||
"@ng-org/shex-orm": "0.1.2-alpha.8",
|
||||
|
||||
Reference in New Issue
Block a user