Matthieu Riegler
df8554c19b
docs(docs-infra): remove temporary shiki dts ( #63253 )
...
The tooling now supports reading `d.mts` typing files
PR Close #63253
2025-08-20 09:26:18 +00:00
Alan Agius
6f37ba246d
fix(docs-infra): allow wrapping of types-and-default CLI options ( #63211 )
...
This change fixes an issue where long lists of enum values would display on a single line, running off the screen, especially on mobile devices.
PR Close #63211
2025-08-18 12:52:04 +02:00
Alan Agius
591fc8eb29
fix(docs-infra): display value type in CLI pages ( #63211 )
...
The value type was not being displayed when a value had an enum, which was misleading. This change ensures the value type is always shown, so users know whether to expect a single value or an array of values.
PR Close #63211
2025-08-18 12:52:04 +02:00
Matthieu Riegler
7ee49651b4
docs: fix edit links for block/element api entries ( #62766 )
...
PR Close #62766
2025-08-14 13:03:01 +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
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
775f918192
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:28 +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
2b0f3fc7cb
build: remove all usages of @bazel/runfiles ( #62805 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62805
2025-07-25 10:05:54 +02:00
Joey Perrott
b388f1e518
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62733 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62733
2025-07-21 13:10:18 -04:00
Joey Perrott
2bcdc66159
build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading ( #62629 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults
PR Close #62629
2025-07-16 16:34:05 -04:00
Joey Perrott
74beeeca3f
docs: correctly look for examples in the bin_dir instead of execPath ( #62632 )
...
Properly look for the example files for live previews in the bin_dir
PR Close #62632
2025-07-14 14:49:16 -07:00
Matthieu Riegler
22b56ca66f
test(docs-infra): Use the zoneless testing rule ( #62596 )
...
This will spare use the warning logs when the tests run.
```
NG0914: The application is using zoneless change detection, but is still loading Zone.js. Consider removing Zone.js to get the full benefits of zoneless. In applications using the Angular CLI, Zone.js is typically included in the "polyfills" section of the angular.json file.
```
PR Close #62596
2025-07-14 11:36:44 -07:00
Matthieu Riegler
b935eff007
docs: fix CLI reference layout ( #62609 )
...
fixes #62602
PR Close #62609
2025-07-14 09:59:55 -07:00
Joey Perrott
c4863d2f98
build: migrate all dependencies for adev into adev/package.json ( #62498 )
...
Migrate the dependencies into the adev/package.json instead of importing from the the root package.json
PR Close #62498
2025-07-07 15:26:37 +00:00
Joey Perrott
ffce768115
build: migrate remaing esbuild and nodejs_binary usages to new toolchain ( #62498 )
...
Migrate the remaing usages of esbuild and nodejs_binary in adev to the new toolchain versions.
PR Close #62498
2025-07-07 15:26:37 +00:00
Matthieu Riegler
2943591c27
docs: improve support for decorator APIs ( #60411 )
...
The commit introduce the distinction between
- class like decorators (like Component, Interface, NgModule. They are formatted like classes/interfaces, with each attribute being documents.
- function like decorators (Attribute, Host, Optional...)
PR Close #60411
2025-07-03 11:51:34 +00:00
Matthieu Riegler
f5a10209e0
docs: display deprecation message for top most symbol ( #62427 )
...
For classes, types, functions, enums etc.
fixes #62365
PR Close #62427
2025-07-03 08:35:03 +00:00
Joey Perrott
0d5363a6d7
build: migrate adev to use packaged version of @angular/* packages ( #62413 )
...
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles
PR Close #62413
2025-07-02 16:10:25 +00:00
Saujan Ghimire
d4b96f8c20
docs: embeded best practices in page ( #62173 ) ( #62198 )
...
PR Close #62198
2025-06-24 08:52:24 +00:00
Joey Perrott
36d5048429
build: migrate final non-zone.js jasmine tests ( #62169 )
...
Migrate the final remaining non-zone.js package jasmine tests to the new toolchain
PR Close #62169
2025-06-24 08:46:39 +00:00
Matthieu Riegler
44782beea7
docs(docs-infra): fix & simplify scrolling for code blocks ( #62179 )
...
PR Close #62179
2025-06-23 14:19:34 +02:00
Matthieu Riegler
5f31bbac65
docs: add css to the supported language for highligting in docs-code ( #62178 )
...
css usage was introduced by #60984
PR Close #62178
2025-06-23 14:18:53 +02:00
Andrew Kushnir
4c14503efb
Revert "docs: embeded best practices in page ( #62173 )" ( #62193 )
...
This reverts commit 286f9f573e .
PR Close #62193
2025-06-22 09:14:11 -07:00
Matthieu Riegler
286f9f573e
docs: embeded best practices in page ( #62173 )
...
PR Close #62173
2025-06-20 15:29:24 -07: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
9c0b41796e
build: migrate adev to use new jasmine_test ( #62034 )
...
Use jasmine_test instead of jasmine_node_test in adev
PR Close #62034
2025-06-13 12:30:15 +02:00
Paul Gschwendtner
978b1aceeb
docs: fix broken reveal answer button ( #61925 )
...
The reveal answer button accidentally loads files into the embedded
editor that aren't properly relativized. This ends up switching the
currently open file to a different file, unexpectedly.
In addition, due to the incorrect paths, files like `favicon.ico` end up
being loaded in the embedded editor; resulting in a bad experience as
the images are shown as plain text.
PR Close #61925
2025-06-06 11:26:44 +02:00
Paul Gschwendtner
fa123803b4
build: update api-gen to work with compiler as ts_project ( #61566 )
...
Compiler now would have `.js` files. Those aren't picked up as ESM,
unless we install the `package.json` with `type: module`. Sounds great
on paper, but doesn't work in reality because the way the compiler
packages are available to `api-gen/` is via the old `rules_nodejs`
linker, so the `packages/package.json` wouldn't work; nor do the
`package.json`s of the e.g. compiler-cli package work- because those
already contain the `exports` of the built npm package.
We fix this in a much more reasonable way, and the whole module
resolution problem by leveraging the pnpm linking here. This works as
expected.
PR Close #61566
2025-05-29 14:39:10 -04:00
Andrew Scott
8cf7e2302f
docs: update tutorials and playground to v20 ( #61726 )
...
update boilerplates to use v20 final
PR Close #61726
2025-05-28 09:41:42 -07:00
Matthieu Riegler
c77e198f5d
docs(docs-infra): limit file interactions on tutorials. ( #61696 )
...
The restricted mode on the code editor prevents renaming, deleting or adding files.
PR Close #61696
2025-05-27 11:33:10 -07:00
Alan Agius
9832e72fc3
build: disable esbuild metadata file generation ( #61636 )
...
Disables creation of the esbuild meta.json file, which is not utilized in the build process. This streamlines the output and avoids generating unused artifacts.
PR Close #61636
2025-05-26 08:57:41 +00:00
Matthieu Riegler
f1f37896c5
docs(docs-infra): display CLI enum values for enums ( #61521 )
...
fixes #61516
PR Close #61521
2025-05-20 16:54:12 +00:00
Joey Perrott
ef0f1a4ca8
build: move ts_project and ng_project for adev into a macro ( #61319 )
...
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target
PR Close #61319
2025-05-20 08:48:29 +00:00
Alan Agius
cf8c853523
build: remove @types/diff ( #61447 )
...
The latest diff package includes the TS types.
PR Close #61447
2025-05-19 09:17:47 +00:00
Matthieu Riegler
ca700e1def
docs(docs-infra): Improve formatting of functions ( #61154 )
...
The commit introduce prettier to format some API entries.
For now we'll do only functions are other are a bit more complex because of the support of deprecation.
fixes #59211
PR Close #61154
2025-05-16 13:58:35 +00:00
Andrew Scott
29f873b5f2
refactor(docs-infra): Remove 'component' suffix from App[Component] in tutorials ( #61254 )
...
This commit refactors the tutorials to drop the Component suffix from
AppComponent, both from the TS file and the CSS.
PR Close #61254
2025-05-14 08:46:28 -07:00
Joey Perrott
5f1c08d75f
build: migrate adev shared-docs package to use ts_project ( #61193 )
...
Migrate the build rules for shared docs to use ts_project
PR Close #61193
2025-05-09 16:30:05 +00:00
Paul Gschwendtner
10bc80a788
build: migrate compiler-cli/src/ngtsc to ts_project ( #61181 )
...
Migrates all of `compiler-cli/src/ngtsc` to `ts_project`. This change
was generated using Gemini.
PR Close #61181
2025-05-09 15:59:46 +00: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
Miles Malerba
47e44c8af0
docs: update rendering to use generated repo link ( #61130 )
...
PR Close #61130
2025-05-06 14:07:32 -07:00
Miles Malerba
72284bcda5
docs: update API generation to include repo name ( #61130 )
...
PR Close #61130
2025-05-06 14:07:31 -07:00
Miles Malerba
e0248aae6a
docs: hide entries that are marked @docs-private ( #61104 )
...
PR Close #61104
2025-05-05 08:43:30 -07:00
Matthieu Riegler
f580318411
docs(docs-infra): Add version of introduction for APIs ( #60814 )
...
For new APIs we'll mention since when a particular API is in its current status (experimental, devPreview, stable)
fixes #49668
PR Close #60814
2025-05-02 07:51:33 -07:00
Andrew Scott
344ea29f7a
refactor(docs-infra): remove 'experimental' from cli entry ( #61067 )
...
this removes the experimental prefix from zoneless entry in fake cli
PR Close #61067
2025-04-30 14:16:55 -07:00
hawkgs
d8204bf584
docs(docs-infra): fix function api ref header width ( #61022 )
...
Fix the width of the function API reference header when the viewport width is for-desktop-down.
PR Close #61022
2025-04-28 10:01:40 -07:00
hawkgs
3e293535e3
docs(docs-infra): use a custom scrollbar for the examples using HighlightTypeScript ( #60981 )
...
The examples used to render the native scrollbar.
PR Close #60981
2025-04-23 17:24:29 +02:00
Matthieu Riegler
c990265473
docs(docs-infra): Improve doc support for pipes. ( #60926 )
...
This commits adds the pipe usage and the impure pipe mention.
PR Close #60926
2025-04-23 08:46:11 +02:00