@nrwl/react-native 14.5.0-beta.0 → 14.5.0-beta.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/CHANGELOG.md +1 -1
- package/migrations.json +33 -0
- package/package.json +10 -10
- package/src/generators/application/lib/add-detox.js +1 -1
- package/src/generators/application/lib/add-detox.js.map +1 -1
- package/src/generators/component-story/schema.json +2 -1
- package/src/generators/stories/schema.json +5 -4
- package/src/generators/storybook-configuration/schema.json +5 -2
- package/src/utils/versions.d.ts +3 -3
- package/src/utils/versions.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [14.5.0-beta.
|
|
6
|
+
# [14.5.0-beta.3](https://github.com/nrwl/nx/compare/14.4.2...14.5.0-beta.3) (2022-07-21)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/react-native
|
package/migrations.json
CHANGED
|
@@ -732,6 +732,39 @@
|
|
|
732
732
|
"alwaysAddToPackageJson": false
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
|
+
},
|
|
736
|
+
"14.4.4": {
|
|
737
|
+
"version": "14.4.4-beta.0",
|
|
738
|
+
"packages": {
|
|
739
|
+
"@types/react-native": {
|
|
740
|
+
"version": "0.69.3",
|
|
741
|
+
"alwaysAddToPackageJson": false
|
|
742
|
+
},
|
|
743
|
+
"metro": {
|
|
744
|
+
"version": "0.71.3",
|
|
745
|
+
"alwaysAddToPackageJson": false
|
|
746
|
+
},
|
|
747
|
+
"metro-resolver": {
|
|
748
|
+
"version": "0.71.3",
|
|
749
|
+
"alwaysAddToPackageJson": false
|
|
750
|
+
},
|
|
751
|
+
"metro-babel-register": {
|
|
752
|
+
"version": "0.71.3",
|
|
753
|
+
"alwaysAddToPackageJson": false
|
|
754
|
+
},
|
|
755
|
+
"metro-config": {
|
|
756
|
+
"version": "0.71.3",
|
|
757
|
+
"alwaysAddToPackageJson": false
|
|
758
|
+
},
|
|
759
|
+
"metro-react-native-babel-preset": {
|
|
760
|
+
"version": "0.71.3",
|
|
761
|
+
"alwaysAddToPackageJson": false
|
|
762
|
+
},
|
|
763
|
+
"@react-native-community/cli": {
|
|
764
|
+
"version": "8.0.3",
|
|
765
|
+
"alwaysAddToPackageJson": false
|
|
766
|
+
}
|
|
767
|
+
}
|
|
735
768
|
}
|
|
736
769
|
}
|
|
737
770
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react-native",
|
|
3
|
-
"version": "14.5.0-beta.
|
|
3
|
+
"version": "14.5.0-beta.3",
|
|
4
4
|
"description": "React Native brings React's declarative UI framework to iOS and Android. With React Native, you use native UI controls and have full access to the native platform.\n\nThe Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Detox, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Monorepo",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"types": "index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nrwl/detox": "14.5.0-beta.
|
|
28
|
-
"@nrwl/devkit": "14.5.0-beta.
|
|
29
|
-
"@nrwl/jest": "14.5.0-beta.
|
|
30
|
-
"@nrwl/linter": "14.5.0-beta.
|
|
31
|
-
"@nrwl/react": "14.5.0-beta.
|
|
32
|
-
"@nrwl/storybook": "14.5.0-beta.
|
|
33
|
-
"@nrwl/workspace": "14.5.0-beta.
|
|
27
|
+
"@nrwl/detox": "14.5.0-beta.3",
|
|
28
|
+
"@nrwl/devkit": "14.5.0-beta.3",
|
|
29
|
+
"@nrwl/jest": "14.5.0-beta.3",
|
|
30
|
+
"@nrwl/linter": "14.5.0-beta.3",
|
|
31
|
+
"@nrwl/react": "14.5.0-beta.3",
|
|
32
|
+
"@nrwl/storybook": "14.5.0-beta.3",
|
|
33
|
+
"@nrwl/workspace": "14.5.0-beta.3",
|
|
34
34
|
"chalk": "^4.1.0",
|
|
35
35
|
"enhanced-resolve": "^5.8.3",
|
|
36
36
|
"fs-extra": "^10.1.0",
|
|
37
37
|
"ignore": "^5.0.4",
|
|
38
|
-
"metro-resolver": "^0.71.2",
|
|
39
38
|
"node-fetch": "^2.6.7",
|
|
40
39
|
"tsconfig-paths": "^3.9.0"
|
|
41
40
|
},
|
|
42
41
|
"peerDependencies": {
|
|
42
|
+
"metro-resolver": "^0.71.3",
|
|
43
43
|
"react-native": "^0.69.1"
|
|
44
44
|
},
|
|
45
45
|
"builders": "./executors.json",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
},
|
|
50
50
|
"schematics": "./generators.json",
|
|
51
51
|
"typings": "./index.d.ts",
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "8c7b76e8f1f42a33dfcbf7245664082cbc10f619"
|
|
53
53
|
}
|
|
@@ -9,7 +9,7 @@ function addDetox(host, options) {
|
|
|
9
9
|
if ((options === null || options === void 0 ? void 0 : options.e2eTestRunner) !== 'detox') {
|
|
10
10
|
return () => { };
|
|
11
11
|
}
|
|
12
|
-
return (0, detox_1.detoxApplicationGenerator)(host, Object.assign(Object.assign({}, options), { linter: linter_1.Linter.EsLint, name: `${options.name}-e2e`, directory: options.directory, project: options.projectName }));
|
|
12
|
+
return (0, detox_1.detoxApplicationGenerator)(host, Object.assign(Object.assign({}, options), { linter: linter_1.Linter.EsLint, name: `${options.name}-e2e`, directory: options.directory, project: options.projectName, framework: 'react-native' }));
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
exports.addDetox = addDetox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-detox.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/application/lib/add-detox.ts"],"names":[],"mappings":";;;;AAAA,uCAAwD;AAGxD,yCAAsC;AAEtC,SAAsB,QAAQ,CAAC,IAAU,EAAE,OAAyB;;QAClE,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,MAAK,OAAO,EAAE;YACtC,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;SACjB;QAED,OAAO,IAAA,iCAAyB,EAAC,IAAI,kCAChC,OAAO,KACV,MAAM,EAAE,eAAM,CAAC,MAAM,EACrB,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,MAAM,EAC3B,SAAS,EAAE,OAAO,CAAC,SAAS,EAC5B,OAAO,EAAE,OAAO,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"add-detox.js","sourceRoot":"","sources":["../../../../../../../packages/react-native/src/generators/application/lib/add-detox.ts"],"names":[],"mappings":";;;;AAAA,uCAAwD;AAGxD,yCAAsC;AAEtC,SAAsB,QAAQ,CAAC,IAAU,EAAE,OAAyB;;QAClE,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,MAAK,OAAO,EAAE;YACtC,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;SACjB;QAED,OAAO,IAAA,iCAAyB,EAAC,IAAI,kCAChC,OAAO,KACV,MAAM,EAAE,eAAM,CAAC,MAAM,EACrB,IAAI,EAAE,GAAG,OAAO,CAAC,IAAI,MAAM,EAC3B,SAAS,EAAE,OAAO,CAAC,SAAS,EAC5B,OAAO,EAAE,OAAO,CAAC,WAAW,EAC5B,SAAS,EAAE,cAAc,IACzB,CAAC;IACL,CAAC;CAAA;AAbD,4BAaC"}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"project": {
|
|
10
10
|
"type": "string",
|
|
11
|
-
"
|
|
11
|
+
"aliases": ["name", "projectName"],
|
|
12
|
+
"description": "The project where to add the components.",
|
|
12
13
|
"examples": ["shared-ui-component"],
|
|
13
14
|
"$default": {
|
|
14
15
|
"$source": "projectName",
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "NxReactNativeStorybookStories",
|
|
5
|
-
"title": "React
|
|
6
|
-
"description": "React
|
|
5
|
+
"title": "Generate React Native Storybook stories",
|
|
6
|
+
"description": "Generate stories/specs for all components declared in a React Native project.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"project": {
|
|
10
10
|
"type": "string",
|
|
11
|
-
"
|
|
11
|
+
"aliases": ["name", "projectName"],
|
|
12
|
+
"description": "Project for which to generate stories.",
|
|
12
13
|
"$default": {
|
|
13
14
|
"$source": "projectName",
|
|
14
15
|
"index": 0
|
|
15
16
|
},
|
|
16
|
-
"x-prompt": "
|
|
17
|
+
"x-prompt": "For which project do you want to generate stories?"
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
"required": ["project"]
|
|
@@ -8,11 +8,14 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"name": {
|
|
10
10
|
"type": "string",
|
|
11
|
-
"
|
|
11
|
+
"aliases": ["project", "projectName"],
|
|
12
|
+
"description": "Project for which to generate Storybook configuration.",
|
|
12
13
|
"$default": {
|
|
13
14
|
"$source": "argv",
|
|
14
15
|
"index": 0
|
|
15
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"x-prompt": "For which project do you want to generate Storybook configuration?",
|
|
18
|
+
"x-dropdown": "projects"
|
|
16
19
|
},
|
|
17
20
|
"generateStories": {
|
|
18
21
|
"type": "boolean",
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
2
|
export declare const reactNativeVersion = "0.69.1";
|
|
3
|
-
export declare const typesReactNativeVersion = "0.69.
|
|
3
|
+
export declare const typesReactNativeVersion = "0.69.3";
|
|
4
4
|
export declare const typesNodeVersion = "16.11.7";
|
|
5
|
-
export declare const metroVersion = "0.71.
|
|
6
|
-
export declare const reactNativeCommunityCli = "8.0.
|
|
5
|
+
export declare const metroVersion = "0.71.3";
|
|
6
|
+
export declare const reactNativeCommunityCli = "8.0.3";
|
|
7
7
|
export declare const reactNativeCommunityCliIos = "8.0.2";
|
|
8
8
|
export declare const reactNativeCommunityCliAndroid = "8.0.2";
|
|
9
9
|
export declare const reactNativeConfigVersion = "1.4.6";
|
package/src/utils/versions.js
CHANGED
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.babelRuntimeVersion = exports.reactNativeSvgVersion = exports.reactNativeSvgTransformerVersion = exports.jestReactNativeVersion = exports.testingLibraryJestNativeVersion = exports.testingLibraryReactNativeVersion = exports.reactNativeAsyncStorageAsyncStorageVersion = exports.reactNativeConfigVersion = exports.reactNativeCommunityCliAndroid = exports.reactNativeCommunityCliIos = exports.reactNativeCommunityCli = exports.metroVersion = exports.typesNodeVersion = exports.typesReactNativeVersion = exports.reactNativeVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
5
|
exports.reactNativeVersion = '0.69.1';
|
|
6
|
-
exports.typesReactNativeVersion = '0.69.
|
|
6
|
+
exports.typesReactNativeVersion = '0.69.3';
|
|
7
7
|
exports.typesNodeVersion = '16.11.7';
|
|
8
|
-
exports.metroVersion = '0.71.
|
|
9
|
-
exports.reactNativeCommunityCli = '8.0.
|
|
8
|
+
exports.metroVersion = '0.71.3';
|
|
9
|
+
exports.reactNativeCommunityCli = '8.0.3';
|
|
10
10
|
exports.reactNativeCommunityCliIos = '8.0.2';
|
|
11
11
|
exports.reactNativeCommunityCliAndroid = '8.0.2';
|
|
12
12
|
exports.reactNativeConfigVersion = '1.4.6';
|