Joey Perrott
350b1f462b
build: run integration tests using remote execution ( #63118 )
...
With the change to size tracking integration test can now be executed on our RBE platform
PR Close #63118
2025-08-14 22:02:32 +02:00
Joey Perrott
04f1d54001
build: update to bazel 7.6.0 ( #63096 )
...
Update to later version of bazel
PR Close #63096
2025-08-14 13:01:31 +02:00
Joey Perrott
b72ef65b08
build: update to the latest version of devinfra and rename npm2 workspace ( #63093 )
...
Rename the npm2 workspace to npm and use the latest version of devinfra which drops rules_nodejs
PR Close #63093
2025-08-11 10:35:33 -07:00
Joey Perrott
16a4d80745
build: no longer rely on archive packages for integration tests ( #62997 )
...
Now that the packages are avaiable at the base node_modules we can treat local packages as normal packages and not leverage the archive package versions
PR Close #62997
2025-08-05 10:12:34 +02:00
Joey Perrott
216d883074
build: use pnpm as the package manager instead of yarn ( #62926 )
...
Use pnpm instead of yarn as the package manager and interaction tool for the repo
PR Close #62926
2025-07-31 22:11:52 +00:00
Joey Perrott
875ea30d6b
build: remove ts_project_interop infrastructure ( #62909 )
...
Remove the interop macros and final usages
PR Close #62909
2025-07-31 09:14:25 +00:00
Joey Perrott
adbb19d40f
build: remove usages of runtime_rnjs_interop ( #62909 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62909
2025-07-31 09:14:25 +00:00
Joey Perrott
622e10881f
build: standardize usage of js_binary ( #62860 )
...
Remove usages of nodejs_binary and use a commonly defined js_binary macro
PR Close #62860
2025-07-29 06:43:45 +02:00
Joey Perrott
9a8b5c74eb
build: remove local zone.js build from usage in integration tests ( #62800 )
...
Remove the local zone.js build from dependencies in the integration tests
PR Close #62800
2025-07-25 16:54:20 +02:00
Joey Perrott
5aed352abd
ci: use new size tracking in integration tests ( #62652 )
...
Use the new size tracking within integration tests
PR Close #62652
2025-07-16 16:36:13 -04:00
Joey Perrott
bc4091ec44
build: migrate integration tests to use @devinfra dependencies ( #62302 )
...
Use @devinfra// dependencies for integration tests
PR Close #62302
2025-06-27 07:19:18 +00:00
Edison Augusthy
a1d078b461
docs: updated angular cli link to point to new website ( #62059 )
...
PR Close #62059
2025-06-24 09:53:27 +00:00
Joey Perrott
1182fe7053
build: migrate to usages of @devinfra// instead of @npm//@angular/build-tooling ( #62050 )
...
Use workspace imported devinfra deps instead of npm dep
PR Close #62050
2025-06-16 10:23:30 +02:00
Joey Perrott
50c7e132b5
test: use zone from npm instead of the locally built package for integration tests ( #61947 )
...
Use zone from npm for integration tests
PR Close #61947
2025-06-06 15:20:11 -07:00
Paul Gschwendtner
d081ef9b06
build: replace all ng_package with new rule from rules_angular ( #61843 )
...
Replaces all `ng_package` rule with the new rule from `rules_angular`.
PR Close #61843
2025-06-04 09:13:41 +00:00
Paul Gschwendtner
f779c95e6f
build: migrate integration and primitives/defer to ts_project ( #61843 )
...
Migrates remaining `ts_project` targets (excluding zone.js) to
`ts_project`.
PR Close #61843
2025-06-04 09:13:41 +00:00
Matthieu Riegler
07cb321f00
build: remove ng_update_migration integration test. ( #61825 )
...
The CLI already covers this in their E2E tests.
PR Close #61825
2025-06-02 15:45:45 -04:00
Alan Agius
e9fcbb8af1
fix(compiler): remove TypeScript from linker ( #61618 )
...
This commit removes the direct dependency on TypeScript within the linker, addressing a performance overhead that was adding between 500ms to 1s to compilation times for applications.
The primary cause of this overhead was the linker's direct reliance on TypeScript's which was caused by importing from barrel files. While convenient, barrel files are detrimental to code splitting and code motion. They force the bundling of all exported modules, even if only a subset is actually used.
By removing the usage of this barrel file and restructuring the imports to be more granular, we can avoid unnecessary TypeScript imports.
Furthermore, TypeScript has now been changed to an optional peer dependency as using only the linker does not require TypeScript.
PR Close #61618
2025-05-26 08:46:00 +00:00
Matthieu Riegler
2b73b496e0
test: replace platform-browser-dynamic with platform-browser ( #61495 )
...
The former isn't needed anymore and is now deprecated.
PR Close #61495
2025-05-20 10:01:34 +00:00
Alan Agius
56c0ef8eb7
refactor: replace port 4206 usage with 4209 ( #61362 )
...
Port `4206` is used by other tests which causes this test to be flakey example https://github.com/angular/angular/actions/runs/15038891642/job/42265813534
PR Close #61362
2025-05-15 10:12:44 -07:00
cexbrayat
4058f8d202
refactor(core): remove leftover todos in integration tests ( #61313 )
...
The TODOs can be removed as the tests were fixed in 193bd7c54a
PR Close #61313
2025-05-14 10:16:14 +02:00
Matthieu Riegler
3eeea56ba0
refactor(core): remove compileComponents invocations ( #61032 )
...
Those weren't necessary.
PR Close #61032
2025-05-09 10:27:14 -07:00
Paul Gschwendtner
54e785683a
build: prepare for compiler-cli to be using ts_project ( #61181 )
...
Prepare the compiler-cli package for being ready for migration
to `ts_project`.
PR Close #61181
2025-05-09 15:59:46 +00:00
Alan Agius
193bd7c54a
fix(core): properly handle app stabilization with defer blocks ( #61040 )
...
Previously, the app was marked as stable prematurely. For more details, see https://github.com/angular/angular/issues/61038#issuecomment-2837917180
Closes : #61038
PR Close #61040
2025-04-30 12:37:02 -07:00
Alan Agius
b27234bcd7
test: disable platform-server tests that do not work with zoneless ( #61040 )
...
A number of cases currently do not work with zoneless.
PR Close #61040
2025-04-30 12:37:02 -07:00
Alan Agius
d94fb764d0
test: add integration test for platform-server with zoneless ( #61040 )
...
Add an integration test to verify SSR with zoneless
PR Close #61040
2025-04-30 12:37:01 -07:00
Alan Agius
0c9e7d980e
test: add integration test for defer with input on SSR with zones ( #61040 )
...
Add an integration test to verify defer block behavior with input handling during server-side rendering (SSR).
PR Close #61040
2025-04-30 12:37:01 -07:00
Andrew Kushnir
599c45c380
build: update lock files for integration test apps ( #60594 )
...
This commit updates yarn.lock files for integration test apps.
PR Close #60594
2025-03-31 16:39:14 +00:00
Andrew Kushnir
8e3c40a0a4
refactor(core): drop unused deps for integration apps ( #60594 )
...
This commit drops unused deps from the `packages.json` files of various integration test apps.
PR Close #60594
2025-03-31 16:39:14 +00:00
Andrew Kushnir
13c819bad2
test(core): remove obsolete integration tests ( #60594 )
...
This commit removes a number of obsolete integration tests and also removes some e2e tests for a few remianing apps, since they are not adding value, but cause extra time to spend on CI.
PR Close #60594
2025-03-31 16:39:14 +00:00
Paul Gschwendtner
87751c0796
test: ng-modules-importability test should import every module in isolation ( #60503 )
...
This will make the test even more useful, as it ensures that we aren't
accidentally relying on the compiler potentially discovering best
guessed modules from other imports that previously were part of the same
file (importing all modules as part of the test).
PR Close #60503
2025-03-21 14:36:27 -07:00
Paul Gschwendtner
6890eab220
test: add integration test to ensure all exported modules can be imported ( #60489 )
...
This commit adds a new integration test which will help ensure that all
exported `@NgModule`'s of framework packages can be imported by users
without any errors.
This test is generally useful, but with our upcoming changes with
relative imports, this is a good safety-net. Relative imports could
break re-exported NgModules inside NgModule's. For more details, see:
https://github.com/angular/components/pull/30667
Notably we don't expect any issues for framework package as re-exporting
`@NgModule`'s inside `@NgModule`'s is seemingly a rather rare pattern for
APF libraries (confirmed by Material only having like 4-5 instances).
PR Close #60489
2025-03-20 12:32:36 -07:00
Alan Agius
45f899a272
refactor: replace fast-glob usage with tinyglobby ( #60264 )
...
Usage of the `fast-glob` package has been replaced with the `tinyglobby` package. The change reduces the number of transitive dependencies related to these packages from 17 to 2 while also maintaining equivalent functionality. This was also changed in the Angular CLI packages.
PR Close #60264
2025-03-07 10:57:23 -08:00
Kristiyan Kostadinov
326d48afb4
feat(core): drop support for TypeScript older than 5.8 ( #60197 )
...
Narrows down the versions of TypeScript we need to support.
BREAKING CHANGE:
* TypeScript versions less than 5.8 are no longer supported.
PR Close #60197
2025-03-04 17:39:06 +00:00
Kristiyan Kostadinov
f2cdb7d9b4
build: update to TypeScript 5.8 final ( #60176 )
...
Updates the repo to stable version of TypeScript 5.8.
PR Close #60176
2025-03-04 16:57:35 +00:00
Kristiyan Kostadinov
5553b5cfa8
build: update to TypeScript 5.8 RC ( #59952 )
...
Updates the repo to the release candidate TypeScript 5.8.
PR Close #59952
2025-02-14 16:32:50 +00:00
Kristiyan Kostadinov
146ab9a76e
feat(core): support TypeScript 5.8 ( #59830 )
...
Updates the repo to support TypeScript 5.8 which is currently in beta.
PR Close #59830
2025-02-03 14:00:41 -08:00
Kristiyan Kostadinov
bd1f1294ae
feat(core): support TypeScript 5.7 ( #58609 )
...
Updates the repo to allow for TypeScript 5.7 to be used.
PR Close #58609
2024-11-25 17:12:10 +00:00
Joey Perrott
9fced64146
ci: remove circleci as we no longer rely on it ( #58615 )
...
Remove CircleCI artifacts and configuration
PR Close #58615
2024-11-12 18:39:25 +00:00
Doug Parker
8b5e5f76a4
test: update protractor builder usage to private-protractor ( #58254 )
...
This fixes any existing usage of `@angular-devkit/build-angular:protractor` which would be broken by the CLI `-next.12` upgrade.
PR Close #58254
2024-10-22 07:37:14 -07:00
Matthieu Riegler
e85021a7ba
build: Migrate all integration tests with the schematic. ( #58160 )
...
All components, directives and pipes will now use standalone as default. Non-standalone decorators have now .
PR Close #58160
2024-10-14 14:58:58 +00:00
Matthieu Riegler
84b6896956
refactor(platform-server): Add an ssr benchmark setup. ( #57647 )
...
In order to investigate the performances of SSR, this commit introduces a benchmark suite which will measure several step of the rendering.
PR Close #57647
2024-10-04 10:45:22 -07:00
Matthieu Riegler
58bfb4aee9
build: update ts target to ES2022 and module to ES2022 ( #58022 )
...
Our integration tests are based on the CLI. CLI build force the target to ES2022 else it logs a warning
PR Close #58022
2024-10-04 13:33:48 +00:00
Joey Perrott
9dbe6fc18b
refactor: update license text to point to angular.dev ( #57901 )
...
Update license text to point to angular.dev instead of angular.io
PR Close #57901
2024-09-24 15:33:00 +02:00
Alan Agius
38de06b2d1
test: disable cache and analytics ( #57863 )
...
In Bazel, the `CI` environment variable is not set due to its hermetic nature. As a result, caching is enabled by default, which includes Vite pre-bundling. This is unnecessary in CI environments.
In some cases, this leads to errors during CI runs when the Vite build is closed or canceled prematurely, resulting in the following errors:
```
Error: R] The build was canceled
Error: R] Terminating worker thread [plugin angular-vite-optimize-deps]
```
PR Close #57863
2024-09-19 11:14:23 +02:00
Angular Robot
8a5f3197c0
build: update cross-repo angular dependencies ( #57776 )
...
See associated pull request for more information.
Closes #56387 as a pr takeover
PR Close #57776
2024-09-13 16:09:02 +02:00
Kristiyan Kostadinov
c51c0f23bb
build: update to TypeScript 5.6 final ( #57749 )
...
Updates the repo to the final version of TypeScript 5.6.
PR Close #57749
2024-09-10 16:32:37 +00:00
Kristiyan Kostadinov
8bcc663a53
feat(core): drop support for TypeScript 5.4 ( #57577 )
...
TypeScript 5.4 is no longer supported.
BREAKING CHANGE:
* TypeScript versions less than 5.5 are no longer supported.
PR Close #57577
2024-08-29 10:19:20 -07:00
Kristiyan Kostadinov
46a9569ba8
build: update to TypeScript 5.6 RC ( #57507 )
...
Updates the repo to the release candidate of TypeScript 5.6.
PR Close #57507
2024-08-26 09:13:52 -07:00
Kristiyan Kostadinov
b063468027
feat(core): support TypeScript 5.6 ( #57424 )
...
Updates the repo to add support for the upcoming TypeScript 5.6.
PR Close #57424
2024-08-19 22:45:45 -07:00