@nrwl/next 13.4.0 → 13.4.3-beta.1
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/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/next",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.3-beta.1",
|
|
4
4
|
"description": "Next.js Plugin for Nx",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,14 +34,14 @@
|
|
|
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.
|
|
44
|
-
"@svgr/webpack": "^
|
|
37
|
+
"@nrwl/react": "13.4.3-beta.1",
|
|
38
|
+
"@nrwl/cypress": "13.4.3-beta.1",
|
|
39
|
+
"@nrwl/devkit": "13.4.3-beta.1",
|
|
40
|
+
"@nrwl/jest": "13.4.3-beta.1",
|
|
41
|
+
"@nrwl/linter": "13.4.3-beta.1",
|
|
42
|
+
"@nrwl/web": "13.4.3-beta.1",
|
|
43
|
+
"@nrwl/workspace": "13.4.3-beta.1",
|
|
44
|
+
"@svgr/webpack": "^6.1.2",
|
|
45
45
|
"chalk": "4.1.0",
|
|
46
46
|
"eslint-config-next": "^12.0.0",
|
|
47
47
|
"fs-extra": "^9.1.0",
|
|
@@ -11,7 +11,6 @@ const create_next_config_file_1 = require("./lib/create-next-config-file");
|
|
|
11
11
|
const fileutils_1 = require("@nrwl/workspace/src/utilities/fileutils");
|
|
12
12
|
const project_graph_1 = require("@nrwl/workspace/src/core/project-graph");
|
|
13
13
|
const buildable_libs_utils_1 = require("@nrwl/workspace/src/utilities/buildable-libs-utils");
|
|
14
|
-
const buildable_libs_1 = require("../../utils/buildable-libs");
|
|
15
14
|
const check_project_1 = require("./lib/check-project");
|
|
16
15
|
const require_shim_1 = require("../../utils/require-shim");
|
|
17
16
|
const file_utils_1 = require("@nrwl/workspace/src/core/file-utils");
|
|
@@ -28,7 +27,6 @@ function buildExecutor(options, context) {
|
|
|
28
27
|
if (!options.buildLibsFromSource && context.targetName) {
|
|
29
28
|
const result = (0, buildable_libs_utils_1.calculateProjectDependencies)((0, project_graph_1.readCachedProjectGraph)(), context.root, context.projectName, context.targetName, context.configurationName);
|
|
30
29
|
dependencies = result.dependencies;
|
|
31
|
-
(0, buildable_libs_1.assertDependentProjectsHaveBeenBuilt)(dependencies, context);
|
|
32
30
|
}
|
|
33
31
|
const config = yield (0, config_1.prepareConfig)(PHASE_PRODUCTION_BUILD, options, context, dependencies, libsDir);
|
|
34
32
|
yield (0, build_1.default)(root, config);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.impl.js","sourceRoot":"","sources":["../../../../../../packages/next/src/executors/build/build.impl.ts"],"names":[],"mappings":";;;AAAA,yBAAuB;AAGvB,2CAAoC;AAEpC,+BAAqC;AACrC,uCAA2C;AAE3C,+CAAmD;AAEnD,mEAA8D;AAC9D,2EAAqE;AACrE,uEAA0E;AAC1E,0EAAgF;AAChF,6FAG4D;AAC5D
|
|
1
|
+
{"version":3,"file":"build.impl.js","sourceRoot":"","sources":["../../../../../../packages/next/src/executors/build/build.impl.ts"],"names":[],"mappings":";;;AAAA,yBAAuB;AAGvB,2CAAoC;AAEpC,+BAAqC;AACrC,uCAA2C;AAE3C,+CAAmD;AAEnD,mEAA8D;AAC9D,2EAAqE;AACrE,uEAA0E;AAC1E,0EAAgF;AAChF,6FAG4D;AAC5D,uDAA2D;AAC3D,2DAA2D;AAC3D,oEAAsE;AAE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,IAAA,WAAI,EAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,IAAA,WAAI,EAAC,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;QAEnE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;CAC1B;AA5CD,gCA4CC"}
|
|
@@ -8,7 +8,6 @@ const path_1 = require("path");
|
|
|
8
8
|
const config_1 = require("../../utils/config");
|
|
9
9
|
const project_graph_1 = require("@nrwl/workspace/src/core/project-graph");
|
|
10
10
|
const buildable_libs_utils_1 = require("@nrwl/workspace/src/utilities/buildable-libs-utils");
|
|
11
|
-
const buildable_libs_1 = require("../../utils/buildable-libs");
|
|
12
11
|
const require_shim_1 = require("../../utils/require-shim");
|
|
13
12
|
const file_utils_1 = require("@nrwl/workspace/src/core/file-utils");
|
|
14
13
|
const nextTrace = require("next/dist/trace");
|
|
@@ -21,7 +20,6 @@ function exportExecutor(options, context) {
|
|
|
21
20
|
const result = (0, buildable_libs_utils_1.calculateProjectDependencies)((0, project_graph_1.readCachedProjectGraph)(), context.root, context.projectName, 'build', // this should be generalized
|
|
22
21
|
context.configurationName);
|
|
23
22
|
dependencies = result.dependencies;
|
|
24
|
-
(0, buildable_libs_1.assertDependentProjectsHaveBeenBuilt)(dependencies, context);
|
|
25
23
|
}
|
|
26
24
|
const libsDir = (0, path_1.join)(context.root, (0, file_utils_1.workspaceLayout)().libsDir);
|
|
27
25
|
const buildTarget = (0, devkit_1.parseTargetString)(options.buildTarget);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.impl.js","sourceRoot":"","sources":["../../../../../../packages/next/src/executors/export/export.impl.ts"],"names":[],"mappings":";;;AAAA,yBAAuB;AACvB,yCAKsB;AACtB,6CAAyC;AACzC,+BAAqC;AAErC,+CAAmD;AAKnD,0EAAgF;AAChF,6FAG4D;AAC5D
|
|
1
|
+
{"version":3,"file":"export.impl.js","sourceRoot":"","sources":["../../../../../../packages/next/src/executors/export/export.impl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MAAM,IAAA,sBAAa,EAChC,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,OAAO,CACR,CAAC;QAEF,cAAc;QACd,uHAAuH;QACvH,MAAM,iBAAiB,GAAG,SAAS,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAE7D,MAAM,IAAA,gBAAS,EACb,IAAI,EACJ;YACE,aAAa,EAAE,WAAW;YAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,MAAM,EAAE,GAAG,YAAY,CAAC,UAAU,WAAW;SACvC,EACR,iBAAiB,EACjB,MAAM,CACP,CAAC;QAEF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;CAC1B;AAxDD,iCAwDC"}
|
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.3-beta.1';
|
|
5
5
|
exports.nextVersion = '12.0.7';
|
|
6
6
|
exports.eslintConfigNextVersion = '12.0.7';
|
|
7
7
|
exports.sassVersion = '1.43.2';
|