@nx/angular 21.0.0-canary.20250206-8bd0bcd → 21.0.0-canary.20250416-caa26a7

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.
Files changed (76) hide show
  1. package/generators.json +5 -0
  2. package/migrations.json +181 -0
  3. package/ng-package.json +1 -1
  4. package/package.json +11 -9
  5. package/src/builders/dev-server/dev-server.impl.js +2 -3
  6. package/src/builders/dev-server/lib/normalize-options.js +1 -0
  7. package/src/builders/dev-server/schema.d.ts +1 -0
  8. package/src/builders/dev-server/schema.json +8 -3
  9. package/src/builders/webpack-browser/schema.d.ts +3 -1
  10. package/src/builders/webpack-browser/schema.json +5 -0
  11. package/src/builders/webpack-browser/webpack-browser.impl.js +3 -2
  12. package/src/executors/delegate-build/delegate-build.impl.d.ts +1 -3
  13. package/src/executors/delegate-build/delegate-build.impl.js +0 -3
  14. package/src/executors/package/package.impl.js +1 -4
  15. package/src/generators/add-linting/add-linting.js +1 -16
  16. package/src/generators/add-linting/schema.d.ts +1 -0
  17. package/src/generators/application/application.js +14 -1
  18. package/src/generators/application/lib/add-e2e.js +2 -2
  19. package/src/generators/application/lib/add-linting.js +1 -0
  20. package/src/generators/application/lib/add-serve-static-target.js +1 -0
  21. package/src/generators/application/lib/add-unit-test-runner.js +2 -0
  22. package/src/generators/application/lib/create-project.js +1 -0
  23. package/src/generators/application/lib/normalize-options.d.ts +1 -1
  24. package/src/generators/application/lib/normalize-options.js +9 -2
  25. package/src/generators/application/schema.d.ts +2 -2
  26. package/src/generators/application/schema.json +1 -7
  27. package/src/generators/component-test/component-test.js +1 -1
  28. package/src/generators/convert-to-rspack/convert-to-rspack.d.ts +4 -0
  29. package/src/generators/convert-to-rspack/convert-to-rspack.js +319 -0
  30. package/src/generators/convert-to-rspack/lib/create-config.d.ts +2 -0
  31. package/src/generators/convert-to-rspack/lib/create-config.js +48 -0
  32. package/src/generators/convert-to-rspack/lib/get-custom-webpack-config.d.ts +6 -0
  33. package/src/generators/convert-to-rspack/lib/get-custom-webpack-config.js +75 -0
  34. package/src/generators/convert-to-rspack/lib/update-tsconfig.d.ts +2 -0
  35. package/src/generators/convert-to-rspack/lib/update-tsconfig.js +26 -0
  36. package/src/generators/convert-to-rspack/lib/validate-supported-executor.d.ts +2 -0
  37. package/src/generators/convert-to-rspack/lib/validate-supported-executor.js +14 -0
  38. package/src/generators/convert-to-rspack/schema.d.ts +5 -0
  39. package/src/generators/convert-to-rspack/schema.json +30 -0
  40. package/src/generators/host/host.js +1 -1
  41. package/src/generators/host/schema.d.ts +0 -1
  42. package/src/generators/host/schema.json +0 -6
  43. package/src/generators/library/lib/add-project.d.ts +1 -1
  44. package/src/generators/library/lib/add-project.js +7 -1
  45. package/src/generators/library/lib/normalize-options.js +1 -1
  46. package/src/generators/library/lib/normalized-schema.d.ts +0 -1
  47. package/src/generators/library/library.js +5 -1
  48. package/src/generators/library/schema.d.ts +0 -1
  49. package/src/generators/library/schema.json +0 -6
  50. package/src/generators/ng-add/migrators/projects/e2e.migrator.js +2 -2
  51. package/src/generators/ngrx-feature-store/schema.d.ts +1 -1
  52. package/src/generators/remote/remote.js +1 -1
  53. package/src/generators/remote/schema.d.ts +0 -1
  54. package/src/generators/remote/schema.json +0 -6
  55. package/src/generators/setup-mf/lib/setup-serve-target.js +1 -0
  56. package/src/generators/setup-ssr/files/v19+/application-builder/ngmodule-src/app/__rootModuleFileName__ +2 -2
  57. package/src/generators/setup-ssr/files/v19+/application-builder/server/__serverFileName__ +1 -1
  58. package/src/generators/setup-ssr/files/v19+/application-builder/standalone-src/app/app.config.server.ts__tpl__ +2 -2
  59. package/src/generators/setup-ssr/files/v19+/application-builder-common-engine/server/__serverFileName__ +2 -0
  60. package/src/generators/setup-ssr/lib/generate-files.js +12 -1
  61. package/src/generators/setup-ssr/lib/update-project-config.js +1 -0
  62. package/src/generators/stories/stories.js +2 -2
  63. package/src/generators/utils/add-jest.d.ts +1 -0
  64. package/src/generators/utils/add-jest.js +2 -2
  65. package/src/generators/utils/add-vitest.d.ts +1 -0
  66. package/src/generators/utils/add-vitest.js +1 -1
  67. package/src/generators/utils/ensure-angular-dependencies.js +0 -1
  68. package/src/migrations/update-19-6-0/turn-off-dts-by-default.js +2 -2
  69. package/src/migrations/update-20-5-0/update-angular-cli.d.ts +3 -0
  70. package/src/migrations/update-20-5-0/update-angular-cli.js +23 -0
  71. package/src/migrations/update-21-0-0/set-continuous-option.d.ts +3 -0
  72. package/src/migrations/update-21-0-0/set-continuous-option.js +29 -0
  73. package/src/plugins/plugin.js +2 -0
  74. package/src/utils/backward-compatible-versions.js +2 -0
  75. package/src/utils/versions.d.ts +7 -6
  76. package/src/utils/versions.js +8 -7
@@ -12,7 +12,6 @@ export interface NormalizedSchema {
12
12
  buildable?: boolean;
13
13
  publishable?: boolean;
14
14
  importPath?: string;
15
- standaloneConfig?: boolean;
16
15
  spec?: boolean;
17
16
  commonModule?: boolean;
18
17
  routing?: boolean;
@@ -25,6 +25,7 @@ const log_show_project_command_1 = require("@nx/devkit/src/utils/log-show-projec
25
25
  const test_runners_1 = require("../../utils/test-runners");
26
26
  const add_vitest_1 = require("../utils/add-vitest");
27
27
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
28
+ const add_release_config_1 = require("@nx/js/src/generators/library/utils/add-release-config");
28
29
  async function libraryGenerator(tree, schema) {
29
30
  (0, ts_solution_setup_1.assertNotUsingTsSolutionSetup)(tree, 'angular', 'library');
30
31
  // Do some validation checks
@@ -49,7 +50,7 @@ async function libraryGenerator(tree, schema) {
49
50
  if (!libraryOptions.skipPackageJson) {
50
51
  (0, ensure_angular_dependencies_1.ensureAngularDependencies)(tree);
51
52
  }
52
- const project = (0, add_project_1.addProject)(tree, libraryOptions);
53
+ const project = await (0, add_project_1.addProject)(tree, libraryOptions);
53
54
  (0, create_files_1.createFiles)(tree, options, project);
54
55
  (0, update_tsconfig_1.updateTsConfig)(tree, libraryOptions);
55
56
  await addUnitTestRunner(tree, libraryOptions);
@@ -76,6 +77,9 @@ async function libraryGenerator(tree, schema) {
76
77
  'ng-packagr': pkgVersions.ngPackagrVersion,
77
78
  }, undefined, true);
78
79
  (0, dependencies_1.addBuildableLibrariesPostCssDependencies)(tree);
80
+ if (libraryOptions.publishable) {
81
+ await (0, add_release_config_1.releaseTasks)(tree);
82
+ }
79
83
  }
80
84
  (0, js_1.addTsConfigPath)(tree, libraryOptions.importPath, [
81
85
  (0, devkit_1.joinPathFragments)(libraryOptions.projectRoot, './src', 'index.ts'),
@@ -12,7 +12,6 @@ export interface Schema {
12
12
  buildable?: boolean;
13
13
  publishable?: boolean;
14
14
  importPath?: string;
15
- standaloneConfig?: boolean;
16
15
  spec?: boolean;
17
16
  flat?: boolean;
18
17
  commonModule?: boolean;
@@ -108,12 +108,6 @@
108
108
  "enum": ["eslint", "none"],
109
109
  "default": "eslint"
110
110
  },
111
- "standaloneConfig": {
112
- "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
113
- "type": "boolean",
114
- "default": true,
115
- "x-deprecated": "Nx only supports standaloneConfig"
116
- },
117
111
  "compilationMode": {
118
112
  "description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.",
119
113
  "type": "string",
@@ -173,8 +173,8 @@ class E2eMigrator extends project_migrator_1.ProjectMigrator {
173
173
  }
174
174
  else if (this.isCypressE2eProject()) {
175
175
  (0, devkit_1.ensurePackage)('@nx/cypress', versions_1.nxVersion);
176
- const { installedCypressVersion, } = require('@nx/cypress/src/utils/cypress-version');
177
- this.cypressInstalledVersion = installedCypressVersion();
176
+ const { getInstalledCypressMajorVersion, } = require('@nx/cypress/src/utils/versions');
177
+ this.cypressInstalledVersion = getInstalledCypressMajorVersion(this.tree);
178
178
  this.project = {
179
179
  ...this.project,
180
180
  name,
@@ -2,7 +2,7 @@ export interface Schema {
2
2
  name: string;
3
3
  minimal: boolean;
4
4
  parent: string;
5
- directory?: string;
5
+ directory: string;
6
6
  route?: string;
7
7
  barrels?: boolean;
8
8
  facade?: boolean;
@@ -18,7 +18,7 @@ async function remote(tree, schema) {
18
18
  if (options.host && !projects.has(options.host)) {
19
19
  throw new Error(`The name of the application to be used as the host app does not exist. (${options.host})`);
20
20
  }
21
- await (0, project_name_and_root_utils_1.ensureProjectName)(tree, options, 'application');
21
+ await (0, project_name_and_root_utils_1.ensureRootProjectName)(options, 'application');
22
22
  const { projectName: remoteProjectName } = await (0, project_name_and_root_utils_1.determineProjectNameAndRootOptions)(tree, {
23
23
  name: options.name,
24
24
  projectType: 'application',
@@ -19,7 +19,6 @@ export interface Schema {
19
19
  e2eTestRunner?: E2eTestRunner;
20
20
  backendProject?: string;
21
21
  strict?: boolean;
22
- standaloneConfig?: boolean;
23
22
  inlineStyle?: boolean;
24
23
  inlineTemplate?: boolean;
25
24
  viewEncapsulation?: 'Emulated' | 'Native' | 'None';
@@ -138,12 +138,6 @@
138
138
  "description": "Create an application with stricter type checking and build optimization options.",
139
139
  "default": true
140
140
  },
141
- "standaloneConfig": {
142
- "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
143
- "type": "boolean",
144
- "default": true,
145
- "x-deprecated": "Nx only supports standaloneConfig"
146
- },
147
141
  "setParserOptionsProject": {
148
142
  "type": "boolean",
149
143
  "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
@@ -17,6 +17,7 @@ function setupServeTarget(host, options) {
17
17
  };
18
18
  if (options.mfType === 'remote') {
19
19
  appConfig.targets['serve-static'] = {
20
+ continuous: true,
20
21
  executor: '@nx/web:file-server',
21
22
  defaultConfiguration: 'production',
22
23
  options: {
@@ -1,13 +1,13 @@
1
1
  import { NgModule } from '@angular/core';
2
2
  import { ServerModule } from '@angular/platform-server';<% if(serverRouting) { %>
3
- import { provideServerRoutesConfig } from '@angular/ssr';<% } %>
3
+ import { <%= provideServerRoutingFn %> } from '@angular/ssr';<% } %>
4
4
  import { AppComponent } from './app.component';
5
5
  import { AppModule } from './app.module';<% if(serverRouting) { %>
6
6
  import { serverRoutes } from './app.routes.server';<% } %>
7
7
 
8
8
  @NgModule({
9
9
  imports: [AppModule, ServerModule],<% if(serverRouting) { %>
10
- providers: [provideServerRoutesConfig(serverRoutes)],<% } %>
10
+ providers: [<%= provideServerRoutingFn %>(serverRoutes)],<% } %>
11
11
  bootstrap: [AppComponent],
12
12
  })
13
13
  export class <%= rootModuleClassName %> {}
@@ -61,6 +61,6 @@ if (isMainModule(import.meta.url)) {
61
61
  }
62
62
 
63
63
  /**
64
- * The request handler used by the Angular CLI (dev-server and during build).
64
+ * Request handler used by the Angular CLI (for dev-server and during build) or Firebase Cloud Functions.
65
65
  */
66
66
  export const reqHandler = createNodeRequestHandler(app);
@@ -1,13 +1,13 @@
1
1
  import { mergeApplicationConfig, ApplicationConfig } from '@angular/core';
2
2
  import { provideServerRendering } from '@angular/platform-server';<% if(serverRouting) { %>
3
- import { provideServerRoutesConfig } from '@angular/ssr';<% } %>
3
+ import { <%= provideServerRoutingFn %> } from '@angular/ssr';<% } %>
4
4
  import { appConfig } from './app.config';<% if(serverRouting) { %>
5
5
  import { serverRoutes } from './app.routes.server';<% } %>
6
6
 
7
7
  const serverConfig: ApplicationConfig = {
8
8
  providers: [
9
9
  provideServerRendering()<% if(serverRouting) { %>,
10
- provideServerRoutesConfig(serverRoutes)<% } %>
10
+ <%= provideServerRoutingFn %>(serverRoutes)<% } %>
11
11
  ]
12
12
  };
13
13
 
@@ -63,3 +63,5 @@ if (isMainModule(import.meta.url)) {
63
63
  console.log(`Node Express server listening on http://localhost:${port}`);
64
64
  });
65
65
  }
66
+
67
+ export default app;
@@ -4,6 +4,7 @@ exports.generateSSRFiles = generateSSRFiles;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const path_1 = require("path");
6
6
  const version_utils_1 = require("../../utils/version-utils");
7
+ const semver_1 = require("semver");
7
8
  function generateSSRFiles(tree, options) {
8
9
  const project = (0, devkit_1.readProjectConfiguration)(tree, options.project);
9
10
  if (project.targets.server ||
@@ -24,7 +25,17 @@ function generateSSRFiles(tree, options) {
24
25
  pathToFiles = (0, path_1.join)(baseFilesPath, 'pre-v19', options.standalone ? 'standalone-src' : 'ngmodule-src');
25
26
  }
26
27
  const sourceRoot = project.sourceRoot ?? (0, devkit_1.joinPathFragments)(project.root, 'src');
27
- (0, devkit_1.generateFiles)(tree, pathToFiles, sourceRoot, { ...options, tpl: '' });
28
+ const ssrVersion = (0, version_utils_1.getInstalledPackageVersion)(tree, '@angular/ssr');
29
+ const cleanedSsrVersion = ssrVersion
30
+ ? (0, semver_1.clean)(ssrVersion) ?? (0, semver_1.coerce)(ssrVersion).version
31
+ : null;
32
+ (0, devkit_1.generateFiles)(tree, pathToFiles, sourceRoot, {
33
+ ...options,
34
+ provideServerRoutingFn: !cleanedSsrVersion || (0, semver_1.gte)(cleanedSsrVersion, '19.2.0')
35
+ ? 'provideServerRouting'
36
+ : 'provideServerRoutesConfig',
37
+ tpl: '',
38
+ });
28
39
  if (angularMajorVersion >= 19 && !options.serverRouting) {
29
40
  tree.delete((0, devkit_1.joinPathFragments)(sourceRoot, 'app/app.routes.server.ts'));
30
41
  }
@@ -76,6 +76,7 @@ function updateProjectConfigForBrowserBuilder(tree, options) {
76
76
  defaultConfiguration: 'production',
77
77
  };
78
78
  projectConfig.targets['serve-ssr'] = {
79
+ continuous: true,
79
80
  executor: '@angular-devkit/build-angular:ssr-dev-server',
80
81
  configurations: {
81
82
  development: {
@@ -7,7 +7,7 @@ const component_story_1 = tslib_1.__importDefault(require("../component-story/co
7
7
  const component_info_1 = require("../utils/storybook-ast/component-info");
8
8
  const entry_point_1 = require("../utils/storybook-ast/entry-point");
9
9
  const module_info_1 = require("../utils/storybook-ast/module-info");
10
- const minimatch_1 = require("minimatch");
10
+ const picomatch = require("picomatch");
11
11
  const versions_1 = require("../../utils/versions");
12
12
  async function angularStoriesGenerator(tree, options) {
13
13
  const entryPoints = (0, entry_point_1.getProjectEntryPoints)(tree, options.name);
@@ -17,7 +17,7 @@ async function angularStoriesGenerator(tree, options) {
17
17
  componentsInfo.push(...(0, component_info_1.getComponentsInfo)(tree, entryPoint, moduleFilePaths, options.name), ...(0, component_info_1.getStandaloneComponentsInfo)(tree, entryPoint));
18
18
  }
19
19
  const componentInfos = componentsInfo.filter((f) => !options.ignorePaths?.some((pattern) => {
20
- const shouldIgnorePath = (0, minimatch_1.minimatch)((0, devkit_1.joinPathFragments)(f.moduleFolderPath, f.path, `${f.componentFileName}.ts`), pattern);
20
+ const shouldIgnorePath = picomatch(pattern)((0, devkit_1.joinPathFragments)(f.moduleFolderPath, f.path, `${f.componentFileName}.ts`));
21
21
  return shouldIgnorePath;
22
22
  }));
23
23
  for (const info of componentInfos) {
@@ -4,5 +4,6 @@ export type AddJestOptions = {
4
4
  projectRoot: string;
5
5
  skipPackageJson: boolean;
6
6
  strict: boolean;
7
+ addPlugin?: boolean;
7
8
  };
8
9
  export declare function addJest(tree: Tree, options: AddJestOptions): Promise<void>;
@@ -16,8 +16,8 @@ async function addJest(tree, options) {
16
16
  skipSerializers: false,
17
17
  skipPackageJson: options.skipPackageJson,
18
18
  skipFormat: true,
19
- addPlugin: false,
20
- addExplicitTargets: true,
19
+ addPlugin: options.addPlugin ?? false,
20
+ addExplicitTargets: !options.addPlugin,
21
21
  });
22
22
  const setupFile = (0, devkit_1.joinPathFragments)(options.projectRoot, 'src', 'test-setup.ts');
23
23
  if (options.strict && tree.exists(setupFile)) {
@@ -4,5 +4,6 @@ export type AddVitestOptions = {
4
4
  projectRoot: string;
5
5
  skipPackageJson: boolean;
6
6
  strict: boolean;
7
+ addPlugin?: boolean;
7
8
  };
8
9
  export declare function addVitest(tree: Tree, options: AddVitestOptions): Promise<void>;
@@ -10,6 +10,6 @@ async function addVitest(tree, options) {
10
10
  uiFramework: 'angular',
11
11
  testEnvironment: 'jsdom',
12
12
  coverageProvider: 'v8',
13
- addPlugin: false,
13
+ addPlugin: options.addPlugin ?? false,
14
14
  });
15
15
  }
@@ -19,7 +19,6 @@ function ensureAngularDependencies(tree) {
19
19
  const rxjsVersion = (0, version_utils_1.getInstalledPackageVersion)(tree, 'rxjs') ?? pkgVersions.rxjsVersion;
20
20
  const tsLibVersion = (0, version_utils_1.getInstalledPackageVersion)(tree, 'tslib') ?? pkgVersions.tsLibVersion;
21
21
  const zoneJsVersion = (0, version_utils_1.getInstalledPackageVersion)(tree, 'zone.js') ?? pkgVersions.zoneJsVersion;
22
- dependencies['@angular/animations'] = angularVersion;
23
22
  dependencies['@angular/common'] = angularVersion;
24
23
  dependencies['@angular/compiler'] = angularVersion;
25
24
  dependencies['@angular/core'] = angularVersion;
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const devkit_1 = require("@nx/devkit");
5
- const minimatch_1 = require("minimatch");
5
+ const picomatch = require("picomatch");
6
6
  const tsquery_1 = require("@phenomnomnominal/tsquery");
7
7
  async function default_1(tree) {
8
8
  (0, devkit_1.visitNotIgnoredFiles)(tree, '', (path) => {
9
9
  const webpackConfigGlob = '**/webpack*.config*.{js,ts,mjs,cjs}';
10
- const result = (0, minimatch_1.minimatch)(path, webpackConfigGlob);
10
+ const result = picomatch(webpackConfigGlob)(path);
11
11
  if (!result) {
12
12
  return;
13
13
  }
@@ -0,0 +1,3 @@
1
+ import { Tree } from '@nx/devkit';
2
+ export declare const angularCliVersion = "~19.2.0";
3
+ export default function (tree: Tree): Promise<void>;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.angularCliVersion = void 0;
4
+ exports.default = default_1;
5
+ const devkit_1 = require("@nx/devkit");
6
+ exports.angularCliVersion = '~19.2.0';
7
+ async function default_1(tree) {
8
+ let shouldFormat = false;
9
+ (0, devkit_1.updateJson)(tree, 'package.json', (json) => {
10
+ if (json.devDependencies?.['@angular/cli']) {
11
+ json.devDependencies['@angular/cli'] = exports.angularCliVersion;
12
+ shouldFormat = true;
13
+ }
14
+ else if (json.dependencies?.['@angular/cli']) {
15
+ json.dependencies['@angular/cli'] = exports.angularCliVersion;
16
+ shouldFormat = true;
17
+ }
18
+ return json;
19
+ });
20
+ if (shouldFormat) {
21
+ await (0, devkit_1.formatFiles)(tree);
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ import { type Tree } from '@nx/devkit';
2
+ export declare const continuousExecutors: Set<string>;
3
+ export default function (tree: Tree): Promise<void>;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.continuousExecutors = void 0;
4
+ exports.default = default_1;
5
+ const devkit_1 = require("@nx/devkit");
6
+ exports.continuousExecutors = new Set([
7
+ '@angular-devkit/build-angular:dev-server',
8
+ '@angular-devkit/build-angular:ssr-dev-server',
9
+ '@nx/angular:dev-server',
10
+ '@nx/angular:module-federation-dev-server',
11
+ '@nx/angular:module-federation-dev-ssr',
12
+ ]);
13
+ async function default_1(tree) {
14
+ const projects = (0, devkit_1.getProjects)(tree);
15
+ for (const [projectName, projectConfig] of projects) {
16
+ let updated = false;
17
+ for (const targetConfig of Object.values(projectConfig.targets ?? {})) {
18
+ if (exports.continuousExecutors.has(targetConfig.executor) &&
19
+ targetConfig.continuous === undefined) {
20
+ targetConfig.continuous = true;
21
+ updated = true;
22
+ }
23
+ }
24
+ if (updated) {
25
+ (0, devkit_1.updateProjectConfiguration)(tree, projectName, projectConfig);
26
+ }
27
+ }
28
+ await (0, devkit_1.formatFiles)(tree);
29
+ }
@@ -114,6 +114,7 @@ async function buildAngularProjects(configFilePath, options, angularWorkspaceRoo
114
114
  await updateBuildTarget(nxTargetName, targets[nxTargetName], angularTarget, context, angularWorkspaceRoot, project.root, namedInputs);
115
115
  }
116
116
  else if (knownExecutors.devServer.has(angularTarget.builder)) {
117
+ targets[nxTargetName].continuous = true;
117
118
  targets[nxTargetName].metadata.help.example.options = { port: 4201 };
118
119
  }
119
120
  else if (knownExecutors.extractI18n.has(angularTarget.builder)) {
@@ -128,6 +129,7 @@ async function buildAngularProjects(configFilePath, options, angularWorkspaceRoo
128
129
  updateServerTarget(targets[nxTargetName], angularTarget, context, angularWorkspaceRoot, project.root, namedInputs);
129
130
  }
130
131
  else if (knownExecutors.serveSsr.has(angularTarget.builder)) {
132
+ targets[nxTargetName].continuous = true;
131
133
  targets[nxTargetName].metadata.help.example.options = { port: 4201 };
132
134
  }
133
135
  else if (knownExecutors.prerender.has(angularTarget.builder)) {
@@ -6,6 +6,7 @@ exports.backwardCompatibleVersions = {
6
6
  angularVersion: '~17.3.0',
7
7
  angularDevkitVersion: '~17.3.0',
8
8
  ngPackagrVersion: '~17.3.0',
9
+ angularRspackVersion: '~20.6.1',
9
10
  ngrxVersion: '~17.0.0',
10
11
  rxjsVersion: '~7.8.0',
11
12
  zoneJsVersion: '~0.14.3',
@@ -33,6 +34,7 @@ exports.backwardCompatibleVersions = {
33
34
  angularVersion: '~18.2.0',
34
35
  angularDevkitVersion: '~18.2.0',
35
36
  ngPackagrVersion: '~18.2.0',
37
+ angularRspackVersion: '~20.6.1',
36
38
  ngrxVersion: '~18.0.2',
37
39
  rxjsVersion: '~7.8.0',
38
40
  zoneJsVersion: '~0.14.3',
@@ -1,7 +1,8 @@
1
1
  export declare const nxVersion: any;
2
- export declare const angularVersion = "~19.1.0";
3
- export declare const angularDevkitVersion = "~19.1.0";
4
- export declare const ngPackagrVersion = "~19.1.0";
2
+ export declare const angularVersion = "~19.2.0";
3
+ export declare const angularDevkitVersion = "~19.2.0";
4
+ export declare const ngPackagrVersion = "~19.2.0";
5
+ export declare const angularRspackVersion = "~20.6.1";
5
6
  export declare const ngrxVersion = "^19.0.0";
6
7
  export declare const rxjsVersion = "~7.8.0";
7
8
  export declare const zoneJsVersion = "~0.15.0";
@@ -12,9 +13,9 @@ export declare const typesCorsVersion = "~2.8.5";
12
13
  export declare const expressVersion = "^4.21.2";
13
14
  export declare const typesExpressVersion = "^4.17.21";
14
15
  export declare const browserSyncVersion = "^3.0.0";
15
- export declare const moduleFederationNodeVersion = "^2.6.21";
16
- export declare const moduleFederationEnhancedVersion = "^0.8.8";
17
- export declare const angularEslintVersion = "^19.0.2";
16
+ export declare const moduleFederationNodeVersion = "^2.6.26";
17
+ export declare const moduleFederationEnhancedVersion = "^0.9.0";
18
+ export declare const angularEslintVersion = "^19.2.0";
18
19
  export declare const typescriptEslintVersion = "^7.16.0";
19
20
  export declare const tailwindVersion = "^3.0.2";
20
21
  export declare const postcssVersion = "^8.4.5";
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jsoncEslintParserVersion = exports.jasmineMarblesVersion = exports.typesNodeVersion = exports.jestPresetAngularVersion = exports.tsNodeVersion = exports.autoprefixerVersion = exports.postcssUrlVersion = exports.postcssVersion = exports.tailwindVersion = exports.typescriptEslintVersion = exports.angularEslintVersion = exports.moduleFederationEnhancedVersion = exports.moduleFederationNodeVersion = exports.browserSyncVersion = exports.typesExpressVersion = exports.expressVersion = exports.typesCorsVersion = exports.corsVersion = exports.tsLibVersion = exports.angularJsVersion = exports.zoneJsVersion = exports.rxjsVersion = exports.ngrxVersion = exports.ngPackagrVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = void 0;
3
+ exports.jsoncEslintParserVersion = exports.jasmineMarblesVersion = exports.typesNodeVersion = exports.jestPresetAngularVersion = exports.tsNodeVersion = exports.autoprefixerVersion = exports.postcssUrlVersion = exports.postcssVersion = exports.tailwindVersion = exports.typescriptEslintVersion = exports.angularEslintVersion = exports.moduleFederationEnhancedVersion = exports.moduleFederationNodeVersion = exports.browserSyncVersion = exports.typesExpressVersion = exports.expressVersion = exports.typesCorsVersion = exports.corsVersion = exports.tsLibVersion = exports.angularJsVersion = exports.zoneJsVersion = exports.rxjsVersion = exports.ngrxVersion = exports.angularRspackVersion = exports.ngPackagrVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.angularVersion = '~19.1.0';
6
- exports.angularDevkitVersion = '~19.1.0';
7
- exports.ngPackagrVersion = '~19.1.0';
5
+ exports.angularVersion = '~19.2.0';
6
+ exports.angularDevkitVersion = '~19.2.0';
7
+ exports.ngPackagrVersion = '~19.2.0';
8
+ exports.angularRspackVersion = '~20.6.1';
8
9
  exports.ngrxVersion = '^19.0.0';
9
10
  exports.rxjsVersion = '~7.8.0';
10
11
  exports.zoneJsVersion = '~0.15.0';
@@ -15,9 +16,9 @@ exports.typesCorsVersion = '~2.8.5';
15
16
  exports.expressVersion = '^4.21.2';
16
17
  exports.typesExpressVersion = '^4.17.21';
17
18
  exports.browserSyncVersion = '^3.0.0';
18
- exports.moduleFederationNodeVersion = '^2.6.21';
19
- exports.moduleFederationEnhancedVersion = '^0.8.8';
20
- exports.angularEslintVersion = '^19.0.2';
19
+ exports.moduleFederationNodeVersion = '^2.6.26';
20
+ exports.moduleFederationEnhancedVersion = '^0.9.0';
21
+ exports.angularEslintVersion = '^19.2.0';
21
22
  exports.typescriptEslintVersion = '^7.16.0';
22
23
  exports.tailwindVersion = '^3.0.2';
23
24
  exports.postcssVersion = '^8.4.5';