@nrwl/react-native 13.0.0-beta.9 → 13.0.0-rc.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react-native",
|
|
3
|
-
"version": "13.0.0-
|
|
3
|
+
"version": "13.0.0-rc.0",
|
|
4
4
|
"description": "React Native Plugin for Nx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nrwl/detox": "13.0.0-
|
|
28
|
-
"@nrwl/devkit": "13.0.0-
|
|
29
|
-
"@nrwl/jest": "13.0.0-
|
|
30
|
-
"@nrwl/linter": "13.0.0-
|
|
31
|
-
"@nrwl/react": "13.0.0-
|
|
27
|
+
"@nrwl/detox": "13.0.0-rc.0",
|
|
28
|
+
"@nrwl/devkit": "13.0.0-rc.0",
|
|
29
|
+
"@nrwl/jest": "13.0.0-rc.0",
|
|
30
|
+
"@nrwl/linter": "13.0.0-rc.0",
|
|
31
|
+
"@nrwl/react": "13.0.0-rc.0",
|
|
32
32
|
"chalk": "^4.1.0",
|
|
33
33
|
"ignore": "^5.0.4",
|
|
34
34
|
"metro-resolver": "^0.66.2",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"tsconfig-paths": "^3.9.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@nrwl/workspace": "13.0.0-
|
|
39
|
+
"@nrwl/workspace": "13.0.0-rc.0",
|
|
40
40
|
"react-native": "0.65.1"
|
|
41
41
|
},
|
|
42
42
|
"builders": "./executors.json",
|
|
@@ -4,15 +4,22 @@ exports.findAllNpmDependencies = void 0;
|
|
|
4
4
|
function findAllNpmDependencies(graph, projectName, list = [], seen = new Set()) {
|
|
5
5
|
var _a;
|
|
6
6
|
// In case of bad circular dependencies
|
|
7
|
-
if (seen.has(projectName))
|
|
7
|
+
if (seen.has(projectName)) {
|
|
8
8
|
return list;
|
|
9
|
+
}
|
|
9
10
|
seen.add(projectName);
|
|
10
|
-
const node = graph.
|
|
11
|
+
const node = graph.externalNodes[projectName];
|
|
11
12
|
// Don't want to include '@nrwl/react-native' because React Native
|
|
12
13
|
// autolink will warn that the package has no podspec file for iOS.
|
|
13
|
-
if (node
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
if (node) {
|
|
15
|
+
if (node.name !== 'npm:@nrwl/react-native') {
|
|
16
|
+
list.push(node.data.packageName);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
// it's workspace project, search for it's dependencies
|
|
21
|
+
(_a = graph.dependencies[projectName]) === null || _a === void 0 ? void 0 : _a.forEach((dep) => findAllNpmDependencies(graph, dep.target, list, seen));
|
|
22
|
+
}
|
|
16
23
|
return list;
|
|
17
24
|
}
|
|
18
25
|
exports.findAllNpmDependencies = findAllNpmDependencies;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-all-npm-dependencies.js","sourceRoot":"","sources":["../../../../../packages/react-native/src/utils/find-all-npm-dependencies.ts"],"names":[],"mappings":";;;AAEA,SAAgB,sBAAsB,CACpC,KAAmB,EACnB,WAAmB,EACnB,OAAiB,EAAE,EACnB,OAAO,IAAI,GAAG,EAAU;;IAExB,uCAAuC;IACvC,IAAI,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"find-all-npm-dependencies.js","sourceRoot":"","sources":["../../../../../packages/react-native/src/utils/find-all-npm-dependencies.ts"],"names":[],"mappings":";;;AAEA,SAAgB,sBAAsB,CACpC,KAAmB,EACnB,WAAmB,EACnB,OAAiB,EAAE,EACnB,OAAO,IAAI,GAAG,EAAU;;IAExB,uCAAuC;IACvC,IAAI,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;QACzB,OAAO,IAAI,CAAC;KACb;IACD,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAEtB,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAE9C,kEAAkE;IAClE,mEAAmE;IACnE,IAAI,IAAI,EAAE;QACR,IAAI,IAAI,CAAC,IAAI,KAAK,wBAAwB,EAAE;YAC1C,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAClC;KACF;SAAM;QACL,uDAAuD;QACvD,MAAA,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,0CAAE,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAC/C,sBAAsB,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CACtD,CAAC;KACH;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AA3BD,wDA2BC"}
|
|
@@ -24,11 +24,13 @@ test('findAllNpmDependencies', () => {
|
|
|
24
24
|
name: 'lib3',
|
|
25
25
|
data: { files: [] },
|
|
26
26
|
},
|
|
27
|
+
},
|
|
28
|
+
externalNodes: {
|
|
27
29
|
'npm:react-native-image-picker': {
|
|
28
30
|
type: 'npm',
|
|
29
31
|
name: 'npm:react-native-image-picker',
|
|
30
32
|
data: {
|
|
31
|
-
|
|
33
|
+
version: '1',
|
|
32
34
|
packageName: 'react-native-image-picker',
|
|
33
35
|
},
|
|
34
36
|
},
|
|
@@ -36,7 +38,7 @@ test('findAllNpmDependencies', () => {
|
|
|
36
38
|
type: 'npm',
|
|
37
39
|
name: 'npm:react-native-dialog',
|
|
38
40
|
data: {
|
|
39
|
-
|
|
41
|
+
version: '1',
|
|
40
42
|
packageName: 'react-native-dialog',
|
|
41
43
|
},
|
|
42
44
|
},
|
|
@@ -44,7 +46,7 @@ test('findAllNpmDependencies', () => {
|
|
|
44
46
|
type: 'npm',
|
|
45
47
|
name: 'npm:react-native-snackbar',
|
|
46
48
|
data: {
|
|
47
|
-
|
|
49
|
+
version: '1',
|
|
48
50
|
packageName: 'react-native-snackbar',
|
|
49
51
|
},
|
|
50
52
|
},
|
|
@@ -52,7 +54,7 @@ test('findAllNpmDependencies', () => {
|
|
|
52
54
|
type: 'npm',
|
|
53
55
|
name: 'npm:@nrwl/react-native',
|
|
54
56
|
data: {
|
|
55
|
-
|
|
57
|
+
version: '1',
|
|
56
58
|
packageName: '@nrwl/react-native',
|
|
57
59
|
},
|
|
58
60
|
},
|
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.reactTestRendererVersion = exports.jestReactNativeVersion = exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.metroReactNativeBabelPresetVersion = exports.reactNativeCommunityCliAndroid = exports.reactNativeCommunityCliIos = exports.reactNativeCommunityCli = exports.metroVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.typesReactVersion = exports.reactVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '13.0.0-
|
|
4
|
+
exports.nxVersion = '13.0.0-rc.0';
|
|
5
5
|
exports.reactVersion = '17.0.2';
|
|
6
6
|
exports.typesReactVersion = '17.0.19';
|
|
7
7
|
exports.reactNativeVersion = '0.66.0';
|