@nrwl/expo 14.4.4 → 14.4.6
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/.eslintrc.json +16 -4
- package/CHANGELOG.md +24 -0
- package/LICENSE +22 -0
- package/README.md +13 -137
- package/executors.json +40 -10
- package/generators.json +0 -5
- package/migrations.json +374 -0
- package/package.json +24 -18
- package/plugins/metro-resolver.js +12 -1
- package/plugins/metro-resolver.js.map +1 -1
- package/plugins/with-nx-webpack.d.ts +1 -1
- package/plugins/with-nx-webpack.js +8 -60
- package/plugins/with-nx-webpack.js.map +1 -1
- package/project.json +10 -50
- package/src/executors/build/build.impl.js +2 -2
- package/src/executors/build/build.impl.js.map +1 -1
- package/src/executors/build/schema.json +8 -4
- package/src/executors/build-android/build-android.impl.js +4 -3
- package/src/executors/build-android/build-android.impl.js.map +1 -1
- package/src/executors/build-android/schema.json +8 -4
- package/src/executors/build-ios/build-ios.impl.js +4 -3
- package/src/executors/build-ios/build-ios.impl.js.map +1 -1
- package/src/executors/build-ios/schema.d.ts +1 -1
- package/src/executors/build-ios/schema.json +8 -4
- package/src/executors/build-list/build-list.impl.js +9 -6
- package/src/executors/build-list/build-list.impl.js.map +1 -1
- package/src/executors/build-list/schema.d.ts +1 -0
- package/src/executors/build-list/schema.json +9 -2
- package/src/executors/build-status/build-status.impl.js +3 -2
- package/src/executors/build-status/build-status.impl.js.map +1 -1
- package/src/executors/build-status/schema.json +3 -1
- package/src/executors/build-web/build-web.impl.js +3 -2
- package/src/executors/build-web/build-web.impl.js.map +1 -1
- package/src/executors/build-web/schema.json +3 -1
- package/src/executors/download/download.impl.js +2 -2
- package/src/executors/download/download.impl.js.map +1 -1
- package/src/executors/download/schema.d.ts +0 -1
- package/src/executors/download/schema.json +5 -2
- package/src/executors/ensure-symlink/ensure-symlink.impl.js +1 -1
- package/src/executors/ensure-symlink/ensure-symlink.impl.js.map +1 -1
- package/src/executors/ensure-symlink/schema.json +2 -0
- package/src/executors/export/compat.js +6 -0
- package/src/executors/export/compat.js.map +1 -0
- package/src/executors/export/export.impl.d.ts +6 -0
- package/src/executors/export/export.impl.js +69 -0
- package/src/executors/export/export.impl.js.map +1 -0
- package/src/executors/export/schema.d.ts +11 -0
- package/src/executors/export/schema.json +48 -0
- package/src/executors/install/compat.d.ts +2 -0
- package/src/executors/install/compat.js +6 -0
- package/src/executors/install/compat.js.map +1 -0
- package/src/executors/install/install.impl.d.ts +7 -0
- package/src/executors/install/install.impl.js +70 -0
- package/src/executors/install/install.impl.js.map +1 -0
- package/src/executors/install/schema.d.ts +7 -0
- package/src/executors/install/schema.json +34 -0
- package/src/executors/prebuild/compat.d.ts +2 -0
- package/src/executors/prebuild/compat.js +6 -0
- package/src/executors/prebuild/compat.js.map +1 -0
- package/src/executors/prebuild/prebuild.impl.d.ts +6 -0
- package/src/executors/{eject/eject.impl.js → prebuild/prebuild.impl.js} +19 -12
- package/src/executors/prebuild/prebuild.impl.js.map +1 -0
- package/src/executors/prebuild/schema.d.ts +10 -0
- package/src/executors/prebuild/schema.json +34 -0
- package/src/executors/publish/publish.impl.js +3 -2
- package/src/executors/publish/publish.impl.js.map +1 -1
- package/src/executors/publish/schema.json +5 -2
- package/src/executors/publish-set/publish-set.impl.js +2 -1
- package/src/executors/publish-set/publish-set.impl.js.map +1 -1
- package/src/executors/publish-set/schema.json +3 -1
- package/src/executors/rollback/rollback.impl.js +2 -1
- package/src/executors/rollback/rollback.impl.js.map +1 -1
- package/src/executors/rollback/schema.json +3 -1
- package/src/executors/run/run.impl.js +11 -11
- package/src/executors/run/run.impl.js.map +1 -1
- package/src/executors/run/schema.d.ts +18 -6
- package/src/executors/run/schema.json +21 -8
- package/src/executors/start/schema.d.ts +12 -4
- package/src/executors/start/schema.json +27 -9
- package/src/executors/start/start.impl.js +8 -12
- package/src/executors/start/start.impl.js.map +1 -1
- package/src/executors/sync-deps/schema.d.ts +2 -1
- package/src/executors/sync-deps/schema.json +17 -3
- package/src/executors/sync-deps/sync-deps.impl.d.ts +2 -2
- package/src/executors/sync-deps/sync-deps.impl.js +14 -9
- package/src/executors/sync-deps/sync-deps.impl.js.map +1 -1
- package/src/executors/update/compat.d.ts +2 -0
- package/src/executors/update/compat.js +6 -0
- package/src/executors/update/compat.js.map +1 -0
- package/src/executors/update/schema.d.ts +15 -0
- package/src/executors/update/schema.json +65 -0
- package/src/executors/update/update.impl.d.ts +6 -0
- package/src/executors/update/update.impl.js +59 -0
- package/src/executors/update/update.impl.js.map +1 -0
- package/src/generators/application/application.js +1 -1
- package/src/generators/application/application.js.map +1 -1
- package/src/generators/application/files/babel.config.js.template +1 -2
- package/src/generators/application/files/package.json.template +1 -10
- package/src/generators/application/files/src/app/App.tsx.template +227 -41
- package/src/generators/application/files/tsconfig.json.template +3 -2
- package/src/generators/application/lib/add-detox.js +1 -1
- package/src/generators/application/lib/add-detox.js.map +1 -1
- package/src/generators/application/lib/add-project.js +39 -16
- package/src/generators/application/lib/add-project.js.map +1 -1
- package/src/generators/application/lib/normalize-options.d.ts +2 -1
- package/src/generators/application/lib/normalize-options.js +4 -2
- package/src/generators/application/lib/normalize-options.js.map +1 -1
- package/src/generators/application/schema.d.ts +2 -0
- package/src/generators/application/schema.json +18 -6
- package/src/generators/component/lib/add-import.js +1 -1
- package/src/generators/component/lib/add-import.js.map +1 -1
- package/src/generators/component/schema.json +6 -5
- package/src/generators/init/init.d.ts +4 -4
- package/src/generators/init/init.js +18 -21
- package/src/generators/init/init.js.map +1 -1
- package/src/generators/init/lib/add-git-ignore-entry.js +1 -1
- package/src/generators/init/lib/add-git-ignore-entry.js.map +1 -1
- package/src/generators/init/lib/gitignore-entries.d.ts +1 -1
- package/src/generators/init/lib/gitignore-entries.js +2 -0
- package/src/generators/init/lib/gitignore-entries.js.map +1 -1
- package/src/generators/init/schema.d.ts +2 -0
- package/src/generators/init/schema.json +13 -2
- package/src/generators/library/files/lib/babel.config.json +17 -0
- package/src/generators/library/lib/normalize-options.js +1 -1
- package/src/generators/library/lib/normalize-options.js.map +1 -1
- package/src/generators/library/library.js +3 -17
- package/src/generators/library/library.js.map +1 -1
- package/src/generators/library/schema.d.ts +1 -1
- package/src/generators/library/schema.json +13 -11
- package/src/migrations/update-14-5-1/add-eas-update-target.d.ts +5 -0
- package/src/migrations/update-14-5-1/add-eas-update-target.js +27 -0
- package/src/migrations/update-14-5-1/add-eas-update-target.js.map +1 -0
- package/src/migrations/update-15-0-3/add-new-expo-cli-targets.d.ts +9 -0
- package/src/migrations/update-15-0-3/add-new-expo-cli-targets.js +66 -0
- package/src/migrations/update-15-0-3/add-new-expo-cli-targets.js.map +1 -0
- package/src/migrations/update-15-0-3/change-jest-preset.d.ts +8 -0
- package/src/migrations/update-15-0-3/change-jest-preset.js +74 -0
- package/src/migrations/update-15-0-3/change-jest-preset.js.map +1 -0
- package/src/utils/add-jest.js +12 -18
- package/src/utils/add-jest.js.map +1 -1
- package/src/utils/add-linting.js +9 -13
- package/src/utils/add-linting.js.map +1 -1
- package/src/utils/ensure-node-modules-symlink.js +5 -5
- package/src/utils/ensure-node-modules-symlink.js.map +1 -1
- package/src/utils/pod-install-task.d.ts +1 -1
- package/src/utils/pod-install-task.js +12 -13
- package/src/utils/pod-install-task.js.map +1 -1
- package/src/utils/versions.d.ts +21 -24
- package/src/utils/versions.js +22 -25
- package/src/utils/versions.js.map +1 -1
- package/tsconfig.spec.json +5 -5
- package/.babelrc +0 -3
- package/src/executors/eject/compat.js +0 -6
- package/src/executors/eject/compat.js.map +0 -1
- package/src/executors/eject/eject.impl.d.ts +0 -6
- package/src/executors/eject/eject.impl.js.map +0 -1
- package/src/executors/eject/schema.d.ts +0 -6
- package/src/executors/eject/schema.json +0 -21
- package/src/generators/application/files/assets/logo.png +0 -0
- package/src/generators/application/files/assets/star.svg +0 -11
- package/src/generators/application/files/src/app/icons/blog.svg +0 -1
- package/src/generators/application/files/src/app/icons/book.svg +0 -1
- package/src/generators/application/files/src/app/icons/checkmark.svg +0 -1
- package/src/generators/application/files/src/app/icons/chevron-right.svg +0 -1
- package/src/generators/application/files/src/app/icons/courses.svg +0 -1
- package/src/generators/application/files/src/app/icons/github.svg +0 -1
- package/src/generators/application/files/src/app/icons/heart.svg +0 -1
- package/src/generators/application/files/src/app/icons/logo.png +0 -0
- package/src/generators/application/files/src/app/icons/nx-cloud.svg +0 -1
- package/src/generators/application/files/src/app/icons/pointer.svg +0 -1
- package/src/generators/application/files/src/app/icons/terminal.svg +0 -1
- package/src/generators/application/files/src/app/icons/vscode.svg +0 -1
- package/src/generators/application/files/src/app/icons/youtube.svg +0 -1
- package/src/generators/library/files/lib/.babelrc.template +0 -3
- package/src/generators/preset/preset.d.ts +0 -4
- package/src/generators/preset/preset.js +0 -18
- package/src/generators/preset/preset.js.map +0 -1
- package/src/generators/preset/schema.d.ts +0 -13
- package/src/generators/preset/schema.json +0 -62
- /package/src/executors/{eject → export}/compat.d.ts +0 -0
package/.eslintrc.json
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "../../.eslintrc",
|
|
3
|
-
"rules": {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"rules": {},
|
|
4
|
+
"ignorePatterns": ["!**/*"],
|
|
5
|
+
"overrides": [
|
|
6
|
+
{
|
|
7
|
+
"files": [
|
|
8
|
+
"./package.json",
|
|
9
|
+
"./generators.json",
|
|
10
|
+
"./executors.json",
|
|
11
|
+
"./migrations.json"
|
|
12
|
+
],
|
|
13
|
+
"parser": "jsonc-eslint-parser",
|
|
14
|
+
"rules": {
|
|
15
|
+
"@nrwl/nx/nx-plugin-checks": "error"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
7
19
|
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [14.4.6](https://github.com/nrwl/nx/compare/14.4.3...14.4.6) (2023-03-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nrwl/expo
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [15.4.6](https://github.com/nrwl/nx/compare/14.4.3...15.4.6) (2023-03-23)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @nrwl/expo
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [15.8.8](https://github.com/nrwl/nx/compare/15.8.7...15.8.8) (2023-03-23)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @nrwl/expo
|
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-2023 Narwhal Technologies Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx
|
|
1
|
+
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
|
|
2
2
|
|
|
3
3
|
<div style="text-align: center;">
|
|
4
4
|
|
|
@@ -15,41 +15,11 @@
|
|
|
15
15
|
|
|
16
16
|
<hr>
|
|
17
17
|
|
|
18
|
-
#
|
|
18
|
+
# Nx: Smart, Fast and Extensible Build System
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
🔎 **Smart, Fast and Extensible Build System**
|
|
23
|
-
|
|
24
|
-
Nx is a smart, fast and extensible build system. It comes with first class monorepo support and powerful integrations.
|
|
25
|
-
|
|
26
|
-
### Best-in-Class Support for Monorepos
|
|
27
|
-
|
|
28
|
-
<strong>Nx</strong> provides distributed graph-based task execution and computation caching.
|
|
29
|
-
|
|
30
|
-
<strong>Nx</strong> is smart. It analyzes your workspace and figures out what can be affected by every code change.
|
|
31
|
-
That's why Nx doesn't rebuild and retest everything on every commit--<strong>it only rebuilds what is necessary</strong>
|
|
32
|
-
.
|
|
33
|
-
|
|
34
|
-
<strong>Nx</strong> partitions commands into a graph of smaller tasks. Nx then runs those tasks in parallel,
|
|
35
|
-
and <strong>it can even distribute them across multiple machines without any configuration</strong>.
|
|
36
|
-
|
|
37
|
-
<strong>Nx also uses a distributed computation cache.</strong> If someone has already built or tested similar code, Nx
|
|
38
|
-
will use their results to speed up the command for everyone else.
|
|
39
|
-
|
|
40
|
-
### Holistic Dev Experience Powered by an Advanced CLI and Editor Plugins
|
|
41
|
-
|
|
42
|
-
<strong>Nx</strong> helps scale your development from one team building one application to many teams building multiple
|
|
43
|
-
frontend and backend applications all in the same workspace. <strong >When using Nx, developers have a holistic dev
|
|
44
|
-
experience powered by an advanced CLI</strong > (with editor plugins), capabilities for controlled code sharing and
|
|
45
|
-
consistent code generation.
|
|
46
|
-
|
|
47
|
-
### Rich Plugin Ecosystem
|
|
48
|
-
|
|
49
|
-
<strong>Nx</strong> is an open platform with plugins for many modern tools and frameworks. It has support for
|
|
50
|
-
TypeScript, React, Angular, Cypress, Jest, Prettier, Nest.js, Next.js, Storybook, Ionic among others. With Nx, you get a
|
|
51
|
-
consistent dev experience regardless of the tools used.
|
|
20
|
+
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
|
52
21
|
|
|
22
|
+
This package is a [Expo plugin for Nx](https://nx.dev/expo/overview).
|
|
53
23
|
|
|
54
24
|
## Getting Started
|
|
55
25
|
|
|
@@ -73,115 +43,21 @@ npm init nx-workspace
|
|
|
73
43
|
yarn create nx-workspace
|
|
74
44
|
```
|
|
75
45
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
```
|
|
79
|
-
? What to create in the new workspace (Use arrow keys)
|
|
80
|
-
❯ empty [an empty workspace with a layout that works best for building apps]
|
|
81
|
-
npm [an empty workspace set up to publish npm packages (similar to and compatible with yarn workspaces)]
|
|
82
|
-
react [a workspace with a single React application]
|
|
83
|
-
angular [a workspace with a single Angular application]
|
|
84
|
-
next.js [a workspace with a single Next.js application]
|
|
85
|
-
gatsby [a workspace with a single Gatsby application]
|
|
86
|
-
nest [a workspace with a single Nest application]
|
|
87
|
-
express [a workspace with a single Express application]
|
|
88
|
-
web components [a workspace with a single app built using web components]
|
|
89
|
-
react-express [a workspace with a full stack application (React + Express)]
|
|
90
|
-
angular-nest [a workspace with a full stack application (Angular + Nest)]
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Select the preset that works best for you.
|
|
46
|
+
### Adding Nx to an Existing Repository
|
|
94
47
|
|
|
48
|
+
Run:
|
|
95
49
|
|
|
50
|
+
```bash
|
|
51
|
+
npx nx@latest init
|
|
96
52
|
```
|
|
97
|
-
? Workspace name (e.g., org name) happyorg
|
|
98
|
-
? What to create in the new workspace expo [a workspace with a single expo application]
|
|
99
|
-
? Application name myapp
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
If it's your first Nx project, the command will recommend you to install the `nx` package globally, so you can invoke `nx` directly without going through yarn or npm.
|
|
103
|
-
|
|
104
|
-
### Serving Application
|
|
105
|
-
|
|
106
|
-
- Run `nx start myapp` to start a local dev server for the app.
|
|
107
|
-
- Run `nx run myapp --platform=ios` to run the iOS app binary locally.
|
|
108
|
-
- Run `nx run myapp --platform=android` to run the Android app binary locally.
|
|
109
|
-
- Run `nx test myapp` to test it.
|
|
110
|
-
- Run `nx test-ios myapp-e2e` to run e2e tests for it on iOS.
|
|
111
|
-
- Run `nx test-android myapp-e2e` to run e2e tests for it on Android.
|
|
112
|
-
- Run `nx ensure-symlink myapp` to ensure workspace node_modules is symlink under app's node_modules folder.
|
|
113
|
-
- Run `nx sync-deps myapp` to update package.json with project dependencies. For example: `nx sync-deps myapp --include=react-native-gesture-handler,react-native-safe-area-context`
|
|
114
|
-
- Run `nx build-ios myapp` to build and sign a standalone IPA for the Apple App Store.
|
|
115
|
-
- Run `nx build-android myapp` to build and sign a standalone APK or App Bundle for the Google Play Store.
|
|
116
|
-
- Run `nx build-status myapp` to get the status of the latest build for the project.
|
|
117
|
-
|
|
118
|
-
### Adding Expo Plugin Into an Existing Workspace
|
|
119
|
-
|
|
120
|
-
You can always add the Expo plugin to an existing workspace by installing `@nrwl/expo` and then generating an Expo application, as follows: `nx g @nrwl/expo:app myapp`.
|
|
121
|
-
|
|
122
|
-
## Quick Start Videos
|
|
123
|
-
|
|
124
|
-
<a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
|
|
125
|
-
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-react-video.png" width="350" alt="Nx - Quick start video"></p>
|
|
126
|
-
</a>
|
|
127
53
|
|
|
128
54
|
## Documentation & Resources
|
|
129
55
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
- [Nx
|
|
133
|
-
- [Intro into Nx](https://nx.dev/getting-started/intro)
|
|
134
|
-
- [Interactive Tutorial with Videos](https://nx.dev/tutorial/01-create-application)
|
|
135
|
-
|
|
136
|
-
### Quick Start Videos
|
|
137
|
-
|
|
138
|
-
- [Scale Your React Development with Nx](https://www.youtube.com/watch?v=sNz-4PUM0k8)
|
|
139
|
-
- [Scale your Node Development with Nx](https://www.youtube.com/watch?v=iIh5h_G52kI)
|
|
140
|
-
- [Modern Angular with Nx Dev Tools](https://www.youtube.com/watch?v=cXOkmOy-8dk)
|
|
141
|
-
|
|
142
|
-
### Courses
|
|
143
|
-
|
|
144
|
-
<table>
|
|
145
|
-
<tr>
|
|
146
|
-
<td><strong>Scale React Development with Nx</strong></td>
|
|
147
|
-
<td><strong>Nx Workspaces</strong></td>
|
|
148
|
-
<td><strong>Advanced Nx Workspaces</strong></td>
|
|
149
|
-
</tr>
|
|
150
|
-
<tr>
|
|
151
|
-
<td>
|
|
152
|
-
<a href="https://egghead.io/playlists/scale-react-development-with-nx-4038" target="_blank">
|
|
153
|
-
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/EGH_ScalingReactNx.png" height="150px" alt="Nx - Scale React Development with Nx video course"></p>
|
|
154
|
-
</a>
|
|
155
|
-
</td>
|
|
156
|
-
<td>
|
|
157
|
-
<a href="https://www.youtube.com/watch?v=2mYLe9Kp9VM&list=PLakNactNC1dH38AfqmwabvOszDmKriGco" target="_blank">
|
|
158
|
-
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-workspace-course.png" width="350" alt="Nx Workspaces video course"></p>
|
|
159
|
-
</a>
|
|
160
|
-
</td>
|
|
161
|
-
<td>
|
|
162
|
-
<a href="https://nxplaybook.com/p/advanced-nx-workspaces" target="_blank">
|
|
163
|
-
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/advanced-nx-workspace-course.png" width="350" alt="Nx Advanced Workspaces video course"></p>
|
|
164
|
-
</a>
|
|
165
|
-
</td>
|
|
166
|
-
</tr>
|
|
167
|
-
</table>
|
|
168
|
-
|
|
169
|
-
### Videos, Blogs, Books, Examples
|
|
170
|
-
|
|
171
|
-
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
|
172
|
-
|
|
173
|
-
- [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
|
|
174
|
-
|
|
175
|
-
- [Youtube Channel with Nx-Related Videos](https://www.youtube.com/playlist?list=PLakNactNC1dHHWx4JIORwfnEajRv6FG5m)
|
|
176
|
-
|
|
56
|
+
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
57
|
+
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
58
|
+
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
177
59
|
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
|
|
178
60
|
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
- [Nx Examples Repo](https://github.com/nrwl/nx-examples)
|
|
182
|
-
|
|
183
|
-
# Engage with the Core Team and the Community
|
|
184
|
-
|
|
185
|
-
- [The Nx Show Playlist on YouTube](https://www.youtube.com/playlist?list=PLakNactNC1dE8KLQ5zd3fQwu_yQHjTmR5). It's a regular YouTube stream where we talk all things Nx. Join the stream, ask questions, etc.
|
|
186
|
-
- [Follow Nx on Twitter](https://twitter.com/NxDevTools)
|
|
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"
|
|
62
|
+
width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
|
|
187
63
|
|
package/executors.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"executors": {
|
|
3
|
+
"update": {
|
|
4
|
+
"implementation": "./src/executors/update/update.impl",
|
|
5
|
+
"schema": "./src/executors/update/schema.json",
|
|
6
|
+
"description": "Start an EAS update for your expo project"
|
|
7
|
+
},
|
|
3
8
|
"build": {
|
|
4
9
|
"implementation": "./src/executors/build/build.impl",
|
|
5
10
|
"schema": "./src/executors/build/schema.json",
|
|
@@ -70,13 +75,28 @@
|
|
|
70
75
|
"schema": "./src/executors/ensure-symlink/schema.json",
|
|
71
76
|
"description": "Ensure workspace node_modules is symlink under app's node_modules folder."
|
|
72
77
|
},
|
|
73
|
-
"
|
|
74
|
-
"implementation": "./src/executors/
|
|
75
|
-
"schema": "./src/executors/
|
|
76
|
-
"description": "Create native iOS and Android project files."
|
|
78
|
+
"prebuild": {
|
|
79
|
+
"implementation": "./src/executors/prebuild/prebuild.impl",
|
|
80
|
+
"schema": "./src/executors/prebuild/schema.json",
|
|
81
|
+
"description": "Create native iOS and Android project files for building natively."
|
|
82
|
+
},
|
|
83
|
+
"install": {
|
|
84
|
+
"implementation": "./src/executors/install/install.impl",
|
|
85
|
+
"schema": "./src/executors/install/schema.json",
|
|
86
|
+
"description": "Install a module or other package to a project."
|
|
87
|
+
},
|
|
88
|
+
"export": {
|
|
89
|
+
"implementation": "./src/executors/export/export.impl",
|
|
90
|
+
"schema": "./src/executors/export/schema.json",
|
|
91
|
+
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler"
|
|
77
92
|
}
|
|
78
93
|
},
|
|
79
94
|
"builders": {
|
|
95
|
+
"update": {
|
|
96
|
+
"implementation": "./src/executors/update/compat",
|
|
97
|
+
"schema": "./src/executors/update/schema.json",
|
|
98
|
+
"description": "Start an EAS update for your expo project"
|
|
99
|
+
},
|
|
80
100
|
"build": {
|
|
81
101
|
"implementation": "./src/executors/build/compat",
|
|
82
102
|
"schema": "./src/executors/build/schema.json",
|
|
@@ -118,12 +138,12 @@
|
|
|
118
138
|
"description": "Deploy a project to Expo hosting"
|
|
119
139
|
},
|
|
120
140
|
"publish-set": {
|
|
121
|
-
"implementation": "./src/executors/publish-set/
|
|
141
|
+
"implementation": "./src/executors/publish-set/compat",
|
|
122
142
|
"schema": "./src/executors/publish-set/schema.json",
|
|
123
143
|
"description": "Specify the channel to serve a published release"
|
|
124
144
|
},
|
|
125
145
|
"rollback": {
|
|
126
|
-
"implementation": "./src/executors/rollback/
|
|
146
|
+
"implementation": "./src/executors/rollback/compat",
|
|
127
147
|
"schema": "./src/executors/rollback/schema.json",
|
|
128
148
|
"description": "Undo an update to a channel"
|
|
129
149
|
},
|
|
@@ -147,10 +167,20 @@
|
|
|
147
167
|
"schema": "./src/executors/ensure-symlink/schema.json",
|
|
148
168
|
"description": "Ensure workspace node_modules is symlink under app's node_modules folder."
|
|
149
169
|
},
|
|
150
|
-
"
|
|
151
|
-
"implementation": "./src/executors/
|
|
152
|
-
"schema": "./src/executors/
|
|
153
|
-
"description": "Create native iOS and Android project files."
|
|
170
|
+
"prebuild": {
|
|
171
|
+
"implementation": "./src/executors/prebuild/compat",
|
|
172
|
+
"schema": "./src/executors/prebuild/schema.json",
|
|
173
|
+
"description": "Create native iOS and Android project files for building natively."
|
|
174
|
+
},
|
|
175
|
+
"install": {
|
|
176
|
+
"implementation": "./src/executors/install/compat",
|
|
177
|
+
"schema": "./src/executors/install/schema.json",
|
|
178
|
+
"description": "Install a module or other package to a project."
|
|
179
|
+
},
|
|
180
|
+
"export": {
|
|
181
|
+
"implementation": "./src/executors/export/compat",
|
|
182
|
+
"schema": "./src/executors/export/schema.json",
|
|
183
|
+
"description": "Export the JavaScript and assets for your app using Metro/webpack bundler"
|
|
154
184
|
}
|
|
155
185
|
}
|
|
156
186
|
}
|
package/generators.json
CHANGED
|
@@ -56,11 +56,6 @@
|
|
|
56
56
|
"schema": "./src/generators/component/schema.json",
|
|
57
57
|
"description": "Create a component",
|
|
58
58
|
"aliases": ["c"]
|
|
59
|
-
},
|
|
60
|
-
"preset": {
|
|
61
|
-
"factory": "./src/generators/preset/preset",
|
|
62
|
-
"schema": "./src/generators/preset/schema.json",
|
|
63
|
-
"description": "Create Expo preset"
|
|
64
59
|
}
|
|
65
60
|
}
|
|
66
61
|
}
|