@nrwl/next 13.4.5 → 13.5.0-beta.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-next.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
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,168 +15,10 @@
15
15
 
16
16
  <hr>
17
17
 
18
- # Next.js Plugin for Nx
18
+ # Nx: Smart, Fast and Extensible Build System
19
19
 
20
- ## What is Nx?
20
+ Nx is a next generation build system with first class monorepo support and powerful integrations.
21
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.
52
-
53
-
54
- ## Getting Started
55
-
56
- ### Creating an Nx Workspace
57
-
58
- **Using `npx`**
59
-
60
- ```bash
61
- npx create-nx-workspace
62
- ```
63
-
64
- **Using `npm init`**
65
-
66
- ```bash
67
- npm init nx-workspace
68
- ```
69
-
70
- **Using `yarn create`**
71
-
72
- ```bash
73
- yarn create nx-workspace
74
- ```
75
-
76
- The `create-nx-workspace` command will ask you to select a preset, which will configure some plugins and create your applications to help you get started.
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.
94
-
95
-
96
- ```
97
- ? Workspace name (e.g., org name) happyorg
98
- ? What to create in the new workspace next.js [a workspace with a single Next.js application]
99
- ? Application name myapp
100
- ? Default stylesheet format CSS
101
- ```
102
-
103
- You can also select `empty` and add `@nrwl/next` plugin using yarn or npm, and then generate a new express app using `nx g @nrwl/next:app myapp`.
104
-
105
- 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.
106
-
107
- ### Serving Application
108
-
109
- - Run `nx serve myapp` to serve the newly generated application!
110
- - Run `nx test myapp` to test it.
111
- - Run `nx e2e myapp` to run e2e tests for your application.
112
-
113
- You are good to go!
114
-
115
- ## Quick Start Videos
116
-
117
- <a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
118
- <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>
119
- </a>
120
-
121
- - [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
122
-
123
- ## Documentation & Resources
124
-
125
- Even though Nx isn't technology specific, we provide 3 separate flavours of the documentation site to it make it easier for you to get up and running. For every link below, you will be able to select whether you want your examples to be written in React, Node or Angular.
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)
171
-
172
- - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
173
-
174
- - [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
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)
22
+ This package is a [Next.js plugin for Nx](https://nx.dev/next/overview).
182
23
 
24
+ {{content}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/next",
3
- "version": "13.4.5",
3
+ "version": "13.5.0-beta.2",
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.5",
38
- "@nrwl/cypress": "13.4.5",
39
- "@nrwl/devkit": "13.4.5",
40
- "@nrwl/jest": "13.4.5",
41
- "@nrwl/linter": "13.4.5",
42
- "@nrwl/web": "13.4.5",
43
- "@nrwl/workspace": "13.4.5",
37
+ "@nrwl/react": "13.5.0-beta.2",
38
+ "@nrwl/cypress": "13.5.0-beta.2",
39
+ "@nrwl/devkit": "13.5.0-beta.2",
40
+ "@nrwl/jest": "13.5.0-beta.2",
41
+ "@nrwl/linter": "13.5.0-beta.2",
42
+ "@nrwl/web": "13.5.0-beta.2",
43
+ "@nrwl/workspace": "13.5.0-beta.2",
44
44
  "@svgr/webpack": "^6.1.2",
45
45
  "chalk": "4.1.0",
46
46
  "eslint-config-next": "^12.0.0",
@@ -1,5 +1,4 @@
1
1
  /// <reference types="next" />
2
- /// <reference types="next/types/global" />
3
2
  /// <reference types="next/image-types/global" />
4
3
 
5
4
  // NOTE: This file should not be edited
@@ -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.5';
4
+ exports.nxVersion = '13.5.0-beta.2';
5
5
  exports.nextVersion = '12.0.7';
6
6
  exports.eslintConfigNextVersion = '12.0.7';
7
7
  exports.sassVersion = '1.43.2';