Skip to content

Commit

Permalink
feat: 新增基本ui功能
Browse files Browse the repository at this point in the history
  • Loading branch information
rookie-luochao committed Sep 4, 2023
1 parent c9fcad8 commit cfc2e66
Show file tree
Hide file tree
Showing 28 changed files with 1,107 additions and 267 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-vite-app-cli",
"version": "0.3.0",
"version": "0.4.0",
"type": "module",
"license": "MIT",
"author": "Lane",
Expand Down
1 change: 0 additions & 1 deletion template-react-ts/.husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npx pretty-quick --staged --pattern '**/*.*(ts|tsx|js|jsx|json|html)'
12 changes: 9 additions & 3 deletions template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"openapi": "ts-node './src/core/openapi/index.ts'"
},
"dependencies": {
"@ant-design/icons": "^5.2.5",
"@emotion/react": "^11.11.1",
"@tanstack/react-query": "^4.32.0",
"ahooks": "^3.7.8",
Expand All @@ -22,7 +23,9 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.11",
"react-markdown": "^8.0.7",
"react-router-dom": "^6.14.1",
"rxjs": "^7.8.1",
"zustand": "^4.3.9"
},
"devDependencies": {
Expand All @@ -36,13 +39,13 @@
"@typescript-eslint/parser": "^6.0.0",
"@umijs/openapi": "^1.8.5",
"@vitejs/plugin-react": "^4.0.3",
"csstype": "^3.1.2",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"vite": "^4.4.5"
Expand Down Expand Up @@ -72,8 +75,11 @@
}
},
"lint-staged": {
"*.{ts,tsx}": [
"*.(ts|tsx)": [
"eslint --quiet"
],
"*.(ts|tsx|json|html)": [
"prettier --write"
]
},
"prettier": {
Expand Down
Loading

0 comments on commit cfc2e66

Please sign in to comment.