create-young-proj 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/package.json +1 -1
  3. package/template-nuxt-admin/nuxt.config.ts +4 -2
  4. package/template-nuxt-admin/server/plugins/env.ts +10 -4
  5. package/template-nuxt-website/README.md +12 -0
  6. package/template-nuxt-website/boot.mjs +10 -1
  7. package/template-nuxt-website/composables/config.ts +10 -4
  8. package/template-nuxt-website/composables/utils.ts +0 -4
  9. package/template-nuxt-website/nuxt.config.ts +19 -2
  10. package/template-nuxt-website/package.json +4 -5
  11. package/template-nuxt-website/server/api/get_footer_info.get.ts +5 -5
  12. package/template-nuxt-website/server/api/get_gray_status.get.ts +3 -2
  13. package/template-nuxt-website/server/api/get_head_nav.get.ts +3 -3
  14. package/template-nuxt-website/server/api/get_home_banner.get.ts +4 -4
  15. package/template-nuxt-website/server/api/get_seo_info.get.ts +1 -1
  16. package/template-nuxt-website/server/plugins/init.ts +16 -18
  17. package/template-nuxt-website/server/routes/get/env.ts +13 -0
  18. package/template-nuxt-website/yarn.lock +1173 -1599
  19. package/template-uni-app/.vscode/vue-html.code-snippets +2 -7
  20. package/template-uni-app/README.md +2 -0
  21. package/template-uni-app/auto-imports.d.ts +718 -1
  22. package/template-uni-app/eslint.config.js +3 -1
  23. package/template-uni-app/package.json +11 -9
  24. package/template-uni-app/pnpm-lock.yaml +531 -866
  25. package/template-uni-app/src/manifest.json +1 -1
  26. package/template-uni-app/src/pages/index.vue +12 -9
  27. package/template-uni-app/src/pages/my.vue +6 -9
  28. package/template-uni-app/src/pages.json +1 -1
  29. package/template-uni-app/uni-pages.d.ts +24 -0
  30. package/template-uni-app/vite.config.ts +6 -3
  31. package/template-uni-app/.eslintignore +0 -1
  32. package/template-uni-app/.eslintrc +0 -16
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * @Author: zhangyang
3
3
  * @Date: 2023-11-01 10:13:50
4
- * @LastEditTime: 2023-11-07 17:16:11
4
+ * @LastEditTime: 2023-11-13 09:47:21
5
5
  * @Description:
6
6
  */
7
7
  import antfu from '@antfu/eslint-config'
@@ -25,11 +25,13 @@ export default antfu({
25
25
  'no-throw-literal': 'off',
26
26
  'antfu/consistent-list-newline': 'off',
27
27
  'style/jsx-indent': 'off',
28
+ 'style/no-tabs': 'off',
28
29
  'prefer-promise-reject-errors': 'off',
29
30
  'no-async-promise-executor': 'off',
30
31
  },
31
32
  }, {
32
33
  ignores: [
33
34
  'src/uni_modules',
35
+ 'src/*.json',
34
36
  ],
35
37
  })
@@ -60,7 +60,9 @@
60
60
  "@dcloudio/uni-mp-toutiao": "3.0.0-3080720230703001",
61
61
  "@dcloudio/uni-mp-weixin": "3.0.0-3080720230703001",
62
62
  "@dcloudio/uni-quickapp-webview": "3.0.0-3080720230703001",
63
- "dayjs": "^1.11.9",
63
+ "@uni-helper/uni-use": "^0.17.1",
64
+ "@vueuse/core": "9",
65
+ "dayjs": "^1.11.10",
64
66
  "js-base64": "^3.7.5",
65
67
  "lodash": "^4.17.21",
66
68
  "md5": "^2.3.0",
@@ -69,21 +71,21 @@
69
71
  "pinia": "2.0.35",
70
72
  "sass": "^1.69.5",
71
73
  "sass-loader": "^13.3.2",
72
- "swiper": "^11.0.3",
74
+ "swiper": "^11.0.4",
73
75
  "tnuiv3p-tn-sign-board": "^1.0.2",
74
76
  "vue": "^3.3.8"
75
77
  },
76
78
  "devDependencies": {
77
- "@antfu/eslint-config": "^1.1.0",
79
+ "@antfu/eslint-config": "^1.1.2",
78
80
  "@dcloudio/types": "^3.4.3",
79
81
  "@dcloudio/uni-automator": "3.0.0-3080720230703001",
80
82
  "@dcloudio/uni-cli-shared": "3.0.0-3080720230703001",
81
83
  "@dcloudio/uni-stacktracey": "3.0.0-3080720230703001",
82
84
  "@dcloudio/uni-ui": "^1.4.28",
83
85
  "@dcloudio/vite-plugin-uni": "3.0.0-3080720230703001",
84
- "@types/md5": "^2.3.2",
85
- "@uni-helper/pages-json-schema": "^0.2.3",
86
- "@uni-helper/uni-app-types": "^0.5.12",
86
+ "@types/md5": "^2.3.5",
87
+ "@uni-helper/pages-json-schema": "^0.2.12",
88
+ "@uni-helper/uni-app-types": "^0.5.8",
87
89
  "@uni-helper/uni-ui-types": "^0.5.11",
88
90
  "@uni-helper/vite-plugin-uni-layouts": "^0.1.6",
89
91
  "@uni-helper/vite-plugin-uni-manifest": "^0.2.3",
@@ -91,11 +93,11 @@
91
93
  "@uni-helper/volar-service-uni-pages": "^0.2.12",
92
94
  "@vue/tsconfig": "^0.4.0",
93
95
  "eslint": "^8.53.0",
94
- "lint-staged": "^15.0.2",
96
+ "lint-staged": "^15.1.0",
95
97
  "simple-git-hooks": "^2.9.0",
96
98
  "typescript": "^5.2.2",
97
- "unocss": "^0.57.2",
98
- "unocss-preset-weapp": "^0.57.0",
99
+ "unocss": "^0.57.4",
100
+ "unocss-preset-weapp": "^0.57.1",
99
101
  "unplugin-auto-import": "^0.16.7",
100
102
  "unplugin-vue-components": "^0.25.2",
101
103
  "vite": "4.5.0"