Merge pull request #2 from Stampede10343/feature/angular9-update
Feature/angular9 update
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
"builder": "@angular-devkit/build-angular:browser",
|
||||||
"options": {
|
"options": {
|
||||||
|
"aot": true,
|
||||||
"outputPath": "dist/Homepage",
|
"outputPath": "dist/Homepage",
|
||||||
"index": "src/index.html",
|
"index": "src/index.html",
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
@@ -29,6 +30,12 @@
|
|||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
"fileReplacements": [
|
"fileReplacements": [
|
||||||
{
|
{
|
||||||
"replace": "src/environments/environment.ts",
|
"replace": "src/environments/environment.ts",
|
||||||
|
|||||||
8676
package-lock.json
generated
8676
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
50
package.json
50
package.json
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "test-website",
|
"name": "Homepage",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
@@ -7,40 +7,40 @@
|
|||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"e2e": "ng e2e"
|
"e2e": "ng e2e",
|
||||||
|
"postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^8.2.7",
|
"@angular/animations": "^9.0.5",
|
||||||
"@angular/cdk": "^7.3.2",
|
"@angular/cdk": "^9.1.1",
|
||||||
"@angular/cli": "^8.3.5",
|
"@angular/cli": "^9.0.5",
|
||||||
"@angular/common": "^8.2.7",
|
"@angular/common": "^9.0.5",
|
||||||
"@angular/compiler": "^8.2.7",
|
"@angular/compiler": "^9.0.5",
|
||||||
"@angular/compiler-cli": "^8.2.7",
|
"@angular/compiler-cli": "^9.0.5",
|
||||||
"@angular/core": "^8.2.7",
|
"@angular/core": "^9.0.5",
|
||||||
"@angular/forms": "^8.2.7",
|
"@angular/forms": "^9.0.5",
|
||||||
"@angular/http": "^7.2.4",
|
"@angular/material": "^9.1.1",
|
||||||
"@angular/material": "^7.3.2",
|
"@angular/platform-browser": "^9.0.5",
|
||||||
"@angular/platform-browser": "^8.2.7",
|
"@angular/platform-browser-dynamic": "^9.0.5",
|
||||||
"@angular/platform-browser-dynamic": "^8.2.7",
|
"@angular/router": "^9.0.5",
|
||||||
"@angular/router": "^8.2.7",
|
"angulartics2": "^8.3.0",
|
||||||
"angulartics2": "^8.1.0",
|
|
||||||
"core-js": "^2.5.4",
|
"core-js": "^2.5.4",
|
||||||
"json-schema-traverse": "^0.4.1",
|
"json-schema-traverse": "^0.4.1",
|
||||||
"rxjs": "~6.4.0",
|
"rxjs": "~6.5.4",
|
||||||
"tslib": "^1.9.0",
|
"tslib": "^1.10.0",
|
||||||
"web-animations-js": "^2.3.1",
|
"web-animations-js": "^2.3.2",
|
||||||
"zone.js": "~0.9.1"
|
"zone.js": "~0.10.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^0.803.5",
|
"@angular-devkit/build-angular": "~0.900.5",
|
||||||
"@angular/language-service": "^8.2.7",
|
"@angular/language-service": "^9.0.5",
|
||||||
"@types/jasmine": "~2.8.8",
|
"@types/jasmine": "~2.8.8",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"@types/node": "~8.9.4",
|
"@types/node": "^12.11.1",
|
||||||
"jasmine-core": "~2.99.1",
|
"jasmine-core": "~2.99.1",
|
||||||
"jasmine-spec-reporter": "~4.2.1",
|
"jasmine-spec-reporter": "~4.2.1",
|
||||||
"karma": "~3.0.0",
|
"karma": "^4.4.1",
|
||||||
"karma-chrome-launcher": "~2.2.0",
|
"karma-chrome-launcher": "~2.2.0",
|
||||||
"karma-coverage-istanbul-reporter": "~2.0.1",
|
"karma-coverage-istanbul-reporter": "~2.0.1",
|
||||||
"karma-jasmine": "~1.1.2",
|
"karma-jasmine": "~1.1.2",
|
||||||
@@ -48,6 +48,6 @@
|
|||||||
"protractor": "~5.4.0",
|
"protractor": "~5.4.0",
|
||||||
"ts-node": "~7.0.0",
|
"ts-node": "~7.0.0",
|
||||||
"tslint": "~5.11.0",
|
"tslint": "~5.11.0",
|
||||||
"typescript": "^3.5.3"
|
"typescript": "^3.7.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ import {async, TestBed} from '@angular/core/testing';
|
|||||||
import {AppComponent} from './app.component';
|
import {AppComponent} from './app.component';
|
||||||
import {ToolbarComponent} from "./toolbar/toolbar.component";
|
import {ToolbarComponent} from "./toolbar/toolbar.component";
|
||||||
import {RouterTestingModule} from "@angular/router/testing";
|
import {RouterTestingModule} from "@angular/router/testing";
|
||||||
import {MatSidenavModule, MatToolbarModule} from "@angular/material";
|
import { MatSidenavModule } from "@angular/material/sidenav";
|
||||||
|
import { MatToolbarModule } from "@angular/material/toolbar";
|
||||||
import {NoopAnimationsModule} from "@angular/platform-browser/animations";
|
import {NoopAnimationsModule} from "@angular/platform-browser/animations";
|
||||||
|
|
||||||
describe('AppComponent', () => {
|
describe('AppComponent', () => {
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ import {BrowserModule} from '@angular/platform-browser';
|
|||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
|
|
||||||
import {AppComponent} from './app.component';
|
import {AppComponent} from './app.component';
|
||||||
import {MatSidenavModule, MatToolbarModule} from '@angular/material';
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
||||||
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
||||||
import {ToolbarComponent} from './toolbar/toolbar.component';
|
import {ToolbarComponent} from './toolbar/toolbar.component';
|
||||||
import {RouterModule, Routes} from '@angular/router';
|
import {RouterModule, Routes} from '@angular/router';
|
||||||
import {ResumeComponent} from './resume/resume.component';
|
import {ResumeComponent} from './resume/resume.component';
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ describe('ProjectService', () => {
|
|||||||
beforeEach(() => TestBed.configureTestingModule({}));
|
beforeEach(() => TestBed.configureTestingModule({}));
|
||||||
|
|
||||||
it('should be created', () => {
|
it('should be created', () => {
|
||||||
const service: ProjectService = TestBed.get(ProjectService);
|
const service: ProjectService = TestBed.inject(ProjectService);
|
||||||
expect(service).toBeTruthy();
|
expect(service).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
|
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
|
||||||
|
|
||||||
import {ToolbarComponent} from './toolbar.component';
|
import {ToolbarComponent} from './toolbar.component';
|
||||||
import {MatSidenavModule, MatToolbarModule} from "@angular/material";
|
import { MatSidenavModule } from "@angular/material/sidenav";
|
||||||
|
import { MatToolbarModule } from "@angular/material/toolbar";
|
||||||
import {RouterTestingModule} from "@angular/router/testing";
|
import {RouterTestingModule} from "@angular/router/testing";
|
||||||
import {Component} from "@angular/core";
|
import {Component} from "@angular/core";
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,11 @@
|
|||||||
"outDir": "../out-tsc/app",
|
"outDir": "../out-tsc/app",
|
||||||
"types": []
|
"types": []
|
||||||
},
|
},
|
||||||
"exclude": [
|
"files": [
|
||||||
"test.ts",
|
"main.ts",
|
||||||
"**/*.spec.ts"
|
"polyfills.ts"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"src/**/*.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"outDir": "./dist/out-tsc",
|
"outDir": "./dist/out-tsc",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"module": "es2015",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user