@nrwl/react-native 15.5.1 → 15.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/CHANGELOG.md +1 -1
- package/package.json +9 -9
- package/src/executors/run-android/schema.json +2 -1
- package/src/executors/run-ios/schema.json +10 -5
- package/src/generators/application/schema.json +8 -5
- package/src/generators/component/schema.json +4 -3
- package/src/generators/init/schema.json +4 -2
- package/src/generators/library/schema.d.ts +0 -1
- package/src/generators/library/schema.json +10 -10
- package/src/generators/storybook-configuration/schema.json +2 -1
- package/src/generators/upgrade-native/schema.json +2 -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
|
-
## [15.5.
|
|
6
|
+
## [15.5.3](https://github.com/nrwl/nx/compare/15.5.2...15.5.3) (2023-01-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/react-native
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/react-native",
|
|
3
|
-
"version": "15.5.
|
|
3
|
+
"version": "15.5.3",
|
|
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.5.
|
|
29
|
-
"@nrwl/devkit": "15.5.
|
|
30
|
-
"@nrwl/jest": "15.5.
|
|
31
|
-
"@nrwl/js": "15.5.
|
|
32
|
-
"@nrwl/linter": "15.5.
|
|
33
|
-
"@nrwl/react": "15.5.
|
|
34
|
-
"@nrwl/workspace": "15.5.
|
|
28
|
+
"@nrwl/detox": "15.5.3",
|
|
29
|
+
"@nrwl/devkit": "15.5.3",
|
|
30
|
+
"@nrwl/jest": "15.5.3",
|
|
31
|
+
"@nrwl/js": "15.5.3",
|
|
32
|
+
"@nrwl/linter": "15.5.3",
|
|
33
|
+
"@nrwl/react": "15.5.3",
|
|
34
|
+
"@nrwl/workspace": "15.5.3",
|
|
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": "7285ee50fca7136f38ce159ef3ed2977b8e7816a"
|
|
57
57
|
}
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"type": "string",
|
|
19
19
|
"description": "Specify your app's build variant (e.g. `debug`, `release`).",
|
|
20
20
|
"default": "debug",
|
|
21
|
-
"examples": ["debug", "release"]
|
|
21
|
+
"examples": ["debug", "release"],
|
|
22
|
+
"x-priority": "important"
|
|
22
23
|
},
|
|
23
24
|
"appId": {
|
|
24
25
|
"type": "string",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"type": "string",
|
|
26
26
|
"description": "Explicitly set the Xcode configuration to use.",
|
|
27
27
|
"default": "Debug",
|
|
28
|
-
"examples": ["Debug", "Release"]
|
|
28
|
+
"examples": ["Debug", "Release"],
|
|
29
|
+
"x-priority": "important"
|
|
29
30
|
},
|
|
30
31
|
"scheme": {
|
|
31
32
|
"type": "string",
|
|
@@ -35,21 +36,25 @@
|
|
|
35
36
|
"type": "string",
|
|
36
37
|
"description": "Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: `iPhone X (12.1)`.",
|
|
37
38
|
"default": "iPhone 13",
|
|
38
|
-
"examples": ["iPhone 13", "iPhone X"]
|
|
39
|
+
"examples": ["iPhone 13", "iPhone X"],
|
|
40
|
+
"x-priority": "important"
|
|
39
41
|
},
|
|
40
42
|
"device": {
|
|
41
43
|
"type": "string",
|
|
42
|
-
"description": "Explicitly set device to use by name. The value is not required if you have a single device connected."
|
|
44
|
+
"description": "Explicitly set device to use by name. The value is not required if you have a single device connected.",
|
|
45
|
+
"x-priority": "important"
|
|
43
46
|
},
|
|
44
47
|
"install": {
|
|
45
48
|
"type": "boolean",
|
|
46
49
|
"description": "Runs `pod install` for native modules before building iOS app.",
|
|
47
|
-
"default": true
|
|
50
|
+
"default": true,
|
|
51
|
+
"x-priority": "internal"
|
|
48
52
|
},
|
|
49
53
|
"sync": {
|
|
50
54
|
"type": "boolean",
|
|
51
55
|
"description": "Syncs npm dependencies to `package.json` (for React Native autolink). Always true when `--install` is used.",
|
|
52
|
-
"default": true
|
|
56
|
+
"default": true,
|
|
57
|
+
"x-priority": "internal"
|
|
53
58
|
},
|
|
54
59
|
"port": {
|
|
55
60
|
"type": "number",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"description": "Create a React Application for Nx.",
|
|
7
7
|
"examples": [
|
|
8
8
|
{
|
|
9
|
-
"command": "nx g app myapp --directory=nested",
|
|
9
|
+
"command": "nx g @nrwl/react-native:app myapp --directory=nested",
|
|
10
10
|
"description": "Generate `apps/nested/myapp`"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"command": "nx g app myapp --classComponent",
|
|
13
|
+
"command": "nx g @nrwl/react-native:app myapp --classComponent",
|
|
14
14
|
"description": "Use class components instead of functional components"
|
|
15
15
|
}
|
|
16
16
|
],
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"skipFormat": {
|
|
37
37
|
"description": "Skip formatting files",
|
|
38
38
|
"type": "boolean",
|
|
39
|
-
"default": false
|
|
39
|
+
"default": false,
|
|
40
|
+
"x-priority": "internal"
|
|
40
41
|
},
|
|
41
42
|
"linter": {
|
|
42
43
|
"description": "The tool to use for running lint checks.",
|
|
@@ -74,12 +75,14 @@
|
|
|
74
75
|
"install": {
|
|
75
76
|
"type": "boolean",
|
|
76
77
|
"description": "Runs `pod install` for native modules before building iOS app.",
|
|
77
|
-
"default": true
|
|
78
|
+
"default": true,
|
|
79
|
+
"x-priority": "internal"
|
|
78
80
|
},
|
|
79
81
|
"skipPackageJson": {
|
|
80
82
|
"description": "Do not add dependencies to `package.json`.",
|
|
81
83
|
"type": "boolean",
|
|
82
|
-
"default": false
|
|
84
|
+
"default": false,
|
|
85
|
+
"x-priority": "internal"
|
|
83
86
|
}
|
|
84
87
|
},
|
|
85
88
|
"required": []
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"type": "object",
|
|
8
8
|
"examples": [
|
|
9
9
|
{
|
|
10
|
-
"command": "nx g component my-component --project=mylib",
|
|
10
|
+
"command": "nx g @nrwl/react-native:component my-component --project=mylib",
|
|
11
11
|
"description": "Generate a component in the `mylib` library"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"command": "nx g component my-component --project=mylib --classComponent",
|
|
14
|
+
"command": "nx g @nrwl/react-native:component my-component --project=mylib --classComponent",
|
|
15
15
|
"description": "Generate a class component in the `mylib` library"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"directory": {
|
|
48
48
|
"type": "string",
|
|
49
|
-
"description": "Create the component under this directory (can be nested)."
|
|
49
|
+
"description": "Create the component under this directory (can be nested).",
|
|
50
|
+
"x-priority": "important"
|
|
50
51
|
},
|
|
51
52
|
"flat": {
|
|
52
53
|
"type": "boolean",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"skipFormat": {
|
|
16
16
|
"description": "Skip formatting files.",
|
|
17
17
|
"type": "boolean",
|
|
18
|
-
"default": false
|
|
18
|
+
"default": false,
|
|
19
|
+
"x-priority": "internal"
|
|
19
20
|
},
|
|
20
21
|
"e2eTestRunner": {
|
|
21
22
|
"description": "Adds the specified E2E test runner.",
|
|
@@ -31,7 +32,8 @@
|
|
|
31
32
|
"skipPackageJson": {
|
|
32
33
|
"description": "Do not add dependencies to `package.json`.",
|
|
33
34
|
"type": "boolean",
|
|
34
|
-
"default": false
|
|
35
|
+
"default": false,
|
|
36
|
+
"x-priority": "internal"
|
|
35
37
|
}
|
|
36
38
|
},
|
|
37
39
|
"required": []
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"type": "object",
|
|
8
8
|
"examples": [
|
|
9
9
|
{
|
|
10
|
-
"command": "nx g lib mylib --directory=myapp",
|
|
10
|
+
"command": "nx g @nrwl/react-native:lib mylib --directory=myapp",
|
|
11
11
|
"description": "Generate `libs/myapp/mylib`"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"directory": {
|
|
26
26
|
"type": "string",
|
|
27
|
-
"description": "A directory where the lib is placed."
|
|
27
|
+
"description": "A directory where the lib is placed.",
|
|
28
|
+
"alias": "dir",
|
|
29
|
+
"x-priority": "important"
|
|
28
30
|
},
|
|
29
31
|
"linter": {
|
|
30
32
|
"description": "The tool to use for running lint checks.",
|
|
@@ -46,12 +48,14 @@
|
|
|
46
48
|
"skipFormat": {
|
|
47
49
|
"description": "Skip formatting files.",
|
|
48
50
|
"type": "boolean",
|
|
49
|
-
"default": false
|
|
51
|
+
"default": false,
|
|
52
|
+
"x-priority": "internal"
|
|
50
53
|
},
|
|
51
54
|
"skipTsConfig": {
|
|
52
55
|
"type": "boolean",
|
|
53
56
|
"default": false,
|
|
54
|
-
"description": "Do not update `tsconfig.json` for development experience."
|
|
57
|
+
"description": "Do not update `tsconfig.json` for development experience.",
|
|
58
|
+
"x-priority": "internal"
|
|
55
59
|
},
|
|
56
60
|
"pascalCaseFiles": {
|
|
57
61
|
"type": "boolean",
|
|
@@ -77,11 +81,6 @@
|
|
|
77
81
|
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
78
82
|
"default": false
|
|
79
83
|
},
|
|
80
|
-
"globalCss": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "When `true`, the stylesheet is generated using global CSS instead of CSS modules (e.g. file is `*.css` rather than `*.module.css`).",
|
|
83
|
-
"default": false
|
|
84
|
-
},
|
|
85
84
|
"strict": {
|
|
86
85
|
"type": "boolean",
|
|
87
86
|
"description": "Whether to enable tsconfig strict mode or not.",
|
|
@@ -95,7 +94,8 @@
|
|
|
95
94
|
"skipPackageJson": {
|
|
96
95
|
"description": "Do not add dependencies to `package.json`.",
|
|
97
96
|
"type": "boolean",
|
|
98
|
-
"default": false
|
|
97
|
+
"default": false,
|
|
98
|
+
"x-priority": "internal"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
"required": ["name"]
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"type": "boolean",
|
|
22
22
|
"description": "Automatically generate *.stories.ts files for components declared in this project?",
|
|
23
23
|
"x-prompt": "Automatically generate *.stories.ts files for components declared in this project?",
|
|
24
|
-
"default": true
|
|
24
|
+
"default": true,
|
|
25
|
+
"x-priority": "important"
|
|
25
26
|
},
|
|
26
27
|
"js": {
|
|
27
28
|
"type": "boolean",
|