@nx/expo 17.3.0 → 17.3.2
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/package.json +9 -9
- package/src/executors/build/schema.json +1 -1
- package/src/executors/build-list/schema.json +1 -1
- package/src/executors/ensure-symlink/schema.json +1 -1
- package/src/executors/export/schema.json +1 -1
- package/src/executors/install/schema.json +1 -1
- package/src/executors/prebuild/schema.json +1 -1
- package/src/executors/run/schema.json +1 -1
- package/src/executors/start/schema.json +1 -1
- package/src/executors/submit/schema.json +1 -1
- package/src/executors/sync-deps/schema.json +1 -1
- package/src/executors/update/schema.json +1 -1
- package/src/generators/application/files/src/app/App.tsx.template +24 -0
- package/src/generators/application/schema.json +1 -1
- package/src/generators/component/schema.d.ts +3 -3
- package/src/generators/component/schema.json +4 -4
- package/src/generators/init/schema.json +1 -1
- package/src/generators/library/schema.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/expo",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Expo Plugin for Nx contains executors and generators for managing and developing an expo application within your workspace. For example, you can directly build for different target platforms as well as generate projects and publish your code.",
|
|
6
6
|
"keywords": [
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"tslib": "^2.3.0",
|
|
35
35
|
"tsconfig-paths": "^4.1.2",
|
|
36
36
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
37
|
-
"@nx/detox": "17.3.
|
|
38
|
-
"@nx/devkit": "17.3.
|
|
39
|
-
"@nx/jest": "17.3.
|
|
40
|
-
"@nx/js": "17.3.
|
|
41
|
-
"@nx/eslint": "17.3.
|
|
42
|
-
"@nx/react": "17.3.
|
|
43
|
-
"@nx/webpack": "17.3.
|
|
44
|
-
"@nrwl/expo": "17.3.
|
|
37
|
+
"@nx/detox": "17.3.2",
|
|
38
|
+
"@nx/devkit": "17.3.2",
|
|
39
|
+
"@nx/jest": "17.3.2",
|
|
40
|
+
"@nx/js": "17.3.2",
|
|
41
|
+
"@nx/eslint": "17.3.2",
|
|
42
|
+
"@nx/react": "17.3.2",
|
|
43
|
+
"@nx/webpack": "17.3.2",
|
|
44
|
+
"@nrwl/expo": "17.3.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"expo": ">= 49.0.0",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"$id": "NxExpoEnsureSymlink",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Ensure Symlink for Expo",
|
|
8
8
|
"description": "Ensure workspace node_modules is symlink under app's node_modules folder.",
|
|
9
9
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": 2,
|
|
4
4
|
"outputCapture": "direct-nodejs",
|
|
5
5
|
"$id": "NxExpoExport",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Expo Export",
|
|
8
8
|
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler.",
|
|
9
9
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": 2,
|
|
4
4
|
"outputCapture": "direct-nodejs",
|
|
5
5
|
"$id": "NxExpoInstall",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Expo Install",
|
|
8
8
|
"description": "Install a module or other package to a project.",
|
|
9
9
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": 2,
|
|
4
4
|
"outputCapture": "direct-nodejs",
|
|
5
5
|
"$id": "NxExpoPrebuild",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Expo Prebuild",
|
|
8
8
|
"description": "Create native iOS and Android project files for building natively.",
|
|
9
9
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"$id": "NxExpoRun",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Run iOS or Android application",
|
|
8
8
|
"description": "Run Expo target options.",
|
|
9
9
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"$id": "NxExpoStart",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Packager Server for Expo",
|
|
8
8
|
"description": "Packager Server target options.",
|
|
9
9
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"cli": "nx",
|
|
5
5
|
"$id": "NxExpoSyncDeps",
|
|
6
|
-
"$schema": "
|
|
6
|
+
"$schema": "https://json-schema.org/schema",
|
|
7
7
|
"title": "Sync Deps for Expo",
|
|
8
8
|
"description": "Updates package.json with project dependencies.",
|
|
9
9
|
"type": "object",
|
|
@@ -475,6 +475,30 @@ export const App = () => {
|
|
|
475
475
|
ui/src/lib/button
|
|
476
476
|
</Text>
|
|
477
477
|
</View>
|
|
478
|
+
<View style={styles.listItem}>
|
|
479
|
+
<Svg
|
|
480
|
+
width={24}
|
|
481
|
+
height={24}
|
|
482
|
+
stroke="#000000"
|
|
483
|
+
fill="none"
|
|
484
|
+
viewBox="0 0 24 24"
|
|
485
|
+
>
|
|
486
|
+
<Path
|
|
487
|
+
strokeLinecap="round"
|
|
488
|
+
strokeLinejoin="round"
|
|
489
|
+
strokeWidth="2"
|
|
490
|
+
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
|
|
491
|
+
/>
|
|
492
|
+
</Svg>
|
|
493
|
+
<View style={styles.listItemTextContainer}>
|
|
494
|
+
<Text style={styles.textSm}>
|
|
495
|
+
View project details
|
|
496
|
+
</Text>
|
|
497
|
+
</View>
|
|
498
|
+
</View>
|
|
499
|
+
<View style={[styles.codeBlock, styles.marginBottomLg]}>
|
|
500
|
+
<Text style={[styles.textXS, styles.monospace]}>nx show project <%= displayName %> --web</Text>
|
|
501
|
+
</View>
|
|
478
502
|
<View style={styles.listItem}>
|
|
479
503
|
<Svg
|
|
480
504
|
width={24}
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
export interface Schema {
|
|
5
5
|
name: string;
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
7
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19.
|
|
8
8
|
*/
|
|
9
9
|
project: string;
|
|
10
10
|
directory?: string;
|
|
11
11
|
skipFormat: boolean; // default is false
|
|
12
12
|
skipTests: boolean; // default is false
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated Provide the name in pascal-case and use the `as-provided` format. This option will be removed in Nx
|
|
14
|
+
* @deprecated Provide the name in pascal-case and use the `as-provided` format. This option will be removed in Nx v19.
|
|
15
15
|
*/
|
|
16
16
|
export: boolean; // default is false
|
|
17
17
|
pascalCaseFiles: boolean; // default is false
|
|
18
18
|
classComponent: boolean; // default is false
|
|
19
19
|
js: boolean; // default is false
|
|
20
20
|
/**
|
|
21
|
-
* @deprecated Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx
|
|
21
|
+
* @deprecated Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19.
|
|
22
22
|
*/
|
|
23
23
|
flat: boolean; // default is false
|
|
24
24
|
nameAndDirectoryFormat?: 'as-provided' | 'derived';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"cli": "nx",
|
|
3
3
|
"$id": "NxExpoComponent",
|
|
4
|
-
"$schema": "
|
|
4
|
+
"$schema": "https://json-schema.org/schema",
|
|
5
5
|
"description": "Create a Expo Component for Nx.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"examples": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"$default": {
|
|
23
23
|
"$source": "projectName"
|
|
24
24
|
},
|
|
25
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx
|
|
25
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19."
|
|
26
26
|
},
|
|
27
27
|
"name": {
|
|
28
28
|
"type": "string",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"type": "boolean",
|
|
64
64
|
"description": "Create component at the source root rather than its own directory.",
|
|
65
65
|
"default": false,
|
|
66
|
-
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx
|
|
66
|
+
"x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19."
|
|
67
67
|
},
|
|
68
68
|
"export": {
|
|
69
69
|
"type": "boolean",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"description": "Use pascal case component file name (e.g. App.tsx).",
|
|
78
78
|
"alias": "P",
|
|
79
79
|
"default": false,
|
|
80
|
-
"x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx
|
|
80
|
+
"x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19."
|
|
81
81
|
},
|
|
82
82
|
"classComponent": {
|
|
83
83
|
"type": "boolean",
|