@nrwl/react-native 15.6.3 → 15.7.0-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.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +9 -9
- package/src/generators/application/application.spec.ts +1 -1
- package/src/generators/application/files/app/src/app/App.tsx.template +1 -1
- package/src/generators/storybook-configuration/configuration.spec.ts +0 -4
- package/src/generators/storybook-configuration/schema.json +3 -1
- package/src/utils/add-linting.spec.ts +1 -1
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
|
-
|
|
6
|
+
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/react-native
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ npx nx@latest init
|
|
|
55
55
|
|
|
56
56
|
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
57
57
|
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
58
|
-
- [Official Nx YouTube Channel](https://www.youtube.com
|
|
58
|
+
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
59
59
|
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
|
|
60
60
|
|
|
61
61
|
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react-native",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.7.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: \n\n-Integration with libraries such as Jest, Detox, and Storybook.\n-Scaffolding for creating buildable libraries that can be published to npm.\n-Utilities for automatic workspace refactoring.",
|
|
6
6
|
"keywords": [
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"main": "index.js",
|
|
26
26
|
"types": "index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@nrwl/detox": "15.
|
|
29
|
-
"@nrwl/devkit": "15.
|
|
30
|
-
"@nrwl/jest": "15.
|
|
31
|
-
"@nrwl/js": "15.
|
|
32
|
-
"@nrwl/linter": "15.
|
|
33
|
-
"@nrwl/react": "15.
|
|
34
|
-
"@nrwl/workspace": "15.
|
|
28
|
+
"@nrwl/detox": "15.7.0-alpha.0",
|
|
29
|
+
"@nrwl/devkit": "15.7.0-alpha.0",
|
|
30
|
+
"@nrwl/jest": "15.7.0-alpha.0",
|
|
31
|
+
"@nrwl/js": "15.7.0-alpha.0",
|
|
32
|
+
"@nrwl/linter": "15.7.0-alpha.0",
|
|
33
|
+
"@nrwl/react": "15.7.0-alpha.0",
|
|
34
|
+
"@nrwl/workspace": "15.7.0-alpha.0",
|
|
35
35
|
"chalk": "^4.1.0",
|
|
36
36
|
"enhanced-resolve": "^5.8.3",
|
|
37
37
|
"fs-extra": "^11.1.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "be7988a3428ba211fba66c0d071f9b486a5ef584"
|
|
57
57
|
}
|
|
@@ -16,7 +16,7 @@ describe('app', () => {
|
|
|
16
16
|
appTree.write('.gitignore', '');
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
it('should update
|
|
19
|
+
it('should update configuration', async () => {
|
|
20
20
|
await reactNativeApplicationGenerator(appTree, {
|
|
21
21
|
name: 'myApp',
|
|
22
22
|
displayName: 'myApp',
|
|
@@ -162,7 +162,7 @@ export const App = () => {
|
|
|
162
162
|
style={[styles.listItem, styles.learning]}
|
|
163
163
|
onPress={() =>
|
|
164
164
|
Linking.openURL(
|
|
165
|
-
'https://www.youtube.com/
|
|
165
|
+
'https://www.youtube.com/@NxDevtools/videos?utm_source=nx-project'
|
|
166
166
|
)
|
|
167
167
|
}
|
|
168
168
|
>
|
|
@@ -35,7 +35,6 @@ describe('react-native:storybook-configuration', () => {
|
|
|
35
35
|
appTree.write('.gitignore', '');
|
|
36
36
|
await storybookConfigurationGenerator(appTree, {
|
|
37
37
|
name: 'test-ui-lib',
|
|
38
|
-
standaloneConfig: false,
|
|
39
38
|
});
|
|
40
39
|
|
|
41
40
|
expect(
|
|
@@ -55,7 +54,6 @@ describe('react-native:storybook-configuration', () => {
|
|
|
55
54
|
await storybookConfigurationGenerator(appTree, {
|
|
56
55
|
name: 'test-ui-lib',
|
|
57
56
|
generateStories: true,
|
|
58
|
-
standaloneConfig: false,
|
|
59
57
|
});
|
|
60
58
|
|
|
61
59
|
expect(
|
|
@@ -71,7 +69,6 @@ describe('react-native:storybook-configuration', () => {
|
|
|
71
69
|
appTree = await createTestAppLib('test-ui-app');
|
|
72
70
|
await storybookConfigurationGenerator(appTree, {
|
|
73
71
|
name: 'test-ui-app',
|
|
74
|
-
standaloneConfig: false,
|
|
75
72
|
});
|
|
76
73
|
|
|
77
74
|
expect(
|
|
@@ -87,7 +84,6 @@ describe('react-native:storybook-configuration', () => {
|
|
|
87
84
|
await storybookConfigurationGenerator(appTree, {
|
|
88
85
|
name: 'test-ui-app',
|
|
89
86
|
generateStories: true,
|
|
90
|
-
standaloneConfig: false,
|
|
91
87
|
});
|
|
92
88
|
|
|
93
89
|
// Currently the auto-generate stories feature only picks up components under the 'lib' directory.
|
|
@@ -42,7 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"standaloneConfig": {
|
|
44
44
|
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
45
|
-
"type": "boolean"
|
|
45
|
+
"type": "boolean",
|
|
46
|
+
"default": true,
|
|
47
|
+
"x-deprecated": "Nx only supports standaloneConfig"
|
|
46
48
|
},
|
|
47
49
|
"ignorePaths": {
|
|
48
50
|
"type": "array",
|
|
@@ -15,7 +15,7 @@ describe('Add Linting', () => {
|
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
17
|
|
|
18
|
-
it('should add update
|
|
18
|
+
it('should add update configuration when eslint is passed', () => {
|
|
19
19
|
addLinting(tree, {
|
|
20
20
|
projectName: 'my-lib',
|
|
21
21
|
linter: Linter.EsLint,
|