docs: sync boilerplate configuration with Angular CLI RC2 (#25892)

Revers Jasmine version back to ~2.99.1

PR Close #25892
This commit is contained in:
Brandon Roberts 2018-10-08 14:34:44 -05:00 committed by Jason Aden
parent 3060b3e29b
commit 72ff9c880c
8 changed files with 25 additions and 17 deletions

View File

@ -43,7 +43,14 @@
"aot": true, "aot": true,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true "buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
} }
} }
}, },

View File

@ -36,7 +36,7 @@
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "~8.9.4",
"codelyzer": "~4.3.0", "codelyzer": "~4.3.0",
"jasmine-core": "^3.2.0", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.4.0", "jasmine-marbles": "^0.4.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0", "karma": "~3.0.0",

View File

@ -34,18 +34,19 @@
// import 'core-js/es6/weak-map'; // import 'core-js/es6/weak-map';
// import 'core-js/es6/set'; // import 'core-js/es6/set';
/**
* If the application will be indexed by Google Search, the following is required.
* Googlebot uses a renderer based on Chrome 41.
* https://developers.google.com/search/docs/guides/rendering
**/
// import 'core-js/es6/array';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */ /** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`. // import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */ /** IE10 and IE11 requires the following for the Reflect API. */
// import 'core-js/es6/reflect'; // import 'core-js/es6/reflect';
/** Evergreen browsers require these. **/
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
import 'core-js/es7/reflect';
/** /**
* Web Animations `@angular/platform-browser/animations` * Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.

View File

@ -14,7 +14,7 @@
"node_modules/@types" "node_modules/@types"
], ],
"lib": [ "lib": [
"es2017", "es2018",
"dom" "dom"
] ]
} }

View File

@ -6,7 +6,7 @@
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"start:fr": "ng serve --configuration=fr", "start:fr": "ng serve --configuration=fr",
"build": "ng build --prod", "build": "ng build",
"build:fr": "ng build --configuration=production-fr", "build:fr": "ng build --configuration=production-fr",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
@ -39,7 +39,7 @@
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "~8.9.4",
"codelyzer": "~4.3.0", "codelyzer": "~4.3.0",
"jasmine-core": "^3.2.0", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.4.0", "jasmine-marbles": "^0.4.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0", "karma": "~3.0.0",

View File

@ -44,7 +44,7 @@
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "~8.9.4",
"codelyzer": "~4.3.0", "codelyzer": "~4.3.0",
"jasmine-core": "^3.2.0", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.4.0", "jasmine-marbles": "^0.4.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0", "karma": "~3.0.0",

View File

@ -60,7 +60,7 @@
"canonical-path": "0.0.2", "canonical-path": "0.0.2",
"concurrently": "^3.0.0", "concurrently": "^3.0.0",
"http-server": "^0.9.0", "http-server": "^0.9.0",
"jasmine-core": "^3.2.0", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.4.0", "jasmine-marbles": "^0.4.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0", "karma": "~3.0.0",

View File

@ -4114,14 +4114,14 @@ istanbul@0.4.5:
which "^1.1.1" which "^1.1.1"
wordwrap "^1.0.0" wordwrap "^1.0.0"
jasmine-core@^3.2.0:
version "3.2.1"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-3.2.1.tgz#8e4ff5b861603ee83343f2b49eee6a0ffe9650ce"
jasmine-core@~2.8.0: jasmine-core@~2.8.0:
version "2.8.0" version "2.8.0"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.8.0.tgz#bcc979ae1f9fd05701e45e52e65d3a5d63f1a24e" resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.8.0.tgz#bcc979ae1f9fd05701e45e52e65d3a5d63f1a24e"
jasmine-core@~2.99.1:
version "2.99.1"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.99.1.tgz#e6400df1e6b56e130b61c4bcd093daa7f6e8ca15"
jasmine-marbles@^0.4.0: jasmine-marbles@^0.4.0:
version "0.4.0" version "0.4.0"
resolved "https://registry.yarnpkg.com/jasmine-marbles/-/jasmine-marbles-0.4.0.tgz#de72331d189d4968e4b1e78b638e51654040c755" resolved "https://registry.yarnpkg.com/jasmine-marbles/-/jasmine-marbles-0.4.0.tgz#de72331d189d4968e4b1e78b638e51654040c755"