Jessica Janiuk
37092d00b7
Revert "refactor(compiler-cli): remove deep imports from compiler-cli ( #64732 )"
...
This reverts commit 05938c1054 .
2025-11-06 13:09:01 -08:00
Matthieu Riegler
05938c1054
refactor(compiler-cli): remove deep imports from compiler-cli ( #64732 )
...
Accessed symbols are grouped into dedicated `private` entries
PR Close #64732
2025-11-06 20:01:26 +00:00
Alan Agius
26fed34e0e
build: format md files
...
This commit configures prettier to format markdown files.
2025-11-06 10:03:05 -08:00
Alan Agius
fffd34bb6e
build: add @babel/core to list of rollup_runtime_deps
...
This will be needed following https://github.com/devversion/rules_angular/pull/72
2025-10-27 13:39:33 +01:00
Joey Perrott
eb80c3075f
build: update symbol extractor tests to stabalize the order of the symbols listed ( #64389 )
...
Update to ensure that the symbols in the list of extracted symbols is consistent even when multiple bundle files are extracted from.
PR Close #64389
2025-10-13 11:12:54 -07:00
Alan Agius
9af3cf7b0b
build: migrate to in-repo ts_project with strict deps ( #64306 )
...
This commit migrates the vscode-ng-language-service to use the in-repo `ts_project` macro, which has strict dependency checking enabled. This improves build-time dependency validation and helps ensure that all dependencies are explicitly declared.
As part of this change, redundant `tsconfig.json` files have been removed in favor of a centralized configuration, and `jasmine_test` rules have been updated to the standard macro. A minor code adjustment in `server/src/session.ts` was also made to improve error handling.
PR Close #64306
2025-10-09 10:00:31 -07:00
Matthieu Riegler
5220cea223
build: add a noDuplicateEnumValue rule ( #63483 )
...
It caught several legitimate issues.
In the cases I wasn't sure, I just disabled the rule.
fixes #45843
PR Close #63483
2025-09-10 22:16:10 +00:00
Alan Agius
f642fcf145
build: update cross-repo angular dependencies ( #63706 )
...
See associated pull request for more information.
Closes #63685 as a pr takeover
PR Close #63706
2025-09-10 12:10:15 -07:00
Andrew Scott
c3576506b3
refactor(core): Update tests for zoneless by default ( #63668 )
...
This updates tests and examples only to prepare for zoneless by default.
These changes were identified and made as part of #63382 . Anything that
failed gets `provideZoneChangeDetection` unless the fixes were easily
and quickly determined.
It also adds the zoneless provider to the `initTestEnvironment` calls
for tests in this repo to prevent regressions before #63382 is merged.
PR Close #63668
2025-09-09 14:41:56 -07:00
Alan Agius
28926ba92c
feat(core): introduce BootstrapContext for improved server bootstrapping ( #63562 )
...
This commit introduces a number of changes to the server bootstrapping process to make it more robust and less error-prone, especially for concurrent requests.
Previously, the server rendering process relied on a module-level global platform injector. This could lead to issues in server-side rendering environments where multiple requests are processed concurrently, as they could inadvertently share or overwrite the global injector state.
The new approach introduces a `BootstrapContext` that is passed to the `bootstrapApplication` function. This context provides a platform reference that is scoped to the individual request, ensuring that each server-side render has an isolated platform injector. This prevents state leakage between concurrent requests and makes the overall process more reliable.
BREAKING CHANGE:
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
```ts
const bootstrap = () => bootstrapApplication(AppComponent, config);
```
After:
```ts
const bootstrap = (context: BootstrapContext) =>
bootstrapApplication(AppComponent, config, context);
```
A schematic is provided to automatically update `main.server.ts` files to pass the `BootstrapContext` to the `bootstrapApplication` call.
In addition, `getPlatform()` and `destroyPlatform()` will now return `null` and be a no-op respectively when running in a server environment.
PR Close #63562
2025-09-09 10:57:09 -07:00
Joey Perrott
fe349827ef
build: separate zone.js dependencies into their own directory ( #63425 )
...
Separate out zone.js dependencies
PR Close #63425
2025-09-05 12:52:55 -07:00
Alan Agius
0b47781c31
build: remove patch for @angular/build ( #63601 )
...
This is no longer needed.
PR Close #63601
2025-09-04 15:24:38 -07:00
Joey Perrott
8738b81785
build: use common jasmine rule from dev-infra ( #63568 )
...
Use the new common jasmine rule from dev-infra which include sourcemap rewriting support and esm file loading
PR Close #63568
2025-09-03 16:34:08 +00:00
Joey Perrott
f0ee681ad7
build: move macros/build set up for zone.js into zone.js directories ( #63421 )
...
Move the zone_bundle and configurations into zone.js's tool directory
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
17c232afd5
build: remove unused macros ( #63421 )
...
Remove unused macro files
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
6e4d71e022
build: remove ts_project_interop file ( #63421 )
...
Remove the ts_project_interop.bzl file that no longer does interop work
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
c15b8ed631
build: enable strict deps enforcement for ts_project ( #63375 )
...
Enable strict_deps testings for all ts_project and ng_project targets in the repo
PR Close #63375
2025-08-26 09:46:30 -07:00
Joey Perrott
2fcafb65c5
build: rename defaults2.bzl to defaults.bzl ( #63383 )
...
Use defaults.bzl for the common macros
PR Close #63383
2025-08-25 15:45:01 -07:00
Joey Perrott
3df1dccebe
refactor: various build and import specificer fixes for strict deps ( #63323 )
...
Change direct deps in bazel targets and import specifiers within files to maintain strict deps requirements ahead of enabling strict deps tests in the repo
PR Close #63323
2025-08-22 14:45:00 -07:00
Joey Perrott
718bfd2fb7
build: move from using WORKSPACE to MODULE.bazel ( #63246 )
...
Update to use MODULE.bazel
PR Close #63246
2025-08-20 08:26:17 +00:00
Matthieu Riegler
93c735cae7
docs: fix edit links for block/element api entries ( #62766 )
...
PR Close #62766
2025-08-14 13:03:00 +02:00
Joey Perrott
c35c0c7f2f
build: update to bazel 7.6.0 ( #63096 )
...
Update to later version of bazel
PR Close #63096
2025-08-14 13:01:30 +02:00
Matthieu Riegler
657061e528
build: patch @angular/build to allow fw/cli mismatch ( #63098 )
...
This will allow us to build adev while the CLI and the FW major versions are mismatched.
we can remove this patch once the CLI has published a v21 pre-release (or a flag to disable that error).
PR Close #63098
2025-08-12 18:46:22 -07:00
Joey Perrott
c4dcfdf644
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:32 -07:00
Joey Perrott
0d12eac34c
build: remove unused old toolchain dependencies ( #63039 )
...
Update to latest version of dev-infra and complete the removal of rules_nodejs from the repo
PR Close #63039
2025-08-07 09:31:45 -07:00
Joey Perrott
fa8d8b8396
build: migrate all npm packages to use new rules_js based npm_package rule ( #62954 )
...
Use a common rule for all npm_packages
PR Close #62954
2025-08-05 19:08:45 +00:00
Joey Perrott
82cc576e6f
build: use pnpm as the package manager instead of yarn ( #62924 )
...
Use pnpm instead of yarn as the package manager and interaction tool for the repo
PR Close #62924
2025-07-31 22:06:27 +00:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
008ed216d3
build: remove usages of runtime_rnjs_interop ( #62908 )
...
Remove all usages of the runtime_rnjs_interop feature
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
49b7729e88
build: remove usages of rules_nodejs ( #62885 )
...
Remove rules_nodejs usages with direct migrations to rule_js alternatives
PR Close #62885
2025-07-30 08:51:27 +00:00
Joey Perrott
9bd4855204
build: correctly apply patch fro dagre-d3-es ( #62883 )
...
Correctly apply patch for dagre-d3-es so that it is effective with new toolchain
PR Close #62883
2025-07-30 08:49:47 +00:00
Joey Perrott
9888fc4966
build: remove the esm interop patches and tooling ( #62879 )
...
Remove esm interop patches and tooling from previous toolchain
PR Close #62879
2025-07-29 17:25:35 +00:00
Joey Perrott
29195f1710
build: use ts_project based extract_types ( #62875 )
...
Use the extract_types that pulls from ts_project deps
PR Close #62875
2025-07-29 17:14:26 +00:00
Joey Perrott
793ff35602
build: move http_server and generate_api_docs into defaults2.bzl ( #62878 )
...
Move http_server and generate_api_docs into defaults2.bzl as they are rules_js compliant
PR Close #62878
2025-07-29 16:53:54 +00:00
Joey Perrott
d272ffd072
build: remove unused macro ( #62878 )
...
Remove unused npm_package_bin macro
PR Close #62878
2025-07-29 16:53:54 +00:00
Joey Perrott
c1ac84cd90
build: remove final usages of nodejs_binary macros ( #62878 )
...
Remove the remaining usages of our nodejs_binary macros
PR Close #62878
2025-07-29 16:53:54 +00:00
Joey Perrott
32c00ab416
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:44 +02:00
Joey Perrott
17ada9838b
build: move tsec to new toolchain ( #62825 )
...
Migrate tsec tooling/macro to use tsec directly as a js_binary and rely on ts_project dependencies.
PR Close #62825
2025-07-28 20:07:05 +02:00
Joey Perrott
2f82d811e5
build: migrate zone.js tests to use web test runner instead of karma web tests ( #62826 )
...
Migrate zone.js bazel tests to use web test runner instead of karma
PR Close #62826
2025-07-28 14:18:45 +02:00
Joey Perrott
7c06aca4f0
build: move from using rollup to esbuild for bundling zone.js ( #62775 )
...
Use esbuild to bundle zone.js
PR Close #62775
2025-07-25 16:53:00 +02:00
Joey Perrott
c19d0aef4f
build: use ts_config rule from rules_ts only and always load from common location ( #62808 )
...
Only use the ts_config rule from rules_ts, and always load the rule from tools/defaults2.bzl
PR Close #62808
2025-07-25 10:08:13 +02:00
Joey Perrott
caee6ff8e7
build: remove all usages of @bazel/runfiles ( #62804 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62804
2025-07-25 10:04:55 +02:00
Joey Perrott
33964296d5
build: remove unused @bazel/* npm packages ( #62709 )
...
Remove the unused bazel npm packages
PR Close #62709
2025-07-22 10:07:14 -04:00
Joey Perrott
f5d9d084b6
build: move nodejs_test to js_test ( #62709 )
...
Move nodejs_test to js_test and remove unnecessary files after move
PR Close #62709
2025-07-22 10:07:13 -04:00
Joey Perrott
9d7482c011
build: remove unused rules/macros from defaults.bzl ( #62709 )
...
Remove rules/macros that are not longer used in the repo
PR Close #62709
2025-07-22 10:07:13 -04:00
Joey Perrott
de4c06cf5c
build: migrate tslint rules from dev-infra to local ( #62709 )
...
Migrate the tslint rules used in dev-infra to locally defined rules as they are unused in other repos
PR Close #62709
2025-07-22 10:07:13 -04:00
Joey Perrott
8bf97d1370
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62732 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62732
2025-07-21 13:03:09 -04:00
Joey Perrott
23d58777b4
build: migrate to new toolchain usage for api goldens ( #62688 )
...
Migrate api golden usage to be based on rules_js toolchain implementation
PR Close #62688
2025-07-17 18:13:42 -04:00
Joey Perrott
a959e5a5db
build: remove ts_library definition ( #62673 )
...
Remove the ts_library macro from our defaults.bzl file
PR Close #62673
2025-07-17 13:59:37 -04:00
Joey Perrott
dd02bfe743
build: migrate zone.js to use ts_project instead of ts_library ( #62673 )
...
Use ts_project instead of ts_library for building zone.js
PR Close #62673
2025-07-17 13:59:37 -04:00