Skip to content

retire the npm-git consumption path: the root facade and the setup action's js-locks - #98

Merged
lannbot merged 1 commit into
mainfrom
retire-npm-facade
Aug 17, 2026
Merged

retire the npm-git consumption path: the root facade and the setup action's js-locks#98
lannbot merged 1 commit into
mainfrom
retire-npm-facade

Conversation

@lannbot

@lannbot lannbot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Follow-up to the JSR consumption migration (webcrypto#385, tls#46, websocket#55, webrtc#162): nothing consumes the npm-git path anymore.

  • Root package.json is no longer a package — it keeps only type: module (Node loads js/viewer/context.js as ESM through it) and a pointer to the real manifest (js/deno.json). The keep-two-export-maps-in-sync burden is gone.
  • actions/setup drops the js-locks input and its --js-lock pins-gate legs: the action holds the cargo rev only; the JS side is JSR-version-pinned, gated by each consumer's runner-js pin check. actions/README consumer recipe updated. (No consumer passes the input anymore; the pins CLI keeps its flags — released surface, harmless.)

Gates: just check, verify-imports, verify-viewer, publish dry-run green; actions-setup-smoke exercises the reduced action in CI.

The JS runner core's consumers all moved to jsr:@polymorph/test, so
the two pieces that existed for npm-git consumption retire:

- The root package.json is no longer a package: no name, version,
  exports, or files — it keeps only the Node ESM type field (Node
  loads js/viewer/context.js as ESM through it) and says where the
  consumable surface lives (js/deno.json, the one export map).
- actions/setup drops the js-locks input and the --js-lock legs of its
  pins gate: the cargo rev is the only pin the action holds; the JS
  side is version-pinned from JSR and gated by each consumer's own
  runner-js pin check. actions/README's consumer recipe follows.

The pins CLI keeps its --js-lock/--package-json flags (released tool
surface; unused is harmless).

Gates: just check, verify-imports, verify-viewer, publish dry-run —
green; the actions-setup-smoke CI job exercises the reduced action.
@lannbot
lannbot enabled auto-merge August 17, 2026 21:14
@lannbot
lannbot merged commit 7881b61 into main Aug 17, 2026
3 checks passed
@lannbot
lannbot deleted the retire-npm-facade branch August 17, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants