scriptc 0.4.8 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,6 +36,7 @@ Building executables needs a linker and the platform SDK or sysroot, such as the
36
36
  - `scriptc run <file.ts>`: compile and run.
37
37
  - `scriptc coverage <file.ts>`: report what compiles, and explain what doesn't.
38
38
  - `scriptc build --lib --profile <profile.json>`: compile a static library, or a Wasm reactor on `wasm32-wasi`.
39
+ - `scriptc mcp`: serve these commands as tools to an AI agent over the Model Context Protocol.
39
40
 
40
41
  See the [CLI reference](https://scriptc.dev/docs/cli) for every option.
41
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scriptc",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "description": "Compile ordinary TypeScript and JavaScript to small, fast native executables and WebAssembly modules that run without Node.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://scriptc.dev",
@@ -21,19 +21,20 @@
21
21
  "node": ">=24"
22
22
  },
23
23
  "devDependencies": {
24
- "@scriptc/compiler": "0.4.8"
24
+ "tsc-ts": "0.0.10",
25
+ "@scriptc/compiler": "0.4.10"
25
26
  },
26
27
  "optionalDependencies": {
27
- "@scriptc/cli-darwin-x64": "0.4.8",
28
- "@scriptc/cli-linux-arm64-gnu": "0.4.8",
29
- "@scriptc/cli-darwin-arm64": "0.4.8",
30
- "@scriptc/cli-linux-arm64-musl": "0.4.8",
31
- "@scriptc/cli-linux-x64-gnu": "0.4.8",
32
- "@scriptc/cli-linux-x64-musl": "0.4.8",
33
- "@scriptc/cli-win32-x64-msvc": "0.4.8"
28
+ "@scriptc/cli-darwin-x64": "0.4.10",
29
+ "@scriptc/cli-darwin-arm64": "0.4.10",
30
+ "@scriptc/cli-linux-arm64-musl": "0.4.10",
31
+ "@scriptc/cli-linux-arm64-gnu": "0.4.10",
32
+ "@scriptc/cli-linux-x64-gnu": "0.4.10",
33
+ "@scriptc/cli-linux-x64-musl": "0.4.10",
34
+ "@scriptc/cli-win32-x64-msvc": "0.4.10"
34
35
  },
35
36
  "scripts": {
36
- "build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
37
+ "build": "node node_modules/tsc-ts/bin/tsc-ts.js -p tsconfig.json",
37
38
  "postinstall": "node scripts/install-native.mjs"
38
39
  }
39
40
  }
@@ -47,7 +47,6 @@ export function relocateToolchain(manifest, sourceDirectory, destinationDirector
47
47
  "runtime_pack",
48
48
  "runtime_sources",
49
49
  "declarations",
50
- "comptime",
51
50
  "wasi_node_runner",
52
51
  "lib_diagnostics",
53
52
  ]) {
@@ -127,8 +126,8 @@ export function installNativeCli(
127
126
  for (const path of [
128
127
  manifest.ts7,
129
128
  ...(manifest.tsc_ts === undefined ? [] : [manifest.tsc_ts]),
130
- manifest.comptime,
131
129
  join(manifest.llvm_package, "bin/scriptc-llvm-codegen"),
130
+ join(manifest.llvm_package, "bin/scriptc-comptime"),
132
131
  ]) {
133
132
  chmodSync(resolve(bin, path), 0o755);
134
133
  }