@schematics/angular 19.0.0-next.1 → 19.0.0-next.11

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 (51) hide show
  1. package/LICENSE +5 -5
  2. package/app-shell/index.js +48 -73
  3. package/application/files/module-files/src/app/app.component.spec.ts.template +3 -1
  4. package/application/files/module-files/src/app/app.component.ts.template +2 -1
  5. package/application/files/module-files/src/app/app.module.ts.template +2 -2
  6. package/application/files/module-files/src/main.ts.template +1 -2
  7. package/application/files/standalone-files/src/app/app.component.spec.ts.template +3 -1
  8. package/application/files/standalone-files/src/app/app.config.ts.template +4 -2
  9. package/application/index.js +2 -2
  10. package/application/schema.d.ts +4 -0
  11. package/application/schema.json +5 -0
  12. package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +4 -2
  13. package/component/index.js +1 -0
  14. package/component/schema.d.ts +4 -0
  15. package/component/schema.json +5 -0
  16. package/config/files/.browserslistrc.template +1 -0
  17. package/config/files/karma.conf.js.template +0 -1
  18. package/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template +2 -1
  19. package/directive/index.js +1 -0
  20. package/library/files/README.md.template +49 -10
  21. package/migrations/migration-collection.json +5 -0
  22. package/migrations/update-ssr-imports/migration.d.ts +15 -0
  23. package/migrations/update-ssr-imports/migration.js +93 -0
  24. package/ng-new/index.js +1 -0
  25. package/ng-new/schema.d.ts +4 -0
  26. package/ng-new/schema.json +5 -0
  27. package/package.json +4 -4
  28. package/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.ts.template +2 -1
  29. package/server/files/application-builder/ngmodule-src/app/app.module.server.ts.template +13 -0
  30. package/server/files/application-builder/ngmodule-src/app/app.routes.server.ts.template +8 -0
  31. package/server/files/application-builder/standalone-src/app/app.config.server.ts.template +14 -0
  32. package/server/files/application-builder/standalone-src/app/app.routes.server.ts.template +8 -0
  33. package/server/files/server-builder/ngmodule-src/main.server.ts.template +1 -0
  34. package/server/files/server-builder/standalone-src/main.server.ts.template +7 -0
  35. package/server/index.js +17 -8
  36. package/service-worker/files/ngsw-config.json.template +1 -0
  37. package/ssr/files/application-builder/server.ts.template +57 -42
  38. package/ssr/files/server-builder/server.ts.template +2 -2
  39. package/ssr/index.js +17 -21
  40. package/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts +244 -156
  41. package/third_party/github.com/Microsoft/TypeScript/lib/typescript.js +4617 -3454
  42. package/utility/latest-versions/package.json +2 -2
  43. package/utility/latest-versions.js +2 -2
  44. package/workspace/files/README.md.template +41 -9
  45. package/workspace/files/__dot__editorconfig.template +1 -0
  46. package/workspace/files/tsconfig.json.template +1 -5
  47. /package/server/files/{src → application-builder/ngmodule-src}/main.server.ts.template +0 -0
  48. /package/server/files/{standalone-src → application-builder/standalone-src}/main.server.ts.template +0 -0
  49. /package/server/files/{src → server-builder/ngmodule-src}/app/app.module.server.ts.template +0 -0
  50. /package/server/files/{root → server-builder/root}/tsconfig.server.json.template +0 -0
  51. /package/server/files/{standalone-src → server-builder/standalone-src}/app/app.config.server.ts.template +0 -0
@@ -9,7 +9,7 @@
9
9
  "@types/node": "^18.18.0",
10
10
  "browser-sync": "^3.0.0",
11
11
  "express": "^4.18.2",
12
- "jasmine-core": "~5.2.0",
12
+ "jasmine-core": "~5.4.0",
13
13
  "jasmine-spec-reporter": "~7.0.0",
14
14
  "karma-chrome-launcher": "~3.2.0",
15
15
  "karma-coverage": "~2.2.0",
@@ -23,7 +23,7 @@
23
23
  "rxjs": "~7.8.0",
24
24
  "tslib": "^2.3.0",
25
25
  "ts-node": "~10.9.0",
26
- "typescript": "~5.5.2",
26
+ "typescript": "~5.6.2",
27
27
  "zone.js": "~0.15.0"
28
28
  }
29
29
  }
@@ -15,6 +15,6 @@ exports.latestVersions = {
15
15
  ...dependencies,
16
16
  // As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
17
17
  Angular: dependencies['@angular/core'],
18
- DevkitBuildAngular: '^19.0.0-next.1',
19
- AngularSSR: '^19.0.0-next.1',
18
+ DevkitBuildAngular: '^19.0.0-next.11',
19
+ AngularSSR: '^19.0.0-next.11',
20
20
  };
@@ -1,27 +1,59 @@
1
1
  # <%= utils.classify(name) %>
2
2
 
3
- This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= version %>.
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version <%= version %>.
4
4
 
5
5
  ## Development server
6
6
 
7
- Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
7
+ To start a local development server, run:
8
+
9
+ ```bash
10
+ ng serve
11
+ ```
12
+
13
+ Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
8
14
 
9
15
  ## Code scaffolding
10
16
 
11
- Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
17
+ Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
18
+
19
+ ```bash
20
+ ng generate component component-name
21
+ ```
22
+
23
+ For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
24
+
25
+ ```bash
26
+ ng generate --help
27
+ ```
12
28
 
13
- ## Build
29
+ ## Building
14
30
 
15
- Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
31
+ To build the project run:
32
+
33
+ ```bash
34
+ ng build
35
+ ```
36
+
37
+ This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
16
38
 
17
39
  ## Running unit tests
18
40
 
19
- Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
41
+ To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
42
+
43
+ ```bash
44
+ ng test
45
+ ```
20
46
 
21
47
  ## Running end-to-end tests
22
48
 
23
- Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
49
+ For end-to-end (e2e) testing, run:
50
+
51
+ ```bash
52
+ ng e2e
53
+ ```
54
+
55
+ Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
24
56
 
25
- ## Further help
57
+ ## Additional Resources
26
58
 
27
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
59
+ For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -10,6 +10,7 @@ trim_trailing_whitespace = true
10
10
 
11
11
  [*.ts]
12
12
  quote_type = single
13
+ ij_typescript_use_double_quotes = false
13
14
 
14
15
  [*.md]
15
16
  max_line_length = off
@@ -16,11 +16,7 @@
16
16
  "moduleResolution": "bundler",
17
17
  "importHelpers": true,
18
18
  "target": "ES2022",
19
- "module": "ES2022",
20
- "lib": [
21
- "ES2022",
22
- "dom"
23
- ]
19
+ "module": "ES2022"
24
20
  },
25
21
  "angularCompilerOptions": {
26
22
  "enableI18nLegacyMessageIdFormat": false<% if (strict) { %>,