@nx/workspace 19.0.0-canary.20240427-f74aeab → 19.0.0-canary.20240502-5ded713
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/migrations.json +0 -18
- package/package.json +4 -4
- package/src/generators/utils/presets.d.ts +0 -6
- package/src/generators/utils/presets.js +0 -7
- package/src/migrations/update-15-7-0/split-configuration-into-project-json-files.d.ts +0 -3
- package/src/migrations/update-15-7-0/split-configuration-into-project-json-files.js +0 -11
package/migrations.json
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generators": {
|
|
3
|
-
"15-7-0-split-configuration-into-project-json-files": {
|
|
4
|
-
"version": "15.7.0-beta.0",
|
|
5
|
-
"description": "Split global configuration files (e.g., workspace.json) into individual project.json files.",
|
|
6
|
-
"cli": "nx",
|
|
7
|
-
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files"
|
|
8
|
-
},
|
|
9
3
|
"update-16-0-0-add-nx-packages": {
|
|
10
4
|
"cli": "nx",
|
|
11
5
|
"version": "16.0.0-beta.1",
|
|
@@ -26,18 +20,6 @@
|
|
|
26
20
|
}
|
|
27
21
|
},
|
|
28
22
|
"packageJsonUpdates": {
|
|
29
|
-
"15.8.0": {
|
|
30
|
-
"version": "15.8.0-beta.2",
|
|
31
|
-
"x-prompt": "Do you want to update to TypeScript v4.9?",
|
|
32
|
-
"requires": {
|
|
33
|
-
"typescript": ">=4.8.2 <4.9.0"
|
|
34
|
-
},
|
|
35
|
-
"packages": {
|
|
36
|
-
"typescript": {
|
|
37
|
-
"version": "~4.9.5"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
23
|
"16.1.0": {
|
|
42
24
|
"version": "16.1.0-beta.0",
|
|
43
25
|
"x-prompt": "Do you want to update to TypeScript v5.0?",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/workspace",
|
|
3
|
-
"version": "19.0.0-canary.
|
|
3
|
+
"version": "19.0.0-canary.20240502-5ded713",
|
|
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": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@nx/devkit": "19.0.0-canary.
|
|
64
|
+
"@nx/devkit": "19.0.0-canary.20240502-5ded713",
|
|
65
65
|
"chalk": "^4.1.0",
|
|
66
66
|
"enquirer": "~2.3.6",
|
|
67
67
|
"tslib": "^2.3.0",
|
|
68
68
|
"yargs-parser": "21.1.1",
|
|
69
|
-
"nx": "19.0.0-canary.
|
|
70
|
-
"@nrwl/workspace": "19.0.0-canary.
|
|
69
|
+
"nx": "19.0.0-canary.20240502-5ded713",
|
|
70
|
+
"@nrwl/workspace": "19.0.0-canary.20240502-5ded713"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
@@ -4,13 +4,6 @@ exports.Preset = void 0;
|
|
|
4
4
|
var Preset;
|
|
5
5
|
(function (Preset) {
|
|
6
6
|
Preset["Apps"] = "apps";
|
|
7
|
-
// TODO(v19): Remove Empty and Core presets
|
|
8
|
-
/** @deprecated Use Apps instead
|
|
9
|
-
*/
|
|
10
|
-
Preset["Empty"] = "empty";
|
|
11
|
-
/** @deprecated Use NPM instead
|
|
12
|
-
*/
|
|
13
|
-
Preset["Core"] = "core";
|
|
14
7
|
Preset["NPM"] = "npm";
|
|
15
8
|
Preset["TS"] = "ts";
|
|
16
9
|
Preset["WebComponents"] = "web-components";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.splitConfigurationIntoProjectJsonFiles = void 0;
|
|
4
|
-
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const convert_to_nx_project_1 = require("../../generators/convert-to-nx-project/convert-to-nx-project");
|
|
6
|
-
async function splitConfigurationIntoProjectJsonFiles(tree) {
|
|
7
|
-
await (0, convert_to_nx_project_1.default)(tree, { all: true });
|
|
8
|
-
await (0, devkit_1.formatFiles)(tree);
|
|
9
|
-
}
|
|
10
|
-
exports.splitConfigurationIntoProjectJsonFiles = splitConfigurationIntoProjectJsonFiles;
|
|
11
|
-
exports.default = splitConfigurationIntoProjectJsonFiles;
|