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

Commit cb5d076

Browse files
dgp1130alan-agius4
authored andcommitted
build: update angular dependencies and handle breaking change to service worker
Also removes a now unnecessary root parameter from `augmentAppWithServiceWorker()`. This root was removed in angular/angular-cli@9a3b637 and is no longer needed. (cherry picked from commit ce62249)
1 parent e164675 commit cb5d076

File tree

5 files changed

+299
-308
lines changed

5 files changed

+299
-308
lines changed

modules/builders/src/prerender/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ async function _renderUniversal(
158158
spinner.start('Generating service worker...');
159159
try {
160160
await augmentAppWithServiceWorker(
161-
root,
162161
projectRoot,
163162
normalize(outputPath),
164163
browserOptions.baseHref || '/',

modules/builders/src/static-generator/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ async function generateServiceWorker(
150150
const projectRoot = resolve(root, normalize((projectMetadata.root as string) ?? ''));
151151

152152
await augmentAppWithServiceWorker(
153-
root,
154153
projectRoot,
155154
normalize(outputPath),
156155
browserOptions.baseHref || '/',

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@
3636
"@types/node": "12.12.37"
3737
},
3838
"devDependencies": {
39-
"@angular-devkit/architect": "0.1300.0-next.9",
40-
"@angular-devkit/build-angular": "13.0.0-next.9",
41-
"@angular-devkit/core": "13.0.0-next.9",
42-
"@angular-devkit/schematics": "13.0.0-next.9",
43-
"@angular/animations": "13.0.0-next.15",
44-
"@angular/bazel": "13.0.0-next.15",
45-
"@angular/cli": "13.0.0-next.9",
46-
"@angular/common": "13.0.0-next.15",
47-
"@angular/compiler": "13.0.0-next.15",
48-
"@angular/compiler-cli": "13.0.0-next.15",
49-
"@angular/core": "13.0.0-next.15",
39+
"@angular-devkit/architect": "0.1300.0-rc.0",
40+
"@angular-devkit/build-angular": "13.0.0-rc.0",
41+
"@angular-devkit/core": "13.0.0-rc.0",
42+
"@angular-devkit/schematics": "13.0.0-rc.0",
43+
"@angular/animations": "13.0.0-rc.0",
44+
"@angular/bazel": "13.0.0-rc.0",
45+
"@angular/cli": "13.0.0-rc.0",
46+
"@angular/common": "13.0.0-rc.0",
47+
"@angular/compiler": "13.0.0-rc.0",
48+
"@angular/compiler-cli": "13.0.0-rc.0",
49+
"@angular/core": "13.0.0-rc.0",
5050
"@angular/dev-infra-private": "https://github.com/angular/dev-infra-private-builds.git#a9c20b73ffe183e4be891660b0a6b4f551296d41",
51-
"@angular/platform-browser": "13.0.0-next.15",
52-
"@angular/platform-browser-dynamic": "13.0.0-next.15",
53-
"@angular/platform-server": "13.0.0-next.15",
54-
"@angular/router": "13.0.0-next.15",
55-
"@angular/service-worker": "13.0.0-next.15",
51+
"@angular/platform-browser": "13.0.0-rc.0",
52+
"@angular/platform-browser-dynamic": "13.0.0-rc.0",
53+
"@angular/platform-server": "13.0.0-rc.0",
54+
"@angular/router": "13.0.0-rc.0",
55+
"@angular/service-worker": "13.0.0-rc.0",
5656
"@bazel/bazelisk": "1.10.1",
5757
"@bazel/buildifier": "4.2.2",
5858
"@bazel/esbuild": "4.4.0",
@@ -62,7 +62,7 @@
6262
"@hapi/hapi": "^18.4.0",
6363
"@rollup/plugin-commonjs": "^21.0.0",
6464
"@rollup/plugin-node-resolve": "^13.0.5",
65-
"@schematics/angular": "13.0.0-next.9",
65+
"@schematics/angular": "13.0.0-rc.0",
6666
"@types/browser-sync": "^2.26.1",
6767
"@types/express": "~4.17.6",
6868
"@types/fs-extra": "^9.0.0",

tools/defaults.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ def ts_library(
4646
**kwargs
4747
)
4848

49-
NG_VERSION = "^13.0.0-next.6"
49+
NG_VERSION = "^13.0.0-rc.0"
5050
RXJS_VERSION = "^6.5.5"
5151
HAPI_VERSION = "^18.4.0"
5252
EXPRESS_VERSION = "^4.15.2"
5353
EXPRESS_TYPES_VERSION = "^4.17.0"
54-
DEVKIT_CORE_VERSION = "^13.0.0-next.6"
55-
DEVKIT_ARCHITECT_VERSION = "^0.1300.0-next.6"
56-
DEVKIT_BUILD_ANGULAR_VERSION = "^13.0.0-next.6"
54+
DEVKIT_CORE_VERSION = "^13.0.0-rc.0"
55+
DEVKIT_ARCHITECT_VERSION = "^0.1300.0-rc.0"
56+
DEVKIT_BUILD_ANGULAR_VERSION = "^13.0.0-rc.0"
5757
TSLIB_VERSION = "^2.3.0"
5858

5959
NGUNIVERSAL_SCOPED_PACKAGES = ["@nguniversal/%s" % p for p in [

0 commit comments

Comments
 (0)