@nrwl/next 13.4.6 → 13.5.0-beta.3

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,100 +15,10 @@
15
15
 
16
16
  <hr>
17
17
 
18
- # Next.js Plugin for Nx
19
-
20
- # Smart, Fast and Extensible Build System
18
+ # Nx: Smart, Fast and Extensible Build System
21
19
 
22
20
  Nx is a next generation build system with first class monorepo support and powerful integrations.
23
21
 
22
+ This package is a [Next.js plugin for Nx](https://nx.dev/next/overview).
24
23
 
25
- ## Getting Started
26
-
27
- ### Creating an Nx Workspace
28
-
29
- **Using `npx`**
30
-
31
- ```bash
32
- npx create-nx-workspace
33
- ```
34
-
35
- **Using `npm init`**
36
-
37
- ```bash
38
- npm init nx-workspace
39
- ```
40
-
41
- **Using `yarn create`**
42
-
43
- ```bash
44
- yarn create nx-workspace
45
- ```
46
-
47
- 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.
48
-
49
- ```
50
- ? What to create in the new workspace (Use arrow keys)
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]
54
- react [a workspace with a single React application]
55
- angular [a workspace with a single Angular application]
56
- next.js [a workspace with a single Next.js application]
57
- gatsby [a workspace with a single Gatsby application]
58
- nest [a workspace with a single Nest application]
59
- express [a workspace with a single Express application]
60
- web components [a workspace with a single app built using web components]
61
- react-native [a workspace with a single React Native application]
62
- react-express [a workspace with a full stack application (React + Express)]
63
- ```
64
-
65
- Select the preset that works best for you.
66
-
67
- ### Adding Nx to an Existing Monorepo
68
-
69
- Run:
70
-
71
- ```bash
72
- npx add-nx-to-monorepo@latest
73
- ```
74
-
75
-
76
- ```
77
- ? Workspace name (e.g., org name) happyorg
78
- ? What to create in the new workspace next.js [a workspace with a single Next.js application]
79
- ? Application name myapp
80
- ? Default stylesheet format CSS
81
- ```
82
-
83
- 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`.
84
-
85
- 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.
86
-
87
- ### Serving Application
88
-
89
- - Run `nx serve myapp` to serve the newly generated application!
90
- - Run `nx test myapp` to test it.
91
- - Run `nx e2e myapp` to run e2e tests for your application.
92
-
93
- You are good to go!
94
-
95
- ## Quick Start Videos
96
-
97
- <a href="https://www.youtube.com/watch?v=E188J7E_MDU" target="_blank">
98
- <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>
99
- </a>
100
-
101
- - [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
102
-
103
- ## Documentation & Resources
104
-
105
- A few links to help you get started:
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)
110
- - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
111
-
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>
114
-
24
+ {{content}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/next",
3
- "version": "13.4.6",
3
+ "version": "13.5.0-beta.3",
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.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",
37
+ "@nrwl/react": "13.5.0-beta.3",
38
+ "@nrwl/cypress": "13.5.0-beta.3",
39
+ "@nrwl/devkit": "13.5.0-beta.3",
40
+ "@nrwl/jest": "13.5.0-beta.3",
41
+ "@nrwl/linter": "13.5.0-beta.3",
42
+ "@nrwl/web": "13.5.0-beta.3",
43
+ "@nrwl/workspace": "13.5.0-beta.3",
44
44
  "@svgr/webpack": "^6.1.2",
45
45
  "chalk": "4.1.0",
46
46
  "eslint-config-next": "^12.0.0",
@@ -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.6';
4
+ exports.nxVersion = '13.5.0-beta.3';
5
5
  exports.nextVersion = '12.0.7';
6
6
  exports.eslintConfigNextVersion = '12.0.7';
7
7
  exports.sassVersion = '1.43.2';