scriptc 0.3.6 → 0.4.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scriptc",
3
- "version": "0.3.6",
3
+ "version": "0.4.0",
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,16 +21,16 @@
21
21
  "node": ">=24"
22
22
  },
23
23
  "devDependencies": {
24
- "@scriptc/compiler": "0.3.6"
24
+ "@scriptc/compiler": "0.4.0"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@scriptc/cli-darwin-x64": "0.3.6",
28
- "@scriptc/cli-linux-arm64-gnu": "0.3.6",
29
- "@scriptc/cli-darwin-arm64": "0.3.6",
30
- "@scriptc/cli-linux-arm64-musl": "0.3.6",
31
- "@scriptc/cli-linux-x64-gnu": "0.3.6",
32
- "@scriptc/cli-linux-x64-musl": "0.3.6",
33
- "@scriptc/cli-win32-x64-msvc": "0.3.6"
27
+ "@scriptc/cli-darwin-arm64": "0.4.0",
28
+ "@scriptc/cli-darwin-x64": "0.4.0",
29
+ "@scriptc/cli-linux-arm64-gnu": "0.4.0",
30
+ "@scriptc/cli-linux-arm64-musl": "0.4.0",
31
+ "@scriptc/cli-linux-x64-gnu": "0.4.0",
32
+ "@scriptc/cli-linux-x64-musl": "0.4.0",
33
+ "@scriptc/cli-win32-x64-msvc": "0.4.0"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
@@ -42,6 +42,7 @@ export function relocateToolchain(manifest, sourceDirectory, destinationDirector
42
42
  const pathFrom = (value) => relative(destinationDirectory, resolve(sourceDirectory, value));
43
43
  for (const name of [
44
44
  "ts7",
45
+ "tsc_ts",
45
46
  "llvm_package",
46
47
  "runtime_pack",
47
48
  "runtime_sources",
@@ -96,6 +97,7 @@ export function installNativeCli(
96
97
  if (process.platform !== "win32") {
97
98
  for (const path of [
98
99
  manifest.ts7,
100
+ ...(manifest.tsc_ts === undefined ? [] : [manifest.tsc_ts]),
99
101
  manifest.comptime,
100
102
  join(manifest.llvm_package, "bin/scriptc-llvm-codegen"),
101
103
  ]) {