Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 48649c8

Browse files
committed
fix(builders): fix package.json
- include package.json in the npm package - use templated version numbers for dependencies - add @nguniversal/builders to the ng update package group
1 parent 69c23f9 commit 48649c8

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

modules/builders/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ filegroup(
55
srcs = glob([
66
"**/schema.json",
77
] + [
8+
"package.json",
89
"README.md",
910
"builders.json",
1011
]),

modules/builders/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
"typings": "src/index.d.ts",
1515
"builders": "builders.json",
1616
"dependencies": {
17-
"@angular-devkit/architect": "^0.900.0-next.5",
18-
"@angular-devkit/core": "^9.0.0-next.5",
19-
"rxjs": "^6.5.3"
17+
"@angular-devkit/architect": "DEVKIT_ARCHITECT_VERSION",
18+
"@angular-devkit/core": "DEVKIT_CORE_VERSION",
19+
"rxjs": "RXJS_VERSION"
20+
},
21+
"ng-update": {
22+
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
2023
}
2124
}

tools/defaults.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ RXJS_VERSION = "^6.4.0"
3737
HAPI_VERSION = "^17.0.0"
3838
EXPRESS_VERSION = "^4.15.2"
3939
EXPRESS_TYPES_VERSION = "^4.17.0"
40+
DEVKIT_CORE_VERSION = "^9.0.0-next.5"
41+
DEVKIT_ARCHITECT_VERSION = "^0.900.0-next.5"
4042

4143
NGUNIVERSAL_SCOPED_PACKAGES = ["@nguniversal/%s" % p for p in [
4244
"aspnetcore-engine",
45+
"builders",
4346
"common",
4447
"express-engine",
4548
"hapi-engine",
46-
"module-map-ngfactory-loader",
4749
]]
4850

4951
PKG_GROUP_REPLACEMENTS = {
@@ -55,6 +57,8 @@ PKG_GROUP_REPLACEMENTS = {
5557
"HAPI_VERSION": HAPI_VERSION,
5658
"NG_VERSION": NG_VERSION,
5759
"RXJS_VERSION": RXJS_VERSION,
60+
"DEVKIT_CORE_VERSION": DEVKIT_CORE_VERSION,
61+
"DEVKIT_ARCHITECT_VERSION": DEVKIT_ARCHITECT_VERSION,
5862
}
5963

6064
GLOBALS = {

0 commit comments

Comments
 (0)