Skip to content

Commit

Permalink
angular v10
Browse files Browse the repository at this point in the history
  • Loading branch information
remackgeek committed Jul 15, 2020
1 parent a908ff3 commit a4cf7c8
Show file tree
Hide file tree
Showing 14 changed files with 5,307 additions and 4,594 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ use the new strategy:

## Versions

use version 10.0.0 for Angular 10

use version 9.0.0 for Angular 9

use version 8.0.0 for Angular 6-8
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@schematics/angular:component": {
"inlineTemplate": true,
"inlineStyle": true,
"styleext": "scss"
"style": "scss"
}
},
"architect": {
Expand Down
2 changes: 1 addition & 1 deletion e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "commonjs",
Expand Down
9,704 changes: 5,192 additions & 4,512 deletions package-lock.json

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,42 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/elements": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/router": "^9.0.0",
"@angular/animations": "^10.0.3",
"@angular/common": "^10.0.3",
"@angular/compiler": "^10.0.3",
"@angular/core": "^10.0.3",
"@angular/elements": "^10.0.3",
"@angular/forms": "^10.0.3",
"@angular/platform-browser": "^10.0.3",
"@angular/platform-browser-dynamic": "^10.0.3",
"@angular/router": "^10.0.3",
"core-js": "^2.5.4",
"document-register-element": "^1.8.1",
"rxjs": "^6.5.4",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular/compiler-cli": "^9.0.0",
"@angular-devkit/build-ng-packagr": "~0.900.1",
"@angular-devkit/build-angular": "~0.900.1",
"ng-packagr": "^9.0.0",
"typescript": "~3.7.5",
"@angular/cli": "~9.0.1",
"@angular/language-service": "^9.0.0",
"@angular/compiler-cli": "^10.0.3",
"@angular-devkit/build-ng-packagr": "~0.1000.2",
"@angular-devkit/build-angular": "~0.1000.2",
"ng-packagr": "^10.0.0",
"typescript": "~3.9.6",
"@angular/cli": "~10.0.2",
"@angular/language-service": "^10.0.3",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.3.0",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"protractor": "~5.4.2",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~5.0.1",
"tslint": "~5.19.0"
"tslint": "~6.1.0"
}
}
2 changes: 2 additions & 0 deletions projects/elements-zone-strategy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ use the new strategy:

## Versions

use version 10.0.0 for Angular 10

use version 9.0.0 for Angular 9

use version 8.0.0 for Angular 6-8
45 changes: 24 additions & 21 deletions projects/elements-zone-strategy/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
{
"name": "elements-zone-strategy",
"version": "9.0.0",
"description": "A custom NgElementStrategyFactory to enable zone-based change detection for Angular Elements",
"author": "remackgeek",
"license": "MIT",
"peerDependencies": {
"@angular/common": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/elements": " ^9.0.0"
},
"repository": "github:remackgeek/elements-zone-strategy",
"homepage": "https://github.com/remackgeek/elements-zone-strategy",
"keywords": [
"angular",
"elements",
"zone.js",
"ngZone",
"zone"
]
}
{
"name": "elements-zone-strategy",
"version": "10.0.0",
"description": "A custom NgElementStrategyFactory to enable zone-based change detection for Angular Elements",
"author": "remackgeek",
"license": "MIT",
"peerDependencies": {
"@angular/common": "^10.0.0",
"@angular/core": "^10.0.0",
"@angular/elements": " ^10.0.0"
},
"repository": "github:remackgeek/elements-zone-strategy",
"homepage": "https://github.com/remackgeek/elements-zone-strategy",
"keywords": [
"angular",
"elements",
"zone.js",
"ngZone",
"zone"
],
"dependencies": {
"tslib": "^2.0.0"
}
}
Expand Down
2 changes: 1 addition & 1 deletion projects/elements-zone-strategy/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
"target": "es2015",
Expand Down
2 changes: 1 addition & 1 deletion projects/elements-zone-strategy/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": [
Expand Down
2 changes: 1 addition & 1 deletion src/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"types": []
Expand Down
2 changes: 1 addition & 1 deletion src/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"types": [
Expand Down
31 changes: 31 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"importHelpers": true,
"module": "es2020",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"paths": {
"elements-zone-strategy": [
"dist/elements-zone-strategy"
],
"elements-zone-strategy/*": [
"dist/elements-zone-strategy/*"
]
}
}
}
51 changes: 23 additions & 28 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,26 @@
/*
This is a "Solution Style" tsconfig.json file, and is used by editors and TypeScript’s language server to improve development experience.
It is not intended to be used to perform a compilation.
To learn more about this file see: https://angular.io/config/solution-tsconfig.
*/
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"downlevelIteration": true,
"importHelpers": true,
"module": "esnext",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"paths": {
"elements-zone-strategy": [
"dist/elements-zone-strategy"
],
"elements-zone-strategy/*": [
"dist/elements-zone-strategy/*"
]
"files": [],
"references": [
{
"path": "./src/tsconfig.app.json"
},
{
"path": "./src/tsconfig.spec.json"
},
{
"path": "./e2e/tsconfig.e2e.json"
},
{
"path": "./projects/elements-zone-strategy/tsconfig.lib.json"
},
{
"path": "./projects/elements-zone-strategy/tsconfig.spec.json"
}
}
]
}

0 comments on commit a4cf7c8

Please sign in to comment.