@nrwl/next 13.3.11 → 13.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/next",
|
|
3
|
-
"version": "13.3
|
|
3
|
+
"version": "13.4.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.3
|
|
38
|
-
"@nrwl/cypress": "13.3
|
|
39
|
-
"@nrwl/devkit": "13.3
|
|
40
|
-
"@nrwl/jest": "13.3
|
|
41
|
-
"@nrwl/linter": "13.3
|
|
42
|
-
"@nrwl/web": "13.3
|
|
43
|
-
"@nrwl/workspace": "13.3
|
|
37
|
+
"@nrwl/react": "13.4.0-beta.3",
|
|
38
|
+
"@nrwl/cypress": "13.4.0-beta.3",
|
|
39
|
+
"@nrwl/devkit": "13.4.0-beta.3",
|
|
40
|
+
"@nrwl/jest": "13.4.0-beta.3",
|
|
41
|
+
"@nrwl/linter": "13.4.0-beta.3",
|
|
42
|
+
"@nrwl/web": "13.4.0-beta.3",
|
|
43
|
+
"@nrwl/workspace": "13.4.0-beta.3",
|
|
44
44
|
"@svgr/webpack": "^5.5.0",
|
|
45
45
|
"chalk": "4.1.0",
|
|
46
46
|
"eslint-config-next": "^12.0.0",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ExecutorContext } from '@nrwl/devkit';
|
|
2
|
-
import { NextBuildBuilderOptions } from '../../../utils/types';
|
|
1
|
+
import type { ExecutorContext } from '@nrwl/devkit';
|
|
2
|
+
import type { NextBuildBuilderOptions } from '../../../utils/types';
|
|
3
3
|
export declare function createPackageJson(options: NextBuildBuilderOptions, context: ExecutorContext): Promise<void>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createPackageJson = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
5
6
|
const project_graph_1 = require("@nrwl/workspace/src/core/project-graph");
|
|
6
|
-
const fileutils_1 = require("@nrwl/workspace/src/utilities/fileutils");
|
|
7
7
|
const create_package_json_1 = require("@nrwl/workspace/src/utilities/create-package-json");
|
|
8
8
|
function createPackageJson(options, context) {
|
|
9
9
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
|
|
@@ -28,7 +28,7 @@ function createPackageJson(options, context) {
|
|
|
28
28
|
if (typescriptNode) {
|
|
29
29
|
packageJson.dependencies['typescript'] = typescriptNode.data.version;
|
|
30
30
|
}
|
|
31
|
-
(0,
|
|
31
|
+
(0, devkit_1.writeJsonFile)(`${options.outputPath}/package.json`, packageJson);
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
exports.createPackageJson = createPackageJson;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-package-json.js","sourceRoot":"","sources":["../../../../../../../packages/next/src/executors/build/lib/create-package-json.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"create-package-json.js","sourceRoot":"","sources":["../../../../../../../packages/next/src/executors/build/lib/create-package-json.ts"],"names":[],"mappings":";;;;AACA,yCAA6C;AAC7C,0EAAgF;AAChF,2FAA6G;AAG7G,SAAsB,iBAAiB,CACrC,OAAgC,EAChC,OAAwB;;QAExB,MAAM,QAAQ,GAAG,IAAA,sCAAsB,GAAE,CAAC;QAC1C,MAAM,WAAW,GAAG,IAAA,uCAAmB,EAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,EAAE;YACrE,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,WAAW,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,UAAU;SACxE,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE;YACxB,WAAW,CAAC,OAAO,GAAG,EAAE,CAAC;SAC1B;QACD,WAAW,CAAC,OAAO,CAAC,KAAK,GAAG,YAAY,CAAC;QACzC,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE;YAChC,WAAW,CAAC,eAAe,GAAG,EAAE,CAAC;SAClC;QACD,MAAM,iBAAiB,GAAG,QAAQ,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;QAEhE,IAAI,iBAAiB,EAAE;YACrB,WAAW,CAAC,YAAY,CAAC,iBAAiB,CAAC;gBACzC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC;SAClC;QAED,MAAM,cAAc,GAAG,QAAQ,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QACxD,IAAI,cAAc,EAAE;YAClB,WAAW,CAAC,YAAY,CAAC,YAAY,CAAC,GAAG,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;SACtE;QAED,IAAA,sBAAa,EAAC,GAAG,OAAO,CAAC,UAAU,eAAe,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;CAAA;AA7BD,8CA6BC"}
|
|
@@ -6,12 +6,8 @@
|
|
|
6
6
|
"type": "object",
|
|
7
7
|
"examples": [
|
|
8
8
|
{
|
|
9
|
-
"command": "g
|
|
10
|
-
"description": "Generate a
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"command": "g component my-component --project=mylib --classComponent",
|
|
14
|
-
"description": "Generate a class component in the mylib library"
|
|
9
|
+
"command": "nx g page my-new-page --project=my-app",
|
|
10
|
+
"description": "Generate a page in the my-app application"
|
|
15
11
|
}
|
|
16
12
|
],
|
|
17
13
|
"properties": {
|
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.3
|
|
4
|
+
exports.nxVersion = '13.4.0-beta.3';
|
|
5
5
|
exports.nextVersion = '12.0.7';
|
|
6
6
|
exports.eslintConfigNextVersion = '12.0.7';
|
|
7
7
|
exports.sassVersion = '1.43.2';
|