@nubjs/nub-linux-x64-musl 0.0.2 → 0.0.3
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/bin/nub +0 -0
- package/package.json +1 -1
- package/runtime/node_modules/get-tsconfig/LICENSE +21 -0
- package/runtime/node_modules/get-tsconfig/README.md +268 -0
- package/runtime/node_modules/get-tsconfig/dist/index.cjs +7 -0
- package/runtime/node_modules/get-tsconfig/dist/index.d.cts +2116 -0
- package/runtime/node_modules/get-tsconfig/dist/index.d.mts +2116 -0
- package/runtime/node_modules/get-tsconfig/dist/index.mjs +7 -0
- package/runtime/node_modules/get-tsconfig/package.json +46 -0
- package/runtime/node_modules/oxc-transform/LICENSE +22 -0
- package/runtime/node_modules/oxc-transform/README.md +84 -0
- package/runtime/node_modules/oxc-transform/browser.js +1 -0
- package/runtime/node_modules/oxc-transform/index.d.ts +658 -0
- package/runtime/node_modules/oxc-transform/index.js +598 -0
- package/runtime/node_modules/oxc-transform/package.json +114 -0
- package/runtime/node_modules/oxc-transform/webcontainer-fallback.cjs +21 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oxc-transform",
|
|
3
|
+
"version": "0.132.0",
|
|
4
|
+
"description": "Oxc Transformer Node API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"babel",
|
|
7
|
+
"javascript",
|
|
8
|
+
"jsx",
|
|
9
|
+
"oxc",
|
|
10
|
+
"transform",
|
|
11
|
+
"transformer",
|
|
12
|
+
"tsx",
|
|
13
|
+
"typescript"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://oxc.rs/docs/guide/usage/transformer",
|
|
16
|
+
"bugs": "https://github.com/oxc-project/oxc/issues",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Boshen and oxc contributors",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/oxc-project/oxc.git",
|
|
22
|
+
"directory": "napi/transform"
|
|
23
|
+
},
|
|
24
|
+
"funding": {
|
|
25
|
+
"url": "https://github.com/sponsors/Boshen"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"browser.js",
|
|
29
|
+
"index.d.ts",
|
|
30
|
+
"index.js",
|
|
31
|
+
"webcontainer-fallback.cjs"
|
|
32
|
+
],
|
|
33
|
+
"type": "module",
|
|
34
|
+
"main": "index.js",
|
|
35
|
+
"browser": "browser.js",
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public",
|
|
38
|
+
"registry": "https://registry.npmjs.org/"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@emnapi/core": "1.10.0",
|
|
42
|
+
"@emnapi/runtime": "1.10.0",
|
|
43
|
+
"@napi-rs/cli": "3.6.2",
|
|
44
|
+
"@types/node": "24.1.0",
|
|
45
|
+
"publint": "0.3.21",
|
|
46
|
+
"vitest": "4.1.6"
|
|
47
|
+
},
|
|
48
|
+
"napi": {
|
|
49
|
+
"binaryName": "transform",
|
|
50
|
+
"packageName": "@oxc-transform/binding",
|
|
51
|
+
"targets": [
|
|
52
|
+
"aarch64-apple-darwin",
|
|
53
|
+
"aarch64-linux-android",
|
|
54
|
+
"aarch64-pc-windows-msvc",
|
|
55
|
+
"aarch64-unknown-linux-gnu",
|
|
56
|
+
"aarch64-unknown-linux-musl",
|
|
57
|
+
"aarch64-unknown-linux-ohos",
|
|
58
|
+
"armv7-linux-androideabi",
|
|
59
|
+
"armv7-unknown-linux-gnueabihf",
|
|
60
|
+
"armv7-unknown-linux-musleabihf",
|
|
61
|
+
"i686-pc-windows-msvc",
|
|
62
|
+
"powerpc64le-unknown-linux-gnu",
|
|
63
|
+
"riscv64gc-unknown-linux-gnu",
|
|
64
|
+
"riscv64gc-unknown-linux-musl",
|
|
65
|
+
"s390x-unknown-linux-gnu",
|
|
66
|
+
"wasm32-wasip1-threads",
|
|
67
|
+
"x86_64-apple-darwin",
|
|
68
|
+
"x86_64-pc-windows-msvc",
|
|
69
|
+
"x86_64-unknown-freebsd",
|
|
70
|
+
"x86_64-unknown-linux-gnu",
|
|
71
|
+
"x86_64-unknown-linux-musl"
|
|
72
|
+
],
|
|
73
|
+
"wasm": {
|
|
74
|
+
"browser": {
|
|
75
|
+
"fs": false
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"engines": {
|
|
80
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
81
|
+
},
|
|
82
|
+
"optionalDependencies": {
|
|
83
|
+
"@oxc-transform/binding-darwin-arm64": "0.132.0",
|
|
84
|
+
"@oxc-transform/binding-android-arm64": "0.132.0",
|
|
85
|
+
"@oxc-transform/binding-win32-arm64-msvc": "0.132.0",
|
|
86
|
+
"@oxc-transform/binding-linux-arm64-gnu": "0.132.0",
|
|
87
|
+
"@oxc-transform/binding-linux-arm64-musl": "0.132.0",
|
|
88
|
+
"@oxc-transform/binding-openharmony-arm64": "0.132.0",
|
|
89
|
+
"@oxc-transform/binding-android-arm-eabi": "0.132.0",
|
|
90
|
+
"@oxc-transform/binding-linux-arm-gnueabihf": "0.132.0",
|
|
91
|
+
"@oxc-transform/binding-linux-arm-musleabihf": "0.132.0",
|
|
92
|
+
"@oxc-transform/binding-win32-ia32-msvc": "0.132.0",
|
|
93
|
+
"@oxc-transform/binding-linux-ppc64-gnu": "0.132.0",
|
|
94
|
+
"@oxc-transform/binding-linux-riscv64-gnu": "0.132.0",
|
|
95
|
+
"@oxc-transform/binding-linux-riscv64-musl": "0.132.0",
|
|
96
|
+
"@oxc-transform/binding-linux-s390x-gnu": "0.132.0",
|
|
97
|
+
"@oxc-transform/binding-wasm32-wasi": "0.132.0",
|
|
98
|
+
"@oxc-transform/binding-darwin-x64": "0.132.0",
|
|
99
|
+
"@oxc-transform/binding-win32-x64-msvc": "0.132.0",
|
|
100
|
+
"@oxc-transform/binding-freebsd-x64": "0.132.0",
|
|
101
|
+
"@oxc-transform/binding-linux-x64-gnu": "0.132.0",
|
|
102
|
+
"@oxc-transform/binding-linux-x64-musl": "0.132.0"
|
|
103
|
+
},
|
|
104
|
+
"scripts": {
|
|
105
|
+
"build-dev": "napi build --esm --platform",
|
|
106
|
+
"build-test": "pnpm run build-dev --profile coverage",
|
|
107
|
+
"build": "pnpm run build-dev --features allocator --release",
|
|
108
|
+
"postbuild": "publint",
|
|
109
|
+
"postbuild-dev": "node scripts/patch.js",
|
|
110
|
+
"build-wasm": "pnpm run build-wasm-dev --release",
|
|
111
|
+
"build-wasm-dev": "pnpm run build-dev --target wasm32-wasip1-threads",
|
|
112
|
+
"test": "vitest run --dir ./test"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const fs = require("node:fs");
|
|
2
|
+
const childProcess = require("node:child_process");
|
|
3
|
+
|
|
4
|
+
const pkg = JSON.parse(fs.readFileSync(require.resolve("oxc-transform/package.json"), "utf-8"));
|
|
5
|
+
const { version } = pkg;
|
|
6
|
+
const baseDir = `/tmp/oxc-transform-${version}`;
|
|
7
|
+
const bindingEntry = `${baseDir}/node_modules/@oxc-transform/binding-wasm32-wasi/transform.wasi.cjs`;
|
|
8
|
+
|
|
9
|
+
if (!fs.existsSync(bindingEntry)) {
|
|
10
|
+
fs.rmSync(baseDir, { recursive: true, force: true });
|
|
11
|
+
fs.mkdirSync(baseDir, { recursive: true });
|
|
12
|
+
const bindingPkg = `@oxc-transform/binding-wasm32-wasi@${version}`;
|
|
13
|
+
// oxlint-disable-next-line no-console
|
|
14
|
+
console.log(`[oxc-transform] Downloading ${bindingPkg} on WebContainer...`);
|
|
15
|
+
childProcess.execFileSync("pnpm", ["i", bindingPkg], {
|
|
16
|
+
cwd: baseDir,
|
|
17
|
+
stdio: "inherit",
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
module.exports = require(bindingEntry);
|