-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42a7404
commit aa820df
Showing
4 changed files
with
18 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
yarn turbo test --color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ | |
"test": "ng test ngx-formentry --watch=false", | ||
"test:watch": "ng test ngx-formentry", | ||
"lint": "TIMING=1 ng lint", | ||
"e2e": "ng e2e" | ||
"e2e": "ng e2e", | ||
"prepare": "husky install" | ||
}, | ||
"peerDependencies": { | ||
"@carbon/styles": "1.x" | ||
|
@@ -67,7 +68,7 @@ | |
"@typescript-eslint/parser": "^5.0.0", | ||
"browserslist-config-openmrs": "^1.0.1", | ||
"eslint": "^7.32.0", | ||
"husky": "^4.3.8", | ||
"husky": "^8.0.0", | ||
"jasmine-core": "~5.1.1", | ||
"jasmine-spec-reporter": "~7.0.0", | ||
"karma": "~6.4.2", | ||
|
@@ -88,17 +89,9 @@ | |
"browserslist": [ | ||
"extends browserslist-config-openmrs" | ||
], | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npx lint-staged", | ||
"pre-push": "yarn turbo test --color" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,ts,tsx}": [ | ||
"eslint --cache --fix", | ||
"prettier --cache --write --ignore-unknown --list-different" | ||
] | ||
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0", | ||
"*.{css,scss,ts,tsx}": "prettier --write --list-different" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3172,11 +3172,6 @@ | |
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" | ||
integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== | ||
|
||
"@types/parse-json@^4.0.0": | ||
version "4.0.1" | ||
resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.1.tgz#27f7559836ad796cea31acb63163b203756a5b4e" | ||
integrity sha512-3YmXzzPAdOTVljVMkTMBdBEvlOLg2cDQaDhnnhT3nT9uDbnJzjWhKlzb+desT12Y7tGqaN6d+AbozcKzyL36Ng== | ||
|
||
"@types/q@^0.0.32": | ||
version "0.0.32" | ||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" | ||
|
@@ -4304,11 +4299,6 @@ chrome-trace-event@^1.0.2: | |
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" | ||
integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== | ||
|
||
ci-info@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" | ||
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== | ||
|
||
clean-stack@^2.0.0: | ||
version "2.2.0" | ||
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" | ||
|
@@ -4479,11 +4469,6 @@ commondir@^1.0.1: | |
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" | ||
integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== | ||
|
||
compare-versions@^3.6.0: | ||
version "3.6.0" | ||
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" | ||
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== | ||
|
||
compressible@~2.0.16: | ||
version "2.0.18" | ||
resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" | ||
|
@@ -4620,17 +4605,6 @@ cors@~2.8.5: | |
object-assign "^4" | ||
vary "^1" | ||
|
||
cosmiconfig@^7.0.0: | ||
version "7.1.0" | ||
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" | ||
integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== | ||
dependencies: | ||
"@types/parse-json" "^4.0.0" | ||
import-fresh "^3.2.1" | ||
parse-json "^5.0.0" | ||
path-type "^4.0.0" | ||
yaml "^1.10.0" | ||
|
||
cosmiconfig@^8.2.0: | ||
version "8.3.6" | ||
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" | ||
|
@@ -5735,14 +5709,6 @@ find-up@^4.0.0, find-up@^4.1.0: | |
locate-path "^5.0.0" | ||
path-exists "^4.0.0" | ||
|
||
find-up@^5.0.0: | ||
version "5.0.0" | ||
resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" | ||
integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== | ||
dependencies: | ||
locate-path "^6.0.0" | ||
path-exists "^4.0.0" | ||
|
||
find-up@^6.3.0: | ||
version "6.3.0" | ||
resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" | ||
|
@@ -5751,13 +5717,6 @@ find-up@^6.3.0: | |
locate-path "^7.1.0" | ||
path-exists "^5.0.0" | ||
|
||
find-versions@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-4.0.0.tgz#3c57e573bf97769b8cb8df16934b627915da4965" | ||
integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ== | ||
dependencies: | ||
semver-regex "^3.1.2" | ||
|
||
flat-cache@^3.0.4: | ||
version "3.1.1" | ||
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b" | ||
|
@@ -6391,21 +6350,10 @@ humanize-ms@^1.2.1: | |
dependencies: | ||
ms "^2.0.0" | ||
|
||
husky@^4.3.8: | ||
version "4.3.8" | ||
resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d" | ||
integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow== | ||
dependencies: | ||
chalk "^4.0.0" | ||
ci-info "^2.0.0" | ||
compare-versions "^3.6.0" | ||
cosmiconfig "^7.0.0" | ||
find-versions "^4.0.0" | ||
opencollective-postinstall "^2.0.2" | ||
pkg-dir "^5.0.0" | ||
please-upgrade-node "^3.2.0" | ||
slash "^3.0.0" | ||
which-pm-runs "^1.0.0" | ||
husky@^8.0.0: | ||
version "8.0.3" | ||
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" | ||
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== | ||
|
||
[email protected], iconv-lite@^0.4.24: | ||
version "0.4.24" | ||
|
@@ -7406,13 +7354,6 @@ locate-path@^5.0.0: | |
dependencies: | ||
p-locate "^4.1.0" | ||
|
||
locate-path@^6.0.0: | ||
version "6.0.0" | ||
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" | ||
integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== | ||
dependencies: | ||
p-locate "^5.0.0" | ||
|
||
locate-path@^7.1.0: | ||
version "7.2.0" | ||
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" | ||
|
@@ -8265,11 +8206,6 @@ [email protected], 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.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259" | ||
integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q== | ||
|
||
optionator@^0.9.1: | ||
version "0.9.3" | ||
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" | ||
|
@@ -8309,13 +8245,6 @@ p-limit@^2.2.0: | |
dependencies: | ||
p-try "^2.0.0" | ||
|
||
p-limit@^3.0.2: | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" | ||
integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== | ||
dependencies: | ||
yocto-queue "^0.1.0" | ||
|
||
p-limit@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" | ||
|
@@ -8330,13 +8259,6 @@ p-locate@^4.1.0: | |
dependencies: | ||
p-limit "^2.2.0" | ||
|
||
p-locate@^5.0.0: | ||
version "5.0.0" | ||
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" | ||
integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== | ||
dependencies: | ||
p-limit "^3.0.2" | ||
|
||
p-locate@^6.0.0: | ||
version "6.0.0" | ||
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" | ||
|
@@ -8405,7 +8327,7 @@ parent-module@^1.0.0: | |
dependencies: | ||
callsites "^3.0.0" | ||
|
||
parse-json@^5.0.0, parse-json@^5.2.0: | ||
parse-json@^5.2.0: | ||
version "5.2.0" | ||
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" | ||
integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== | ||
|
@@ -8607,27 +8529,13 @@ pkg-dir@^4.1.0: | |
dependencies: | ||
find-up "^4.0.0" | ||
|
||
pkg-dir@^5.0.0: | ||
version "5.0.0" | ||
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760" | ||
integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA== | ||
dependencies: | ||
find-up "^5.0.0" | ||
|
||
pkg-dir@^7.0.0: | ||
version "7.0.0" | ||
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11" | ||
integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA== | ||
dependencies: | ||
find-up "^6.3.0" | ||
|
||
please-upgrade-node@^3.2.0: | ||
version "3.2.0" | ||
resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" | ||
integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== | ||
dependencies: | ||
semver-compare "^1.0.0" | ||
|
||
png-js@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/png-js/-/png-js-1.0.0.tgz#e5484f1e8156996e383aceebb3789fd75df1874d" | ||
|
@@ -9282,16 +9190,6 @@ selfsigned@^2.1.1: | |
"@types/node-forge" "^1.3.0" | ||
node-forge "^1" | ||
|
||
semver-compare@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" | ||
integrity sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow== | ||
|
||
semver-regex@^3.1.2: | ||
version "3.1.4" | ||
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.4.tgz#13053c0d4aa11d070a2f2872b6b1e3ae1e1971b4" | ||
integrity sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA== | ||
|
||
[email protected]: | ||
version "7.5.3" | ||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" | ||
|
@@ -10654,11 +10552,6 @@ which-module@^2.0.0: | |
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" | ||
integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== | ||
|
||
which-pm-runs@^1.0.0: | ||
version "1.1.0" | ||
resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.1.0.tgz#35ccf7b1a0fce87bd8b92a478c9d045785d3bf35" | ||
integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA== | ||
|
||
which-typed-array@^1.1.11, which-typed-array@^1.1.9: | ||
version "1.1.13" | ||
resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" | ||
|
@@ -10821,11 +10714,6 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" | ||
integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== | ||
|
||
yaml@^1.10.0: | ||
version "1.10.2" | ||
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" | ||
integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== | ||
|
||
[email protected], yargs-parser@^21.1.1: | ||
version "21.1.1" | ||
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" | ||
|
@@ -10892,11 +10780,6 @@ yn@^2.0.0: | |
resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a" | ||
integrity sha512-uTv8J/wiWTgUTg+9vLTi//leUl5vDQS6uii/emeTb2ssY7vl6QWf2fFbIIGjnhjvbdKlU0ed7QPgY1htTC86jQ== | ||
|
||
yocto-queue@^0.1.0: | ||
version "0.1.0" | ||
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" | ||
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== | ||
|
||
yocto-queue@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" | ||
|