Leosvel Pérez Espinosa 3ec539065d
feat(angular): add support for angular v19 (#28847)
## Third-party deps support for Angular v19

- [x] `jest-preset-angular`
  - [x] PRs:
    - [x] https://github.com/thymikee/jest-preset-angular/pull/2835
  - [x] Released:
- [x] RC:
https://github.com/thymikee/jest-preset-angular/releases/tag/v14.4.0-rc.0
- [x] Stable:
https://github.com/thymikee/jest-preset-angular/releases/tag/v14.4.0
- [x] Angular ESLint
  - [x] PRs:
    - [x] https://github.com/angular-eslint/angular-eslint/pull/2109
  - [x] Released:
- [x]
https://github.com/angular-eslint/angular-eslint/releases/tag/v19.0.0
- [x] Storybook
  - [x] PRs:
    - [x] https://github.com/storybookjs/storybook/pull/29659
    - [x] https://github.com/storybookjs/storybook/pull/29677
  - [x] Released:
    - [x] https://github.com/storybookjs/storybook/pull/29679
- [ ] NgRx
  - [x] PRs:
    - [x] https://github.com/ngrx/platform/pull/4602
  - [ ] Released:
- [x] Beta:
https://github.com/ngrx/platform/blob/main/CHANGELOG.md#1900-beta0-2024-11-20
    - [ ] Stable:
- [ ] Analog
  - [x] PRs:
    - [x] https://github.com/analogjs/analog/pull/1447
    - [x] https://github.com/analogjs/analog/pull/1451
  - [ ] Released:
- [x] Beta:
https://github.com/analogjs/analog/releases/tag/v1.10.0-beta.6
    - [ ] Stable:

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

Angular v19 is not supported.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Angular v19 should be supported.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
 
Fixes #29028
2024-12-02 11:43:24 -05:00

82 lines
2.8 KiB
JSON

{
"name": "setup-ssr",
"factory": "./src/generators/setup-ssr/setup-ssr",
"schema": {
"$schema": "https://json-schema.org/schema",
"$id": "GeneratorAngularUniversalSetup",
"cli": "nx",
"title": "Generate Angular Universal (SSR) setup for an Angular App",
"description": "Create the additional configuration required to enable SSR via Angular Universal for an Angular application.",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the application to generate the Angular Universal configuration for.",
"$default": { "$source": "argv", "index": 0 },
"x-prompt": "What app would you like to generate an Angular Universal configuration for?",
"x-dropdown": "projects"
},
"main": {
"type": "string",
"format": "path",
"description": "The name of the main entry-point file.",
"default": "main.server.ts"
},
"serverFileName": {
"type": "string",
"default": "server.ts",
"description": "The name of the Express server file."
},
"serverPort": {
"type": "number",
"default": 4000,
"description": "The port for the Express server."
},
"rootModuleFileName": {
"type": "string",
"format": "path",
"description": "The name of the root module file",
"default": "app.server.module.ts"
},
"rootModuleClassName": {
"type": "string",
"description": "The name of the root module class.",
"default": "AppServerModule"
},
"standalone": {
"type": "boolean",
"description": "Use Standalone Components to bootstrap SSR."
},
"hydration": {
"type": "boolean",
"description": "Set up Hydration for the SSR application.",
"default": true
},
"serverRouting": {
"description": "Creates a server application using the Server Routing and App Engine APIs (Developer Preview). _Note: this is only supported in Angular versions >= 19.0.0_.",
"type": "boolean"
},
"skipFormat": {
"type": "boolean",
"description": "Skip formatting the workspace after the generator completes.",
"x-priority": "internal"
},
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
}
},
"required": ["project"],
"additionalProperties": false,
"presets": []
},
"description": "Generate Angular Universal (SSR) setup for an Angular application.",
"implementation": "/packages/angular/src/generators/setup-ssr/setup-ssr.ts",
"aliases": [],
"hidden": false,
"path": "/packages/angular/src/generators/setup-ssr/schema.json",
"type": "generator"
}