docs: update shared example dependencies to Angular 7 and CLI 7 (#25892)

PR Close #25892
This commit is contained in:
Brandon Roberts 2018-09-07 07:39:58 -05:00 committed by Jason Aden
parent 8e71ad6027
commit 2a14dfa4ba
21 changed files with 2006 additions and 4163 deletions

View File

@ -35,14 +35,14 @@ describe('Reactive forms', function () {
it('should update the name control when the Update Name button is clicked', async () => { it('should update the name control when the Update Name button is clicked', async () => {
await nameInput.sendKeys(nameText); await nameInput.sendKeys(nameText);
const value = await nameInput.getAttribute('value'); const value1 = await nameInput.getAttribute('value');
expect(value).toBe(nameText); expect(value1).toBe(nameText);
await updateButton.click(); await updateButton.click();
const value = await nameInput.getAttribute('value'); const value2 = await nameInput.getAttribute('value');
expect(value).toBe('Nancy'); expect(value2).toBe('Nancy');
}); });
it('should update the displayed control value when the name control updated', async () => { it('should update the displayed control value when the name control updated', async () => {

View File

@ -30,13 +30,9 @@
/coverage /coverage
/libpeerconnection.log /libpeerconnection.log
npm-debug.log npm-debug.log
yarn-error.log
testem.log testem.log
/typings /typings
yarn-error.log
# e2e
/e2e/*.js
/e2e/*.map
# System Files # System Files
.DS_Store .DS_Store

View File

@ -1,12 +1,14 @@
{ {
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"angular.io-example": { "angular.io-example": {
"root": "", "root": "",
"sourceRoot": "src",
"projectType": "application", "projectType": "application",
"prefix": "app", "prefix": "app",
"schematics": {},
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
@ -17,21 +19,11 @@
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json", "tsConfig": "src/tsconfig.app.json",
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "favicon.ico", "src/assets"
"input": "src",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
], ],
"styles": [ "styles": [
{ "src/styles.css"
"input": "src/styles.css"
}
], ],
"scripts": [] "scripts": []
}, },
@ -80,22 +72,12 @@
"tsConfig": "src/tsconfig.spec.json", "tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js", "karmaConfig": "src/karma.conf.js",
"styles": [ "styles": [
{ "src/styles.css"
"input": "styles.css"
}
], ],
"scripts": [], "scripts": [],
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "favicon.ico", "src/assets"
"input": "src/",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
] ]
} }
}, },
@ -116,12 +98,18 @@
"angular.io-example-e2e": { "angular.io-example-e2e": {
"root": "e2e/", "root": "e2e/",
"projectType": "application", "projectType": "application",
"prefix": "",
"architect": { "architect": {
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
"protractorConfig": "e2e/protractor.conf.js", "protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular.io-example:serve" "devServerTarget": "angular.io-example:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular.io-example:serve:production"
}
} }
}, },
"lint": { "lint": {
@ -135,5 +123,6 @@
} }
} }
} }
} },
} "defaultProject": "angular.io-example"
}

View File

@ -6,7 +6,7 @@ const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = { exports.config = {
allScriptsTimeout: 11000, allScriptsTimeout: 11000,
specs: [ specs: [
'./**/*.e2e-spec.ts' './src/**/*.e2e-spec.ts'
], ],
capabilities: { capabilities: {
'browserName': 'chrome', 'browserName': 'chrome',
@ -26,8 +26,8 @@ exports.config = {
}, },
onPrepare() { onPrepare() {
require('ts-node').register({ require('ts-node').register({
project: 'e2e/tsconfig.e2e.json' project: require('path').join(__dirname, './tsconfig.e2e.json')
}); });
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
} }
}; };

View File

@ -1,8 +1,7 @@
{ {
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/e2e", "outDir": "../out-tsc/app",
"baseUrl": "./",
"module": "commonjs", "module": "commonjs",
"target": "es5", "target": "es5",
"types": [ "types": [

View File

@ -12,41 +12,41 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^6.0.0", "@angular/animations": "~7.0.0-rc.0",
"@angular/common": "^6.0.0", "@angular/common": "~7.0.0-rc.0",
"@angular/compiler": "^6.0.0", "@angular/compiler": "~7.0.0-rc.0",
"@angular/core": "^6.0.0", "@angular/core": "~7.0.0-rc.0",
"@angular/forms": "^6.0.0", "@angular/forms": "~7.0.0-rc.0",
"@angular/http": "^6.0.0", "@angular/http": "~7.0.0-rc.0",
"@angular/platform-browser": "^6.0.0", "@angular/platform-browser": "~7.0.0-rc.0",
"@angular/platform-browser-dynamic": "^6.0.0", "@angular/platform-browser-dynamic": "~7.0.0-rc.0",
"@angular/router": "^6.0.0", "@angular/router": "~7.0.0-rc.0",
"angular-in-memory-web-api": "^0.6.0", "angular-in-memory-web-api": "^0.6.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"rxjs": "^6.0.0", "rxjs": "^6.3.0",
"web-animations-js": "^2.3.1", "web-animations-js": "^2.3.1",
"zone.js": "^0.8.24" "zone.js": "~0.8.26"
}, },
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "^6.0.0", "@angular-devkit/build-angular": "~0.9.0-beta.4",
"@angular-devkit/build-angular": "~0.6.0", "@angular/cli": "~7.0.0-beta.4",
"typescript": "~2.7.2", "@angular/compiler-cli": "~7.0.0-rc.0",
"@angular/cli": "^6.0.0", "@angular/language-service": "~7.0.0-rc.0",
"@angular/language-service": "^6.0.0", "@types/jasmine": "~2.8.8",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "~8.9.4",
"codelyzer": "~4.2.1", "codelyzer": "~4.3.0",
"jasmine-core": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.3.1", "jasmine-marbles": "^0.3.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0", "karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~1.4.2", "karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.1", "karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0", "protractor": "~5.4.0",
"ts-node": "~5.0.1", "ts-node": "~7.0.0",
"tslint": "~5.9.1" "tslint": "~5.11.0",
"typescript": "~3.1.1"
} }
} }

View File

@ -1,5 +1,11 @@
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
#
# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
> 0.5% > 0.5%
last 2 versions last 2 versions
Firefox ESR Firefox ESR
not dead not dead
IE 9-11 not IE 9-11

View File

@ -7,9 +7,10 @@ export const environment = {
}; };
/* /*
* In development mode, to ignore zone related error stack frames such as * For easier debugging in development mode, you can import the following file
* `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
* import the following file, but please comment it out in production mode *
* because it will have performance impact when throw error * This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/ */
// import 'zone.js/dist/zone-error'; // Included with Angular CLI. // import 'zone.js/dist/zone-error'; // Included with Angular CLI.

View File

@ -16,13 +16,10 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser clearContext: false // leave Jasmine Spec Runner output visible in browser
}, },
coverageIstanbulReporter: { coverageIstanbulReporter: {
dir: require('path').join(__dirname, 'coverage'), dir: require('path').join(__dirname, '../coverage'),
reports: ['html', 'lcovonly'], reports: ['html', 'lcovonly'],
fixWebpackSourcePaths: true fixWebpackSourcePaths: true
}, },
angularCli: {
environment: 'dev'
},
reporters: ['progress', 'kjhtml'], reporters: ['progress', 'kjhtml'],
port: 9876, port: 9876,
colors: true, colors: true,
@ -31,4 +28,4 @@ module.exports = function (config) {
browsers: ['Chrome'], browsers: ['Chrome'],
singleRun: false singleRun: false
}); });
}; };

View File

@ -11,7 +11,7 @@
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera), * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile. * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
* *
* Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html * Learn more in https://angular.io/guide/browser-support
*/ */
/*************************************************************************************************** /***************************************************************************************************
@ -47,10 +47,11 @@ import 'core-js/es7/reflect';
/** /**
* Required to support Web Animations `@angular/platform-browser/animations`. * Web Animations `@angular/platform-browser/animations`
* Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
**/ **/
// import 'web-animations-js'; // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/** /**
* By default, zone.js will patch all possible macroTask and DomEvents * By default, zone.js will patch all possible macroTask and DomEvents

View File

@ -2,13 +2,10 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"baseUrl": "./",
"module": "es2015",
"types": [] "types": []
}, },
"exclude": [ "exclude": [
"test.ts", "test.ts",
"**/*.spec.ts", "**/*.spec.ts"
"**/testing/*"
] ]
} }

View File

@ -2,9 +2,6 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/spec", "outDir": "../out-tsc/spec",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",
"types": [ "types": [
"jasmine", "jasmine",
"node" "node"

View File

@ -1,14 +1,15 @@
{ {
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"module": "es2015",
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es5", "target": "es5",
"skipLibCheck": true,
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],

View File

@ -18,7 +18,6 @@
"forin": true, "forin": true,
"import-blacklist": [ "import-blacklist": [
true, true,
"rxjs",
"rxjs/Rx" "rxjs/Rx"
], ],
"import-spacing": true, "import-spacing": true,
@ -66,6 +65,7 @@
], ],
"no-misused-new": true, "no-misused-new": true,
"no-non-null-assertion": true, "no-non-null-assertion": true,
"no-redundant-jsdoc": true,
"no-shadowed-variable": true, "no-shadowed-variable": true,
"no-string-literal": false, "no-string-literal": false,
"no-string-throw": true, "no-string-throw": true,
@ -107,7 +107,6 @@
"variable-declaration": "nospace" "variable-declaration": "nospace"
} }
], ],
"typeof-compare": true,
"unified-signatures": true, "unified-signatures": true,
"variable-name": false, "variable-name": false,
"whitespace": [ "whitespace": [
@ -118,18 +117,6 @@
"check-separator", "check-separator",
"check-type" "check-type"
], ],
"directive-selector": [
true,
"attribute",
"app",
"camelCase"
],
"component-selector": [
true,
"element",
"app",
"kebab-case"
],
"no-output-on-prefix": true, "no-output-on-prefix": true,
"use-input-property-decorator": true, "use-input-property-decorator": true,
"use-output-property-decorator": true, "use-output-property-decorator": true,

View File

@ -1,12 +1,14 @@
{ {
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"angular.io-example": { "angular.io-example": {
"root": "", "root": "",
"sourceRoot": "src",
"projectType": "application", "projectType": "application",
"prefix": "app", "prefix": "app",
"schematics": {},
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
@ -17,21 +19,11 @@
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json", "tsConfig": "src/tsconfig.app.json",
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "favicon.ico", "src/assets"
"input": "src",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
], ],
"styles": [ "styles": [
{ "src/styles.css"
"input": "src/styles.css"
}
], ],
"scripts": [] "scripts": []
}, },
@ -113,22 +105,12 @@
"tsConfig": "src/tsconfig.spec.json", "tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js", "karmaConfig": "src/karma.conf.js",
"styles": [ "styles": [
{ "src/styles.css"
"input": "styles.css"
}
], ],
"scripts": [], "scripts": [],
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "favicon.ico", "src/assets"
"input": "src/",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
] ]
} }
}, },
@ -149,12 +131,18 @@
"angular.io-example-e2e": { "angular.io-example-e2e": {
"root": "e2e/", "root": "e2e/",
"projectType": "application", "projectType": "application",
"prefix": "",
"architect": { "architect": {
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
"protractorConfig": "e2e/protractor.conf.js", "protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular.io-example:serve:fr" "devServerTarget": "angular.io-example:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular.io-example:serve:production"
}
} }
}, },
"lint": { "lint": {
@ -168,5 +156,6 @@
} }
} }
} }
} },
} "defaultProject": "angular.io-example"
}

View File

@ -15,40 +15,41 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^6.0.0", "@angular/animations": "~7.0.0-rc.0",
"@angular/common": "^6.0.0", "@angular/common": "~7.0.0-rc.0",
"@angular/compiler": "^6.0.0", "@angular/compiler": "~7.0.0-rc.0",
"@angular/core": "^6.0.0", "@angular/core": "~7.0.0-rc.0",
"@angular/forms": "^6.0.0", "@angular/forms": "~7.0.0-rc.0",
"@angular/http": "^6.0.0", "@angular/http": "~7.0.0-rc.0",
"@angular/platform-browser": "^6.0.0", "@angular/platform-browser": "~7.0.0-rc.0",
"@angular/platform-browser-dynamic": "^6.0.0", "@angular/platform-browser-dynamic": "~7.0.0-rc.0",
"@angular/router": "^6.0.0", "@angular/router": "~7.0.0-rc.0",
"angular-in-memory-web-api": "^0.6.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"rxjs": "^6.0.0", "rxjs": "^6.3.0",
"zone.js": "^0.8.24" "web-animations-js": "^2.3.1",
"zone.js": "~0.8.26"
}, },
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "^6.0.0", "@angular-devkit/build-angular": "~0.9.0-beta.4",
"@angular-devkit/build-angular": "~0.6.0", "@angular/cli": "~7.0.0-beta.4",
"@angular/cli": "^6.0.0", "@angular/compiler-cli": "~7.0.0-rc.0",
"@angular/language-service": "^6.0.0", "@angular/language-service": "~7.0.0-rc.0",
"@angular/platform-server": "^6.0.0", "@types/jasmine": "~2.8.8",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "~8.9.4",
"codelyzer": "~4.2.1", "codelyzer": "~4.3.0",
"jasmine-core": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.3.1", "jasmine-marbles": "^0.3.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0", "karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~1.4.2", "karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.1", "karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0", "protractor": "~5.4.0",
"ts-node": "~5.0.1", "ts-node": "~7.0.0",
"tslint": "~5.9.1", "tslint": "~5.11.0",
"typescript": "~2.7.2" "typescript": "~3.1.1"
} }
} }

View File

@ -1,12 +1,14 @@
{ {
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"angular.io-example": { "angular.io-example": {
"root": "", "root": "",
"sourceRoot": "src",
"projectType": "application", "projectType": "application",
"prefix": "app", "prefix": "app",
"schematics": {},
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
@ -17,24 +19,11 @@
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json", "tsConfig": "src/tsconfig.app.json",
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "favicon.ico", "src/assets"
"input": "src",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
], ],
"styles": [ "styles": [
{ "src/styles.css"
"input": "src/styles.css"
},
{
"input": "src/test.css"
}
], ],
"scripts": [] "scripts": []
}, },
@ -83,22 +72,12 @@
"tsConfig": "src/tsconfig.spec.json", "tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js", "karmaConfig": "src/karma.conf.js",
"styles": [ "styles": [
{ "src/styles.css"
"input": "styles.css"
}
], ],
"scripts": [], "scripts": [],
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "favicon.ico", "src/assets"
"input": "src/",
"output": "/"
},
{
"glob": "**/*",
"input": "src/assets",
"output": "/assets"
}
] ]
} }
}, },
@ -119,12 +98,18 @@
"angular.io-example-e2e": { "angular.io-example-e2e": {
"root": "e2e/", "root": "e2e/",
"projectType": "application", "projectType": "application",
"prefix": "",
"architect": { "architect": {
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
"protractorConfig": "e2e/protractor.conf.js", "protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular.io-example:serve" "devServerTarget": "angular.io-example:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular.io-example:serve:production"
}
} }
}, },
"lint": { "lint": {
@ -138,5 +123,6 @@
} }
} }
} }
} },
} "defaultProject": "angular.io-example"
}

View File

@ -1,11 +1,14 @@
{ {
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"angular.io-example": { "angular.io-example": {
"root": "", "root": "",
"sourceRoot": "src",
"projectType": "application", "projectType": "application",
"prefix": "app",
"schematics": {},
"architect": { "architect": {
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
@ -13,19 +16,11 @@
"outputPath": "dist/browser", "outputPath": "dist/browser",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "**/*", "src/assets"
"input": "src/assets",
"output": "/assets"
},
{
"glob": "favicon.ico",
"input": "src",
"output": "/"
}
], ],
"styles": [ "styles": [
"src/styles.css" "src/styles.css"
@ -34,6 +29,12 @@
}, },
"configurations": { "configurations": {
"production": { "production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
@ -42,13 +43,7 @@
"aot": true, "aot": true,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true, "buildOptimizer": true
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
} }
} }
}, },
@ -73,24 +68,16 @@
"builder": "@angular-devkit/build-angular:karma", "builder": "@angular-devkit/build-angular:karma",
"options": { "options": {
"main": "src/test.ts", "main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json", "tsConfig": "src/tsconfig.spec.json",
"scripts": [], "karmaConfig": "src/karma.conf.js",
"styles": [ "styles": [
"src/styles.css" "src/styles.css"
], ],
"scripts": [],
"assets": [ "assets": [
{ "src/favicon.ico",
"glob": "**/*", "src/assets"
"input": "src/assets",
"output": "/assets"
},
{
"glob": "favicon.ico",
"input": "src",
"output": "/"
}
] ]
} }
}, },
@ -117,24 +104,26 @@
} }
}, },
"angular.io-example-e2e": { "angular.io-example-e2e": {
"root": "", "root": "e2e/",
"projectType": "application", "projectType": "application",
"cli": {}, "prefix": "",
"schematics": {},
"architect": { "architect": {
"e2e": { "e2e": {
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
"protractorConfig": "./protractor.conf.js", "protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "angular.io-example:serve" "devServerTarget": "angular.io-example:serve"
},
"configurations": {
"production": {
"devServerTarget": "angular.io-example:serve:production"
}
} }
}, },
"lint": { "lint": {
"builder": "@angular-devkit/build-angular:tslint", "builder": "@angular-devkit/build-angular:tslint",
"options": { "options": {
"tsConfig": [ "tsConfig": "e2e/tsconfig.e2e.json",
"e2e/tsconfig.e2e.json"
],
"exclude": [ "exclude": [
"**/node_modules/**" "**/node_modules/**"
] ]
@ -143,14 +132,5 @@
} }
} }
}, },
"cli": {}, "defaultProject": "angular.io-example"
"schematics": { }
"@schematics/angular:component": {
"prefix": "app",
"styleext": "css"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
}

View File

@ -16,47 +16,47 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^6.0.0", "@angular/animations": "~7.0.0-rc.0",
"@angular/common": "^6.0.0", "@angular/common": "~7.0.0-rc.0",
"@angular/compiler": "^6.0.0", "@angular/compiler": "~7.0.0-rc.0",
"@angular/core": "^6.0.0", "@angular/core": "~7.0.0-rc.0",
"@angular/forms": "^6.0.0", "@angular/forms": "~7.0.0-rc.0",
"@angular/http": "^6.0.0", "@angular/http": "~7.0.0-rc.0",
"@angular/platform-browser": "^6.0.0", "@angular/platform-browser": "~7.0.0-rc.0",
"@angular/platform-browser-dynamic": "^6.0.0", "@angular/platform-browser-dynamic": "~7.0.0-rc.0",
"@angular/router": "^6.0.0", "@angular/router": "~7.0.0-rc.0",
"@nguniversal/common": "^6.1.0",
"@nguniversal/express-engine": "^6.1.0",
"@nguniversal/module-map-ngfactory-loader": "^6.1.0",
"angular-in-memory-web-api": "^0.6.0", "angular-in-memory-web-api": "^0.6.0",
"@nguniversal/common": "^6.0.0",
"@nguniversal/express-engine": "^6.0.0",
"@nguniversal/module-map-ngfactory-loader": "^6.0.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"rxjs": "^6.0.0", "rxjs": "^6.3.0",
"web-animations-js": "^2.3.1", "web-animations-js": "^2.3.1",
"zone.js": "^0.8.24" "zone.js": "~0.8.26"
}, },
"devDependencies": { "devDependencies": {
"@angular/cli": "^6.0.0", "@angular-devkit/build-angular": "~0.9.0-beta.4",
"@angular/compiler-cli": "^6.0.0", "@angular/cli": "~7.0.0-beta.4",
"@angular/language-service": "^6.0.0", "@angular/compiler-cli": "~7.0.0-rc.0",
"@angular/platform-server": "^6.0.0", "@angular/language-service": "~7.0.0-rc.0",
"@angular-devkit/build-angular": "~0.6.0", "@angular/platform-server": "~7.0.0-rc.0",
"@types/jasmine": "~2.8.6", "@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4", "@types/node": "~8.9.4",
"codelyzer": "~4.2.1", "codelyzer": "~4.3.0",
"jasmine-core": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.3.1", "jasmine-marbles": "^0.3.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0", "karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~1.4.2", "karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.1", "karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0", "protractor": "~5.4.0",
"ts-loader": "^4.2.0", "ts-loader": "^4.2.0",
"ts-node": "~5.0.1", "ts-node": "~7.0.0",
"tslint": "~5.9.1", "tslint": "~5.11.0",
"typescript": "~2.7.2", "typescript": "~3.1.1",
"webpack-cli": "^2.1.2" "webpack-cli": "^2.1.2"
} }
} }

View File

@ -18,60 +18,61 @@
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@angular/animations": "^6.0.0", "@angular/animations": "~7.0.0-rc.0",
"@angular/common": "^6.0.0", "@angular/common": "~7.0.0-rc.0",
"@angular/compiler": "^6.0.0", "@angular/compiler": "~7.0.0-rc.0",
"@angular/core": "^6.0.0", "@angular/core": "~7.0.0-rc.0",
"@angular/elements": "^6.0.0", "@angular/elements": "~7.0.0-rc.0",
"@angular/forms": "^6.0.0", "@angular/forms": "~7.0.0-rc.0",
"@angular/http": "^6.0.0", "@angular/http": "~7.0.0-rc.0",
"@angular/platform-browser": "^6.0.0", "@angular/platform-browser": "~7.0.0-rc.0",
"@angular/platform-browser-dynamic": "^6.0.0", "@angular/platform-browser-dynamic": "~7.0.0-rc.0",
"@angular/router": "^6.0.0", "@angular/router": "~7.0.0-rc.0",
"@angular/service-worker": "^6.0.0", "@angular/service-worker": "~7.0.0-rc.0",
"@angular/upgrade": "^6.0.0", "@angular/upgrade": "~7.0.0-rc.0",
"@nguniversal/express-engine": "^6.0.0", "@nguniversal/common": "^6.1.0",
"@nguniversal/module-map-ngfactory-loader": "^6.0.0", "@nguniversal/express-engine": "^6.1.0",
"@nguniversal/module-map-ngfactory-loader": "^6.1.0",
"angular-in-memory-web-api": "^0.6.0", "angular-in-memory-web-api": "^0.6.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"express": "^4.14.1", "express": "^4.14.1",
"rxjs": "^6.3.0", "rxjs": "^6.3.0",
"systemjs": "0.19.39", "systemjs": "0.19.39",
"web-animations-js": "^2.3.1", "web-animations-js": "^2.3.1",
"zone.js": "^0.8.24" "zone.js": "~0.8.26"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.6.0", "@angular-devkit/build-angular": "~0.9.0-beta.4",
"@angular/cli": "^6.0.0", "@angular/cli": "^7.0.0-beta.4",
"@angular/compiler-cli": "^6.0.0", "@angular/compiler-cli": "~7.0.0-rc.0",
"@angular/language-service": "^6.0.0", "@angular/language-service": "~7.0.0-rc.0",
"@angular/platform-server": "^6.0.0", "@angular/platform-server": "~7.0.0-rc.0",
"@types/angular": "^1.6.47", "@types/angular": "^1.6.47",
"@types/angular-animate": "^1.5.10", "@types/angular-animate": "^1.5.10",
"@types/angular-mocks": "^1.6.0", "@types/angular-mocks": "^1.6.0",
"@types/angular-resource": "^1.5.14", "@types/angular-resource": "^1.5.14",
"@types/angular-route": "^1.3.5", "@types/angular-route": "^1.3.5",
"@types/express": "^4.0.35", "@types/express": "^4.0.35",
"@types/jasmine": "~2.8.0", "@types/jasmine": "~2.8.8",
"@types/jasminewd2": "^2.0.3", "@types/jasminewd2": "~2.0.3",
"@types/jquery": "^3.3.4", "@types/jquery": "^3.3.4",
"@types/node": "^6.0.45", "@types/node": "~8.9.4",
"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": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.3.1", "jasmine-marbles": "^0.3.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1", "karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~1.4.2", "karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.1", "karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.2", "karma-phantomjs-launcher": "^1.0.2",
"lite-server": "^2.2.2", "lite-server": "^2.2.2",
"lodash": "^4.16.2", "lodash": "^4.16.2",
"phantomjs-prebuilt": "^2.1.7", "phantomjs-prebuilt": "^2.1.7",
"protractor": "~5.3.0", "protractor": "~5.4.0",
"rimraf": "^2.5.4", "rimraf": "^2.5.4",
"rollup": "^0.41.6", "rollup": "^0.41.6",
"rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-commonjs": "^8.0.2",
@ -79,10 +80,9 @@
"rollup-plugin-uglify": "^1.0.1", "rollup-plugin-uglify": "^1.0.1",
"source-map-explorer": "^1.3.2", "source-map-explorer": "^1.3.2",
"ts-loader": "^4.2.0", "ts-loader": "^4.2.0",
"ts-node": "^5.0.1", "ts-node": "~7.0.0",
"tslint": "^5.9.1", "tslint": "~5.11.0",
"typescript": "2.7.2", "typescript": "~3.1.1"
"webpack-cli": "^2.0.14"
}, },
"repository": {} "repository": {}
} }

File diff suppressed because it is too large Load Diff