Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8cddb79

Browse files
committed
Update docs for release, including check_rules_nodejs_version check
1 parent 040a093 commit 8cddb79

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Optionally add the `@bazel/karma` npm package if you would like to use the
2525
{
2626
...
2727
"devDependencies": {
28-
"@bazel/typescript": "0.20.0",
29-
"@bazel/karma": "0.20.0",
28+
"@bazel/typescript": "0.20.1",
29+
"@bazel/karma": "0.20.1",
3030
...
3131
},
3232
...
@@ -46,8 +46,8 @@ containing:
4646
```python
4747
http_archive(
4848
name = "build_bazel_rules_typescript",
49-
url = "https://github.com/bazelbuild/rules_typescript/archive/0.20.0.zip",
50-
strip_prefix = "rules_typescript-0.20.0",
49+
url = "https://github.com/bazelbuild/rules_typescript/archive/0.20.1.zip",
50+
strip_prefix = "rules_typescript-0.20.1",
5151
)
5252

5353
# Fetch our Bazel dependencies that aren't distributed on npm
@@ -336,6 +336,7 @@ rule is that minors are breaking changes and patches are new features).
336336

337337
1. Re-generate the API docs: `yarn skydoc`
338338
1. May be necessary if Go code has changed though probably it was already necessary to run this to keep CI green: `bazel run :gazelle`
339+
1. If we depend on a newer rules_nodejs, update the `check_rules_nodejs_version` in `ts_repositories.bzl`
339340
1. `git commit -a -m 'Update docs for release'`
340341
1. `npm config set tag-version-prefix ''`
341342
1. `npm version minor -m 'rel: %s'` (replace `minor` with `patch` if no breaking changes)

internal/ts_repositories.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def ts_setup_workspace():
4444
# 0.11.3: node module resolution fixes & check_rules_nodejs_version
4545
# 0.14.0: fine grained npm dependencies support for ts_library
4646
# 0.14.1: fine grained npm dependencies fix for npm_install
47-
check_rules_nodejs_version("0.14.1")
47+
# 0.15.0: fine grained npm dependencies breaking change
48+
check_rules_nodejs_version("0.15.0")
4849

4950
# Included here for backward compatability for downstream repositories
5051
# that use @build_bazel_rules_typescript_tsc_wrapped_deps such as rxjs.

0 commit comments

Comments
 (0)