@nx/workspace 21.1.2 → 21.2.0-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/README.md +3 -3
- package/migrations.json +13 -0
- package/package.json +3 -3
- package/src/generators/new/generate-preset.js +0 -1
- package/src/generators/new/new.d.ts +0 -1
- package/src/generators/new/schema.json +0 -4
- package/src/generators/preset/preset.js +0 -2
- package/src/generators/preset/schema.json +0 -4
- package/src/utils/versions.d.ts +2 -2
- package/src/utils/versions.js +2 -2
package/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<p style="text-align: center;">
|
2
2
|
<picture>
|
3
3
|
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
|
4
|
-
<img alt="Nx - Smart
|
4
|
+
<img alt="Nx - Smart Repos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
|
5
5
|
</picture>
|
6
6
|
</p>
|
7
7
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
<hr>
|
22
22
|
|
23
|
-
# Nx: Smart
|
23
|
+
# Nx: Smart Repos · Fast Builds
|
24
24
|
|
25
25
|
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
|
26
26
|
|
@@ -62,5 +62,5 @@ npx nx@latest init
|
|
62
62
|
- [Blog Posts About Nx](https://nx.dev/blog)
|
63
63
|
|
64
64
|
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
65
|
-
width="100%" alt="Nx - Smart
|
65
|
+
width="100%" alt="Nx - Smart Repos · Fast Builds"></a></p>
|
66
66
|
|
package/migrations.json
CHANGED
@@ -39,6 +39,19 @@
|
|
39
39
|
"alwaysAddToPackageJson": false
|
40
40
|
}
|
41
41
|
}
|
42
|
+
},
|
43
|
+
"21.2.0": {
|
44
|
+
"version": "21.2.0-beta.0",
|
45
|
+
"x-prompt": "Do you want to update to TypeScript v5.8?",
|
46
|
+
"requires": {
|
47
|
+
"typescript": ">=5.7.0 <5.8.0"
|
48
|
+
},
|
49
|
+
"packages": {
|
50
|
+
"typescript": {
|
51
|
+
"version": "~5.8.2",
|
52
|
+
"alwaysAddToPackageJson": false
|
53
|
+
}
|
54
|
+
}
|
42
55
|
}
|
43
56
|
}
|
44
57
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "21.1
|
3
|
+
"version": "21.2.0-beta.1",
|
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": {
|
@@ -38,14 +38,14 @@
|
|
38
38
|
}
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@nx/devkit": "21.1
|
41
|
+
"@nx/devkit": "21.2.0-beta.1",
|
42
42
|
"@zkochan/js-yaml": "0.0.7",
|
43
43
|
"chalk": "^4.1.0",
|
44
44
|
"enquirer": "~2.3.6",
|
45
45
|
"picomatch": "4.0.2",
|
46
46
|
"tslib": "^2.3.0",
|
47
47
|
"yargs-parser": "21.1.1",
|
48
|
-
"nx": "21.1
|
48
|
+
"nx": "21.2.0-beta.1"
|
49
49
|
},
|
50
50
|
"publishConfig": {
|
51
51
|
"access": "public"
|
@@ -80,7 +80,6 @@ function generatePreset(host, opts) {
|
|
80
80
|
? `--e2eTestRunner=${opts.e2eTestRunner}`
|
81
81
|
: null,
|
82
82
|
opts.ssr ? `--ssr` : null,
|
83
|
-
opts.serverRouting ? `--server-routing` : null,
|
84
83
|
opts.prefix !== undefined ? `--prefix=${opts.prefix}` : null,
|
85
84
|
opts.nxCloudToken ? `--nxCloudToken=${opts.nxCloudToken}` : null,
|
86
85
|
opts.formatter ? `--formatter=${opts.formatter}` : null,
|
@@ -22,7 +22,6 @@ interface Schema {
|
|
22
22
|
unitTestRunner?: 'jest' | 'vitest' | 'none';
|
23
23
|
e2eTestRunner?: 'cypress' | 'playwright' | 'detox' | 'jest' | 'none';
|
24
24
|
ssr?: boolean;
|
25
|
-
serverRouting?: boolean;
|
26
25
|
prefix?: string;
|
27
26
|
useGitHub?: boolean;
|
28
27
|
nxCloud?: 'yes' | 'skip' | 'circleci' | 'github';
|
@@ -93,10 +93,6 @@
|
|
93
93
|
"type": "boolean",
|
94
94
|
"default": false
|
95
95
|
},
|
96
|
-
"serverRouting": {
|
97
|
-
"description": "Use the Angular Server Routing and App Engine APIs (Developer Preview).",
|
98
|
-
"type": "boolean"
|
99
|
-
},
|
100
96
|
"prefix": {
|
101
97
|
"description": "The prefix to use for Angular component and directive selectors.",
|
102
98
|
"type": "string"
|
@@ -33,7 +33,6 @@ async function createPreset(tree, options) {
|
|
33
33
|
unitTestRunner: options.unitTestRunner,
|
34
34
|
bundler: options.bundler,
|
35
35
|
ssr: options.ssr,
|
36
|
-
serverRouting: options.serverRouting,
|
37
36
|
prefix: options.prefix,
|
38
37
|
nxCloudToken: options.nxCloudToken,
|
39
38
|
});
|
@@ -52,7 +51,6 @@ async function createPreset(tree, options) {
|
|
52
51
|
unitTestRunner: options.unitTestRunner,
|
53
52
|
bundler: options.bundler,
|
54
53
|
ssr: options.ssr,
|
55
|
-
serverRouting: options.serverRouting,
|
56
54
|
prefix: options.prefix,
|
57
55
|
nxCloudToken: options.nxCloudToken,
|
58
56
|
});
|
@@ -110,10 +110,6 @@
|
|
110
110
|
"type": "boolean",
|
111
111
|
"default": false
|
112
112
|
},
|
113
|
-
"serverRouting": {
|
114
|
-
"description": "Use the Angular Server Routing and App Engine APIs (Developer Preview).",
|
115
|
-
"type": "boolean"
|
116
|
-
},
|
117
113
|
"prefix": {
|
118
114
|
"description": "The prefix to use for Angular component and directive selectors.",
|
119
115
|
"type": "string"
|
package/src/utils/versions.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
export declare const nxVersion: any;
|
2
|
-
export declare const typescriptVersion = "~5.
|
3
|
-
export declare const angularCliVersion = "
|
2
|
+
export declare const typescriptVersion = "~5.8.2";
|
3
|
+
export declare const angularCliVersion = "20.0.0-rc.3";
|
4
4
|
export declare const angularRspackVersion = "^21.0.1";
|
package/src/utils/versions.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.angularRspackVersion = exports.angularCliVersion = exports.typescriptVersion = exports.nxVersion = void 0;
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
5
|
-
exports.typescriptVersion = '~5.
|
5
|
+
exports.typescriptVersion = '~5.8.2';
|
6
6
|
// TODO: remove when preset generation is reworked and
|
7
7
|
// deps are not installed from workspace
|
8
|
-
exports.angularCliVersion = '
|
8
|
+
exports.angularCliVersion = '20.0.0-rc.3';
|
9
9
|
exports.angularRspackVersion = '^21.0.1';
|