26105 Commits

Author SHA1 Message Date
Paul Gschwendtner 20a1b43e52 ci: include branch name in update CLI help PRs (#48716)
This should make it easier to distinguish between PRs
as currently they same equivalent but actually target
different branches.

PR Close #48716
2023-01-12 11:44:51 -08:00
Bob Watson 30ee969a76 docs: add first-app-lesson-13 example (#48512)
PR Close #48512
2023-01-12 11:44:09 -08:00
Bob Watson 686a4077c3 docs: add first-app-lesson-12 example (#48512)
PR Close #48512
2023-01-12 11:44:09 -08:00
Bob Watson 952d3b74f5 docs: add first-app-lesson-11 example (#48512)
PR Close #48512
2023-01-12 11:44:09 -08:00
Bob Watson d3223010b0 docs: add first-app-lesson-10 example (#48512)
PR Close #48512
2023-01-12 11:44:09 -08:00
Bob Watson 8daf9c8406 docs: add first-app-lesson-09 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson 866ccd62a6 docs: add first-app-lesson-08 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson 079b1d3e17 docs: add first-app-lesson-07 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson ef61bc4355 docs: add first-app-lesson-06 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson 905993fe31 docs: add first-app-lesson-05 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson 42fdaab971 docs: add first-app-lesson-04 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson e51df686a5 docs: add first-app-lesson-03 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson c771469684 docs: add first-app-lesson-02 example (#48512)
PR Close #48512
2023-01-12 11:44:08 -08:00
Bob Watson 696bffd159 docs: add first-app-lesson-01 example (#48512)
PR Close #48512
2023-01-12 11:44:07 -08:00
Matthieu Riegler cc392e532b refactor(forms): replace type any for the providers (#48647)
The providers for the directives in forms can be typed as Provider. Also the export is not required.

PR Close #48647
2023-01-11 15:01:57 -08:00
Angular Robot ea5bbd3fce docs: update Angular CLI help (#48703)
Updated Angular CLI help contents.

Closes #48700

PR Close #48703
2023-01-11 14:59:48 -08:00
Andrew Scott 262b985401 docs: Add heading to the router writable properties deprecation (#48684)
The deprecation note is missing a header. This commit adds one.

PR Close #48684
2023-01-11 14:59:04 -08:00
mgechev 497329522e docs: add angular devsat q1 2023 (#48683)
PR Close #48683
2023-01-11 14:58:36 -08:00
Jens fcbd12f2b3 docs: Add support for previous Chrome release (#48669)
Previous Chrome stable version should also be supported
PR Close #48669
2023-01-11 14:57:45 -08:00
Matthieu Riegler 8157ae45d4 docs: remove unused style guides. (#48587)
PR Close #48587
2023-01-11 14:57:09 -08:00
Bob Watson d8d29a541a docs: minor copy edit to suggestion (#48484)
PR Close #48484
2023-01-11 14:56:32 -08:00
Bob Watson 7d65c8cb35 docs: minor copy edit to suggestion (#48484)
PR Close #48484
2023-01-11 14:56:32 -08:00
Bob Watson 11c6659ae0 docs: minor copy edit to suggestion (#48484)
PR Close #48484
2023-01-11 14:56:31 -08:00
Bob Watson c05aa940d5 docs: minor copy edit to suggestion (#48484)
PR Close #48484
2023-01-11 14:56:31 -08:00
Aristeidis Bampakos 0c779d098e docs: review router guards section in router guide (#48484)
PR Close #48484
2023-01-11 14:56:31 -08:00
dario-piotrowicz c1f88824b7 refactor(compiler): refactor the shadow css specs (#48443)
apply different quality of life improvements to the shadow
css unit tests:

- refactor the tests so that they are nicely divided in multiple files
   in a logical manner instead of having most of them all in a single big file

- remove the css normalization logic inconsistently used throughout  the tests, which
  causes tests to be inconsistent and it also introduced unintuitive checks

- provide a shared shim utility function (instead of re-defining it
  multiple times)

- add a `toEqualCss` matcher that can be used in the tests in order to
  match css strings without caring about spacing and indentation

PR Close #48443
2023-01-11 14:55:52 -08:00
Angular Robot 6d83493096 build: update dependency puppeteer-core to v19 (#48183)
See associated pull request for more information.

PR Close #48183
2023-01-11 14:55:18 -08:00
ノウラ a853f32496 docs: highlight scripts in markdown (#47778)
This PR highlights all lines of code/cmds/error messages by specifying the use language

PR Close #47778
2023-01-11 14:54:45 -08:00
Vladyslav Slipchenko 84f1648053 docs(docs-infra): fix wording inconsistency of the i18n common prepare section references (#47582)
PR Close #47582
2023-01-11 14:54:08 -08:00
Alan Agius c3ce2954a1 ci: set fetch-depth: 0 in update-events and update-cli-help actions (#48698)
This commits changes the fetch depth from 1 to 0 in the update-events` and `update-cli-help` actions. This is required as otherwise the PR creation would fail when the forked (https://github.com/angular-robot/angular) is not in sync with (https://github.com/angular/angular) ie the later has commits which are not in the former.

PR Close #48698
2023-01-11 07:44:00 -08:00
Alan Agius 5ae7ca827f ci: correctly interpolate ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN (#48690)
Previously, a single curly bracket was used to interpolate the `ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN` value which caused the value not to be provided correctly.

PR Close #48690
2023-01-11 06:56:18 -08:00
Alan Agius 1aef7a8848 ci: expose ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN secret as env (#48687)
Encrypted secrets need to be provided explicitly in workflow steps to be used.

See: https://docs.github.com/en/actions/security-guides/encrypted-secrets for more info.

PR Close #48687
2023-01-10 14:30:31 -08:00
Paul Gschwendtner df77bbc70b ci: use readonly github token for querying CLI snapshot repo (#48681)
Currently the Github action-triggered code uses the `GITHUB_TOKEN`
for querying the CLI snapshot builds repository. This does not work
because the Github actions token is scoped to the orginating
repository, even for queries to a read public repository.

We fix this by using a personal access token. The token is
readonly and only exists to avoid potential rate limiting.

PR Close #48681
2023-01-10 11:13:35 -08:00
Alan Agius 65baae803b ci: add Angular CLI help pages action (#48577) (#48682)
This commits adds an action to update the Angular CLI help contents that are used by AIO to generate CLI guides.

This also changes the setup to include the files are source files instead of having to clone the repository each time. This also simplifies the PR review process of the PR opened by the action.

PR Close #48577

(cherry picked from commit 2dc31576ab)

PR Close #48682
2023-01-10 11:11:48 -08:00
Alex Rickabaugh 99723fc64e release: cut the v15.1.0 release 15.1.0 2023-01-10 10:49:33 -08:00
Paul Gschwendtner 6a8ea29a04 fix(language-service): expose package.json for vscode extension resolution (#48678)
The VSCode extension looks for `@angular/language-service/package.json`
using `require`. This currently breaks as of the ESM changes because
we introduced the `exports` field but did not expose the `package.json`.

This commit fixes it.

Co-authored-By: Andrew Scott <atscott@google.com>
Co-authored-By: Dylan Hunn <dylhunn@gmail.com>

PR Close #48678
2023-01-10 09:13:55 -08:00
Kristiyan Kostadinov caf7228f8a fix(compiler): resolve deprecation warning (#48652)
Fixes a deprecation warning that was being logged by compiler when generating aliases, because we weren't going through `ts.factory` to create an AST node.

PR Close #48652
2023-01-10 08:13:31 -08:00
Paul Gschwendtner 896c04fac4 test(docs-infra): increase jasmine default timeout for e2e specs (#48671)
Similar to the Saucelabs job, the jasmine default timeout can be
increased to avoid the common jasmine timeouts. We cannot control
how fast Selenium e.g. loads a page or not.

PR Close #48671
2023-01-10 08:10:24 -08:00
Alan Agius 772ddc1baa fix(docs-infra): correctly read example type (#48665)
Prior to this change the universal example was broken as the example type was not retrieved correctly in bazel which caused the `_renameFile` method to be called with incorrect context.

Closes #48664

PR Close #48665
2023-01-10 08:09:55 -08:00
Alan Agius 9e013d3dd7 docs: update universal example (#48665)
This change updates the universal example to align with latest CLI changes.

PR Close #48665
2023-01-10 08:09:55 -08:00
Angular Robot 9770964acf build: update dependency jsdom to v21 (#48660)
See associated pull request for more information.

PR Close #48660
2023-01-10 08:09:05 -08:00
Virginia Dooley 8d251fc0cf docs: Custom data Pipes doc, fixed live-example link. (#48656)
PR Close #48656
2023-01-10 08:08:08 -08:00
Andrew Kushnir f112f8d211 refactor(platform-browser): prepare the code to use MockPlatformLocation by default (#48651)
This commit prepares the code of the `BrowserTestingModule` to include the `MockPlatformLocation` by deafult in the future. With this change, the set of providers to add the `MockPlatformLocation` would be disabled by a flag, which will be switched in v16.

PR Close #48651
2023-01-10 08:06:37 -08:00
piyush132000 1c1c4555a2 docs: updated docs removed unnecessary imports and empty methods (#48628)
Removed empty methods and unnecessary imports in files

PR Close #48628
2023-01-10 08:06:05 -08:00
Tim Gates 057e495db5 docs: fix simple typo, esnure -> ensure (#48588)
There is a small typo in integration/check-dependencies.js.

Should read `ensure` rather than `esnure`.

Signed-off-by: Tim Gates <tim.gates@iress.com>

PR Close #48588
2023-01-10 08:05:34 -08:00
Matthieu Riegler b86c6a8909 docs(compiler-cli): fix commands to run compliance unit test (#48559)
PR Close #48559
2023-01-10 07:59:53 -08:00
Andrew Scott 783d21431f refactor(router): move internal router properties to transition handler where appropriate (#48475)
Working towards removing the backwards dependency on router from the
navigation transition handler, this change moves `rootComponentType` and
`afterPreactivation` to the transition handler since that is the only
location those properties are used.

PR Close #48475
2023-01-10 07:59:16 -08:00
Doug Parker 2ffa34eebc refactor(bazel): disables the Tsickle decorator transform (#47934)
This is no longer needed in google3 and actively impedes prodmode tests. See http://b/254054103#comment7 for deeper analysis.

This just turns off the transform for now, if it lands successfully I'll follow up with deleting the flag and dead code altogether.

PR Close #47934
2023-01-10 07:58:40 -08:00
Paul Gschwendtner e615b598ba fix(language-service): ship /api entry-point (#48670)
The `/api` entry-point was accidentally dropped when we switched the
compilation in the repo to full ESM- thinking the entry-point is not
needed externally.

We re-add it because the VSCode repo extension relies on it for checking
whether `ts.LanguageService` is an Angular one.

PR Close #48670
2023-01-09 10:13:35 -08:00
Greg Magolan 6ce7d76a0e fix(language-service): update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663)
2nd half of https://github.com/angular/vscode-ng-language-service/pull/1846. `npm_traslate_lock` in vscode-ng-language-service now has a data attribute so sed should only add another item to the list instead of adding a duplicate data attribute.

PR Close #48663
2023-01-09 10:13:07 -08:00