Files
scriptc/examples
Malte UblandClaude Opus 5.5 e2898866b0 Add scriptc-pm (spm), a source-augmenting pnpm wrapper (POC)
spm runs pnpm, enumerates installed package instances from the isolated
node_modules/.pnpm layout, locates each instance's upstream TypeScript
(local override, tarball source or sourcesContent, npm provenance,
registry gitHead, version tag), fetches the package directory at that
commit (blobless sparse git, or the codeload archive with an in-process
gzip + tar reader), verifies it against the published artifact
(byte-exact sourcesContent, token-normalized re-emit equivalence, a
structural check for bundles, and an exported-name surface check), and
writes per-instance overlays plus .scriptc-pm/manifest.json (schema 1)
and scriptc-sources.lock.json for scriptc --sources.

It has no npm dependencies and compiles to a native binary with scriptc;
scripts/smoke.sh checks that the Node and native lanes produce identical
output on the public demo app in examples/spm-demo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:33:25 -07:00
..
2026-10-16 10:33:14 -05:00