76 lines
3.3 KiB
JSON
76 lines
3.3 KiB
JSON
{
|
|
"name": "@suaveplan/wasm-compiler-javy",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "TS->WASM compiler closing Stage-8 gate 2.8. Thin orchestrator wrapping Bun.build (bundle) + an injected WASI-stdio ABI shim + Javy v8.1.1 (JS->WASM) + WebAssembly.compile (ABI validation) + a host-side route-extraction probe + manifest sidecar emit. The produced .wasm artifact speaks the WASI-stdio length-prefixed JSON framing protocol shared with @suaveplan/api-sandbox-wasm-host-bridge so any plugin compiled here is deployable through abiVariant:'wasi-stdio' without further glue. Ships suaveplan-wasm-compile CLI, runWasmCompilerConformance harness, six WASM_COMPILER.* codes, and three OTel instruments.",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"suaveplan-wasm-compile": "./dist/bin/cli.js"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./testing": {
|
|
"import": {
|
|
"types": "./dist/testing/index.d.ts",
|
|
"default": "./dist/testing/index.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/ tests/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/ tests/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/ tests/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/ tests/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@suaveplan/api-sandbox-wasm-host-bridge": "workspace:^",
|
|
"@suaveplan/api-types": "workspace:^",
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/logger": "workspace:^",
|
|
"@suaveplan/opentelemetry": "workspace:^",
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"optionalDependencies": {
|
|
"@suaveplan/javy-cli-linux-x64": "workspace:^",
|
|
"@suaveplan/javy-cli-linux-arm64": "workspace:^",
|
|
"@suaveplan/javy-cli-darwin-x64": "workspace:^",
|
|
"@suaveplan/javy-cli-darwin-arm64": "workspace:^",
|
|
"@suaveplan/javy-cli-win32-x64": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@suaveplan/api-plugin-example": "workspace:^",
|
|
"@suaveplan/api-sandbox-wasm": "workspace:^",
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": ["dist", "src", "README.md"]
|
|
}
|