Skip to content

Commit

Permalink
feat: upgrade to Angular 13 (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturovt authored Feb 19, 2022
1 parent a55592b commit 36dad34
Show file tree
Hide file tree
Showing 7 changed files with 4,073 additions and 4,918 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.angular/cache
dist
node_modules
.idea
Expand Down
12 changes: 0 additions & 12 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@
"options": {
"no-cache": false
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.lib.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
Expand Down
56 changes: 26 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"serve:integration": "ng serve --project integration",
"serve:integration:static": "serve -l 4200 -s dist/browser",
"serve:integration:ssr": "node dist/integration/server/main",
"lint": "ng lint",
"test": "ng test",
"build": "ng build",
"postbuild": "cpy README.md dist/dispatch",
Expand All @@ -32,48 +31,45 @@
"cy:open:ssr": "cypress open --config integrationFolder=cypress/ssr",
"cy:run:ssr": "cypress run --config integrationFolder=cypress/ssr",
"test:ci": "ng test --run-in-band --silent",
"test:ci:e2e": "yarn start-test serve:integration:static 4200 cy:run",
"test:ci:integration:ssr": "yarn build:integration:ssr && yarn start-test serve:integration:ssr 4200 cy:run:ssr"
},
"private": true,
"devDependencies": {
"@angular-builders/jest": "^12.0.0",
"@angular-devkit/build-angular": "~12.0.3",
"@angular/animations": "^12.0.3",
"@angular/cli": "^12.0.3",
"@angular/common": "^12.0.3",
"@angular/compiler": "^12.0.3",
"@angular/compiler-cli": "^12.0.3",
"@angular/core": "^12.0.3",
"@angular/platform-browser": "^12.0.3",
"@angular/platform-browser-dynamic": "^12.0.3",
"@angular/platform-server": "^12.0.3",
"@commitlint/cli": "13",
"@commitlint/config-angular": "13",
"@angular-builders/jest": "^13.0.0",
"@angular-devkit/build-angular": "~13.2.4",
"@angular/animations": "^13.2.3",
"@angular/cli": "^13.2.4",
"@angular/common": "^13.2.3",
"@angular/compiler": "^13.2.3",
"@angular/compiler-cli": "^13.2.3",
"@angular/core": "^13.2.3",
"@angular/platform-browser": "^13.2.3",
"@angular/platform-browser-dynamic": "^13.2.3",
"@angular/platform-server": "^13.2.3",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-angular": "^16.2.1",
"@cypress/webpack-preprocessor": "^5.9.0",
"@nguniversal/express-engine": "^12.0.1",
"@ngxs/store": "^3.7.2",
"@nguniversal/express-engine": "^13.0.2",
"@ngxs/store": "^3.7.3",
"@types/express": "^4.17.2",
"@types/jest": "^26.0.23",
"@types/jest": "^27.4.0",
"@types/node": "^15.12.1",
"codelyzer": "^6.0.0",
"cpy-cli": "^3.1.1",
"cypress": "^7.4.0",
"cypress": "^9.5.0",
"express": "^4.17.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^11.0.0",
"ng-packagr": "^12.0.0",
"prettier": "^2.3.1",
"rxjs": "^6.6.7",
"ng-packagr": "^13.2.1",
"prettier": "^2.5.1",
"rxjs": "^7.5.4",
"serve": "^11.3.2",
"start-server-and-test": "^1.12.5",
"ts-jest": "^26.5.6",
"start-server-and-test": "^1.14.0",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tslib": "^2.0.0",
"tslint": "~6.1.0",
"typescript": "4.2.4",
"tslib": "^2.3.1",
"typescript": "4.5.5",
"zone.js": "~0.11.4"
},
"husky": {
Expand Down
5 changes: 1 addition & 4 deletions src/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"dest": "../dist/dispatch",
"lib": {
"flatModuleFile": "ngxs-labs-dispatch",
"entryFile": "index.ts",
"umdModuleIds": {
"@ngxs/store": "ngxs-store"
}
"entryFile": "index.ts"
}
}
2 changes: 1 addition & 1 deletion src/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false,
"compilationMode": "partial",
"strictMetadataEmit": true,
"skipTemplateCodegen": true,
"enableResourceInlining": true
Expand Down
126 changes: 0 additions & 126 deletions tslint.json

This file was deleted.

Loading

0 comments on commit 36dad34

Please sign in to comment.