swc-plugin-import-meta-env 1.11.21 → 1.11.29
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": "swc-plugin-import-meta-env",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.29",
|
|
4
4
|
"description": "@swc plugin for handling the transformation of import.meta.env",
|
|
5
5
|
"author": "Alex Miller <codex.nz@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/Codex-/swc-plugin-import-meta-env#readme",
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
"main": "swc_plugin_import_meta_env.wasm",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "cargo build-wasip1",
|
|
22
|
-
"build:release": "pnpm
|
|
22
|
+
"build:release": "pnpm build --release",
|
|
23
|
+
"build:test": "cargo test --no-run",
|
|
23
24
|
"preinstall": "npx only-allow pnpm",
|
|
24
25
|
"prepublishOnly": "cargo build-wasip1 --release",
|
|
25
|
-
"prepack": "pnpm
|
|
26
|
+
"prepack": "pnpm build:release && cp target/wasm32-wasip1/release/swc_plugin_import_meta_env.wasm .",
|
|
26
27
|
"release": "release-it",
|
|
27
|
-
"test": "pnpm
|
|
28
|
-
"test:setup": "pnpm
|
|
28
|
+
"test": "pnpm test:setup && pnpm test:unit && pnpm test:integration",
|
|
29
|
+
"test:setup": "pnpm build:test && pnpm build && cp target/wasm32-wasip1/debug/swc_plugin_import_meta_env.wasm .",
|
|
29
30
|
"test:unit": "cargo test --color always",
|
|
30
31
|
"test:integration": "pnpm exec jest --config ./tests/integration/jest.config.cjs --no-cache"
|
|
31
32
|
},
|
|
@@ -34,14 +35,14 @@
|
|
|
34
35
|
],
|
|
35
36
|
"preferUnplugged": true,
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@swc/core": "^1.11.
|
|
38
|
-
"@swc/jest": "^0.2.
|
|
38
|
+
"@swc/core": "^1.11.29",
|
|
39
|
+
"@swc/jest": "^0.2.38",
|
|
39
40
|
"@types/jest": "^29.5.14",
|
|
40
41
|
"auto-changelog": "^2.5.0",
|
|
41
42
|
"jest": "^29.7.0",
|
|
42
|
-
"release-it": "^
|
|
43
|
+
"release-it": "^19.0.2"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
45
|
-
"@swc/core": "^1.11.
|
|
46
|
+
"@swc/core": "^1.11.29"
|
|
46
47
|
}
|
|
47
48
|
}
|
|
Binary file
|