create-young-proj 1.5.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/package.json +1 -1
  3. package/template-nuxt-admin/README.md +1 -1
  4. package/template-nuxt-admin/nuxt.config.ts +4 -5
  5. package/template-nuxt-admin/package.json +0 -1
  6. package/template-nuxt-admin/server/plugins/env.ts +8 -0
  7. package/template-nuxt-admin/yarn.lock +0 -5
  8. package/template-nuxt-mobile/.nvmrc +1 -0
  9. package/{template-vue-mobile → template-nuxt-mobile}/.vscode/extensions.json +5 -3
  10. package/template-nuxt-mobile/.vscode/settings.json +39 -0
  11. package/{template-vue-mobile → template-nuxt-mobile}/Dockerfile +12 -13
  12. package/template-nuxt-mobile/README.md +90 -0
  13. package/template-nuxt-mobile/_gitignore +26 -0
  14. package/template-nuxt-mobile/_npmrc +2 -0
  15. package/template-nuxt-mobile/_nvmrc +1 -0
  16. package/template-nuxt-mobile/app.vue +79 -0
  17. package/template-nuxt-mobile/boot.mjs +17 -0
  18. package/template-nuxt-mobile/components/young/CodeInput.vue +72 -0
  19. package/template-nuxt-mobile/composables/api.ts +57 -0
  20. package/template-nuxt-mobile/composables/apis/get.ts +22 -0
  21. package/template-nuxt-mobile/composables/apis/index.ts +8 -0
  22. package/template-nuxt-mobile/composables/apis/post.ts +39 -0
  23. package/template-nuxt-mobile/composables/share.ts +22 -0
  24. package/template-nuxt-mobile/composables/user.ts +48 -0
  25. package/template-nuxt-mobile/composables/utils.ts +80 -0
  26. package/template-nuxt-mobile/config/.devrc +2 -0
  27. package/template-nuxt-mobile/env.d.ts +65 -0
  28. package/template-nuxt-mobile/error.vue +69 -0
  29. package/template-nuxt-mobile/eslint.config.js +33 -0
  30. package/template-nuxt-mobile/layouts/blank.vue +11 -0
  31. package/template-nuxt-mobile/layouts/default.vue +32 -0
  32. package/template-nuxt-mobile/layouts/tabbar.vue +29 -0
  33. package/template-nuxt-mobile/middleware/auth.global.ts +34 -0
  34. package/template-nuxt-mobile/nuxt.config.ts +78 -0
  35. package/template-nuxt-mobile/package.json +40 -0
  36. package/template-nuxt-mobile/pages/base/login.vue +124 -0
  37. package/template-nuxt-mobile/pages/base/resetPasswd.vue +84 -0
  38. package/template-nuxt-mobile/pages/index.vue +22 -0
  39. package/template-nuxt-mobile/pages/my.vue +18 -0
  40. package/template-nuxt-mobile/pages/sub/[id].vue +21 -0
  41. package/template-nuxt-mobile/public/favicon.ico +0 -0
  42. package/template-nuxt-mobile/public/robots.txt +2 -0
  43. package/template-nuxt-mobile/server/plugins/init.ts +94 -0
  44. package/template-nuxt-mobile/server/routes/get/env.ts +13 -0
  45. package/template-nuxt-mobile/server/tsconfig.json +3 -0
  46. package/template-nuxt-mobile/server/utils/index.ts +12 -0
  47. package/template-nuxt-mobile/server/utils/proxy.ts +59 -0
  48. package/template-nuxt-mobile/tsconfig.json +4 -0
  49. package/template-nuxt-mobile/typings/system.d.ts +22 -0
  50. package/template-nuxt-mobile/uno.config.ts +40 -0
  51. package/template-nuxt-mobile/utils/tool.ts +153 -0
  52. package/template-nuxt-mobile/yarn.lock +7737 -0
  53. package/template-nuxt-website/README.md +3 -1
  54. package/template-nuxt-website/nuxt.config.ts +4 -5
  55. package/template-vitepress/.vitepress/components/HomePage.vue +9 -7
  56. package/template-vitepress/.vitepress/components/TodoItem.vue +7 -3
  57. package/template-vitepress/.vscode/settings.json +39 -0
  58. package/template-vitepress/README.md +2 -0
  59. package/template-vitepress/boot.mjs +7 -8
  60. package/template-vitepress/eslint.config.js +46 -0
  61. package/template-vitepress/nitro.config.ts +1 -2
  62. package/template-vitepress/package.json +19 -6
  63. package/template-vitepress/tsconfig.json +1 -1
  64. package/template-vitepress/yarn.lock +5459 -0
  65. package/template-vue-mobile/.vscode/base.code-snippets +0 -24
  66. package/template-vue-mobile/.vscode/settings.json +0 -7
  67. package/template-vue-mobile/README.md +0 -71
  68. package/template-vue-mobile/_env +0 -6
  69. package/template-vue-mobile/_gitignore +0 -30
  70. package/template-vue-mobile/boot.mjs +0 -16
  71. package/template-vue-mobile/build/custom-plugin.ts +0 -30
  72. package/template-vue-mobile/build/index.ts +0 -7
  73. package/template-vue-mobile/build/plugins.ts +0 -68
  74. package/template-vue-mobile/config/.devrc +0 -2
  75. package/template-vue-mobile/index.html +0 -25
  76. package/template-vue-mobile/nitro.config.ts +0 -19
  77. package/template-vue-mobile/package.json +0 -48
  78. package/template-vue-mobile/plugins/env.ts +0 -26
  79. package/template-vue-mobile/public/vite.svg +0 -1
  80. package/template-vue-mobile/rome.json +0 -24
  81. package/template-vue-mobile/routes/[...all].ts +0 -11
  82. package/template-vue-mobile/routes/get/env.ts +0 -25
  83. package/template-vue-mobile/src/App.vue +0 -29
  84. package/template-vue-mobile/src/auto-components.d.ts +0 -24
  85. package/template-vue-mobile/src/auto-imports.d.ts +0 -289
  86. package/template-vue-mobile/src/components/Init.vue +0 -36
  87. package/template-vue-mobile/src/global.d.ts +0 -7
  88. package/template-vue-mobile/src/hooks/useVerifyCode.ts +0 -46
  89. package/template-vue-mobile/src/layouts/blank.vue +0 -9
  90. package/template-vue-mobile/src/layouts/default.vue +0 -27
  91. package/template-vue-mobile/src/layouts/sub.vue +0 -20
  92. package/template-vue-mobile/src/main.ts +0 -35
  93. package/template-vue-mobile/src/modules/1-router.ts +0 -40
  94. package/template-vue-mobile/src/modules/2-pinia.ts +0 -10
  95. package/template-vue-mobile/src/modules/3-net.ts +0 -46
  96. package/template-vue-mobile/src/modules/4-auth.ts +0 -64
  97. package/template-vue-mobile/src/views/[...all_404].vue +0 -557
  98. package/template-vue-mobile/src/views/base/login.vue +0 -110
  99. package/template-vue-mobile/src/views/base/resetPasswd.vue +0 -88
  100. package/template-vue-mobile/src/views/index.vue +0 -18
  101. package/template-vue-mobile/src/views/my.vue +0 -15
  102. package/template-vue-mobile/src/views/sub.vue +0 -18
  103. package/template-vue-mobile/src/vite-env.d.ts +0 -43
  104. package/template-vue-mobile/tsconfig.json +0 -21
  105. package/template-vue-mobile/tsconfig.node.json +0 -9
  106. package/template-vue-mobile/unocss.config.ts +0 -47
  107. package/template-vue-mobile/vite.config.ts +0 -32
  108. package/template-vue-mobile/yarn.lock +0 -4395
  109. /package/{template-vue-mobile → template-nuxt-mobile}/config/.onlinerc +0 -0
  110. /package/{template-vue-mobile → template-nuxt-mobile}/config/.testrc +0 -0