Skip to content

Commit

Permalink
feat: upgrade ng-packs angular version to the latest
Browse files Browse the repository at this point in the history
resolves #5389
  • Loading branch information
mehmet-erim committed Sep 22, 2020
1 parent d621e96 commit 8380b89
Show file tree
Hide file tree
Showing 6 changed files with 802 additions and 854 deletions.
2 changes: 1 addition & 1 deletion npm/ng-packs/apps/dev-app/tsconfig.dev.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/app",
"types": []
Expand Down
2 changes: 1 addition & 1 deletion npm/ng-packs/apps/dev-app/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": ["node", "jest"]
Expand Down
40 changes: 18 additions & 22 deletions npm/ng-packs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ci:test": "ng test --coverage=false --silent",
"ci:build": "cd scripts && yarn install && yarn build:prod",
"lerna": "lerna",
"compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules --async false",
"compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules",
"postinstall": "npm run compile:ivy"
},
"devDependencies": {
Expand All @@ -37,21 +37,21 @@
"@abp/ng.theme.shared": "~3.2.0-rc.2",
"@abp/utils": "^3.2.0-rc.2",
"@angular-builders/jest": "^10.0.0",
"@angular-devkit/build-angular": "~0.1000.6",
"@angular-devkit/build-ng-packagr": "~0.1000.6",
"@angular-devkit/build-angular": "~0.1001.2",
"@angular-devkit/build-ng-packagr": "~0.1001.2",
"@angular-devkit/schematics-cli": "^0.1001.1",
"@angular/animations": "~10.0.10",
"@angular/cli": "~10.0.6",
"@angular/common": "~10.0.10",
"@angular/compiler": "10.0.0",
"@angular/compiler-cli": "10.0.0",
"@angular/core": "~10.0.10",
"@angular/forms": "~10.0.10",
"@angular/language-service": "~10.0.10",
"@angular/localize": "~10.0.10",
"@angular/platform-browser": "~10.0.10",
"@angular/platform-browser-dynamic": "~10.0.10",
"@angular/router": "~10.0.10",
"@angular/animations": "~10.1.2",
"@angular/cli": "~10.1.2",
"@angular/common": "~10.1.2",
"@angular/compiler": "10.1.2",
"@angular/compiler-cli": "10.1.2",
"@angular/core": "~10.1.2",
"@angular/forms": "~10.1.2",
"@angular/language-service": "~10.1.2",
"@angular/localize": "~10.1.2",
"@angular/platform-browser": "~10.1.2",
"@angular/platform-browser-dynamic": "~10.1.2",
"@angular/router": "~10.1.2",
"@fortawesome/fontawesome-free": "^5.14.0",
"@ng-bootstrap/ng-bootstrap": "^7.0.0",
"@ngneat/spectator": "^5.13.0",
Expand All @@ -68,7 +68,7 @@
"angular-oauth2-oidc": "^10.0.3",
"bootstrap": "^4.5.0",
"chart.js": "^2.9.3",
"codelyzer": "^5.1.2",
"codelyzer": "^6.0.0",
"conventional-changelog-cli": "^2.0.31",
"cz-conventional-changelog": "3.0.2",
"font-awesome": "^4.7.0",
Expand All @@ -91,18 +91,14 @@
"symlink-manager": "^1.5.0",
"ts-node": "~7.0.0",
"ts-toolbelt": "6.15.4",
"tsickle": "^0.38.1",
"tsickle": "^0.39.1",
"tslint": "~6.1.0",
"typescript": "~3.9.5",
"typescript": "~4.0.3",
"zone.js": "~0.10.2"
},
"dependencies": {
"tslib": "^2.0.0"
},
"resolutions": {
"@angular/compiler": "10.0.0",
"@angular/compiler-cli": "10.0.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
Expand Down
41 changes: 0 additions & 41 deletions npm/ng-packs/tsconfig.base.json

This file was deleted.

78 changes: 39 additions & 39 deletions npm/ng-packs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
/*
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.
*/
{
"files": [],
"references": [
{
"path": "./packages/core/tsconfig.lib.json"
},
{
"path": "./packages/theme-shared/tsconfig.lib.json"
},
{
"path": "./packages/theme-basic/tsconfig.lib.json"
},
{
"path": "./packages/account/tsconfig.lib.json"
},
{
"path": "./packages/permission-management/tsconfig.lib.json"
},
{
"path": "./packages/identity/tsconfig.lib.json"
},
{
"path": "./packages/feature-management/tsconfig.lib.json"
},
{
"path": "./packages/tenant-management/tsconfig.lib.json"
},
{
"path": "./packages/setting-management/tsconfig.lib.json"
},
{
"path": "./apps/dev-app/tsconfig.dev.json"
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"],
"types": ["jest"],
"paths": {
"@abp/ng.core": ["packages/core/src/public-api.ts"],
"@abp/ng.theme.shared": ["packages/theme-shared/src/public-api.ts"],
"@abp/ng.theme.shared/extensions": ["packages/theme-shared/extensions/src/public-api.ts"],
"@abp/ng.components/tree": ["packages/components/tree/src/public-api.ts"],
"@abp/ng.theme.basic": ["packages/theme-basic/src/public-api.ts"],
"@abp/ng.account": ["packages/account/src/public-api.ts"],
"@abp/ng.account/config": ["packages/account/config/src/public-api.ts"],
"@abp/ng.identity": ["packages/identity/src/public-api.ts"],
"@abp/ng.identity/config": ["packages/identity/config/src/public-api.ts"],
"@abp/ng.tenant-management": ["packages/tenant-management/src/public-api.ts"],
"@abp/ng.tenant-management/config": ["packages/tenant-management/config/src/public-api.ts"],
"@abp/ng.setting-management": ["packages/setting-management/src/public-api.ts"],
"@abp/ng.setting-management/config": ["packages/setting-management/config/src/public-api.ts"],
"@abp/ng.permission-management": ["packages/permission-management/src/public-api.ts"],
"@abp/ng.feature-management": ["packages/feature-management/src/public-api.ts"],
"@proxy": ["apps/dev-app/src/app/proxy/index.ts"],
"@proxy/*": ["apps/dev-app/src/app/proxy/*"]
}
]
}
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}
Loading

0 comments on commit 8380b89

Please sign in to comment.