Skip to content

Commit

Permalink
chore: husky init
Browse files Browse the repository at this point in the history
  • Loading branch information
pavjacko committed Mar 19, 2022
1 parent f2878b2 commit b5d577b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
npm run lint
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
"lint": "npx eslint ./packages",
"postinstall": "lerna link --force-local && npx jetify",
"test": "lerna run test --stream",
"watch": "lerna run --parallel --concurrency 2 watch"
"watch": "lerna run --parallel --concurrency 2 watch",
"prepare": "husky install"
},
"dependencies": {
"deepmerge": "3.2.0",
Expand All @@ -99,7 +100,7 @@
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-react": "7.29.3",
"eslint-plugin-react-hooks": "4.3.0",
"husky": "4.2.5",
"husky": "^7.0.0",
"jest": "26.6.3",
"lerna": "4.0.0",
"lint-staged": "12.3.4",
Expand Down Expand Up @@ -151,4 +152,4 @@
"merge": "^2.1.1",
"react-dev-utils": "^12.0.0"
}
}
}
3 changes: 2 additions & 1 deletion packages/rnv-engine-rn-windows/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"watch": "nodemon --watch src --exec yarn build:dev"
},
"dependencies": {
"react-native-windows": "0.67.3"
"react-native-windows": "0.67.3",
"xmldom": "0.6.0"
},
"devDependencies": {
"@babel/cli": "7.17.6",
Expand Down
3 changes: 1 addition & 2 deletions packages/rnv-sdk-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"husky": "4.2.5",
"jest": "^27.3.1",
"lint-staged": "12.3.4",
"ts-jest": "^27.0.7",
Expand All @@ -64,4 +63,4 @@
"eslint"
]
}
}
}
3 changes: 1 addition & 2 deletions packages/rnv-sdk-apple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"husky": "4.2.5",
"jest": "^27.3.1",
"lint-staged": "12.3.4",
"ts-jest": "^27.0.7",
Expand All @@ -62,4 +61,4 @@
"eslint"
]
}
}
}
3 changes: 1 addition & 2 deletions packages/rnv-sdk-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"husky": "4.2.5",
"jest": "^27.3.1",
"lint-staged": "12.3.4",
"ts-jest": "^27.0.7",
Expand All @@ -114,4 +113,4 @@
"eslint"
]
}
}
}
55 changes: 10 additions & 45 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7395,7 +7395,7 @@ compare-version@^0.1.2:
resolved "https://registry.npmjs.org/compare-version/-/compare-version-0.1.2.tgz"
integrity sha1-AWLsLZNR9d3VmpICy6k1NmpyUIA=

[email protected], compare-versions@^3.6.0:
[email protected]:
version "3.6.0"
resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz"
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==
Expand Down Expand Up @@ -10156,13 +10156,6 @@ find-up@^5.0.0, find-up@~5.0.0:
locate-path "^6.0.0"
path-exists "^4.0.0"

find-versions@^3.2.0:
version "3.2.0"
resolved "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz"
integrity sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==
dependencies:
semver-regex "^2.0.0"

find-yarn-workspace-root@~2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz"
Expand Down Expand Up @@ -11400,21 +11393,10 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"

[email protected]:
version "4.2.5"
resolved "https://registry.npmjs.org/husky/-/husky-4.2.5.tgz"
integrity sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ==
dependencies:
chalk "^4.0.0"
ci-info "^2.0.0"
compare-versions "^3.6.0"
cosmiconfig "^6.0.0"
find-versions "^3.2.0"
opencollective-postinstall "^2.0.2"
pkg-dir "^4.2.0"
please-upgrade-node "^3.2.0"
slash "^3.0.0"
which-pm-runs "^1.0.0"
husky@^7.0.0:
version "7.0.4"
resolved "https://registry.npmjs.org/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535"
integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==

hyphenate-style-name@^1.0.2, hyphenate-style-name@^1.0.4:
version "1.0.4"
Expand Down Expand Up @@ -15991,11 +15973,6 @@ open@^8.0.9, open@^8.4.0:
is-docker "^2.1.1"
is-wsl "^2.2.0"

opencollective-postinstall@^2.0.2:
version "2.0.3"
resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz"
integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==

opener@^1.5.1:
version "1.5.2"
resolved "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz"
Expand Down Expand Up @@ -16632,13 +16609,6 @@ [email protected]:
resolved "https://registry.npmjs.org/platform/-/platform-1.3.3.tgz"
integrity sha1-ZGx3ARiZhwtqCQPnXpl+jlHadGE=

please-upgrade-node@^3.2.0:
version "3.2.0"
resolved "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz"
integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==
dependencies:
semver-compare "^1.0.0"

plist@^2.0.1, plist@^3.0.1, plist@^3.0.2, plist@^3.0.4:
version "3.0.4"
resolved "https://registry.npmjs.org/plist/-/plist-3.0.4.tgz"
Expand Down Expand Up @@ -19235,11 +19205,6 @@ semver-diff@^3.1.1:
dependencies:
semver "^6.3.0"

semver-regex@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz"
integrity sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==

"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1:
version "5.7.1"
resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz"
Expand Down Expand Up @@ -21944,11 +21909,6 @@ which-module@^2.0.0:
resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz"
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=

which-pm-runs@^1.0.0:
version "1.1.0"
resolved "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.1.0.tgz"
integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==

which@^1.2.14, which@^1.2.9, which@^1.3.1:
version "1.3.1"
resolved "https://registry.npmjs.org/which/-/which-1.3.1.tgz"
Expand Down Expand Up @@ -22383,6 +22343,11 @@ xmldoc@^1.1.2:
dependencies:
sax "^1.2.1"

[email protected]:
version "0.6.0"
resolved "https://registry.npmjs.org/xmldom/-/xmldom-0.6.0.tgz#43a96ecb8beece991cef382c08397d82d4d0c46f"
integrity sha512-iAcin401y58LckRZ0TkI4k0VSM1Qg0KGSc3i8rU+xrxe19A/BN1zHyVSJY7uoutVlaTSzYyk/v5AmkewAP7jtg==

xpath@^0.0.27:
version "0.0.27"
resolved "https://registry.npmjs.org/xpath/-/xpath-0.0.27.tgz"
Expand Down

0 comments on commit b5d577b

Please sign in to comment.