xiaoxian521
1 year ago
34 changed files with 2022 additions and 1262 deletions
-
21.dockerignore
-
2.env.staging
-
12.vscode/vue3.0.code-snippets
-
6.vscode/vue3.2.code-snippets
-
20.vscode/vue3.3.code-snippets
-
20Dockerfile
-
29README.en-US.md
-
41README.md
-
71package.json
-
2642pnpm-lock.yaml
-
2public/serverConfig.json
-
BINsrc/assets/user.jpg
-
27src/components/ReDialog/index.ts
-
57src/components/ReDialog/index.vue
-
4src/components/ReDialog/type.ts
-
7src/components/RePureTableBar/src/bar.tsx
-
6src/layout/components/navbar.vue
-
3src/layout/components/notice/index.vue
-
32src/layout/components/search/components/SearchFooter.vue
-
42src/layout/components/search/components/SearchModal.vue
-
36src/layout/components/search/components/SearchResult.vue
-
1src/layout/components/setting/index.vue
-
6src/layout/components/sidebar/horizontal.vue
-
5src/layout/components/sidebar/logo.vue
-
6src/layout/components/sidebar/mixNav.vue
-
2src/layout/components/tag/index.vue
-
4src/layout/hooks/useNav.ts
-
21src/layout/index.vue
-
31src/router/index.ts
-
35src/style/dark.scss
-
38src/style/element-plus.scss
-
6src/utils/http/index.ts
-
3tsconfig.json
-
4types/index.d.ts
@ -0,0 +1,21 @@ |
|||
node_modules |
|||
.DS_Store |
|||
dist |
|||
dist-ssr |
|||
*.local |
|||
.eslintcache |
|||
report.html |
|||
|
|||
yarn.lock |
|||
npm-debug.log* |
|||
.pnpm-error.log* |
|||
.pnpm-debug.log |
|||
tests/**/coverage/ |
|||
|
|||
# Editor directories and files |
|||
.idea |
|||
*.suo |
|||
*.ntvs* |
|||
*.njsproj |
|||
*.sln |
|||
tsconfig.tsbuildinfo |
@ -0,0 +1,20 @@ |
|||
{ |
|||
"Vue3.3+defineOptions快速生成模板": { |
|||
"scope": "vue", |
|||
"prefix": "Vue3.3+", |
|||
"body": [ |
|||
"<script setup lang='ts'>", |
|||
"defineOptions({", |
|||
"\tname: ''", |
|||
"})", |
|||
"</script>\n", |
|||
"<template>", |
|||
"\t<div>test</div>", |
|||
"</template>\n", |
|||
"<style lang='scss' scoped>\n", |
|||
"</style>", |
|||
"$2" |
|||
], |
|||
"description": "Vue3.3+defineOptions快速生成模板" |
|||
} |
|||
} |
@ -0,0 +1,20 @@ |
|||
FROM node:16-alpine as build-stage |
|||
|
|||
WORKDIR /app |
|||
RUN corepack enable |
|||
RUN corepack prepare [email protected] --activate |
|||
|
|||
RUN npm config set registry https://registry.npmmirror.com |
|||
|
|||
COPY .npmrc package.json pnpm-lock.yaml ./ |
|||
RUN pnpm install --frozen-lockfile |
|||
|
|||
COPY . . |
|||
RUN pnpm build |
|||
|
|||
FROM nginx:stable-alpine as production-stage |
|||
|
|||
COPY --from=build-stage /app/dist /usr/share/nginx/html |
|||
EXPOSE 80 |
|||
|
|||
CMD ["nginx", "-g", "daemon off;"] |
@ -1,6 +1,6 @@ |
|||
{ |
|||
"name": "pure-admin-thin", |
|||
"version": "4.1.0", |
|||
"version": "4.3.0", |
|||
"private": true, |
|||
"scripts": { |
|||
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite", |
|||
@ -13,10 +13,10 @@ |
|||
"typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck", |
|||
"svgo": "svgo -f src/assets/svg -o src/assets/svg", |
|||
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML", |
|||
"clean:cache": "rm -rf node_modules && rm -rf .eslintcache && pnpm install", |
|||
"clean:cache": "rimraf node_modules && rimraf .eslintcache && pnpm install", |
|||
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix", |
|||
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"", |
|||
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", |
|||
"lint:stylelint": "stylelint \"**/*.{html,vue,css,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/", |
|||
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", |
|||
"lint:pretty": "pretty-quick --staged", |
|||
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint", |
|||
@ -30,71 +30,71 @@ |
|||
], |
|||
"dependencies": { |
|||
"@pureadmin/descriptions": "^1.1.1", |
|||
"@pureadmin/table": "^2.1.0", |
|||
"@pureadmin/utils": "^1.8.9", |
|||
"@pureadmin/table": "^2.2.0", |
|||
"@pureadmin/utils": "^1.9.3", |
|||
"@vueuse/core": "^10.1.2", |
|||
"@vueuse/motion": "2.0.0-beta.12", |
|||
"@vueuse/motion": "^2.0.0", |
|||
"animate.css": "^4.1.1", |
|||
"axios": "^1.4.0", |
|||
"dayjs": "^1.11.7", |
|||
"dayjs": "^1.11.8", |
|||
"echarts": "^5.4.2", |
|||
"element-plus": "^2.3.4", |
|||
"element-plus": "^2.3.6", |
|||
"element-resize-detector": "^1.2.4", |
|||
"js-cookie": "^3.0.5", |
|||
"mitt": "^3.0.0", |
|||
"mockjs": "^1.1.0", |
|||
"nprogress": "^0.2.0", |
|||
"path": "^0.12.7", |
|||
"pinia": "^2.0.36", |
|||
"qs": "^6.11.1", |
|||
"pinia": "^2.1.3", |
|||
"qs": "^6.11.2", |
|||
"responsive-storage": "^2.2.0", |
|||
"sortablejs": "^1.15.0", |
|||
"vue": "^3.3.1", |
|||
"vue": "^3.3.4", |
|||
"vue-i18n": "^9.2.2", |
|||
"vue-router": "^4.1.6", |
|||
"vue-types": "^5.0.2" |
|||
"vue-router": "^4.2.2", |
|||
"vue-types": "^5.0.3" |
|||
}, |
|||
"devDependencies": { |
|||
"@commitlint/cli": "^17.6.3", |
|||
"@commitlint/config-conventional": "^17.6.3", |
|||
"@commitlint/cli": "^17.6.5", |
|||
"@commitlint/config-conventional": "^17.6.5", |
|||
"@iconify-icons/ep": "^1.2.11", |
|||
"@iconify-icons/ri": "^1.2.7", |
|||
"@iconify-icons/ri": "^1.2.8", |
|||
"@iconify/vue": "^4.1.1", |
|||
"@intlify/unplugin-vue-i18n": "^0.10.0", |
|||
"@intlify/unplugin-vue-i18n": "^0.11.0", |
|||
"@pureadmin/theme": "^3.0.0", |
|||
"@types/element-resize-detector": "1.1.3", |
|||
"@types/js-cookie": "^3.0.3", |
|||
"@types/mockjs": "^1.0.7", |
|||
"@types/node": "^18.15.12", |
|||
"@types/node": "^20.2.5", |
|||
"@types/nprogress": "0.2.0", |
|||
"@types/qs": "^6.9.7", |
|||
"@types/sortablejs": "^1.15.1", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.5", |
|||
"@typescript-eslint/parser": "^5.59.5", |
|||
"@vitejs/plugin-vue": "^4.2.2", |
|||
"@typescript-eslint/eslint-plugin": "^5.59.8", |
|||
"@typescript-eslint/parser": "^5.59.8", |
|||
"@vitejs/plugin-vue": "^4.2.3", |
|||
"@vitejs/plugin-vue-jsx": "^3.0.1", |
|||
"@vue/eslint-config-prettier": "^7.1.0", |
|||
"@vue/eslint-config-typescript": "^11.0.3", |
|||
"autoprefixer": "^10.4.14", |
|||
"cloc": "^2.11.0", |
|||
"cssnano": "^6.0.1", |
|||
"eslint": "^8.40.0", |
|||
"eslint": "^8.42.0", |
|||
"eslint-plugin-prettier": "^4.2.1", |
|||
"eslint-plugin-vue": "^9.12.0", |
|||
"eslint-plugin-vue": "^9.14.1", |
|||
"husky": "^8.0.3", |
|||
"lint-staged": "^13.2.2", |
|||
"picocolors": "^1.0.0", |
|||
"postcss": "^8.4.23", |
|||
"postcss": "^8.4.24", |
|||
"postcss-html": "^1.5.0", |
|||
"postcss-import": "^15.1.0", |
|||
"postcss-scss": "^4.0.6", |
|||
"prettier": "^2.8.7", |
|||
"pretty-quick": "3.1.1", |
|||
"rimraf": "^5.0.0", |
|||
"prettier": "^2.8.8", |
|||
"pretty-quick": "^3.1.3", |
|||
"rimraf": "^5.0.1", |
|||
"rollup-plugin-visualizer": "^5.9.0", |
|||
"sass": "^1.62.1", |
|||
"sass-loader": "^13.2.2", |
|||
"stylelint": "^15.6.1", |
|||
"sass-loader": "^13.3.1", |
|||
"stylelint": "^15.6.3", |
|||
"stylelint-config-html": "^1.1.0", |
|||
"stylelint-config-recess-order": "^4.0.0", |
|||
"stylelint-config-recommended": "^12.0.0", |
|||
@ -107,16 +107,16 @@ |
|||
"stylelint-scss": "^5.0.0", |
|||
"svgo": "^3.0.2", |
|||
"tailwindcss": "^3.3.2", |
|||
"terser": "^5.17.1", |
|||
"typescript": "^5.0.4", |
|||
"vite": "^4.3.5", |
|||
"terser": "^5.17.7", |
|||
"typescript": "5.0.4", |
|||
"vite": "^4.3.9", |
|||
"vite-plugin-cdn-import": "^0.3.5", |
|||
"vite-plugin-compression": "^0.5.1", |
|||
"vite-plugin-mock": "^2.9.6", |
|||
"vite-plugin-remove-console": "^2.1.1", |
|||
"vite-svg-loader": "^4.0.0", |
|||
"vue-eslint-parser": "^9.2.1", |
|||
"vue-tsc": "^1.6.4" |
|||
"vue-eslint-parser": "^9.3.0", |
|||
"vue-tsc": "^1.6.5" |
|||
}, |
|||
"pnpm": { |
|||
"peerDependencyRules": { |
|||
@ -128,10 +128,11 @@ |
|||
}, |
|||
"allowedDeprecatedVersions": { |
|||
"sourcemap-codec": "*", |
|||
"w3c-hr-time": "*", |
|||
"stable": "*" |
|||
} |
|||
}, |
|||
"repository": "[email protected]:pure-admin/vue-pure-admin.git", |
|||
"repository": "[email protected]:pure-admin/pure-admin-thin.git", |
|||
"author": "xiaoxian521", |
|||
"license": "MIT" |
|||
} |
2642
pnpm-lock.yaml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue