@nrwl/next 13.4.5-beta.5 → 13.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/README.md
CHANGED
|
@@ -17,38 +17,9 @@
|
|
|
17
17
|
|
|
18
18
|
# Next.js Plugin for Nx
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
# Smart, Fast and Extensible Build System
|
|
21
21
|
|
|
22
|
-
|
|
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.
|
|
22
|
+
Nx is a next generation build system with first class monorepo support and powerful integrations.
|
|
52
23
|
|
|
53
24
|
|
|
54
25
|
## Getting Started
|
|
@@ -77,8 +48,9 @@ The `create-nx-workspace` command will ask you to select a preset, which will co
|
|
|
77
48
|
|
|
78
49
|
```
|
|
79
50
|
? What to create in the new workspace (Use arrow keys)
|
|
80
|
-
❯
|
|
81
|
-
|
|
51
|
+
❯ apps [an empty workspace with no plugins with a layout that works best for building apps]
|
|
52
|
+
core [an empty workspace with no plugins set up to publish npm packages (similar to yarn workspaces)]
|
|
53
|
+
ts [an empty workspace with the JS/TS plugin preinstalled]
|
|
82
54
|
react [a workspace with a single React application]
|
|
83
55
|
angular [a workspace with a single Angular application]
|
|
84
56
|
next.js [a workspace with a single Next.js application]
|
|
@@ -86,12 +58,20 @@ The `create-nx-workspace` command will ask you to select a preset, which will co
|
|
|
86
58
|
nest [a workspace with a single Nest application]
|
|
87
59
|
express [a workspace with a single Express application]
|
|
88
60
|
web components [a workspace with a single app built using web components]
|
|
61
|
+
react-native [a workspace with a single React Native application]
|
|
89
62
|
react-express [a workspace with a full stack application (React + Express)]
|
|
90
|
-
angular-nest [a workspace with a full stack application (Angular + Nest)]
|
|
91
63
|
```
|
|
92
64
|
|
|
93
65
|
Select the preset that works best for you.
|
|
94
66
|
|
|
67
|
+
### Adding Nx to an Existing Monorepo
|
|
68
|
+
|
|
69
|
+
Run:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx add-nx-to-monorepo@latest
|
|
73
|
+
```
|
|
74
|
+
|
|
95
75
|
|
|
96
76
|
```
|
|
97
77
|
? Workspace name (e.g., org name) happyorg
|
|
@@ -122,61 +102,13 @@ You are good to go!
|
|
|
122
102
|
|
|
123
103
|
## Documentation & Resources
|
|
124
104
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
- [Nx Documentation and Guides](https://nx.dev)
|
|
128
|
-
- [Intro into Nx](https://nx.dev/getting-started/intro)
|
|
129
|
-
- [Interactive Tutorial with Videos](https://nx.dev/tutorial/01-create-application)
|
|
130
|
-
|
|
131
|
-
### Quick Start Videos
|
|
132
|
-
|
|
133
|
-
- [Scale Your React Development with Nx](https://www.youtube.com/watch?v=sNz-4PUM0k8)
|
|
134
|
-
- [Scale your Node Development with Nx](https://www.youtube.com/watch?v=iIh5h_G52kI)
|
|
135
|
-
- [Modern Angular with Nx Dev Tools](https://www.youtube.com/watch?v=cXOkmOy-8dk)
|
|
136
|
-
|
|
137
|
-
### Courses
|
|
138
|
-
|
|
139
|
-
<table>
|
|
140
|
-
<tr>
|
|
141
|
-
<td><strong>Scale React Development with Nx</strong></td>
|
|
142
|
-
<td><strong>Nx Workspaces</strong></td>
|
|
143
|
-
<td><strong>Advanced Nx Workspaces</strong></td>
|
|
144
|
-
</tr>
|
|
145
|
-
<tr>
|
|
146
|
-
<td>
|
|
147
|
-
<a href="https://egghead.io/playlists/scale-react-development-with-nx-4038" target="_blank">
|
|
148
|
-
<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>
|
|
149
|
-
</a>
|
|
150
|
-
</td>
|
|
151
|
-
<td>
|
|
152
|
-
<a href="https://www.youtube.com/watch?v=2mYLe9Kp9VM&list=PLakNactNC1dH38AfqmwabvOszDmKriGco" target="_blank">
|
|
153
|
-
<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>
|
|
154
|
-
</a>
|
|
155
|
-
</td>
|
|
156
|
-
<td>
|
|
157
|
-
<a href="https://nxplaybook.com/p/advanced-nx-workspaces" target="_blank">
|
|
158
|
-
<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>
|
|
159
|
-
</a>
|
|
160
|
-
</td>
|
|
161
|
-
</tr>
|
|
162
|
-
</table>
|
|
163
|
-
|
|
164
|
-
### Videos, Blogs, Books, Examples
|
|
165
|
-
|
|
166
|
-
- [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
|
|
167
|
-
|
|
168
|
-
- [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
|
|
169
|
-
|
|
170
|
-
- [Youtube Channel with Nx-Related Videos](https://www.youtube.com/playlist?list=PLakNactNC1dHHWx4JIORwfnEajRv6FG5m)
|
|
105
|
+
A few links to help you get started:
|
|
171
106
|
|
|
107
|
+
- [Nx.Dev: Documentation, Guides, Interactive Tutorials](https://nx.dev)
|
|
108
|
+
- [Tutorial: Adding Nx to an Existing Monorepo](https://nx.dev/migration/adding-to-monorepo)
|
|
109
|
+
- [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
|
|
172
110
|
- [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
|
|
173
111
|
|
|
174
|
-
-
|
|
175
|
-
|
|
176
|
-
- [Nx Examples Repo](https://github.com/nrwl/nx-examples)
|
|
177
|
-
|
|
178
|
-
# Engage with the Core Team and the Community
|
|
179
|
-
|
|
180
|
-
- [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.
|
|
181
|
-
- [Follow Nx on Twitter](https://twitter.com/NxDevTools)
|
|
112
|
+
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank"><img src="./images/nx-courses-and-videos.svg"
|
|
113
|
+
width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
|
|
182
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/next",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.6",
|
|
4
4
|
"description": "Next.js Plugin for Nx",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/plugin-proposal-decorators": "^7.14.5",
|
|
37
|
-
"@nrwl/react": "13.4.
|
|
38
|
-
"@nrwl/cypress": "13.4.
|
|
39
|
-
"@nrwl/devkit": "13.4.
|
|
40
|
-
"@nrwl/jest": "13.4.
|
|
41
|
-
"@nrwl/linter": "13.4.
|
|
42
|
-
"@nrwl/web": "13.4.
|
|
43
|
-
"@nrwl/workspace": "13.4.
|
|
37
|
+
"@nrwl/react": "13.4.6",
|
|
38
|
+
"@nrwl/cypress": "13.4.6",
|
|
39
|
+
"@nrwl/devkit": "13.4.6",
|
|
40
|
+
"@nrwl/jest": "13.4.6",
|
|
41
|
+
"@nrwl/linter": "13.4.6",
|
|
42
|
+
"@nrwl/web": "13.4.6",
|
|
43
|
+
"@nrwl/workspace": "13.4.6",
|
|
44
44
|
"@svgr/webpack": "^6.1.2",
|
|
45
45
|
"chalk": "4.1.0",
|
|
46
46
|
"eslint-config-next": "^12.0.0",
|
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.babelPluginStyledComponentsVersion = exports.emotionServerVersion = exports.stylusLoader = exports.lessLoader = exports.sassVersion = exports.eslintConfigNextVersion = exports.nextVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '13.4.
|
|
4
|
+
exports.nxVersion = '13.4.6';
|
|
5
5
|
exports.nextVersion = '12.0.7';
|
|
6
6
|
exports.eslintConfigNextVersion = '12.0.7';
|
|
7
7
|
exports.sassVersion = '1.43.2';
|