chore: 搭建项目基础
Showing
with
320 additions
and
20 deletions
.gitignore
0 → 100644
.lintstagedrc
0 → 100644
commitlint.config.mjs
0 → 100644
common/utils/package.json
0 → 100644
| { | ||
| "name": "@common/utils", | ||
| "type": "module", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "exports": { | ||
| ".": "./src/index.ts", | ||
| "./constants": "./src/constants.ts" | ||
| } | ||
| } |
common/utils/src/constants.ts
0 → 100644
common/utils/src/index.ts
0 → 100644
common/vue-kit/package.json
0 → 100644
| { | ||
| "name": "@common/vue-kit", | ||
| "type": "module", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "exports": { | ||
| ".": "./src/index.ts", | ||
| "./composables": "./src/composables/index.ts" | ||
| }, | ||
| "peerDependencies": { | ||
| "vue": "^3.4.0" | ||
| } | ||
| } |
common/vue-kit/src/index.ts
0 → 100644
eslint.config.mjs
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "common-web", | ||
| "type": "module", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "packageManager": "pnpm@9.12.3", | ||
| "scripts": { | ||
| "dev:project": "tsx scripts/dev.ts", | ||
| "build:project": "tsx scripts/build.ts", | ||
| "lint": "eslint .", | ||
| "lint:fix": "eslint . --fix", | ||
| "prepare": "husky" | ||
| }, | ||
| "devDependencies": { | ||
| "@antfu/eslint-config": "^3.9.2", | ||
| "@commitlint/cli": "^19.5.0", | ||
| "@commitlint/config-conventional": "^19.5.0", | ||
| "eslint-plugin-format": "^0.1.2", | ||
| "husky": "^9.1.6", | ||
| "lint-staged": "^15.2.10", | ||
| "tsx": "^4.19.2", | ||
| "typescript": "^5.6.3" | ||
| } | ||
| } |
packages/official-site-web/app.vue
0 → 100644
packages/official-site-web/nuxt.config.ts
0 → 100644
packages/official-site-web/package.json
0 → 100644
| { | ||
| "name": "official-site-web", | ||
| "type": "module", | ||
| "version": "1.0.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev": "nuxt dev", | ||
| "build": "nuxt build", | ||
| "generate": "nuxt generate", | ||
| "preview": "nuxt preview", | ||
| "postinstall": "nuxt prepare", | ||
| "lint": "eslint .", | ||
| "lint:fix": "eslint . --fix" | ||
| }, | ||
| "dependencies": { | ||
| "@common/utils": "workspace:*", | ||
| "@common/vue-kit": "workspace:*", | ||
| "ant-design-vue": "^4.2.6", | ||
| "nuxt": "^3.14.1", | ||
| "pinia": "^2.2.6", | ||
| "vue": "^3.5.13" | ||
| }, | ||
| "devDependencies": { | ||
| "@pinia/nuxt": "^0.7.0", | ||
| "@unocss/nuxt": "^0.64.1", | ||
| "typescript": "^5.6.3", | ||
| "unocss": "^0.64.1" | ||
| } | ||
| } |
packages/official-site-web/pages/index.vue
0 → 100644
packages/official-site-web/stores/app.ts
0 → 100644
packages/official-site-web/tsconfig.json
0 → 100644
pnpm-lock.yaml
0 → 100644
This diff could not be displayed because it is too large.
pnpm-workspace.yaml
0 → 100644
scripts/build.ts
0 → 100644
scripts/dev.ts
0 → 100644
Please
register
or
sign in
to comment