Files
scriptc/package.json
T
Chris Tate 266e22b151 Enable initial static compilation of published Effect modules (#428)
* Enable initial static compilation of published Effect modules

- Compile the published Effect Function subpath and deeper npm module chains as static program code.

- Preserve JavaScript argument and string search behavior across native backends, with differential coverage.

* Prune unused static npm namespace re-exports

- Honor package sideEffects metadata across nested ESM scopes and pure dependencies.
- Keep preflight, linking, and initialization consistent, with Node differential coverage.

* Fix static npm pruning across dependency cycles

- Make package purity caching safe across dependency cycles.

- Cover transitive module initialization with a Node differential fixture.
2026-09-25 12:52:27 -05:00

38 lines
1.4 KiB
JSON

{
"name": "scriptc-monorepo",
"private": true,
"engines": {
"node": ">=24.0.0"
},
"scripts": {
"build": "pnpm -r --filter \"./packages/*\" run build",
"build:fresh": "rm -rf packages/compiler/dist packages/cli/dist node_modules/.cache/scriptc-tsc && pnpm build",
"test": "vitest run",
"test:ts7": "node scripts/test-ts7.mjs",
"test:fetch-conformance": "vitest run tests/harness/fetch-conformance.test.ts",
"test:test262": "tsx tests/test262/run.ts",
"test:test262:fetch": "node tests/test262/fetch.mjs",
"test:cache-identity": "node tests/harness/cache-identity.mjs",
"test:sandbox": "node scripts/sandbox-test.mjs",
"test:sandbox:image": "node scripts/sandbox-image.mjs",
"test:watch": "vitest",
"lint": "eslint packages/compiler/src packages/cli/src",
"manifest": "tsx scripts/surface-manifest.mjs",
"node-compat": "pnpm --filter @internal/compatibility run update",
"node-compat:backlog": "pnpm --filter @internal/compatibility run backlog --",
"node-compat:check": "pnpm --filter @internal/compatibility run check",
"scriptc": "tsx packages/cli/src/main.ts"
},
"devDependencies": {
"@types/node": "^24.0.0",
"effect": "3.22.2",
"eslint": "^9.20.0",
"js-yaml": "4.3.0",
"tsx": "^4.19.0",
"typescript": "5.9.3",
"typescript-eslint": "^8.24.0",
"vercel": "58.1.0",
"vitest": "^3.0.0"
}
}