@nrwl/workspace 15.4.0-beta.0 → 15.4.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [15.4.0-beta.
|
|
6
|
+
# [15.4.0-beta.2](https://github.com/nrwl/nx/compare/15.3.3...15.4.0-beta.2) (2022-12-19)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/workspace
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/workspace",
|
|
3
|
-
"version": "15.4.0-beta.
|
|
3
|
+
"version": "15.4.0-beta.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
|
|
6
6
|
"repository": {
|
|
@@ -33,31 +33,31 @@
|
|
|
33
33
|
"requirements": {},
|
|
34
34
|
"migrations": "./migrations.json",
|
|
35
35
|
"packageGroup": {
|
|
36
|
-
"@nrwl/angular": "15.4.0-beta.
|
|
37
|
-
"@nrwl/cli": "15.4.0-beta.
|
|
38
|
-
"@nrwl/cypress": "15.4.0-beta.
|
|
39
|
-
"@nrwl/detox": "15.4.0-beta.
|
|
40
|
-
"@nrwl/devkit": "15.4.0-beta.
|
|
41
|
-
"@nrwl/esbuild": "15.4.0-beta.
|
|
42
|
-
"@nrwl/eslint-plugin-nx": "15.4.0-beta.
|
|
43
|
-
"@nrwl/expo": "15.4.0-beta.
|
|
44
|
-
"@nrwl/express": "15.4.0-beta.
|
|
45
|
-
"@nrwl/jest": "15.4.0-beta.
|
|
46
|
-
"@nrwl/js": "15.4.0-beta.
|
|
47
|
-
"@nrwl/linter": "15.4.0-beta.
|
|
48
|
-
"@nrwl/nest": "15.4.0-beta.
|
|
49
|
-
"@nrwl/next": "15.4.0-beta.
|
|
50
|
-
"@nrwl/node": "15.4.0-beta.
|
|
36
|
+
"@nrwl/angular": "15.4.0-beta.2",
|
|
37
|
+
"@nrwl/cli": "15.4.0-beta.2",
|
|
38
|
+
"@nrwl/cypress": "15.4.0-beta.2",
|
|
39
|
+
"@nrwl/detox": "15.4.0-beta.2",
|
|
40
|
+
"@nrwl/devkit": "15.4.0-beta.2",
|
|
41
|
+
"@nrwl/esbuild": "15.4.0-beta.2",
|
|
42
|
+
"@nrwl/eslint-plugin-nx": "15.4.0-beta.2",
|
|
43
|
+
"@nrwl/expo": "15.4.0-beta.2",
|
|
44
|
+
"@nrwl/express": "15.4.0-beta.2",
|
|
45
|
+
"@nrwl/jest": "15.4.0-beta.2",
|
|
46
|
+
"@nrwl/js": "15.4.0-beta.2",
|
|
47
|
+
"@nrwl/linter": "15.4.0-beta.2",
|
|
48
|
+
"@nrwl/nest": "15.4.0-beta.2",
|
|
49
|
+
"@nrwl/next": "15.4.0-beta.2",
|
|
50
|
+
"@nrwl/node": "15.4.0-beta.2",
|
|
51
51
|
"@nrwl/nx-cloud": "latest",
|
|
52
|
-
"@nrwl/nx-plugin": "15.4.0-beta.
|
|
53
|
-
"@nrwl/react": "15.4.0-beta.
|
|
54
|
-
"@nrwl/react-native": "15.4.0-beta.
|
|
55
|
-
"@nrwl/rollup": "15.4.0-beta.
|
|
56
|
-
"@nrwl/storybook": "15.4.0-beta.
|
|
57
|
-
"@nrwl/tao": "15.4.0-beta.
|
|
58
|
-
"@nrwl/web": "15.4.0-beta.
|
|
59
|
-
"@nrwl/webpack": "15.4.0-beta.
|
|
60
|
-
"nx": "15.4.0-beta.
|
|
52
|
+
"@nrwl/nx-plugin": "15.4.0-beta.2",
|
|
53
|
+
"@nrwl/react": "15.4.0-beta.2",
|
|
54
|
+
"@nrwl/react-native": "15.4.0-beta.2",
|
|
55
|
+
"@nrwl/rollup": "15.4.0-beta.2",
|
|
56
|
+
"@nrwl/storybook": "15.4.0-beta.2",
|
|
57
|
+
"@nrwl/tao": "15.4.0-beta.2",
|
|
58
|
+
"@nrwl/web": "15.4.0-beta.2",
|
|
59
|
+
"@nrwl/webpack": "15.4.0-beta.2",
|
|
60
|
+
"nx": "15.4.0-beta.2"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@nrwl/devkit": "15.4.0-beta.
|
|
73
|
-
"@nrwl/linter": "15.4.0-beta.
|
|
72
|
+
"@nrwl/devkit": "15.4.0-beta.2",
|
|
73
|
+
"@nrwl/linter": "15.4.0-beta.2",
|
|
74
74
|
"@parcel/watcher": "2.0.4",
|
|
75
75
|
"chalk": "4.1.0",
|
|
76
76
|
"chokidar": "^3.5.1",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"jsonc-parser": "3.2.0",
|
|
87
87
|
"minimatch": "3.0.5",
|
|
88
88
|
"npm-run-path": "^4.0.1",
|
|
89
|
-
"nx": "15.4.0-beta.
|
|
89
|
+
"nx": "15.4.0-beta.2",
|
|
90
90
|
"open": "^8.4.0",
|
|
91
91
|
"rxjs": "^6.5.4",
|
|
92
92
|
"semver": "7.3.4",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"access": "public"
|
|
100
100
|
},
|
|
101
101
|
"types": "./index.d.ts",
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "4e54b1a545497836fe4d7ee7807508c158d4a88c"
|
|
103
103
|
}
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.convertToNxProjectSchematic = exports.convertToNxProjectGenerator = exports.validateSchema = exports.SCHEMA_OPTIONS_ARE_MUTUALLY_EXCLUSIVE = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const path_1 = require("path");
|
|
6
|
-
const enquirer_1 = require("enquirer");
|
|
7
5
|
const devkit_1 = require("@nrwl/devkit");
|
|
6
|
+
const enquirer_1 = require("enquirer");
|
|
7
|
+
const project_configuration_1 = require("nx/src/generators/utils/project-configuration");
|
|
8
|
+
const path_1 = require("path");
|
|
8
9
|
const get_project_configuration_path_1 = require("./utils/get-project-configuration-path");
|
|
9
10
|
exports.SCHEMA_OPTIONS_ARE_MUTUALLY_EXCLUSIVE = '--project and --all are mutually exclusive';
|
|
10
11
|
function validateSchema(schema) {
|
|
@@ -44,8 +45,7 @@ To upgrade change the version number at the top of ${(0, devkit_1.getWorkspacePa
|
|
|
44
45
|
devkit_1.logger.warn(`Skipping ${project} since ${configPath} already exists.`);
|
|
45
46
|
continue;
|
|
46
47
|
}
|
|
47
|
-
|
|
48
|
-
(0, devkit_1.writeJson)(host, configPath, configuration);
|
|
48
|
+
(0, devkit_1.writeJson)(host, configPath, Object.assign(Object.assign({ $schema: (0, project_configuration_1.getRelativeProjectJsonSchemaPath)(host, configuration) }, configuration), { root: undefined }));
|
|
49
49
|
(0, devkit_1.updateJson)(host, (0, devkit_1.getWorkspacePath)(host), (value) => {
|
|
50
50
|
value.projects[project] = (0, devkit_1.normalizePath)((0, path_1.dirname)(configPath));
|
|
51
51
|
return value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-to-nx-project.js","sourceRoot":"","sources":["../../../../../../packages/workspace/src/generators/convert-to-nx-project/convert-to-nx-project.ts"],"names":[],"mappings":";;;;AAAA,+BAA+B;
|
|
1
|
+
{"version":3,"file":"convert-to-nx-project.js","sourceRoot":"","sources":["../../../../../../packages/workspace/src/generators/convert-to-nx-project/convert-to-nx-project.ts"],"names":[],"mappings":";;;;AAAA,yCAasB;AACtB,uCAAkC;AAClC,yFAAiG;AACjG,+BAA+B;AAE/B,2FAAqF;AAExE,QAAA,qCAAqC,GAChD,4CAA4C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