@tarojs/rn-runner 3.5.2-aplha.1 → 3.5.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/dist/config/index.js +3 -3
- package/dist/config/index.js.map +1 -1
- package/package.json +14 -16
- package/src/config/index.ts +2 -2
package/dist/config/index.js
CHANGED
|
@@ -10,14 +10,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.defaultConfig = void 0;
|
|
13
|
-
const
|
|
14
|
-
const
|
|
13
|
+
const findProjectRoot_1 = require("@react-native-community/cli/build/tools/config/findProjectRoot");
|
|
14
|
+
const resolveReactNativePath_1 = require("@react-native-community/cli/build/tools/config/resolveReactNativePath");
|
|
15
15
|
const rn_supporter_1 = require("@tarojs/rn-supporter");
|
|
16
16
|
const Metro = require("metro");
|
|
17
17
|
const os = require("os");
|
|
18
18
|
const path = require("path");
|
|
19
19
|
const conditional_file_store_1 = require("./conditional-file-store");
|
|
20
|
-
const reactNativePath = (0, resolveReactNativePath_1.default)((0,
|
|
20
|
+
const reactNativePath = (0, resolveReactNativePath_1.default)((0, findProjectRoot_1.default)());
|
|
21
21
|
const defaultConfig = getDefaultConfig();
|
|
22
22
|
exports.defaultConfig = defaultConfig;
|
|
23
23
|
function getDefaultConfig() {
|
package/dist/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oGAA4F;AAC5F,kHAA0G;AAC1G,uDAAgD;AAChD,+BAA8B;AAC9B,yBAAwB;AACxB,6BAA4B;AAE5B,qEAA2D;AAE3D,MAAM,eAAe,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C,YAAY,gCAAoB,CAAC,EAAE;QAC/G,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAA;KACxE;IACD,IAAI,MAAM,CAAC,KAAK,EAAE;QAChB,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,MAAM,CAAC,KAAK,CAAA;KAC5C;IACD,OAAO,GAAG,CAAA;AACZ,CAAC,CAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/rn-runner",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
4
4
|
"description": "ReactNative build tool for taro",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -21,29 +21,27 @@
|
|
|
21
21
|
"npm": ">=6.0.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@react-native-community/cli": "^
|
|
25
|
-
"@react-native-community/cli-
|
|
26
|
-
"@react-native-community/cli-
|
|
27
|
-
"@react-native-community/cli-tools": "^8.0.0",
|
|
28
|
-
"@react-native-community/cli-server-api": "^8.0.0",
|
|
24
|
+
"@react-native-community/cli": "^7.0.3",
|
|
25
|
+
"@react-native-community/cli-plugin-metro": "^7.0.0",
|
|
26
|
+
"@react-native-community/cli-server-api": "^7.0.0",
|
|
29
27
|
"@rollup/plugin-babel": "^5.3.1",
|
|
30
28
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
31
29
|
"@rollup/plugin-json": "^4.1.0",
|
|
32
30
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
33
31
|
"@rollup/plugin-replace": "^4.0.0",
|
|
34
|
-
"@tarojs/helper": "3.5.
|
|
35
|
-
"@tarojs/rn-style-transformer": "3.5.
|
|
36
|
-
"@tarojs/rn-supporter": "3.5.
|
|
37
|
-
"@tarojs/rn-transformer": "3.5.
|
|
32
|
+
"@tarojs/helper": "3.5.3",
|
|
33
|
+
"@tarojs/rn-style-transformer": "3.5.3",
|
|
34
|
+
"@tarojs/rn-supporter": "3.5.3",
|
|
35
|
+
"@tarojs/rn-transformer": "3.5.3",
|
|
38
36
|
"acorn-jsx": "^5.3.2",
|
|
39
37
|
"fs-extra": "^8.0.1",
|
|
40
38
|
"lodash": "^4.17.21",
|
|
41
|
-
"metro": "^0.
|
|
42
|
-
"metro-cache": "^0.
|
|
43
|
-
"metro-config": "^0.
|
|
44
|
-
"metro-core": "^0.
|
|
45
|
-
"metro-react-native-babel-transformer": "^0.
|
|
46
|
-
"metro-resolver": "^0.
|
|
39
|
+
"metro": "^0.67.0",
|
|
40
|
+
"metro-cache": "^0.67.0",
|
|
41
|
+
"metro-config": "^0.67.0",
|
|
42
|
+
"metro-core": "^0.67.0",
|
|
43
|
+
"metro-react-native-babel-transformer": "^0.67.0",
|
|
44
|
+
"metro-resolver": "^0.67.0",
|
|
47
45
|
"mime-types": "^2.1.27",
|
|
48
46
|
"qrcode-terminal": "^0.12.0",
|
|
49
47
|
"rollup-plugin-image-file": "^1.0.2"
|
package/src/config/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import findProjectRoot from '@react-native-community/cli/build/tools/config/findProjectRoot'
|
|
2
|
+
import resolveReactNativePath from '@react-native-community/cli/build/tools/config/resolveReactNativePath'
|
|
3
3
|
import { Supporter } from '@tarojs/rn-supporter'
|
|
4
4
|
import * as Metro from 'metro'
|
|
5
5
|
import * as os from 'os'
|