@nrwl/next 13.10.0-beta.4 → 13.10.0-beta.7

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/executors.json CHANGED
@@ -3,34 +3,34 @@
3
3
  "build": {
4
4
  "implementation": "./src/executors/build/build.impl",
5
5
  "schema": "./src/executors/build/schema.json",
6
- "description": "Build a Next.js app"
6
+ "description": "Build a Next.js application."
7
7
  },
8
8
  "server": {
9
9
  "implementation": "./src/executors/server/server.impl",
10
10
  "schema": "./src/executors/server/schema.json",
11
- "description": "Serve a Next.js app"
11
+ "description": "Serve a Next.js application."
12
12
  },
13
13
  "export": {
14
14
  "implementation": "./src/executors/export/export.impl",
15
15
  "schema": "./src/executors/export/schema.json",
16
- "description": "Export a Next.js app. The exported application is located at dist/$outputPath/exported."
16
+ "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`."
17
17
  }
18
18
  },
19
19
  "builders": {
20
20
  "build": {
21
21
  "implementation": "./src/executors/build/compat",
22
22
  "schema": "./src/executors/build/schema.json",
23
- "description": "Build a Next.js app"
23
+ "description": "Build a Next.js application."
24
24
  },
25
25
  "server": {
26
26
  "implementation": "./src/executors/server/compat",
27
27
  "schema": "./src/executors/server/schema.json",
28
- "description": "Serve a Next.js app"
28
+ "description": "Serve a Next.js application."
29
29
  },
30
30
  "export": {
31
31
  "implementation": "./src/executors/export/compat",
32
32
  "schema": "./src/executors/export/schema.json",
33
- "description": "Export a Next.js app. The exported application is located at dist/$outputPath/exported."
33
+ "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`."
34
34
  }
35
35
  }
36
36
  }
package/generators.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "init": {
7
7
  "factory": "./src/generators/init/init#nextInitSchematic",
8
8
  "schema": "./src/generators/init/schema.json",
9
- "description": "Initialize the @nrwl/next plugin",
9
+ "description": "Initialize the `@nrwl/next` plugin.",
10
10
  "hidden": true
11
11
  },
12
12
  "application": {
@@ -14,24 +14,24 @@
14
14
  "schema": "./src/generators/application/schema.json",
15
15
  "aliases": ["app"],
16
16
  "x-type": "application",
17
- "description": "Create a Next.js application"
17
+ "description": "Create a Next.js application."
18
18
  },
19
19
  "page": {
20
20
  "factory": "./src/generators/page/page#pageSchematic",
21
21
  "schema": "./src/generators/page/schema.json",
22
- "description": "Create a Next.js page component"
22
+ "description": "Create a Next.js page component."
23
23
  },
24
24
  "component": {
25
25
  "factory": "./src/generators/component/component#componentSchematic",
26
26
  "schema": "./src/generators/component/schema.json",
27
- "description": "Create a React component"
27
+ "description": "Create a React component."
28
28
  }
29
29
  },
30
30
  "generators": {
31
31
  "init": {
32
32
  "factory": "./src/generators/init/init#nextInitGenerator",
33
33
  "schema": "./src/generators/init/schema.json",
34
- "description": "Initialize the @nrwl/next plugin",
34
+ "description": "Initialize the `@nrwl/next` plugin.",
35
35
  "hidden": true
36
36
  },
37
37
  "application": {
@@ -39,24 +39,24 @@
39
39
  "schema": "./src/generators/application/schema.json",
40
40
  "aliases": ["app"],
41
41
  "x-type": "application",
42
- "description": "Create an application"
42
+ "description": "Create an application."
43
43
  },
44
44
  "page": {
45
45
  "factory": "./src/generators/page/page#pageGenerator",
46
46
  "schema": "./src/generators/page/schema.json",
47
- "description": "Create a page"
47
+ "description": "Create a page."
48
48
  },
49
49
  "component": {
50
50
  "factory": "./src/generators/component/component#componentGenerator",
51
51
  "schema": "./src/generators/component/schema.json",
52
- "description": "Create a component"
52
+ "description": "Create a component."
53
53
  },
54
54
  "library": {
55
55
  "factory": "./src/generators/library/library#libraryGenerator",
56
56
  "schema": "./src/generators/library/schema.json",
57
57
  "aliases": ["lib"],
58
58
  "x-type": "library",
59
- "description": "Create a library"
59
+ "description": "Create a library."
60
60
  }
61
61
  }
62
62
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nrwl/next",
3
- "version": "13.10.0-beta.4",
4
- "description": "Next.js Plugin for Nx",
3
+ "version": "13.10.0-beta.7",
4
+ "description": "When using Next.js in Nx, you get the out-of-the-box support for TypeScript, Cypress, and Jest. No need to configure anything: watch mode, source maps, and typings just work.\n\nThe Next.js plugin contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides:\n\n\n- Scaffolding for creating, building, serving, linting, and testing Next.js applications.\n\n- Integration with building, serving, and exporting a Next.js application.\n\n- Integration with React libraries within the workspace.",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/nrwl/nx.git",
@@ -34,13 +34,13 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/plugin-proposal-decorators": "^7.14.5",
37
- "@nrwl/react": "13.10.0-beta.4",
38
- "@nrwl/cypress": "13.10.0-beta.4",
39
- "@nrwl/devkit": "13.10.0-beta.4",
40
- "@nrwl/jest": "13.10.0-beta.4",
41
- "@nrwl/linter": "13.10.0-beta.4",
42
- "@nrwl/web": "13.10.0-beta.4",
43
- "@nrwl/workspace": "13.10.0-beta.4",
37
+ "@nrwl/react": "13.10.0-beta.7",
38
+ "@nrwl/cypress": "13.10.0-beta.7",
39
+ "@nrwl/devkit": "13.10.0-beta.7",
40
+ "@nrwl/jest": "13.10.0-beta.7",
41
+ "@nrwl/linter": "13.10.0-beta.7",
42
+ "@nrwl/web": "13.10.0-beta.7",
43
+ "@nrwl/workspace": "13.10.0-beta.7",
44
44
  "@svgr/webpack": "^6.1.2",
45
45
  "chalk": "4.1.0",
46
46
  "eslint-config-next": "^12.1.0",
@@ -34,7 +34,7 @@
34
34
  "default": []
35
35
  },
36
36
  "nextConfig": {
37
- "description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. next.config.js).",
37
+ "description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).",
38
38
  "type": "string"
39
39
  },
40
40
  "buildLibsFromSource": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "cli": "nx",
3
3
  "title": "Next Export",
4
- "description": "Export a Next.js app. The exported application is located at dist/$outputPath/exported.",
4
+ "description": "Export a Next.js application. The exported application is located at `dist/$outputPath/exported`.",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "buildTarget": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "silent": {
12
12
  "type": "boolean",
13
- "description": "Hide progress or not (default is false)",
13
+ "description": "Hide progress or not (default is `false`)",
14
14
  "default": false
15
15
  },
16
16
  "threads": {
@@ -6,12 +6,12 @@
6
6
  "properties": {
7
7
  "dev": {
8
8
  "type": "boolean",
9
- "description": "Serve the application in the dev mode",
9
+ "description": "Serve the application in the dev mode.",
10
10
  "default": true
11
11
  },
12
12
  "buildTarget": {
13
13
  "type": "string",
14
- "description": "Target which builds the application"
14
+ "description": "Target which builds the application."
15
15
  },
16
16
  "port": {
17
17
  "type": "number",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "customServerPath": {
32
32
  "type": "string",
33
- "description": "Use a custom server script"
33
+ "description": "Use a custom server script."
34
34
  },
35
35
  "hostname": {
36
36
  "type": "string",
@@ -5,8 +5,8 @@
5
5
  "title": "Create a Next.js Application for Nx",
6
6
  "examples": [
7
7
  {
8
- "command": "g app myapp --directory=myorg",
9
- "description": "Generate apps/myorg/myapp and apps/myorg/myapp-e2e"
8
+ "command": "nx g app myapp --directory=myorg",
9
+ "description": "Generate `apps/myorg/myapp` and `apps/myorg/myapp-e2e`"
10
10
  }
11
11
  ],
12
12
  "type": "object",
@@ -74,30 +74,30 @@
74
74
  "default": "eslint"
75
75
  },
76
76
  "skipFormat": {
77
- "description": "Skip formatting files",
77
+ "description": "Skip formatting files.",
78
78
  "type": "boolean",
79
79
  "default": false
80
80
  },
81
81
  "skipWorkspaceJson": {
82
- "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style)",
82
+ "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).",
83
83
  "type": "boolean",
84
84
  "default": false
85
85
  },
86
86
  "unitTestRunner": {
87
87
  "type": "string",
88
88
  "enum": ["jest", "none"],
89
- "description": "Test runner to use for unit tests",
89
+ "description": "Test runner to use for unit tests.",
90
90
  "default": "jest"
91
91
  },
92
92
  "e2eTestRunner": {
93
93
  "type": "string",
94
94
  "enum": ["cypress", "none"],
95
- "description": "Test runner to use for end to end (e2e) tests",
95
+ "description": "Test runner to use for end to end (E2E) tests.",
96
96
  "default": "cypress"
97
97
  },
98
98
  "tags": {
99
99
  "type": "string",
100
- "description": "Add tags to the application (used for linting)",
100
+ "description": "Add tags to the application (used for linting).",
101
101
  "alias": "t"
102
102
  },
103
103
  "js": {
@@ -107,11 +107,11 @@
107
107
  },
108
108
  "setParserOptionsProject": {
109
109
  "type": "boolean",
110
- "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
110
+ "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
111
111
  "default": false
112
112
  },
113
113
  "standaloneConfig": {
114
- "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json",
114
+ "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`",
115
115
  "type": "boolean"
116
116
  },
117
117
  "swc": {
@@ -6,12 +6,12 @@
6
6
  "type": "object",
7
7
  "examples": [
8
8
  {
9
- "command": "g component my-component --project=mylib",
10
- "description": "Generate a component in the mylib library"
9
+ "command": "nx g component my-component --project=mylib",
10
+ "description": "Generate a component in the `mylib` library"
11
11
  },
12
12
  {
13
- "command": "g component my-component --project=mylib --classComponent",
14
- "description": "Generate a class component in the mylib library"
13
+ "command": "nx g component my-component --project=mylib --classComponent",
14
+ "description": "Generate a class component in the `mylib` library"
15
15
  }
16
16
  ],
17
17
  "properties": {
@@ -72,7 +72,7 @@
72
72
  },
73
73
  "skipTests": {
74
74
  "type": "boolean",
75
- "description": "When true, does not create \"spec.ts\" test files for the new component.",
75
+ "description": "When true, does not create `spec.ts` test files for the new component.",
76
76
  "default": false
77
77
  },
78
78
  "directory": {
@@ -3,22 +3,23 @@
3
3
  "cli": "nx",
4
4
  "$id": "NxNextNgInit",
5
5
  "title": "Init Next Plugin",
6
+ "description": "Init Next Plugin.",
6
7
  "type": "object",
7
8
  "properties": {
8
9
  "unitTestRunner": {
9
- "description": "Adds the specified unit test runner",
10
+ "description": "Adds the specified unit test runner.",
10
11
  "type": "string",
11
12
  "enum": ["jest", "none"],
12
13
  "default": "jest"
13
14
  },
14
15
  "e2eTestRunner": {
15
- "description": "Adds the specified e2e test runner",
16
+ "description": "Adds the specified e2e test runner.",
16
17
  "type": "string",
17
18
  "enum": ["cypress", "none"],
18
19
  "default": "cypress"
19
20
  },
20
21
  "skipFormat": {
21
- "description": "Skip formatting files",
22
+ "description": "Skip formatting files.",
22
23
  "type": "boolean",
23
24
  "default": false
24
25
  }
@@ -3,15 +3,16 @@
3
3
  "cli": "nx",
4
4
  "$id": "NxReactLibrary",
5
5
  "title": "Create a React Library for Nx",
6
+ "description": "Create a React Library for an Nx workspace.",
6
7
  "type": "object",
7
8
  "examples": [
8
9
  {
9
- "command": "g lib mylib --directory=myapp",
10
- "description": "Generate libs/myapp/mylib"
10
+ "command": "nx g lib mylib --directory=myapp",
11
+ "description": "Generate `libs/myapp/mylib`"
11
12
  },
12
13
  {
13
- "command": "g lib mylib --appProject=myapp",
14
- "description": "Generate a library with routes and add them to myapp"
14
+ "command": "nx g lib mylib --appProject=myapp",
15
+ "description": "Generate a library with routes and add them to `myapp`"
15
16
  }
16
17
  ],
17
18
  "properties": {
@@ -100,7 +101,7 @@
100
101
  },
101
102
  "pascalCaseFiles": {
102
103
  "type": "boolean",
103
- "description": "Use pascal case component file name (e.g. App.tsx).",
104
+ "description": "Use pascal case component file name (e.g. `App.tsx`).",
104
105
  "alias": "P",
105
106
  "default": false
106
107
  },
@@ -124,7 +125,7 @@
124
125
  },
125
126
  "importPath": {
126
127
  "type": "string",
127
- "description": "The library name used to import it, like @myorg/my-awesome-lib"
128
+ "description": "The library name used to import it, like `@myorg/my-awesome-lib`."
128
129
  },
129
130
  "component": {
130
131
  "type": "boolean",
@@ -138,7 +139,7 @@
138
139
  },
139
140
  "globalCss": {
140
141
  "type": "boolean",
141
- "description": "When true, the stylesheet is generated using global CSS instead of CSS modules (e.g. file is '*.css' rather than '*.module.css').",
142
+ "description": "When true, the stylesheet is generated using global CSS instead of CSS modules (e.g. file is `*.css` rather than `*.module.css`).",
142
143
  "default": false
143
144
  },
144
145
  "strict": {
@@ -148,11 +149,11 @@
148
149
  },
149
150
  "setParserOptionsProject": {
150
151
  "type": "boolean",
151
- "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.",
152
+ "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
152
153
  "default": false
153
154
  },
154
155
  "standaloneConfig": {
155
- "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json",
156
+ "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`",
156
157
  "type": "boolean"
157
158
  }
158
159
  },
@@ -3,6 +3,7 @@
3
3
  "cli": "nx",
4
4
  "$id": "NxNextReactPage",
5
5
  "title": "Create a Page for Next",
6
+ "description": "Create a Page for Next.",
6
7
  "type": "object",
7
8
  "examples": [
8
9
  {
@@ -31,7 +32,7 @@
31
32
  },
32
33
  "directory": {
33
34
  "type": "string",
34
- "description": "Create the page under this directory (can be nested). Will be created under 'pages/'.",
35
+ "description": "Create the page under this directory (can be nested). Will be created under `pages/`.",
35
36
  "alias": "dir"
36
37
  },
37
38
  "style": {
@@ -77,12 +78,12 @@
77
78
  },
78
79
  "withTests": {
79
80
  "type": "boolean",
80
- "description": "When true, creates a \"spec.ts\" test file for the new page.",
81
+ "description": "When true, creates a `spec.ts` test file for the new page.",
81
82
  "default": false
82
83
  },
83
84
  "export": {
84
85
  "type": "boolean",
85
- "description": "When true, the component is exported from the project index.ts (if it exists).",
86
+ "description": "When true, the component is exported from the project `index.ts` (if it exists).",
86
87
  "alias": "e",
87
88
  "default": false
88
89
  },
@@ -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.10.0-beta.4';
4
+ exports.nxVersion = '13.10.0-beta.7';
5
5
  exports.nextVersion = '12.1.0';
6
6
  exports.eslintConfigNextVersion = '12.1.1-canary.3';
7
7
  exports.sassVersion = '1.43.2';