Skip to content

Commit

Permalink
chore: clean up dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ZL-Asica committed Nov 25, 2024
1 parent 2ae29ca commit d7afcaa
Show file tree
Hide file tree
Showing 6 changed files with 1,938 additions and 824 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: weekly
interval: monthly
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm build && pnpm lint-staged
lint-staged
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm build
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ package.json
package-lock.json
*.log.*
.DS_Store
.vscode
.idea
.pnp.*
.yarn
Expand Down
41 changes: 23 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"lint": "eslint 'src/**/*.{js,jsx,mjs,cjs,ts,tsx,mtx}'",
"lint:fix": "eslint 'src/**/*.{js,jsx,mjs,cjs,ts,tsx,mtx}' --fix",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"lint-staged": "lint-staged",
"postinstall": "husky"
},
"dependencies": {
"@docusaurus/core": "3.6.1",
"@docusaurus/plugin-google-gtag": "^3.6.1",
"@docusaurus/preset-classic": "3.6.1",
"@docusaurus/core": "3.6.3",
"@docusaurus/plugin-google-gtag": "^3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@mdx-js/react": "^3.0.0",
"@types/react": "^18.3.12",
"clsx": "^2.0.0",
Expand All @@ -32,26 +32,31 @@
"remark-math": "6"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.6.1",
"@docusaurus/theme-classic": "^3.6.1",
"@docusaurus/tsconfig": "^3.6.1",
"@docusaurus/types": "3.6.1",
"@types/node": "^22.9.0",
"@zl-asica/prettier-config": "^1.0.7",
"@docusaurus/module-type-aliases": "3.6.3",
"@docusaurus/theme-classic": "^3.6.3",
"@docusaurus/tsconfig": "^3.6.3",
"@docusaurus/types": "3.6.3",
"@types/node": "^22.9.3",
"@zl-asica/prettier-config": "^1.0.9",
"babel-preset-minify": "^0.5.2",
"eslint-config-zl-asica":"^1.0.18",
"eslint-config-zl-asica": "^1.0.19",
"globals": "^15.12.0",
"husky": "^9.1.6",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"src/**/*": "eslint --fix"
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"**/*.{cjs,mjs,js,json,md,css}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.5%",
">0.2%",
"not dead",
"not op_mini all"
],
Expand All @@ -64,5 +69,5 @@
"engines": {
"node": ">=18.0"
},
"packageManager": "pnpm@9.13.2"
"packageManager": "pnpm@9.14.2"
}
Loading

0 comments on commit d7afcaa

Please sign in to comment.