Skip to content

Commit

Permalink
feat(package): migrate to ng12
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBGod committed Jun 10, 2021
1 parent 6329569 commit 981b033
Show file tree
Hide file tree
Showing 6 changed files with 5,465 additions and 3,897 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
78 changes: 39 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,63 +27,60 @@
"ci:after": "greenkeeper-lockfile-upload",
"test": "jest --runInBand --colors",
"test:ci": "jest --ci --updateSnapshot --colors",
"release": "standard-version"
"release": "standard-version",
"prepare": "husky install"
},
"devDependencies": {
"@angular/common": "^9.1.0",
"@angular/compiler": "^9.1.0",
"@angular/compiler-cli": "^9.1.0",
"@angular/core": "^9.1.0",
"@angular/platform-browser": "^9.1.0",
"@angular/platform-browser-dynamic": "^9.1.0",
"@angular/router": "^9.1.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^23.3.14",
"@types/lodash": "^4.14.150",
"@types/node": "^10.0.0",
"@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/router": "^12.0.3",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.170",
"@types/node": "^15.12.2",
"angular-tslint-rules": "^1.20.4",
"codelyzer": "^5.2.2",
"cz-conventional-changelog": "^3.1.0",
"husky": "^4.2.0",
"jest": "^23.6.0",
"codelyzer": "^6.0.2",
"cz-conventional-changelog": "^3.3.0",
"husky": "^6.0.0",
"jest": "^27.0.4",
"jest-junit-reporter": "^1.1.0",
"jest-preset-angular": "8.1.2",
"lerna": "^3.20.2",
"lint-staged": "^10.0.0",
"lodash": "^4.17.15",
"ng-packagr": "^9.0.0",
"prettier": "1.19.1",
"jest-preset-angular": "9.0.3",
"lerna": "^4.0.0",
"lint-staged": "^11.0.0",
"lodash": "^4.17.21",
"ng-packagr": "^12.0.4",
"prettier": "2.3.1",
"prettier-tslint": "^0.4.2",
"reflect-metadata": "^0.1.13",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"rxjs": "~6.5.4",
"ts-node": "^8.9.0",
"tsickle": "^0.38.0",
"tslint": "^5.20.1",
"rxjs": "~7.1.0",
"ts-node": "^10.0.0",
"tsickle": "^0.40.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "~3.8.3",
"zone.js": "^0.10.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
"typescript": "~4.2.4",
"zone.js": "^0.11.4"
},
"jest": {
"preset": "jest-preset-angular",
"setupTestFrameworkScriptFile": "./tools/test/jest.setup.ts",
"setupFilesAfterEnv": [
"./tools/test/jest.setup.ts"
],
"testResultsProcessor": "./node_modules/jest-junit-reporter",
"testMatch": [
"**/+(*.)+(spec|test).+(ts|js)?(x)"
],
"globals": {
"ts-jest": {
"tsConfigFile": "./tsconfig.json"
},
"__TRANSFORM_HTML__": true
"stringifyContentPathRegex": "\\.html?$",
"tsconfig": "./tsconfig.json"
}
},
"moduleNameMapper": {
"^@ngx-meta/core": "<rootDir>/packages/@ngx-meta/core/src/index.ts"
Expand All @@ -99,5 +96,8 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@angular-devkit/core": "^12.0.3"
}
}
2 changes: 2 additions & 0 deletions tools/test/jest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// tslint:disable
import 'jest-preset-angular';
import 'zone.js';
import 'zone.js/testing';

const mock = () => {
let storage = {};
Expand Down
Loading

0 comments on commit 981b033

Please sign in to comment.