@tarojs/helper 3.8.0-canary.0 → 4.0.0-alpha.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/LICENSE +11 -4
- package/README.md +25 -0
- package/dist/babelRegister.d.ts +4 -5
- package/dist/babelRegister.js +2 -54
- package/dist/babelRegister.js.map +1 -1
- package/dist/constants.d.ts +6 -6
- package/dist/constants.js +31 -34
- package/dist/constants.js.map +1 -1
- package/dist/dotenv.js +1 -1
- package/dist/dotenv.js.map +1 -1
- package/dist/esbuild/index.js +8 -5
- package/dist/esbuild/index.js.map +1 -1
- package/dist/esbuild/swc-plugin.js +3 -3
- package/dist/esbuild/swc-plugin.js.map +1 -1
- package/dist/esbuild/utils.js +2 -2
- package/dist/esbuild/utils.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/npm.d.ts +2 -2
- package/dist/npm.js +6 -6
- package/dist/npm.js.map +1 -1
- package/dist/swcRegister.d.ts +0 -6
- package/dist/swcRegister.js +0 -15
- package/dist/swcRegister.js.map +1 -1
- package/dist/terminal.d.ts +1 -1
- package/dist/terminal.js.map +1 -1
- package/dist/utils.d.ts +33 -2
- package/dist/utils.js +86 -84
- package/dist/utils.js.map +1 -1
- package/package.json +34 -35
- package/swc/.gitkeep +0 -0
- package/swc/swc_plugin_compile_mode.wasm +0 -0
- package/swc/swc_plugin_define_config.wasm +0 -0
- package/swc/plugin-compile-mode/Cargo.lock +0 -2086
- package/swc/plugin-compile-mode/Cargo.toml +0 -20
- package/swc/plugin-compile-mode/src/lib.rs +0 -52
- package/swc/plugin-compile-mode/src/tests/attributes.rs +0 -85
- package/swc/plugin-compile-mode/src/tests/condition.rs +0 -71
- package/swc/plugin-compile-mode/src/tests/entry.rs +0 -32
- package/swc/plugin-compile-mode/src/tests/looping.rs +0 -134
- package/swc/plugin-compile-mode/src/tests/mod.rs +0 -98
- package/swc/plugin-compile-mode/src/tests/shake.rs +0 -41
- package/swc/plugin-compile-mode/src/transform.rs +0 -466
- package/swc/plugin-compile-mode/src/utils/constants.rs +0 -11
- package/swc/plugin-compile-mode/src/utils/mod.rs +0 -236
- package/swc/plugin-compile-mode/target/wasm32-wasi/release/swc_plugin_compile_mode.wasm +0 -0
- package/swc/plugin-define-config/Cargo.lock +0 -2034
- package/swc/plugin-define-config/Cargo.toml +0 -27
- package/swc/plugin-define-config/src/lib.rs +0 -188
- package/swc/plugin-define-config/target/wasm32-wasi/release/swc_plugin_define_config.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/helper",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.10",
|
|
4
4
|
"description": "Taro Helper",
|
|
5
|
+
"author": "O2Team",
|
|
6
|
+
"license": "MIT",
|
|
5
7
|
"main": "index.js",
|
|
6
8
|
"types": "dist/index.d.ts",
|
|
7
9
|
"repository": {
|
|
@@ -17,55 +19,52 @@
|
|
|
17
19
|
"keywords": [
|
|
18
20
|
"taro"
|
|
19
21
|
],
|
|
20
|
-
"author": "luckyadam",
|
|
21
|
-
"license": "MIT",
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/NervJS/taro/issues"
|
|
24
24
|
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">= 18"
|
|
27
|
+
},
|
|
25
28
|
"homepage": "https://github.com/NervJS/taro#readme",
|
|
26
29
|
"dependencies": {
|
|
27
|
-
"@babel/core": "^7.
|
|
28
|
-
"@babel/
|
|
29
|
-
"@babel/
|
|
30
|
-
"@babel/
|
|
31
|
-
"@babel/
|
|
32
|
-
"@
|
|
33
|
-
"@babel/preset-typescript": "^7.14.5",
|
|
34
|
-
"@babel/register": "^7.14.5",
|
|
35
|
-
"@babel/runtime": "^7.14.5",
|
|
36
|
-
"@babel/traverse": "^7.14.5",
|
|
37
|
-
"@swc/core": "1.3.23",
|
|
30
|
+
"@babel/core": "^7.24.4",
|
|
31
|
+
"@babel/generator": "^7.24.4",
|
|
32
|
+
"@babel/parser": "^7.24.4",
|
|
33
|
+
"@babel/traverse": "^7.24.1",
|
|
34
|
+
"@babel/types": "^7.24.0",
|
|
35
|
+
"@swc/core": "^1.3.96",
|
|
38
36
|
"@swc/register": "^0.1.10",
|
|
39
37
|
"ansi-escapes": "^4.3.2",
|
|
40
|
-
"chalk": "
|
|
41
|
-
"chokidar": "^3.
|
|
38
|
+
"chalk": "^4.1.2",
|
|
39
|
+
"chokidar": "^3.6.0",
|
|
42
40
|
"cross-spawn": "^7.0.3",
|
|
43
|
-
"debug": "4.3.4",
|
|
44
|
-
"dotenv": "^16.
|
|
45
|
-
"dotenv-expand": "^
|
|
46
|
-
"esbuild": "^0.
|
|
47
|
-
"find-yarn-workspace-root": "2.0.0",
|
|
48
|
-
"fs-extra": "^
|
|
41
|
+
"debug": "^4.3.4",
|
|
42
|
+
"dotenv": "^16.4.5",
|
|
43
|
+
"dotenv-expand": "^11.0.6",
|
|
44
|
+
"esbuild": "^0.20.2",
|
|
45
|
+
"find-yarn-workspace-root": "^2.0.0",
|
|
46
|
+
"fs-extra": "^11.2.0",
|
|
49
47
|
"lodash": "^4.17.21",
|
|
50
48
|
"require-from-string": "^2.0.2",
|
|
51
|
-
"resolve": "^1.22.
|
|
52
|
-
"supports-hyperlinks": "^
|
|
53
|
-
"yauzl": "2.10.0"
|
|
49
|
+
"resolve": "^1.22.8",
|
|
50
|
+
"supports-hyperlinks": "^3.0.0"
|
|
54
51
|
},
|
|
55
52
|
"devDependencies": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"ts-jest": "^29.0.5",
|
|
61
|
-
"typescript": "^4.7.4"
|
|
53
|
+
"@types/babel__core": "^7.20.5",
|
|
54
|
+
"@types/babel__generator": "^7.6.8",
|
|
55
|
+
"@types/babel__traverse": "^7.20.5",
|
|
56
|
+
"@tarojs/taro": "4.0.0-alpha.10"
|
|
62
57
|
},
|
|
63
58
|
"scripts": {
|
|
64
|
-
"
|
|
65
|
-
"clean": "rimraf dist",
|
|
59
|
+
"prod": "pnpm run build",
|
|
60
|
+
"clean": "rimraf --impl=move-remove dist",
|
|
61
|
+
"prebuild": "pnpm run clean",
|
|
62
|
+
"build": "tsc",
|
|
63
|
+
"postbuild": "pnpm run swc:backup",
|
|
66
64
|
"dev": "tsc -w",
|
|
67
|
-
"prod": "tsc",
|
|
68
65
|
"test": "jest --collectCoverage",
|
|
69
|
-
"test:ci": "jest --ci
|
|
66
|
+
"test:ci": "jest --ci -i --coverage --silent",
|
|
67
|
+
"artifacts": "node scripts/artifacts.js",
|
|
68
|
+
"swc:backup": "node scripts/backup.js"
|
|
70
69
|
}
|
|
71
70
|
}
|
package/swc/.gitkeep
ADDED
|
File without changes
|
|
Binary file
|
|
Binary file
|