Skip to content

Commit f778333

Browse files
authored
fix: semantic-release config
fix: release
2 parents 17d4e92 + de4a470 commit f778333

File tree

3 files changed

+1741
-1752
lines changed

3 files changed

+1741
-1752
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
extends: [
55
'plugin:react/recommended',
66
'plugin:@typescript-eslint/recommended',
7-
'prettier/@typescript-eslint',
7+
'prettier',
88
'plugin:prettier/recommended',
99
],
1010
parser: '@typescript-eslint/parser',

package.json

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@
3333
}
3434
],
3535
"scripts": {
36-
"clean": "rimraf dist",
37-
"prebuild": "npm run clean",
36+
"prebuild": "rimraf dist",
3837
"build": "microbundle build --jsx React.createElement",
3938
"lint": "eslint '**/*.{js,ts}'",
4039
"lint:fix": "npm run lint -- --fix",
4140
"lint:types": "tsc --noEmit",
4241
"test": "jest --runInBand",
43-
"test:watch": "npm run test -- --watchAll --coverage",
44-
"postversion": "git push && git push origin v$npm_package_version",
45-
"prepublishOnly": "npm run lint && npm run lint:types && npm test && npm run build"
42+
"test:watch": "npm run test -- --watchAll --coverage"
4643
},
4744
"keywords": [
4845
"react",
@@ -66,28 +63,28 @@
6663
},
6764
"homepage": "https://react-hook-form.com",
6865
"devDependencies": {
69-
"@testing-library/react": "^11.2.2",
70-
"@types/jest": "^26.0.15",
71-
"@types/react": "^17.0.0",
72-
"@types/react-dom": "^17.0.0",
73-
"@typescript-eslint/eslint-plugin": "^4.8.1",
74-
"@typescript-eslint/parser": "^4.8.1",
75-
"eslint": "^7.14.0",
76-
"eslint-config-prettier": "^6.15.0",
77-
"eslint-plugin-prettier": "^3.1.4",
78-
"eslint-plugin-react": "^7.21.5",
66+
"@testing-library/react": "^11.2.6",
67+
"@types/jest": "^26.0.22",
68+
"@types/react": "^17.0.3",
69+
"@types/react-dom": "^17.0.3",
70+
"@typescript-eslint/eslint-plugin": "^4.21.0",
71+
"@typescript-eslint/parser": "^4.21.0",
72+
"eslint": "^7.23.0",
73+
"eslint-config-prettier": "^8.1.0",
74+
"eslint-plugin-prettier": "^3.3.1",
75+
"eslint-plugin-react": "^7.23.2",
7976
"eslint-plugin-react-hooks": "^4.2.0",
8077
"husky": "^4.3.0",
8178
"jest": "^26.6.3",
82-
"lint-staged": "^10.5.1",
83-
"microbundle": "^0.12.4",
84-
"prettier": "^2.2.0",
85-
"react": "^17.0.1",
86-
"react-dom": "^17.0.1",
79+
"lint-staged": "^10.5.4",
80+
"microbundle": "^0.13.0",
81+
"prettier": "^2.2.1",
82+
"react": "^17.0.2",
83+
"react-dom": "^17.0.2",
8784
"react-hook-form": "^6.11.4",
8885
"rimraf": "^3.0.2",
89-
"ts-jest": "^26.4.4",
90-
"typescript": "^4.1.2"
86+
"ts-jest": "^26.5.4",
87+
"typescript": "^4.2.4"
9188
},
9289
"peerDependencies": {
9390
"react": ">=16.8.0",

0 commit comments

Comments
 (0)