@tarojs/cli 4.0.7-canary.6 → 4.0.8-alpha.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.
|
@@ -37,7 +37,7 @@ function makeSureReactNativeInstalled(workspaceRoot) {
|
|
|
37
37
|
// 便于开发时切换版本
|
|
38
38
|
const devTag = process.env.DEVTAG || '';
|
|
39
39
|
console.log('Installing React-Native related packages:');
|
|
40
|
-
let packages = `react@^18.
|
|
40
|
+
let packages = `react@^18.2.0 react-dom@^18.2.0 react-native@^0.73.1 @react-native/metro-config@^0.73.2 expo@~50.0.2 @tarojs/taro-rn${devTag} @tarojs/components-rn${devTag} @tarojs/rn-runner${devTag} @tarojs/rn-supporter${devTag} @tarojs/runtime-rn${devTag}`;
|
|
41
41
|
console.log(packages);
|
|
42
42
|
// windows下不加引号的话,package.json中添加的依赖不会自动带上^
|
|
43
43
|
packages = packages.split(' ').map(str => `"${str}"`).join(' ');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.8-alpha.0",
|
|
4
4
|
"description": "cli tool for taro",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"ora": "^5.4.1",
|
|
42
42
|
"semver": "^7.6.0",
|
|
43
43
|
"validate-npm-package-name": "^5.0.0",
|
|
44
|
-
"@tarojs/
|
|
45
|
-
"@tarojs/
|
|
46
|
-
"@tarojs/
|
|
47
|
-
"@tarojs/
|
|
44
|
+
"@tarojs/binding": "4.0.8-alpha.0",
|
|
45
|
+
"@tarojs/service": "4.0.8-alpha.0",
|
|
46
|
+
"@tarojs/shared": "4.0.8-alpha.0",
|
|
47
|
+
"@tarojs/helper": "4.0.8-alpha.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@babel/types": "^7.24.0",
|
|
51
51
|
"@types/babel__traverse": "^7.20.6",
|
|
52
52
|
"eslint-plugin-react": "^7.34.1",
|
|
53
53
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
54
|
-
"@tarojs/plugin-platform-h5": "4.0.
|
|
55
|
-
"@tarojs/taro": "4.0.
|
|
56
|
-
"@tarojs/plugin-platform-weapp": "4.0.
|
|
57
|
-
"
|
|
58
|
-
"
|
|
54
|
+
"@tarojs/plugin-platform-h5": "4.0.8-alpha.0",
|
|
55
|
+
"@tarojs/taro": "4.0.8-alpha.0",
|
|
56
|
+
"@tarojs/plugin-platform-weapp": "4.0.8-alpha.0",
|
|
57
|
+
"babel-preset-taro": "4.0.8-alpha.0",
|
|
58
|
+
"@tarojs/webpack5-runner": "4.0.8-alpha.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"prod": "pnpm run build",
|
|
@@ -32,7 +32,7 @@ function makeSureReactNativeInstalled (workspaceRoot: string): Promise<void> {
|
|
|
32
32
|
// 便于开发时切换版本
|
|
33
33
|
const devTag = process.env.DEVTAG || ''
|
|
34
34
|
console.log('Installing React-Native related packages:')
|
|
35
|
-
let packages = `react@^18.
|
|
35
|
+
let packages = `react@^18.2.0 react-dom@^18.2.0 react-native@^0.73.1 @react-native/metro-config@^0.73.2 expo@~50.0.2 @tarojs/taro-rn${devTag} @tarojs/components-rn${devTag} @tarojs/rn-runner${devTag} @tarojs/rn-supporter${devTag} @tarojs/runtime-rn${devTag}`
|
|
36
36
|
console.log(packages)
|
|
37
37
|
// windows下不加引号的话,package.json中添加的依赖不会自动带上^
|
|
38
38
|
packages = packages.split(' ').map(str => `"${str}"`).join(' ')
|