Skip to content

Commit

Permalink
[optimize] upgrade to Husky 9 & other latest Upstream packages (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Feb 27, 2024
1 parent f8a6381 commit 683294f
Show file tree
Hide file tree
Showing 6 changed files with 1,807 additions and 1,316 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm test
4 changes: 0 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm run build
1 change: 1 addition & 0 deletions config/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default ({ env }) => {
config: {
provider: 'strapi-provider-upload-azure-storage',
providerOptions: {
authType: 'default',
serviceBaseURL,
account,
accountKey: env('AZURE_BLOB_ACCOUNT_KEY'),
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@
},
"dependencies": {
"@ckeditor/strapi-plugin-ckeditor": "^0.0.10",
"@strapi/plugin-color-picker": "4.16.2",
"@strapi/plugin-documentation": "4.16.2",
"@strapi/plugin-i18n": "4.16.2",
"@strapi/plugin-users-permissions": "4.16.2",
"@strapi/strapi": "4.16.2",
"better-sqlite3": "9.2.2",
"@strapi/plugin-color-picker": "4.20.2",
"@strapi/plugin-documentation": "4.20.2",
"@strapi/plugin-i18n": "4.20.2",
"@strapi/plugin-users-permissions": "4.20.2",
"@strapi/strapi": "4.20.2",
"better-sqlite3": "9.4.3",
"pg": "^8.11.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^5.3.4",
"strapi-content-type-explorer": "^0.1.1",
"strapi-plugin-multi-select": "^1.2.2",
"strapi-content-type-explorer": "^0.2.2",
"strapi-plugin-multi-select": "^1.2.3",
"strapi-plugin-react-icons": "^0.2.2",
"strapi-plugin-transformer": "^3.1.2",
"strapi-provider-upload-azure-storage": "^3.3.0",
"strapi-provider-upload-azure-storage": "^3.4.0",
"styled-components": "^5.3.11"
},
"devDependencies": {
"@codemirror/autocomplete": "^6.11.1",
"@codemirror/lint": "^6.4.2",
"@codemirror/search": "^6.5.5",
"@codemirror/autocomplete": "^6.12.0",
"@codemirror/lint": "^6.5.0",
"@codemirror/search": "^6.5.6",
"@codemirror/theme-one-dark": "^6.1.2",
"cross-env": "^7.0.3",
"get-git-folder": "^0.1.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1"
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5"
},
"prettier": {
"singleQuote": true
Expand All @@ -43,7 +43,7 @@
"*.{md,json,yml,js,mjs,ts,tsx}": "prettier --write"
},
"scripts": {
"prepare": "husky install || true",
"prepare": "husky || true",
"install": "get-git-folder https://github.com/kaiyuanshe/service-configuration main OpenHackathon-server || true",
"test": "lint-staged",
"strapi": "strapi",
Expand Down
Loading

0 comments on commit 683294f

Please sign in to comment.