Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauryD committed Aug 17, 2024
1 parent 48ea5be commit 80c3b31
Show file tree
Hide file tree
Showing 4 changed files with 12,320 additions and 9,656 deletions.
63 changes: 32 additions & 31 deletions .husky/_/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,41 @@ call_lefthook()
lefthook "$@"
else
dir="$(git rev-parse --show-toplevel)"
if test -f "$dir/node_modules/lefthook/bin/index.js"
osArch=$(uname | tr '[:upper:]' '[:lower:]')
cpuArch=$(uname -m | sed 's/aarch64/arm64/;s/x86_64/x64/')
if test -f "$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook"
then
"$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook" "$@"
elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook" "$@"
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook" "$@"
elif test -f "$dir/node_modules/lefthook/bin/index.js"
then
"$dir/node_modules/lefthook/bin/index.js" "$@"

elif bundle exec lefthook -h >/dev/null 2>&1
then
bundle exec lefthook "$@"
elif yarn lefthook -h >/dev/null 2>&1
then
yarn lefthook "$@"
elif pnpm lefthook -h >/dev/null 2>&1
then
pnpm lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
elif command -v mint >/dev/null 2>&1
then
mint run csjones/lefthook-plugin "$@"
elif command -v npx >/dev/null 2>&1
then
npx lefthook "$@"
else
osArch=$(uname | tr '[:upper:]' '[:lower:]')
cpuArch=$(uname -m | sed 's/aarch64/arm64/')
if test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook" "$@"
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook" "$@"

elif bundle exec lefthook -h >/dev/null 2>&1
then
bundle exec lefthook "$@"
elif yarn lefthook -h >/dev/null 2>&1
then
yarn lefthook "$@"
elif pnpm lefthook -h >/dev/null 2>&1
then
pnpm lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
elif command -v mint >/dev/null 2>&1
then
mint run csjones/lefthook-plugin "$@"
elif command -v npx >/dev/null 2>&1
then
npx lefthook "$@"
else
echo "Can't find lefthook in PATH"
fi
echo "Can't find lefthook in PATH"
fi
fi
}
Expand Down
63 changes: 32 additions & 31 deletions .husky/_/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,41 @@ call_lefthook()
lefthook "$@"
else
dir="$(git rev-parse --show-toplevel)"
if test -f "$dir/node_modules/lefthook/bin/index.js"
osArch=$(uname | tr '[:upper:]' '[:lower:]')
cpuArch=$(uname -m | sed 's/aarch64/arm64/;s/x86_64/x64/')
if test -f "$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook"
then
"$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook" "$@"
elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook" "$@"
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook" "$@"
elif test -f "$dir/node_modules/lefthook/bin/index.js"
then
"$dir/node_modules/lefthook/bin/index.js" "$@"

elif bundle exec lefthook -h >/dev/null 2>&1
then
bundle exec lefthook "$@"
elif yarn lefthook -h >/dev/null 2>&1
then
yarn lefthook "$@"
elif pnpm lefthook -h >/dev/null 2>&1
then
pnpm lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
elif command -v mint >/dev/null 2>&1
then
mint run csjones/lefthook-plugin "$@"
elif command -v npx >/dev/null 2>&1
then
npx lefthook "$@"
else
osArch=$(uname | tr '[:upper:]' '[:lower:]')
cpuArch=$(uname -m | sed 's/aarch64/arm64/')
if test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook_${osArch}_${cpuArch}/lefthook" "$@"
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook"
then
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook_${osArch}_${cpuArch}/lefthook" "$@"

elif bundle exec lefthook -h >/dev/null 2>&1
then
bundle exec lefthook "$@"
elif yarn lefthook -h >/dev/null 2>&1
then
yarn lefthook "$@"
elif pnpm lefthook -h >/dev/null 2>&1
then
pnpm lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
elif command -v mint >/dev/null 2>&1
then
mint run csjones/lefthook-plugin "$@"
elif command -v npx >/dev/null 2>&1
then
npx lefthook "$@"
else
echo "Can't find lefthook in PATH"
fi
echo "Can't find lefthook in PATH"
fi
fi
}
Expand Down
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"test:ember": "ember test"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@ember-data-types/adapter": "5.4.0-beta.11",
"@ember-data-types/graph": "5.4.0-beta.11",
Expand All @@ -52,10 +52,10 @@
"@ember-data/tracking": "5.4.0-beta.11",
"@ember/optional-features": "~2.1.0",
"@ember/render-modifiers": "~2.1.0",
"@ember/string": "^3.1.1",
"@ember/test-helpers": "^3.3.0",
"@ember/string": "^4.0.0",
"@ember/test-helpers": "^3.3.1",
"@ember/test-waiters": "~3.1.0",
"@embroider/compat": "~3.5.5",
"@embroider/compat": "~3.6.0",
"@embroider/core": "~3.4.14",
"@embroider/macros": "^1.16.5",
"@embroider/router": "2.1.8",
Expand All @@ -74,7 +74,7 @@
"@triptyk/ember-simple-auth-token": "6.0.0-beta.1",
"@triptyk/ember-ui": "2.1.0-beta.1",
"@tsconfig/ember": "~3.0.6",
"@types/node": "^20.14.9",
"@types/node": "^22.4.0",
"@types/qunit": "~2.19.10",
"@types/rsvp": "~4.0.9",
"@typescript-eslint/eslint-plugin": "~7.14.1",
Expand All @@ -84,7 +84,7 @@
"@warp-drive/core-types": "0.0.0-beta.11",
"@warp-drive/ember": "0.0.0-beta.6",
"@warp-drive/schema-record": "0.0.0-beta.11",
"autoprefixer": "~10.4.19",
"autoprefixer": "~10.4.20",
"broccoli-asset-rev": "~3.0.0",
"concurrently": "^8.2.2",
"date-fns": "~3.6.0",
Expand All @@ -95,7 +95,7 @@
"ember-cli-app-version": "~7.0.0",
"ember-cli-babel": "~8.2.0",
"ember-cli-clean-css": "^3.0.0",
"ember-cli-code-coverage": "~3.0.0",
"ember-cli-code-coverage": "~3.0.1",
"ember-cli-content-security-policy": "~2.0.3",
"ember-cli-dependency-checker": "~3.3.2",
"ember-cli-flash": "~5.1.0",
Expand All @@ -110,10 +110,10 @@
"ember-data-types": "^5.4.0-beta.11",
"ember-exam": "^9.0.0",
"ember-fetch": "~8.1.2",
"ember-flatpickr": "~8.0.0",
"ember-flatpickr": "~8.0.1",
"ember-immer-changeset": "~1.0.2",
"ember-inflector": "^4.0.2",
"ember-intl": "^7.0.3",
"ember-inflector": "^5.0.1",
"ember-intl": "^7.0.5",
"ember-lifeline": "^7.0.0",
"ember-modifier": "~4.2.0",
"ember-page-title": "~8.2.3",
Expand All @@ -125,7 +125,7 @@
"ember-template-imports": "^4.1.0",
"ember-template-lint": "~6.0.0",
"ember-template-lint-plugin-prettier": "~5.0.0",
"ember-test-selectors": "~6.0.0",
"ember-test-selectors": "~7.0.0",
"ember-truth-helpers": "~4.0.3",
"ember-yeti-table": "^2.0.0",
"eslint": "^8.7.0",
Expand All @@ -138,25 +138,25 @@
"eslint-plugin-unused-imports": "~4.0.0",
"eslint-plugin-yml": "^1.14.0",
"flatpickr": "^4.6.13",
"lefthook": "~1.6.18",
"lefthook": "~1.7.14",
"loader.js": "~4.7.0",
"msw": "^2.3.1",
"postcss": "~8.4.39",
"msw": "^2.3.5",
"postcss": "~8.4.41",
"postcss-import": "~16.1.0",
"prettier": "~3.3.2",
"prettier": "~3.3.3",
"prettier-plugin-ember-template-tag": "^2.0.2",
"qunit": "~2.21.0",
"qunit": "~2.21.1",
"qunit-dom": "~3.2.0",
"rsvp": "^4.8.5",
"stylelint": "^16.6.1",
"stylelint": "^16.8.2",
"stylelint-config-standard": "^36.0.1",
"stylelint-prettier": "^5.0.0",
"tailwindcss": "~3.4.4",
"stylelint-prettier": "^5.0.2",
"tailwindcss": "~3.4.10",
"tracked-built-ins": "~3.3.0",
"true-myth": "^7.3.0",
"type-fest": "^4.20.1",
"typescript": "~5.5.2",
"webpack": "^5.92.1",
"true-myth": "^8.0.0",
"type-fest": "^4.25.0",
"typescript": "~5.5.4",
"webpack": "^5.93.0",
"yup": "^1.4.0"
},
"engines": {
Expand Down
Loading

0 comments on commit 80c3b31

Please sign in to comment.