Skip to content

Commit 9b86f9a

Browse files
chore: update deps (#225)
1 parent 5cf7fec commit 9b86f9a

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
{
114114
"files": ["*.html"],
115115
"rules": {}
116+
},
117+
{
118+
"files": ["*.ts", "*.js", "*.json", "*.md"],
119+
"extends": ["prettier"]
116120
}
117121
]
118122
}

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ jobs:
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
CI: true
36+
HUSKY: 0

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run pre-commit

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = { '*.{ts,json,md}': ['prettier --write', 'git add'] };
1+
module.exports = { '*.{ts,json,md,js}': ['eslint --fix', 'git add'] };

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
"format": "nx format:write",
2424
"format:write": "nx format:write",
2525
"format:check": "nx format:check",
26-
"precommit": "lint-staged",
27-
"semantic-release": "semantic-release"
26+
"pre-commit": "lint-staged",
27+
"semantic-release": "semantic-release",
28+
"prepare": "husky install"
2829
},
2930
"dependencies": {
3031
"@angular/animations": "12.0.0",
@@ -41,7 +42,7 @@
4142
"@nrwl/angular": "12.0.3",
4243
"@nrwl/nx-cloud": "11.2.0",
4344
"@testing-library/dom": "7.29.4",
44-
"@testing-library/user-event": "^12.0.11",
45+
"@testing-library/user-event": "^13.1.9",
4546
"core-js": "^3.6.5",
4647
"rxjs": "^6.5.5",
4748
"tslib": "^2.0.0",
@@ -70,16 +71,16 @@
7071
"cpy-cli": "^3.1.1",
7172
"eslint": "^7.25.0",
7273
"eslint-config-prettier": "8.2.0",
73-
"eslint-plugin-import": "latest",
74+
"eslint-plugin-import": "^2.23.4",
7475
"eslint-plugin-jest": "^24.3.5",
7576
"eslint-plugin-jest-dom": "3.8.0",
7677
"eslint-plugin-testing-library": "^4.0.1",
77-
"husky": "^4.2.5",
78+
"husky": "^6.0.0",
7879
"jest": "^26.1.0",
7980
"jest-preset-angular": "8.4.0",
8081
"lint-staged": "^10.2.11",
8182
"ng-packagr": "12.0.0",
82-
"prettier": "2.2.1",
83+
"prettier": "^2.3.0",
8384
"rimraf": "^3.0.2",
8485
"semantic-release": "^17.1.1",
8586
"ts-jest": "26.5.4",

0 commit comments

Comments
 (0)