@nx/workspace 20.2.0-canary.20241130-ec5a5e6 → 20.2.0-canary.20241203-6b87005

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 CHANGED
@@ -50,6 +50,19 @@
50
50
  "alwaysAddToPackageJson": false
51
51
  }
52
52
  }
53
+ },
54
+ "20.2.0": {
55
+ "version": "20.2.0-beta.5",
56
+ "x-prompt": "Do you want to update to TypeScript v5.6?",
57
+ "requires": {
58
+ "typescript": ">=5.5.0 <5.6.0"
59
+ },
60
+ "packages": {
61
+ "typescript": {
62
+ "version": "~5.6.2",
63
+ "alwaysAddToPackageJson": false
64
+ }
65
+ }
53
66
  }
54
67
  }
55
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "20.2.0-canary.20241130-ec5a5e6",
3
+ "version": "20.2.0-canary.20241203-6b87005",
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,12 +38,12 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@nx/devkit": "20.2.0-canary.20241130-ec5a5e6",
41
+ "@nx/devkit": "20.2.0-canary.20241203-6b87005",
42
42
  "chalk": "^4.1.0",
43
43
  "enquirer": "~2.3.6",
44
44
  "tslib": "^2.3.0",
45
45
  "yargs-parser": "21.1.1",
46
- "nx": "20.2.0-canary.20241130-ec5a5e6"
46
+ "nx": "20.2.0-canary.20241203-6b87005"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -68,6 +68,7 @@ function generatePreset(host, opts) {
68
68
  ? `--e2eTestRunner=${opts.e2eTestRunner}`
69
69
  : null,
70
70
  opts.ssr ? `--ssr` : null,
71
+ opts.serverRouting ? `--server-routing` : null,
71
72
  opts.prefix !== undefined ? `--prefix=${opts.prefix}` : null,
72
73
  opts.nxCloudToken ? `--nxCloudToken=${opts.nxCloudToken}` : null,
73
74
  opts.formatter ? `--formatter=${opts.formatter}` : null,
@@ -20,6 +20,7 @@ interface Schema {
20
20
  packageManager?: PackageManager;
21
21
  e2eTestRunner?: 'cypress' | 'playwright' | 'detox' | 'jest' | 'none';
22
22
  ssr?: boolean;
23
+ serverRouting?: boolean;
23
24
  prefix?: string;
24
25
  useGitHub?: boolean;
25
26
  nxCloud?: 'yes' | 'skip' | 'circleci' | 'github';
@@ -83,6 +83,10 @@
83
83
  "type": "boolean",
84
84
  "default": false
85
85
  },
86
+ "serverRouting": {
87
+ "description": "Use the Angular Server Routing and App Engine APIs (Developer Preview).",
88
+ "type": "boolean"
89
+ },
86
90
  "prefix": {
87
91
  "description": "The prefix to use for Angular component and directive selectors.",
88
92
  "type": "string"
@@ -32,6 +32,7 @@ async function createPreset(tree, options) {
32
32
  e2eTestRunner: options.e2eTestRunner ?? 'playwright',
33
33
  bundler: options.bundler,
34
34
  ssr: options.ssr,
35
+ serverRouting: options.serverRouting,
35
36
  prefix: options.prefix,
36
37
  nxCloudToken: options.nxCloudToken,
37
38
  });
@@ -49,6 +50,7 @@ async function createPreset(tree, options) {
49
50
  e2eTestRunner: options.e2eTestRunner ?? 'playwright',
50
51
  bundler: options.bundler,
51
52
  ssr: options.ssr,
53
+ serverRouting: options.serverRouting,
52
54
  prefix: options.prefix,
53
55
  nxCloudToken: options.nxCloudToken,
54
56
  });
@@ -20,6 +20,7 @@ export interface Schema {
20
20
  e2eTestRunner?: 'cypress' | 'playwright' | 'jest' | 'detox' | 'none';
21
21
  js?: boolean;
22
22
  ssr?: boolean;
23
+ serverRouting?: boolean;
23
24
  prefix?: string;
24
25
  nxCloudToken?: string;
25
26
  }
@@ -100,6 +100,10 @@
100
100
  "type": "boolean",
101
101
  "default": false
102
102
  },
103
+ "serverRouting": {
104
+ "description": "Use the Angular Server Routing and App Engine APIs (Developer Preview).",
105
+ "type": "boolean"
106
+ },
103
107
  "prefix": {
104
108
  "description": "The prefix to use for Angular component and directive selectors.",
105
109
  "type": "string"
@@ -1,3 +1,3 @@
1
1
  export declare const nxVersion: any;
2
- export declare const typescriptVersion = "~5.5.2";
3
- export declare const angularCliVersion = "~18.2.0";
2
+ export declare const typescriptVersion = "~5.6.2";
3
+ export declare const angularCliVersion = "~19.0.0";
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.angularCliVersion = exports.typescriptVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.typescriptVersion = '~5.5.2';
5
+ exports.typescriptVersion = '~5.6.2';
6
6
  // TODO: remove when preset generation is reworked and
7
7
  // deps are not installed from workspace
8
- exports.angularCliVersion = '~18.2.0';
8
+ exports.angularCliVersion = '~19.0.0';