Skip to content

Commit a1c87dd

Browse files
Alan Agiusalexeagle
Alan Agius
authored andcommitted
docs: update contributing to use bazel from npm
1 parent e1269cb commit a1c87dd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -284,18 +284,18 @@ To test if your change effect the public API you need to run the API guardian on
284284
For example in case `@angular-devkit/core` package was modified you need to run:
285285
286286
```bash
287-
bazel test //etc/api:angular_devkit_core_api
287+
yarn bazel test //etc/api:angular_devkit_core_api
288288
```
289289
290290
You can also test all packages by running:
291291
```bash
292-
bazel test //etc/api ...
292+
yarn bazel test //etc/api ...
293293
```
294294
295295
If you modified the public API, the test will fail. To update the golden files you need to run:
296296
297297
```bash
298-
bazel run //etc/api:angular_devkit_core_api.accept
298+
yarn bazel run //etc/api:angular_devkit_core_api.accept
299299
```
300300
301301
**Note**: In some cases we use aliased symbols to create namespaces.

scripts/templates/contributing.ejs

+3-3
Original file line numberDiff line numberDiff line change
@@ -273,18 +273,18 @@ To test if your change effect the public API you need to run the API guardian on
273273
For example in case `@angular-devkit/core` package was modified you need to run:
274274

275275
```bash
276-
bazel test //etc/api:angular_devkit_core_api
276+
yarn bazel test //etc/api:angular_devkit_core_api
277277
```
278278

279279
You can also test all packages by running:
280280
```bash
281-
bazel test //etc/api ...
281+
yarn bazel test //etc/api ...
282282
```
283283

284284
If you modified the public API, the test will fail. To update the golden files you need to run:
285285

286286
```bash
287-
bazel run //etc/api:angular_devkit_core_api.accept
287+
yarn bazel run //etc/api:angular_devkit_core_api.accept
288288
```
289289

290290
**Note**: In some cases we use aliased symbols to create namespaces.

0 commit comments

Comments
 (0)