@nx/react-native 22.7.0-beta.7 → 22.7.0-beta.9
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/executors.json +56 -56
- package/generators.json +40 -40
- package/migrations.json +158 -158
- package/package.json +8 -8
- package/project.json +10 -10
- package/src/executors/build-android/schema.json +78 -78
- package/src/executors/build-ios/schema.json +88 -88
- package/src/executors/bundle/schema.json +89 -89
- package/src/executors/ensure-symlink/schema.json +9 -9
- package/src/executors/pod-install/schema.json +30 -30
- package/src/executors/run-android/schema.json +98 -98
- package/src/executors/run-ios/schema.json +94 -94
- package/src/executors/start/schema.json +26 -26
- package/src/executors/storybook/schema.json +26 -26
- package/src/executors/sync-deps/schema.json +30 -30
- package/src/executors/upgrade/schema.json +9 -9
- package/src/generators/application/files/app/ios/__className__/Images.xcassets/AppIcon.appiconset/Contents.json +50 -50
- package/src/generators/application/files/app/ios/__className__/Images.xcassets/Contents.json +4 -4
- package/src/generators/application/schema.json +102 -102
- package/src/generators/component/schema.json +68 -68
- package/src/generators/convert-to-inferred/schema.json +16 -16
- package/src/generators/init/schema.json +32 -32
- package/src/generators/library/schema.json +101 -101
- package/src/generators/web-configuration/schema.json +39 -39
|
@@ -1,104 +1,104 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
"cli": "nx",
|
|
3
|
+
"$id": "NxReactNativeLibrary",
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
|
+
"title": "Create a React Native Library for Nx",
|
|
6
|
+
"description": "Create a React Native Library for Nx.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"examples": [
|
|
9
|
+
{
|
|
10
|
+
"command": "nx g @nx/react-native:lib mylib --directory=myapp",
|
|
11
|
+
"description": "Generate `libs/myapp/mylib`"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"directory": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "A directory where the lib is placed.",
|
|
18
|
+
"alias": "dir",
|
|
19
|
+
"$default": {
|
|
20
|
+
"$source": "argv",
|
|
21
|
+
"index": 0
|
|
22
|
+
},
|
|
23
|
+
"x-prompt": "Which directory do you want to create the library in?"
|
|
24
|
+
},
|
|
25
|
+
"name": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Library name.",
|
|
28
|
+
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
29
|
+
"x-priority": "important"
|
|
30
|
+
},
|
|
31
|
+
"linter": {
|
|
32
|
+
"description": "The tool to use for running lint checks.",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["eslint", "none"],
|
|
35
|
+
"default": "none",
|
|
36
|
+
"x-prompt": "Which linter would you like to use?",
|
|
37
|
+
"x-priority": "important"
|
|
38
|
+
},
|
|
39
|
+
"unitTestRunner": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["jest", "none"],
|
|
42
|
+
"description": "Test runner to use for unit tests.",
|
|
43
|
+
"x-prompt": "Which unit test runner would you like to use?",
|
|
44
|
+
"default": "none",
|
|
45
|
+
"x-priority": "important"
|
|
46
|
+
},
|
|
47
|
+
"tags": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Add tags to the library (used for linting).",
|
|
50
|
+
"alias": "t"
|
|
51
|
+
},
|
|
52
|
+
"skipFormat": {
|
|
53
|
+
"description": "Skip formatting files.",
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"default": false,
|
|
56
|
+
"x-priority": "internal"
|
|
57
|
+
},
|
|
58
|
+
"skipTsConfig": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"description": "Do not update `tsconfig.json` for development experience.",
|
|
62
|
+
"x-priority": "internal"
|
|
63
|
+
},
|
|
64
|
+
"publishable": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "Create a publishable library."
|
|
67
|
+
},
|
|
68
|
+
"buildable": {
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"default": false,
|
|
71
|
+
"description": "Generate a buildable library."
|
|
72
|
+
},
|
|
73
|
+
"importPath": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"description": "The library name used to import it, like `@myorg/my-awesome-lib`."
|
|
76
|
+
},
|
|
77
|
+
"js": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
80
|
+
"default": false
|
|
81
|
+
},
|
|
82
|
+
"strict": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"description": "Whether to enable tsconfig strict mode or not.",
|
|
85
|
+
"default": true
|
|
86
|
+
},
|
|
87
|
+
"setParserOptionsProject": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
90
|
+
"default": false
|
|
91
|
+
},
|
|
92
|
+
"skipPackageJson": {
|
|
93
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"default": false,
|
|
96
|
+
"x-priority": "internal"
|
|
97
|
+
},
|
|
98
|
+
"useProjectJson": {
|
|
99
|
+
"type": "boolean",
|
|
100
|
+
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
101
|
+
}
|
|
24
102
|
},
|
|
25
|
-
"
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Library name.",
|
|
28
|
-
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
29
|
-
"x-priority": "important"
|
|
30
|
-
},
|
|
31
|
-
"linter": {
|
|
32
|
-
"description": "The tool to use for running lint checks.",
|
|
33
|
-
"type": "string",
|
|
34
|
-
"enum": ["eslint", "none"],
|
|
35
|
-
"default": "none",
|
|
36
|
-
"x-prompt": "Which linter would you like to use?",
|
|
37
|
-
"x-priority": "important"
|
|
38
|
-
},
|
|
39
|
-
"unitTestRunner": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"enum": ["jest", "none"],
|
|
42
|
-
"description": "Test runner to use for unit tests.",
|
|
43
|
-
"x-prompt": "Which unit test runner would you like to use?",
|
|
44
|
-
"default": "none",
|
|
45
|
-
"x-priority": "important"
|
|
46
|
-
},
|
|
47
|
-
"tags": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Add tags to the library (used for linting).",
|
|
50
|
-
"alias": "t"
|
|
51
|
-
},
|
|
52
|
-
"skipFormat": {
|
|
53
|
-
"description": "Skip formatting files.",
|
|
54
|
-
"type": "boolean",
|
|
55
|
-
"default": false,
|
|
56
|
-
"x-priority": "internal"
|
|
57
|
-
},
|
|
58
|
-
"skipTsConfig": {
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"default": false,
|
|
61
|
-
"description": "Do not update `tsconfig.json` for development experience.",
|
|
62
|
-
"x-priority": "internal"
|
|
63
|
-
},
|
|
64
|
-
"publishable": {
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"description": "Create a publishable library."
|
|
67
|
-
},
|
|
68
|
-
"buildable": {
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"default": false,
|
|
71
|
-
"description": "Generate a buildable library."
|
|
72
|
-
},
|
|
73
|
-
"importPath": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"description": "The library name used to import it, like `@myorg/my-awesome-lib`."
|
|
76
|
-
},
|
|
77
|
-
"js": {
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
80
|
-
"default": false
|
|
81
|
-
},
|
|
82
|
-
"strict": {
|
|
83
|
-
"type": "boolean",
|
|
84
|
-
"description": "Whether to enable tsconfig strict mode or not.",
|
|
85
|
-
"default": true
|
|
86
|
-
},
|
|
87
|
-
"setParserOptionsProject": {
|
|
88
|
-
"type": "boolean",
|
|
89
|
-
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
90
|
-
"default": false
|
|
91
|
-
},
|
|
92
|
-
"skipPackageJson": {
|
|
93
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
94
|
-
"type": "boolean",
|
|
95
|
-
"default": false,
|
|
96
|
-
"x-priority": "internal"
|
|
97
|
-
},
|
|
98
|
-
"useProjectJson": {
|
|
99
|
-
"type": "boolean",
|
|
100
|
-
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"required": ["directory"]
|
|
103
|
+
"required": ["directory"]
|
|
104
104
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "NxReactNativeWebConfiguration",
|
|
4
|
+
"description": "Setup web configuration to React Native apps using react-native-web.",
|
|
5
|
+
"title": "Nx React Native Web configuration",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"aliases": ["name", "projectName"],
|
|
11
|
+
"description": "Project for which to generate web configuration.",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-prompt": "For which project do you want to generate web configuration?",
|
|
17
|
+
"x-dropdown": "projects",
|
|
18
|
+
"x-priority": "important"
|
|
19
|
+
},
|
|
20
|
+
"skipFormat": {
|
|
21
|
+
"description": "Skip formatting files.",
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"default": false,
|
|
24
|
+
"x-priority": "internal"
|
|
25
|
+
},
|
|
26
|
+
"skipPackageJson": {
|
|
27
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": false,
|
|
30
|
+
"x-priority": "internal"
|
|
31
|
+
},
|
|
32
|
+
"bundler": {
|
|
33
|
+
"description": "The bundler to use.",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["vite", "webpack"],
|
|
36
|
+
"x-prompt": "Which bundler do you want to use to build the application?",
|
|
37
|
+
"default": "vite",
|
|
38
|
+
"x-priority": "important"
|
|
39
|
+
}
|
|
19
40
|
},
|
|
20
|
-
"
|
|
21
|
-
"description": "Skip formatting files.",
|
|
22
|
-
"type": "boolean",
|
|
23
|
-
"default": false,
|
|
24
|
-
"x-priority": "internal"
|
|
25
|
-
},
|
|
26
|
-
"skipPackageJson": {
|
|
27
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
28
|
-
"type": "boolean",
|
|
29
|
-
"default": false,
|
|
30
|
-
"x-priority": "internal"
|
|
31
|
-
},
|
|
32
|
-
"bundler": {
|
|
33
|
-
"description": "The bundler to use.",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"enum": ["vite", "webpack"],
|
|
36
|
-
"x-prompt": "Which bundler do you want to use to build the application?",
|
|
37
|
-
"default": "vite",
|
|
38
|
-
"x-priority": "important"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"required": ["project", "bundler"]
|
|
41
|
+
"required": ["project", "bundler"]
|
|
42
42
|
}
|