Skip to content

Commit aea1dde

Browse files
ZainnQureshiidgp1130
authored andcommitted
docs: fix stale Bazel test targets and toolchain versions
(cherry picked from commit d968259)
1 parent fe5dd6c commit aea1dde

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎docs/DEVELOPER.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ To get started locally, follow these instructions:
77
1. If you haven't done it already, [make a fork of this repo](https://github.com/angular/angular-cli/fork).
88
2. If you are on Windows, see [the extra steps needed for contributing on Windows](#windows)
99
3. Clone to your local computer using `git`.
10-
4. Make sure that you have Node `v20.19.0` or higher installed. See instructions [here](https://nodejs.org/en/download/).
10+
4. Make sure that you have Node `v22.22.3` or higher installed (see `engines` in `package.json`). See instructions [here](https://nodejs.org/en/download/).
1111
5. Install `pnpm`.
12-
- You can install pnpm by running `npm i -g pnpm@9`.
12+
- You can install pnpm by running `npm i -g pnpm@12`.
1313
- See detailed instructions [here](https://pnpm.io/installation).
1414
6. Run `pnpm install` from the root of your clone of this project to install dependencies.
1515

@@ -78,7 +78,7 @@ There are two different test suites which can be run locally:
7878
### Unit tests
7979

8080
- Run all tests: `pnpm bazel test //packages/...`
81-
- Run a subset of the tests, use the full Bazel target example: `pnpm bazel test //packages/schematics/angular:angular_test`
81+
- Run a subset of the tests, use the full Bazel target example: `pnpm bazel test //packages/schematics/angular:test`
8282
- For a complete list of test targets use the following Bazel query: `pnpm bazel query "tests(//packages/...)"`
8383

8484
When debugging a specific test, change `describe()` or `it()` to `fdescribe()`
@@ -166,7 +166,7 @@ You can use the Chrome Devtools to process it. To do so:
166166

167167
Adding a package to this repository means running two separate commands:
168168

169-
1. `schematics devkit:package PACKAGE_NAME`. This will update the `.monorepo` file, and create the
169+
1. `schematics devkit:package PACKAGE_NAME`. This will update the `.monorepo.json` file, and create the
170170
base files for the new package (package.json, src/index, etc).
171171
1. `pnpm admin templates`. This will update the README and all other template files that might
172172
have changed when adding a new package.

‎docs/process/bazel.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ the reruns of tests that have been marked as `flaky`.
6565
The `.bazelrc` includes a config for running tests with remote debugging enabled:
6666

6767
```sh
68-
pnpm bazel test --config=debug //packages/angular/cli:angular-cli_test
68+
pnpm bazel test --config=debug //packages/angular/cli:test
6969
# Also disable reruns of failing tests that were marked as flaky:
70-
pnpm bazel test --config=debug --config=no-sharding //packages/angular/cli:angular-cli_test
70+
pnpm bazel test --config=debug --config=no-sharding //packages/angular/cli:test
7171
```

0 commit comments

Comments
 (0)