Alan Agius
fd05135da9
test(upgrade): exclude unit test files from E2E application sources
...
Exclude `**/*.spec.ts` files from the `srcs` glob of the `full_sources` target.
Previously, `module.spec.ts` was compiled as part of the application's main sources because the glob pattern only excluded `**/*_spec.ts` (E2E specs). Consequently, `module.spec.js` was generated and included in the runfiles of the E2E test target, causing the Protractor runner to load and execute it. This failed since the E2E testing runner does not have access to unit testing imports like `@angular/core/testing`.
(cherry picked from commit 7390af78b1 )
2026-05-19 12:57:52 -07:00
Kristiyan Kostadinov
81cabc1477
feat(core): add support for TypeScript 6
...
Updates the project to support TypeScript 6 and accounts for some of the breakages.
2026-02-17 08:40:38 -08:00
Angular Robot
11767cabe4
build: update Jasmine to 6.0.0
...
Jasmine enables `forbidDuplicateNames: true` by default. So we also need to desambiguate duplicate spec names.
2026-02-09 12:15:57 -08:00
Shuaib Hasan Akib
14f16226aa
refactor(common): remove unused imports and standalone: false from examples
...
Cleans up example code by removing explicit `standalone: false`, since
standalone components are the default and recommended approach.
2026-02-09 07:53:31 -08:00
Matthieu Riegler
899df39c7c
docs(docs-infra): remove unused examples
2026-01-26 23:19:35 +00:00
Shuaib Hasan Akib
6284126da5
refactor(common): cleanup unused code in doc regions
...
Cleans unused imports and code
that is not referenced within the associated docregion blocks.
2026-01-20 16:31:10 -08:00
Matthieu Riegler
6270bba056
ci: reformat files
...
This is after we've slightly changed a rule in #66056
2025-12-16 14:44:19 -08:00
Matthieu Riegler
9d1d742f1b
build: enable angular formatting on all html files
...
This should also be safe on any html file that isn't an angular template
2025-12-08 10:19:45 -08:00
Shuaib Hasan Akib
c7affdfbc9
refactor(common): update examples to align with Angular best practices
...
Updated examples to use the standalone component approach and the latest
2025-11-19 14:29:49 -08:00
Alan Agius
26fed34e0e
build: format md files
...
This commit configures prettier to format markdown files.
2025-11-06 10:03:05 -08:00
Shuaib Hasan Akib
450a38b072
refactor(common): sync examples with Angular style guide ( #64167 )
...
Updated examples to align with the latest Angular style:
- Removed `standalone: false` since it is unnecessary.
- Dropped module-based implementation in favor of standalone.
PR Close #64167
2025-10-13 08:29:44 -07:00
Shuaib Hasan Akib
61624fde3f
refactor(common): update NgIf, ngComponentOutlet and ngTemplateOutlet examples and remove redundant standalone flag ( #64155 )
...
Removed `standalone: true` since it is now the default
and no longer necessary.
refactor(common): update ngComponentOutlet and ngTemplateOutlet examples and remove redundant standalone flag
Removed `standalone: true` since it is now the default
and no longer necessary.
PR Close #64155
2025-10-01 13:22:44 -04:00
Shuaib Hasan Akib
7345bdc06b
refactor(common): update pipe examples and remove redundant standalone flag ( #64135 )
...
Updated pipe examples to explicitly import the pipe for clarity and
correctness. Also removed `standalone: true` since it is now the default
and no longer necessary.
PR Close #64135
2025-09-30 15:31:11 -04:00
Kristiyan Kostadinov
f5b50ec20d
refactor: clean up explicit standalone flags from tests ( #63963 )
...
Since standalone is the default, we can dropn the `standalone: true` flags from our tests.
PR Close #63963
2025-09-22 14:27:34 +00: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
Hongxu Xu
1f4c5f72aa
refactor(bazel): reduce build deps ( #63348 )
...
clean up deps in bazel build scripts
PR Close #63348
2025-08-28 09:16:10 -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
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
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
9ae1803acf
build: migrate @angular/upgrade examples tests to new esbuild ( #62906 )
...
Migrate to the new esbuild
PR Close #62906
2025-07-30 17:36:43 +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
Matthieu Riegler
af866249cd
docs: fix ActivateRoute example ( #62855 )
...
PR Close #62855
2025-07-29 12:17:45 +00: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
e25e6342f2
build: remove rules_nodejs based protractor tooling ( #62649 )
...
Remove the protractor setup based on rules_nodejs
PR Close #62649
2025-07-16 16:39:49 -04:00
Joey Perrott
cf40162083
build: migrate protractor test to new toolchain ( #62649 )
...
Migrate to new toolchain for protractor test in packages/examples/upgrade
PR Close #62649
2025-07-16 16:39:49 -04:00
Joey Perrott
15bb25805f
build: use esbuild from aspect rules ( #62568 )
...
Use the esbuild ruleset from aspect rules instead of via @bazel/esbuild
PR Close #62568
2025-07-10 13:45:15 -07:00
Joey Perrott
49813c5d85
build: migrate esbuild usages to aspect_rules_esbuild esbuild rule ( #62529 )
...
Migrate more usages of esbuild to new toolchain
PR Close #62529
2025-07-09 12:41:27 -07:00
Joey Perrott
3b0b0d19f1
build: migrate usages of protractor_web_test_suite to use new rules_browser based rule ( #62525 )
...
Use the protractor_web_test_suite from rules_browser instead of @bazel/protractor
PR Close #62525
2025-07-08 15:59:12 -07:00
Jessica Janiuk
f9abb552ca
Revert "fix(service-worker): update service worker to handle seeking better for videos ( #60029 )" ( #62422 )
...
This reverts commit c663277df6 .
PR Close #62422
2025-07-02 07:50:14 +00:00