@nx/expo 22.7.0-beta.8 → 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 +61 -61
- package/generators.json +35 -35
- package/migrations.json +277 -277
- package/package.json +8 -8
- package/src/executors/build/schema.json +96 -96
- package/src/executors/build-list/schema.json +76 -76
- package/src/executors/ensure-symlink/schema.json +9 -9
- package/src/executors/export/schema.json +46 -46
- package/src/executors/install/schema.json +36 -36
- package/src/executors/prebuild/schema.json +33 -33
- package/src/executors/run/schema.json +63 -63
- package/src/executors/serve/schema.json +33 -33
- package/src/executors/start/schema.json +92 -92
- package/src/executors/submit/schema.json +54 -54
- package/src/executors/sync-deps/schema.json +35 -35
- package/src/executors/update/schema.json +72 -72
- package/src/generators/application/schema.json +95 -95
- package/src/generators/component/schema.json +67 -67
- package/src/generators/convert-to-inferred/schema.json +16 -16
- package/src/generators/init/schema.json +30 -30
- package/src/generators/library/schema.json +98 -98
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
"version": 2,
|
|
3
|
+
"outputCapture": "direct-nodejs",
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
|
+
"$id": "NxExpoEasUpdate",
|
|
6
|
+
"cli": "nx",
|
|
7
|
+
"title": "Expo EAS Update executor",
|
|
8
|
+
"description": "Start an EAS update for your expo project.",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"presets": [
|
|
11
|
+
{
|
|
12
|
+
"name": "Update for a specific platform",
|
|
13
|
+
"keys": ["platform"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Update from a specific branch",
|
|
17
|
+
"keys": ["branch"]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"branch": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Branch to publish the update group on"
|
|
24
|
+
},
|
|
25
|
+
"message": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "A short message describing the update"
|
|
28
|
+
},
|
|
29
|
+
"republish": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "Republish a previous update within a branch",
|
|
32
|
+
"default": false
|
|
33
|
+
},
|
|
34
|
+
"group": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Update group to republish"
|
|
37
|
+
},
|
|
38
|
+
"inputDir": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Location of the bundle"
|
|
41
|
+
},
|
|
42
|
+
"skipBundler": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Skip running Expo CLI to bundle the app before publishing",
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
47
|
+
"platform": {
|
|
48
|
+
"enum": ["ios", "android", "all"],
|
|
49
|
+
"alias": "p",
|
|
50
|
+
"description": "The platform to build the app, example values: ios, android, all.",
|
|
51
|
+
"default": "all",
|
|
52
|
+
"x-priority": "important"
|
|
53
|
+
},
|
|
54
|
+
"json": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "Enable JSON output, non-JSON messages will be printed to stderr",
|
|
57
|
+
"default": false
|
|
58
|
+
},
|
|
59
|
+
"auto": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"description": "Use the current git branch and commit message for the EAS branch and update message",
|
|
62
|
+
"default": false
|
|
63
|
+
},
|
|
64
|
+
"privateKeyPath": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "File containing the PEM-encoded private key corresponding to the certificate in expo-updates' configuration. Defaults to a file named \"private-key.pem\" in the certificate's directory."
|
|
67
|
+
},
|
|
68
|
+
"interactive": {
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"description": "Run command in interactive mode",
|
|
71
|
+
"default": true
|
|
72
|
+
}
|
|
14
73
|
},
|
|
15
|
-
|
|
16
|
-
"name": "Update from a specific branch",
|
|
17
|
-
"keys": ["branch"]
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"properties": {
|
|
21
|
-
"branch": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "Branch to publish the update group on"
|
|
24
|
-
},
|
|
25
|
-
"message": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "A short message describing the update"
|
|
28
|
-
},
|
|
29
|
-
"republish": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"description": "Republish a previous update within a branch",
|
|
32
|
-
"default": false
|
|
33
|
-
},
|
|
34
|
-
"group": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "Update group to republish"
|
|
37
|
-
},
|
|
38
|
-
"inputDir": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"description": "Location of the bundle"
|
|
41
|
-
},
|
|
42
|
-
"skipBundler": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "Skip running Expo CLI to bundle the app before publishing",
|
|
45
|
-
"default": false
|
|
46
|
-
},
|
|
47
|
-
"platform": {
|
|
48
|
-
"enum": ["ios", "android", "all"],
|
|
49
|
-
"alias": "p",
|
|
50
|
-
"description": "The platform to build the app, example values: ios, android, all.",
|
|
51
|
-
"default": "all",
|
|
52
|
-
"x-priority": "important"
|
|
53
|
-
},
|
|
54
|
-
"json": {
|
|
55
|
-
"type": "boolean",
|
|
56
|
-
"description": "Enable JSON output, non-JSON messages will be printed to stderr",
|
|
57
|
-
"default": false
|
|
58
|
-
},
|
|
59
|
-
"auto": {
|
|
60
|
-
"type": "boolean",
|
|
61
|
-
"description": "Use the current git branch and commit message for the EAS branch and update message",
|
|
62
|
-
"default": false
|
|
63
|
-
},
|
|
64
|
-
"privateKeyPath": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "File containing the PEM-encoded private key corresponding to the certificate in expo-updates' configuration. Defaults to a file named \"private-key.pem\" in the certificate's directory."
|
|
67
|
-
},
|
|
68
|
-
"interactive": {
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Run command in interactive mode",
|
|
71
|
-
"default": true
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"required": []
|
|
74
|
+
"required": []
|
|
75
75
|
}
|
|
@@ -1,98 +1,98 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"cli": "nx",
|
|
3
|
+
"$id": "NxExpoApplication",
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
|
+
"description": "Create an Expo Application for Nx.",
|
|
6
|
+
"examples": [
|
|
7
|
+
{
|
|
8
|
+
"command": "nx g @nx/expo:app myapp --directory=nested",
|
|
9
|
+
"description": "Generate apps/nested/myapp"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"command": "nx g @nx/expo:app myapp --classComponent",
|
|
13
|
+
"description": "Use class components instead of functional components"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"directory": {
|
|
19
|
+
"description": "The directory of the new application.",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"$default": {
|
|
22
|
+
"$source": "argv",
|
|
23
|
+
"index": 0
|
|
24
|
+
},
|
|
25
|
+
"x-prompt": "Which directory do you want to create the application in?"
|
|
26
|
+
},
|
|
27
|
+
"name": {
|
|
28
|
+
"description": "The name of the application.",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
31
|
+
"x-priority": "important"
|
|
32
|
+
},
|
|
33
|
+
"displayName": {
|
|
34
|
+
"description": "The display name to show in the application. Defaults to name.",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"skipFormat": {
|
|
38
|
+
"description": "Skip formatting files",
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"default": false,
|
|
41
|
+
"x-priority": "internal"
|
|
42
|
+
},
|
|
43
|
+
"linter": {
|
|
44
|
+
"description": "The tool to use for running lint checks.",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": ["eslint", "none"],
|
|
47
|
+
"default": "none",
|
|
48
|
+
"x-prompt": "Which linter would you like to use?",
|
|
49
|
+
"x-priority": "important"
|
|
50
|
+
},
|
|
51
|
+
"unitTestRunner": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": ["jest", "none"],
|
|
54
|
+
"description": "Test runner to use for unit tests",
|
|
55
|
+
"default": "none",
|
|
56
|
+
"x-prompt": "Which unit test runner would you like to use?",
|
|
57
|
+
"x-priority": "important"
|
|
58
|
+
},
|
|
59
|
+
"tags": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Add tags to the application (used for linting)",
|
|
62
|
+
"alias": "t"
|
|
63
|
+
},
|
|
64
|
+
"js": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "Generate JavaScript files rather than TypeScript files",
|
|
67
|
+
"default": false
|
|
68
|
+
},
|
|
69
|
+
"setParserOptionsProject": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
|
|
72
|
+
"default": false
|
|
73
|
+
},
|
|
74
|
+
"e2eTestRunner": {
|
|
75
|
+
"description": "Adds the specified e2e test runner",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"enum": ["playwright", "cypress", "detox", "none"],
|
|
78
|
+
"default": "none",
|
|
79
|
+
"x-priority": "important"
|
|
80
|
+
},
|
|
81
|
+
"standaloneConfig": {
|
|
82
|
+
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"default": true,
|
|
85
|
+
"x-deprecated": "Nx only supports standaloneConfig"
|
|
86
|
+
},
|
|
87
|
+
"skipPackageJson": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
90
|
+
"default": false
|
|
91
|
+
},
|
|
92
|
+
"useProjectJson": {
|
|
93
|
+
"type": "boolean",
|
|
94
|
+
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
95
|
+
}
|
|
10
96
|
},
|
|
11
|
-
|
|
12
|
-
"command": "nx g @nx/expo:app myapp --classComponent",
|
|
13
|
-
"description": "Use class components instead of functional components"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"type": "object",
|
|
17
|
-
"properties": {
|
|
18
|
-
"directory": {
|
|
19
|
-
"description": "The directory of the new application.",
|
|
20
|
-
"type": "string",
|
|
21
|
-
"$default": {
|
|
22
|
-
"$source": "argv",
|
|
23
|
-
"index": 0
|
|
24
|
-
},
|
|
25
|
-
"x-prompt": "Which directory do you want to create the application in?"
|
|
26
|
-
},
|
|
27
|
-
"name": {
|
|
28
|
-
"description": "The name of the application.",
|
|
29
|
-
"type": "string",
|
|
30
|
-
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
|
|
31
|
-
"x-priority": "important"
|
|
32
|
-
},
|
|
33
|
-
"displayName": {
|
|
34
|
-
"description": "The display name to show in the application. Defaults to name.",
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"skipFormat": {
|
|
38
|
-
"description": "Skip formatting files",
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"default": false,
|
|
41
|
-
"x-priority": "internal"
|
|
42
|
-
},
|
|
43
|
-
"linter": {
|
|
44
|
-
"description": "The tool to use for running lint checks.",
|
|
45
|
-
"type": "string",
|
|
46
|
-
"enum": ["eslint", "none"],
|
|
47
|
-
"default": "none",
|
|
48
|
-
"x-prompt": "Which linter would you like to use?",
|
|
49
|
-
"x-priority": "important"
|
|
50
|
-
},
|
|
51
|
-
"unitTestRunner": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"enum": ["jest", "none"],
|
|
54
|
-
"description": "Test runner to use for unit tests",
|
|
55
|
-
"default": "none",
|
|
56
|
-
"x-prompt": "Which unit test runner would you like to use?",
|
|
57
|
-
"x-priority": "important"
|
|
58
|
-
},
|
|
59
|
-
"tags": {
|
|
60
|
-
"type": "string",
|
|
61
|
-
"description": "Add tags to the application (used for linting)",
|
|
62
|
-
"alias": "t"
|
|
63
|
-
},
|
|
64
|
-
"js": {
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"description": "Generate JavaScript files rather than TypeScript files",
|
|
67
|
-
"default": false
|
|
68
|
-
},
|
|
69
|
-
"setParserOptionsProject": {
|
|
70
|
-
"type": "boolean",
|
|
71
|
-
"description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
|
|
72
|
-
"default": false
|
|
73
|
-
},
|
|
74
|
-
"e2eTestRunner": {
|
|
75
|
-
"description": "Adds the specified e2e test runner",
|
|
76
|
-
"type": "string",
|
|
77
|
-
"enum": ["playwright", "cypress", "detox", "none"],
|
|
78
|
-
"default": "none",
|
|
79
|
-
"x-priority": "important"
|
|
80
|
-
},
|
|
81
|
-
"standaloneConfig": {
|
|
82
|
-
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
83
|
-
"type": "boolean",
|
|
84
|
-
"default": true,
|
|
85
|
-
"x-deprecated": "Nx only supports standaloneConfig"
|
|
86
|
-
},
|
|
87
|
-
"skipPackageJson": {
|
|
88
|
-
"type": "boolean",
|
|
89
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
90
|
-
"default": false
|
|
91
|
-
},
|
|
92
|
-
"useProjectJson": {
|
|
93
|
-
"type": "boolean",
|
|
94
|
-
"description": "Use a `project.json` configuration file instead of inlining the Nx configuration in the `package.json` file."
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"required": ["directory"]
|
|
97
|
+
"required": ["directory"]
|
|
98
98
|
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"cli": "nx",
|
|
3
|
+
"$id": "NxExpoComponent",
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
|
+
"description": "Create a Expo Component for Nx.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"description": "Generate a component with the exported symbol matching the file name. It results in the component `Foo` at `mylib/src/foo.tsx`",
|
|
10
|
+
"command": "nx g @nx/expo:component mylib/src/foo.tsx"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"description": "Generate a component with the exported symbol different from the file name. It results in the component `Custom` at `mylib/src/foo.tsx`",
|
|
14
|
+
"command": "nx g @nx/expo:component mylib/src/foo.tsx --name=custom"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"description": "Generate a component without the providing the file extension. It results in the component `Foo` at `mylib/src/foo.tsx`",
|
|
18
|
+
"command": "nx g @nx/expo:component mylib/src/foo"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"description": "Generate a class component at `mylib/src/foo.tsx`",
|
|
22
|
+
"command": "nx g @nx/expo:component mylib/src/foo --classComponent"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"properties": {
|
|
26
|
+
"path": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "The file path to the component. Relative to the current working directory.",
|
|
29
|
+
"$default": {
|
|
30
|
+
"$source": "argv",
|
|
31
|
+
"index": 0
|
|
32
|
+
},
|
|
33
|
+
"x-prompt": "What is the component file path?"
|
|
34
|
+
},
|
|
35
|
+
"name": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "The component symbol name. Defaults to the last segment of the file path."
|
|
38
|
+
},
|
|
39
|
+
"js": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
42
|
+
"x-deprecated": "Provide the full file path including the file extension in the `path` option. This option will be removed in Nx v21."
|
|
43
|
+
},
|
|
44
|
+
"skipFormat": {
|
|
45
|
+
"description": "Skip formatting files.",
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"default": false,
|
|
48
|
+
"x-priority": "internal"
|
|
49
|
+
},
|
|
50
|
+
"skipTests": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "When true, does not create \"spec.ts\" test files for the new component.",
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
55
|
+
"export": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "When true, the component is exported from the project index.ts (if it exists).",
|
|
58
|
+
"alias": "e",
|
|
59
|
+
"default": false,
|
|
60
|
+
"x-prompt": "Should this component be exported in the project?"
|
|
61
|
+
},
|
|
62
|
+
"classComponent": {
|
|
63
|
+
"type": "boolean",
|
|
64
|
+
"alias": "C",
|
|
65
|
+
"description": "Use class components instead of functional component.",
|
|
66
|
+
"default": false
|
|
67
|
+
}
|
|
11
68
|
},
|
|
12
|
-
|
|
13
|
-
"description": "Generate a component with the exported symbol different from the file name. It results in the component `Custom` at `mylib/src/foo.tsx`",
|
|
14
|
-
"command": "nx g @nx/expo:component mylib/src/foo.tsx --name=custom"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"description": "Generate a component without the providing the file extension. It results in the component `Foo` at `mylib/src/foo.tsx`",
|
|
18
|
-
"command": "nx g @nx/expo:component mylib/src/foo"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"description": "Generate a class component at `mylib/src/foo.tsx`",
|
|
22
|
-
"command": "nx g @nx/expo:component mylib/src/foo --classComponent"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"properties": {
|
|
26
|
-
"path": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "The file path to the component. Relative to the current working directory.",
|
|
29
|
-
"$default": {
|
|
30
|
-
"$source": "argv",
|
|
31
|
-
"index": 0
|
|
32
|
-
},
|
|
33
|
-
"x-prompt": "What is the component file path?"
|
|
34
|
-
},
|
|
35
|
-
"name": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"description": "The component symbol name. Defaults to the last segment of the file path."
|
|
38
|
-
},
|
|
39
|
-
"js": {
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
42
|
-
"x-deprecated": "Provide the full file path including the file extension in the `path` option. This option will be removed in Nx v21."
|
|
43
|
-
},
|
|
44
|
-
"skipFormat": {
|
|
45
|
-
"description": "Skip formatting files.",
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"default": false,
|
|
48
|
-
"x-priority": "internal"
|
|
49
|
-
},
|
|
50
|
-
"skipTests": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "When true, does not create \"spec.ts\" test files for the new component.",
|
|
53
|
-
"default": false
|
|
54
|
-
},
|
|
55
|
-
"export": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"description": "When true, the component is exported from the project index.ts (if it exists).",
|
|
58
|
-
"alias": "e",
|
|
59
|
-
"default": false,
|
|
60
|
-
"x-prompt": "Should this component be exported in the project?"
|
|
61
|
-
},
|
|
62
|
-
"classComponent": {
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"alias": "C",
|
|
65
|
-
"description": "Use class components instead of functional component.",
|
|
66
|
-
"default": false
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"required": ["path"]
|
|
69
|
+
"required": ["path"]
|
|
70
70
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxExpoConvertToInferred",
|
|
4
|
+
"description": "Convert existing Expo project(s) using `@nx/expo:*` executors to use `@nx/expo/plugin`. Defaults to migrating all projects. Pass '--project' to migrate only one target.",
|
|
5
|
+
"title": "Convert Expo project from executor to plugin",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project to convert from using the `@nx/expo:*` executors to use `@nx/expo/plugin`.",
|
|
11
|
+
"x-priority": "important"
|
|
12
|
+
},
|
|
13
|
+
"skipFormat": {
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"description": "Whether to format files at the end of the migration.",
|
|
16
|
+
"default": false
|
|
17
|
+
}
|
|
17
18
|
}
|
|
18
|
-
}
|
|
19
19
|
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
"cli": "nx",
|
|
3
|
+
"$id": "NxExpoInit",
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
|
+
"description": "Add Nx Expo Schematics.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"skipFormat": {
|
|
9
|
+
"description": "Skip formatting files",
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"default": false,
|
|
12
|
+
"x-priority": "internal"
|
|
13
|
+
},
|
|
14
|
+
"skipPackageJson": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"default": false,
|
|
17
|
+
"description": "Do not add dependencies to `package.json`."
|
|
18
|
+
},
|
|
19
|
+
"keepExistingVersions": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"x-priority": "internal",
|
|
22
|
+
"description": "Keep existing dependencies versions",
|
|
23
|
+
"default": false
|
|
24
|
+
},
|
|
25
|
+
"updatePackageScripts": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"x-priority": "internal",
|
|
28
|
+
"description": "Update `package.json` scripts with inferred targets",
|
|
29
|
+
"default": false
|
|
30
|
+
}
|
|
13
31
|
},
|
|
14
|
-
"
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"default": false,
|
|
17
|
-
"description": "Do not add dependencies to `package.json`."
|
|
18
|
-
},
|
|
19
|
-
"keepExistingVersions": {
|
|
20
|
-
"type": "boolean",
|
|
21
|
-
"x-priority": "internal",
|
|
22
|
-
"description": "Keep existing dependencies versions",
|
|
23
|
-
"default": false
|
|
24
|
-
},
|
|
25
|
-
"updatePackageScripts": {
|
|
26
|
-
"type": "boolean",
|
|
27
|
-
"x-priority": "internal",
|
|
28
|
-
"description": "Update `package.json` scripts with inferred targets",
|
|
29
|
-
"default": false
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"required": []
|
|
32
|
+
"required": []
|
|
33
33
|
}
|