-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ng-dev): update legacy
set-dist-tag
release command to re-…
…use new command The legacy `set-dist-tag` command is kept for backwards compat and should just re-use the new `npm-dist-tag set` command.
- Loading branch information
1 parent
9cf7591
commit 5901019
Showing
4 changed files
with
13 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,10 @@ | ||
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library") | ||
load("//tools:defaults.bzl", "ts_library") | ||
|
||
ts_library( | ||
name = "set-dist-tag", | ||
srcs = glob( | ||
[ | ||
"**/*.ts", | ||
], | ||
exclude = ["*.spec.ts"], | ||
), | ||
srcs = glob(["**/*.ts"]), | ||
visibility = ["//ng-dev:__subpackages__"], | ||
deps = [ | ||
"//ng-dev/release/config", | ||
"//ng-dev/release/versioning", | ||
"//ng-dev/utils", | ||
"@npm//@types/node", | ||
"@npm//@types/semver", | ||
"@npm//@types/yargs", | ||
"@npm//semver", | ||
"//ng-dev/release/npm-dist-tag/set", | ||
], | ||
) | ||
|
||
ts_library( | ||
name = "test_lib", | ||
srcs = glob([ | ||
"*.spec.ts", | ||
]), | ||
deps = [ | ||
":set-dist-tag", | ||
"//ng-dev/release/config", | ||
"//ng-dev/release/versioning", | ||
"//ng-dev/utils", | ||
"//ng-dev/utils/testing", | ||
"@npm//@types/jasmine", | ||
"@npm//@types/node", | ||
], | ||
) | ||
|
||
jasmine_node_test( | ||
name = "test", | ||
specs = [":test_lib"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This alias exists for backwards compatibility. Once the new `npm-dist-tag <set/|delete>` | ||
commands are available in most versions, this can be deleted and the publish tool external | ||
commands can be switched over. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.