create-admin-mvp 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/index.d.mts +1 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +175 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +159 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +41 -0
  8. package/templates/admin-portal/ .stylelintrc.cjs +39 -0
  9. package/templates/admin-portal/.dockerignore +60 -0
  10. package/templates/admin-portal/.env +29 -0
  11. package/templates/admin-portal/.env.development +41 -0
  12. package/templates/admin-portal/.env.example +4 -0
  13. package/templates/admin-portal/.env.production +41 -0
  14. package/templates/admin-portal/.eslintrc.cjs +45 -0
  15. package/templates/admin-portal/.github/workflows/ci.yml +217 -0
  16. package/templates/admin-portal/.husky/commit-msg +11 -0
  17. package/templates/admin-portal/.husky/pre-commit +10 -0
  18. package/templates/admin-portal/.lintstagedrc.json +13 -0
  19. package/templates/admin-portal/.prettierrc.cjs +19 -0
  20. package/templates/admin-portal/.stylelintrc.cjs +35 -0
  21. package/templates/admin-portal/Dockerfile +35 -0
  22. package/templates/admin-portal/README.md +196 -0
  23. package/templates/admin-portal/commitlint.config.cjs +41 -0
  24. package/templates/admin-portal/docker-compose.yml +35 -0
  25. package/templates/admin-portal/index.html +13 -0
  26. package/templates/admin-portal/nginx.conf +45 -0
  27. package/templates/admin-portal/package-lock.json +10730 -0
  28. package/templates/admin-portal/package.json +62 -0
  29. package/templates/admin-portal/playwright-report/index.html +85 -0
  30. package/templates/admin-portal/playwright.config.ts +73 -0
  31. package/templates/admin-portal/pnpm-lock.yaml +1620 -0
  32. package/templates/admin-portal/postcss.config.cjs +56 -0
  33. package/templates/admin-portal/public/vite.svg +1 -0
  34. package/templates/admin-portal/src/App.vue +15 -0
  35. package/templates/admin-portal/src/assets/styles/main.css +36 -0
  36. package/templates/admin-portal/src/assets/vue.svg +1 -0
  37. package/templates/admin-portal/src/components/HelloWorld.vue +41 -0
  38. package/templates/admin-portal/src/layout/index.vue +23 -0
  39. package/templates/admin-portal/src/main.ts +12 -0
  40. package/templates/admin-portal/src/mock/auth.ts +26 -0
  41. package/templates/admin-portal/src/permission.ts +15 -0
  42. package/templates/admin-portal/src/router/index.ts +21 -0
  43. package/templates/admin-portal/src/style.css +79 -0
  44. package/templates/admin-portal/src/views/About.vue +15 -0
  45. package/templates/admin-portal/src/views/Home.vue +15 -0
  46. package/templates/admin-portal/src/views/login/index.vue +34 -0
  47. package/templates/admin-portal/test-results/.last-run.json +23 -0
  48. package/templates/admin-portal/test-results/results.json +882 -0
  49. package/templates/admin-portal/tests/e2e/example.spec.ts +52 -0
  50. package/templates/admin-portal/tests/unit/example.test.ts +49 -0
  51. package/templates/admin-portal/tsconfig.app.json +18 -0
  52. package/templates/admin-portal/tsconfig.json +7 -0
  53. package/templates/admin-portal/tsconfig.node.json +22 -0
  54. package/templates/admin-portal/vite.config.ts +21 -0
  55. package/templates/admin-portal/vitest.config.ts +49 -0
  56. package/templates/admin-portal/vitest.setup.ts +60 -0
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "{{projectName}}",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "description": "{{description}}",
6
+ "type": "module",
7
+ "scripts": {
8
+ "prepare": "husky install",
9
+ "dev": "vite",
10
+ "build": "vue-tsc -b && vite build",
11
+ "preview": "vite preview",
12
+ "lint": "eslint . --ext .vue,.js,.ts --fix",
13
+ "format": "prettier --write \"src/**/*.{js,ts,vue,css,scss,md,json}\"",
14
+ "lint:style": "stylelint \"**/*.{vue,css,scss}\" --fix",
15
+ "test": "vitest",
16
+ "test:coverage": "vitest --coverage",
17
+ "test:ui": "vitest --ui",
18
+ "test:e2e": "playwright test",
19
+ "test:e2e:ui": "playwright test --ui",
20
+ "test:e2e:debug": "playwright test --debug",
21
+ "audit": "pnpm audit",
22
+ "audit:fix": "pnpm audit --fix"
23
+ },
24
+ "dependencies": {
25
+ "axios": "^1.13.2",
26
+ "pinia": "^3.0.4",
27
+ "vue": "^3.5.24",
28
+ "vue-router": "^4.6.4"
29
+ },
30
+ "devDependencies": {
31
+ "@commitlint/cli": "^19.0.0",
32
+ "@commitlint/config-conventional": "^19.0.0",
33
+ "@playwright/test": "^1.40.0",
34
+ "@types/node": "^24.10.1",
35
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
36
+ "@typescript-eslint/parser": "^7.0.0",
37
+ "@vitejs/plugin-vue": "^6.0.1",
38
+ "@vitest/coverage-istanbul": "^1.0.0",
39
+ "@vue/test-utils": "^2.4.0",
40
+ "@vue/tsconfig": "^0.8.1",
41
+ "autoprefixer": "^10.4.17",
42
+ "eslint": "^8.57.0",
43
+ "eslint-config-prettier": "^9.1.0",
44
+ "eslint-plugin-vue": "^9.22.0",
45
+ "husky": "^9.0.0",
46
+ "jsdom": "^24.0.0",
47
+ "lint-staged": "^15.2.0",
48
+ "postcss": "^8.4.35",
49
+ "postcss-pxtorem": "^6.1.0",
50
+ "prettier": "^3.2.5",
51
+ "rollup-plugin-visualizer": "^5.11.0",
52
+ "stylelint": "^14.16.1",
53
+ "stylelint-config-prettier": "^9.0.5",
54
+ "stylelint-config-recommended-vue": "^1.5.0",
55
+ "stylelint-config-standard": "^29.0.0",
56
+ "typescript": "~5.9.3",
57
+ "vite": "^7.2.4",
58
+ "vite-plugin-mock": "^3.0.2",
59
+ "vitest": "^1.0.0",
60
+ "vue-tsc": "^3.1.4"
61
+ }
62
+ }