@tarojs/helper 3.7.0-canary.0 → 3.7.0-canary.2
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 +22 -0
- package/dist/constants.d.ts +4 -3
- package/dist/constants.js +7 -6
- package/dist/constants.js.map +1 -1
- package/dist/dotenv.d.ts +4 -0
- package/dist/dotenv.js +77 -0
- package/dist/dotenv.js.map +1 -0
- package/dist/esbuild/index.js +2 -0
- package/dist/esbuild/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.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/utils.d.ts +36 -2
- package/dist/utils.js +81 -3
- package/dist/utils.js.map +1 -1
- package/package.json +22 -16
- package/swc/plugin-define-config/.cargo/config +5 -0
- package/swc/plugin-define-config/Cargo.lock +582 -506
- package/swc/plugin-define-config/Cargo.toml +2 -11
- package/swc/plugin-define-config/src/lib.rs +81 -128
- package/swc/plugin-define-config/target/wasm32-wasi/release/swc_plugin_define_config.wasm +0 -0
- package/swc/plugin-define-config/tests/__swc_snapshots__/src/lib.rs/module_decl_default_app.js +2 -0
- package/swc/plugin-define-config/tests/__swc_snapshots__/src/lib.rs/module_decl_default_page.js +2 -0
- package/swc/plugin-define-config/tests/__swc_snapshots__/src/lib.rs/module_exports.js +11 -0
- package/swc/plugin-define-config/tests/__swc_snapshots__/src/lib.rs/var_decl_app.js +3 -0
- package/swc/plugin-define-config/tests/__swc_snapshots__/src/lib.rs/var_decl_page.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/helper",
|
|
3
|
-
"version": "3.7.0-canary.
|
|
3
|
+
"version": "3.7.0-canary.2",
|
|
4
4
|
"description": "Taro Helper",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,24 +24,28 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://github.com/NervJS/taro#readme",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/core": "^7.
|
|
28
|
-
"@babel/
|
|
29
|
-
"@babel/
|
|
30
|
-
"@babel/plugin-proposal-
|
|
31
|
-
"@babel/plugin-
|
|
32
|
-
"@babel/
|
|
33
|
-
"@babel/preset-
|
|
34
|
-
"@babel/
|
|
35
|
-
"@babel/
|
|
36
|
-
"@babel/
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
27
|
+
"@babel/core": "^7.20.0",
|
|
28
|
+
"@babel/generator": "^7.20.0",
|
|
29
|
+
"@babel/parser": "^7.20.0",
|
|
30
|
+
"@babel/plugin-proposal-decorators": "^7.20.0",
|
|
31
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
|
|
32
|
+
"@babel/plugin-transform-runtime": "^7.20.0",
|
|
33
|
+
"@babel/preset-env": "^7.20.0",
|
|
34
|
+
"@babel/preset-typescript": "^7.20.0",
|
|
35
|
+
"@babel/register": "^7.20.0",
|
|
36
|
+
"@babel/runtime": "^7.20.0",
|
|
37
|
+
"@babel/traverse": "^7.20.0",
|
|
38
|
+
"@babel/types": "^7.23.0",
|
|
39
|
+
"@swc/core": "1.3.96",
|
|
40
|
+
"@swc/register": "0.1.10",
|
|
39
41
|
"ansi-escapes": "^4.3.2",
|
|
40
42
|
"chalk": "3.0.0",
|
|
41
43
|
"chokidar": "^3.3.1",
|
|
42
44
|
"cross-spawn": "^7.0.3",
|
|
43
45
|
"debug": "4.3.4",
|
|
44
|
-
"
|
|
46
|
+
"dotenv": "^16.0.3",
|
|
47
|
+
"dotenv-expand": "^9.0.0",
|
|
48
|
+
"esbuild": "~0.19.5",
|
|
45
49
|
"find-yarn-workspace-root": "2.0.0",
|
|
46
50
|
"fs-extra": "^8.0.1",
|
|
47
51
|
"lodash": "^4.17.21",
|
|
@@ -51,7 +55,9 @@
|
|
|
51
55
|
"yauzl": "2.10.0"
|
|
52
56
|
},
|
|
53
57
|
"devDependencies": {
|
|
54
|
-
"
|
|
58
|
+
"@types/babel__template": "^7.4.2",
|
|
59
|
+
"@types/babel__traverse": "^7.20.2",
|
|
60
|
+
"babel-jest": "^29.7.0",
|
|
55
61
|
"jest": "^29.3.1",
|
|
56
62
|
"jest-cli": "^29.3.1",
|
|
57
63
|
"jest-environment-node": "^29.5.0",
|
|
@@ -60,7 +66,7 @@
|
|
|
60
66
|
},
|
|
61
67
|
"scripts": {
|
|
62
68
|
"build": "run-s clean prod",
|
|
63
|
-
"clean": "rimraf dist",
|
|
69
|
+
"clean": "rimraf --impl=move-remove dist",
|
|
64
70
|
"dev": "tsc -w",
|
|
65
71
|
"prod": "tsc",
|
|
66
72
|
"test": "jest --collectCoverage",
|