create-weapp-vite 2.0.53 → 2.0.57

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 (157) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/{src-j_bda7hF.js → src-hBW5b5RM.js} +11 -9
  4. package/package.json +1 -1
  5. package/templates/default/package.json +3 -2
  6. package/templates/default/project.private.config.json +1 -1
  7. package/templates/default/src/app.json +2 -1
  8. package/templates/default/src/layouts/admin/index.json +3 -0
  9. package/templates/default/src/layouts/admin/index.scss +40 -0
  10. package/templates/default/src/layouts/admin/index.ts +1 -0
  11. package/templates/default/src/layouts/admin/index.wxml +10 -0
  12. package/templates/default/src/layouts/default/index.json +3 -0
  13. package/templates/default/src/layouts/default/index.scss +3 -0
  14. package/templates/default/src/layouts/default/index.ts +1 -0
  15. package/templates/default/src/layouts/default/index.wxml +3 -0
  16. package/templates/default/src/pages/index/index.ts +5 -0
  17. package/templates/default/src/pages/index/index.wxml +3 -0
  18. package/templates/default/src/pages/layouts/index.json +4 -0
  19. package/templates/default/src/pages/layouts/index.scss +68 -0
  20. package/templates/default/src/pages/layouts/index.ts +42 -0
  21. package/templates/default/src/pages/layouts/index.wxml +19 -0
  22. package/templates/default/tsconfig.json +8 -2
  23. package/templates/lib/package.json +6 -2
  24. package/templates/lib/project.private.config.json +1 -1
  25. package/templates/lib/src/app.json +2 -1
  26. package/templates/lib/src/layouts/admin/index.json +3 -0
  27. package/templates/lib/src/layouts/admin/index.scss +41 -0
  28. package/templates/lib/src/layouts/admin/index.ts +1 -0
  29. package/templates/lib/src/layouts/admin/index.wxml +10 -0
  30. package/templates/lib/src/layouts/default/index.json +3 -0
  31. package/templates/lib/src/layouts/default/index.scss +3 -0
  32. package/templates/lib/src/layouts/default/index.ts +1 -0
  33. package/templates/lib/src/layouts/default/index.wxml +3 -0
  34. package/templates/lib/src/pages/index/index.scss +14 -3
  35. package/templates/lib/src/pages/index/index.ts +5 -0
  36. package/templates/lib/src/pages/index/index.wxml +6 -0
  37. package/templates/lib/src/pages/layouts/index.json +4 -0
  38. package/templates/lib/src/pages/layouts/index.scss +70 -0
  39. package/templates/lib/src/pages/layouts/index.ts +44 -0
  40. package/templates/lib/src/pages/layouts/index.wxml +19 -0
  41. package/templates/lib/tsconfig.json +8 -2
  42. package/templates/lib/weapp-vite.lib.config.ts +5 -0
  43. package/templates/tailwindcss/package.json +3 -3
  44. package/templates/tailwindcss/project.private.config.json +1 -1
  45. package/templates/tailwindcss/src/app.json +2 -1
  46. package/templates/tailwindcss/src/layouts/admin/index.json +3 -0
  47. package/templates/tailwindcss/src/layouts/admin/index.scss +40 -0
  48. package/templates/tailwindcss/src/layouts/admin/index.ts +1 -0
  49. package/templates/tailwindcss/src/layouts/admin/index.wxml +10 -0
  50. package/templates/tailwindcss/src/layouts/default/index.json +3 -0
  51. package/templates/tailwindcss/src/layouts/default/index.scss +3 -0
  52. package/templates/tailwindcss/src/layouts/default/index.ts +1 -0
  53. package/templates/tailwindcss/src/layouts/default/index.wxml +3 -0
  54. package/templates/tailwindcss/src/pages/index/index.ts +5 -0
  55. package/templates/tailwindcss/src/pages/index/index.wxml +3 -0
  56. package/templates/tailwindcss/src/pages/layouts/index.json +4 -0
  57. package/templates/tailwindcss/src/pages/layouts/index.scss +1 -0
  58. package/templates/tailwindcss/src/pages/layouts/index.ts +33 -0
  59. package/templates/tailwindcss/src/pages/layouts/index.wxml +19 -0
  60. package/templates/tailwindcss/tsconfig.json +8 -2
  61. package/templates/tdesign/package.json +3 -3
  62. package/templates/tdesign/project.private.config.json +2 -2
  63. package/templates/tdesign/src/app.json +2 -1
  64. package/templates/tdesign/src/layouts/admin/index.json +3 -0
  65. package/templates/tdesign/src/layouts/admin/index.scss +40 -0
  66. package/templates/tdesign/src/layouts/admin/index.ts +1 -0
  67. package/templates/tdesign/src/layouts/admin/index.wxml +10 -0
  68. package/templates/tdesign/src/layouts/default/index.json +3 -0
  69. package/templates/tdesign/src/layouts/default/index.scss +3 -0
  70. package/templates/tdesign/src/layouts/default/index.ts +1 -0
  71. package/templates/tdesign/src/layouts/default/index.wxml +3 -0
  72. package/templates/tdesign/src/pages/index/index.ts +5 -0
  73. package/templates/tdesign/src/pages/index/index.wxml +3 -0
  74. package/templates/tdesign/src/pages/layouts/index.json +4 -0
  75. package/templates/tdesign/src/pages/layouts/index.scss +1 -0
  76. package/templates/tdesign/src/pages/layouts/index.ts +32 -0
  77. package/templates/tdesign/src/pages/layouts/index.wxml +16 -0
  78. package/templates/tdesign/tsconfig.json +8 -2
  79. package/templates/tdesign/vite.config.ts +9 -0
  80. package/templates/vant/package.json +3 -3
  81. package/templates/vant/project.private.config.json +1 -1
  82. package/templates/vant/src/app.json +2 -1
  83. package/templates/vant/src/layouts/admin/index.json +3 -0
  84. package/templates/vant/src/layouts/admin/index.scss +40 -0
  85. package/templates/vant/src/layouts/admin/index.ts +1 -0
  86. package/templates/vant/src/layouts/admin/index.wxml +10 -0
  87. package/templates/vant/src/layouts/default/index.json +3 -0
  88. package/templates/vant/src/layouts/default/index.scss +3 -0
  89. package/templates/vant/src/layouts/default/index.ts +1 -0
  90. package/templates/vant/src/layouts/default/index.wxml +3 -0
  91. package/templates/vant/src/pages/index/index.ts +5 -0
  92. package/templates/vant/src/pages/index/index.wxml +3 -0
  93. package/templates/vant/src/pages/layouts/index.json +4 -0
  94. package/templates/vant/src/pages/layouts/index.scss +3 -0
  95. package/templates/vant/src/pages/layouts/index.ts +35 -0
  96. package/templates/vant/src/pages/layouts/index.wxml +17 -0
  97. package/templates/vant/tsconfig.json +8 -2
  98. package/templates/vant/vite.config.ts +9 -0
  99. package/templates/wevu/package.json +4 -3
  100. package/templates/wevu/project.private.config.json +2 -2
  101. package/templates/wevu/src/app.vue +7 -7
  102. package/templates/wevu/src/layouts/admin.vue +73 -0
  103. package/templates/wevu/src/layouts/default.vue +17 -0
  104. package/templates/wevu/src/pages/index/index.vue +7 -0
  105. package/templates/wevu/src/pages/layouts/index.vue +169 -0
  106. package/templates/wevu/tsconfig.json +8 -2
  107. package/templates/wevu-tdesign/package.json +4 -4
  108. package/templates/wevu-tdesign/project.private.config.json +1 -1
  109. package/templates/wevu-tdesign/src/app.vue +4 -3
  110. package/templates/wevu-tdesign/src/components/KpiBoard/index.vue +4 -6
  111. package/templates/wevu-tdesign/src/hooks/useDialog.ts +56 -14
  112. package/templates/wevu-tdesign/src/hooks/useToast.ts +42 -15
  113. package/templates/wevu-tdesign/src/layouts/admin.vue +41 -0
  114. package/templates/wevu-tdesign/src/layouts/default.vue +23 -0
  115. package/templates/wevu-tdesign/src/pages/ability/index.vue +2 -6
  116. package/templates/wevu-tdesign/src/pages/form/index.vue +0 -2
  117. package/templates/wevu-tdesign/src/pages/index/index.vue +12 -4
  118. package/templates/wevu-tdesign/src/pages/layouts/index.vue +94 -0
  119. package/templates/wevu-tdesign/src/pages/list/index.vue +0 -2
  120. package/templates/wevu-tdesign/src/subpackages/lab/index.vue +22 -6
  121. package/templates/wevu-tdesign/tsconfig.json +8 -2
  122. package/templates/wevu-tdesign/vite.config.ts +9 -0
  123. package/templates/default/auto-import-components.json +0 -3
  124. package/templates/default/src/vite-env.d.ts +0 -1
  125. package/templates/default/tsconfig.app.json +0 -49
  126. package/templates/default/tsconfig.node.json +0 -33
  127. package/templates/lib/auto-import-components.json +0 -3
  128. package/templates/lib/src/vite-env.d.ts +0 -1
  129. package/templates/lib/tsconfig.app.json +0 -49
  130. package/templates/lib/tsconfig.node.json +0 -33
  131. package/templates/tailwindcss/auto-import-components.json +0 -3
  132. package/templates/tailwindcss/src/vite-env.d.ts +0 -1
  133. package/templates/tailwindcss/tsconfig.app.json +0 -49
  134. package/templates/tailwindcss/tsconfig.node.json +0 -33
  135. package/templates/tdesign/auto-import-components.json +0 -84
  136. package/templates/tdesign/src/vite-env.d.ts +0 -1
  137. package/templates/tdesign/tsconfig.app.json +0 -52
  138. package/templates/tdesign/tsconfig.node.json +0 -33
  139. package/templates/vant/auto-import-components.json +0 -71
  140. package/templates/vant/src/vite-env.d.ts +0 -1
  141. package/templates/vant/tsconfig.app.json +0 -52
  142. package/templates/vant/tsconfig.node.json +0 -33
  143. package/templates/wevu/auto-import-components.json +0 -4
  144. package/templates/wevu/src/components.d.ts +0 -25
  145. package/templates/wevu/src/typed-components.d.ts +0 -22
  146. package/templates/wevu/src/typed-router.d.ts +0 -67
  147. package/templates/wevu/src/vite-env.d.ts +0 -1
  148. package/templates/wevu/tsconfig.app.json +0 -51
  149. package/templates/wevu/tsconfig.node.json +0 -33
  150. package/templates/wevu-tdesign/auto-import-components.json +0 -84
  151. package/templates/wevu-tdesign/mini-program.html-data.json +0 -6784
  152. package/templates/wevu-tdesign/src/components.d.ts +0 -267
  153. package/templates/wevu-tdesign/src/typed-components.d.ts +0 -955
  154. package/templates/wevu-tdesign/src/typed-router.d.ts +0 -75
  155. package/templates/wevu-tdesign/src/vite-env.d.ts +0 -1
  156. package/templates/wevu-tdesign/tsconfig.app.json +0 -54
  157. package/templates/wevu-tdesign/tsconfig.node.json +0 -33

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.