refactor: monorepo structure (#1082)

This commit is contained in:
Innei
2023-06-04 14:42:20 +08:00
committed by GitHub
parent 92a5460167
commit ffdc153a3d
376 changed files with 848 additions and 381 deletions

View File

@@ -24,11 +24,6 @@
},
"./package.json": "./package.json"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"bump": {
"before": [
"git pull --rebase",
@@ -41,15 +36,6 @@
"tag": false,
"commit_message": "chore(release): bump @mx-space/api-client to v${NEW_VERSION}"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --ignore-path ./.prettierignore --write ",
"eslint --cache"
]
},
"engines": {
"pnpm": ">=6"
},
"scripts": {
"package": "rm -rf dist && tsup && node mod-dts.mjs",
"build": "npm run package",
@@ -69,6 +55,8 @@
"ky": "0.33.3",
"lodash": "4.17.21",
"tsup": "6.7.0",
"umi-request": "1.4.0"
"umi-request": "1.4.0",
"vitest": "^0.31.4",
"vite": "^4.3.9"
}
}