build: use CLI rc.8 (#34788)

PR Close #34788
This commit is contained in:
Filipe Silva 2020-01-15 14:05:29 +00:00 committed by Matias Niemelä
parent f2df1c79d2
commit 27b9eb5e38
6 changed files with 1328 additions and 1218 deletions

View File

@ -105,8 +105,8 @@
"zone.js": "~0.10.2" "zone.js": "~0.10.2"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "0.900.0-rc.3", "@angular-devkit/build-angular": "0.900.0-rc.8",
"@angular/cli": "9.0.0-rc.3", "@angular/cli": "9.0.0-rc.8",
"@angular/compiler-cli": "^9.0.0-rc.3", "@angular/compiler-cli": "^9.0.0-rc.3",
"@angular/language-service": "^9.0.0-rc.3", "@angular/language-service": "^9.0.0-rc.3",
"@types/jasmine": "^3.4.2", "@types/jasmine": "^3.4.2",

File diff suppressed because it is too large Load Diff

View File

@ -84,6 +84,12 @@
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "cli-hello-world-ivy-i18n:build:production" "browserTarget": "cli-hello-world-ivy-i18n:build:production"
},
"fr": {
"browserTarget": "cli-hello-world-ivy-i18n:build:production,fr"
},
"de": {
"browserTarget": "cli-hello-world-ivy-i18n:build:production,de"
} }
} }
}, },
@ -140,11 +146,11 @@
"protractorConfig": "e2e/protractor.conf.js" "protractorConfig": "e2e/protractor.conf.js"
}, },
"fr": { "fr": {
"devServerTarget": "", "devServerTarget": "cli-hello-world-ivy-i18n:serve:fr",
"specs": ["./fr/app.e2e-spec.ts"] "specs": ["./fr/app.e2e-spec.ts"]
}, },
"de": { "de": {
"devServerTarget": "", "devServerTarget": "cli-hello-world-ivy-i18n:serve:de",
"specs": ["./de/app.e2e-spec.ts"] "specs": ["./de/app.e2e-spec.ts"]
} }
} }

View File

@ -11,7 +11,7 @@
"update-webdriver": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG", "update-webdriver": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG",
"start": "ng serve", "start": "ng serve",
"pretest": "ng version", "pretest": "ng version",
"test": "ng e2e --prod && ng xi18n && yarn translate && ng build --configuration production,fr && ng build --configuration production,de && run-p -r \"serve dist/fr\" \"ng e2e --configuration=fr\" && run-p -r \"serve dist/de\" \"ng e2e --configuration=de\"", "test": "ng e2e --prod && ng xi18n && yarn translate && ng e2e --configuration fr && ng e2e --configuration de",
"translate": "cp src/locale/messages.xlf src/locale/messages.fr.xlf && cp src/locale/messages.xlf src/locale/messages.de.xlf && sed -i.bak -e 's/source>/target>/g' -e 's/Hello/Bonjour/' src/locale/messages.fr.xlf && sed -i.bak -e 's/source>/target>/g' -e 's/Hello/Hallo/' src/locale/messages.de.xlf", "translate": "cp src/locale/messages.xlf src/locale/messages.fr.xlf && cp src/locale/messages.xlf src/locale/messages.de.xlf && sed -i.bak -e 's/source>/target>/g' -e 's/Hello/Bonjour/' src/locale/messages.fr.xlf && sed -i.bak -e 's/source>/target>/g' -e 's/Hello/Hallo/' src/locale/messages.de.xlf",
"serve": "serve --no-clipboard --listen 4200" "serve": "serve --no-clipboard --listen 4200"
}, },

View File

@ -35,10 +35,10 @@
}, },
"// 1": "dependencies are used locally and by bazel", "// 1": "dependencies are used locally and by bazel",
"dependencies": { "dependencies": {
"@angular-devkit/architect": "0.900.0-rc.4", "@angular-devkit/architect": "0.900.0-rc.8",
"@angular-devkit/build-optimizer": "0.900.0-rc.4", "@angular-devkit/build-optimizer": "0.900.0-rc.8",
"@angular-devkit/core": "9.0.0-rc.4", "@angular-devkit/core": "9.0.0-rc.8",
"@angular-devkit/schematics": "9.0.0-rc.4", "@angular-devkit/schematics": "9.0.0-rc.8",
"@angular/bazel": "file:./tools/npm/@angular_bazel", "@angular/bazel": "file:./tools/npm/@angular_bazel",
"@babel/core": "^7.6.4", "@babel/core": "^7.6.4",
"@bazel/jasmine": "1.1.0", "@bazel/jasmine": "1.1.0",
@ -48,7 +48,7 @@
"@bazel/terser": "1.1.0", "@bazel/terser": "1.1.0",
"@bazel/typescript": "1.1.0", "@bazel/typescript": "1.1.0",
"@microsoft/api-extractor": "^7.3.9", "@microsoft/api-extractor": "^7.3.9",
"@schematics/angular": "9.0.0-rc.4", "@schematics/angular": "9.0.0-rc.8",
"@types/angular": "^1.6.47", "@types/angular": "^1.6.47",
"@types/babel__core": "^7.1.3", "@types/babel__core": "^7.1.3",
"@types/base64-js": "1.2.5", "@types/base64-js": "1.2.5",
@ -130,8 +130,8 @@
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.", "// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
"// 3": "when updating @bazel/bazel version you also need to update the RBE settings in .bazelrc (see https://github.com/angular/angular/pull/27935)", "// 3": "when updating @bazel/bazel version you also need to update the RBE settings in .bazelrc (see https://github.com/angular/angular/pull/27935)",
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "0.900.0-rc.4", "@angular-devkit/build-angular": "0.900.0-rc.8",
"@angular/cli": "9.0.0-rc.4", "@angular/cli": "9.0.0-rc.8",
"@bazel/bazel": "1.1.0", "@bazel/bazel": "1.1.0",
"@bazel/buildifier": "^0.29.0", "@bazel/buildifier": "^0.29.0",
"@bazel/ibazel": "^0.11.1", "@bazel/ibazel": "^0.11.1",

1198
yarn.lock

File diff suppressed because it is too large Load Diff