create-weapp-vite 2.3.48 → 2.3.50

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.
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-BoHVY1F5.js";
1
+ import { n as RECOMMENDED_SKILLS_INSTALL_COMMAND, t as createProject } from "./src-DCt1AiIe.js";
2
2
  import logger from "@weapp-core/logger";
3
3
  import { fs } from "@weapp-core/shared/fs";
4
4
  import process from "node:process";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { r as TemplateName, t as createProject } from "./src-BoHVY1F5.js";
1
+ import { r as TemplateName, t as createProject } from "./src-DCt1AiIe.js";
2
2
  export { TemplateName, createProject };
@@ -6,13 +6,13 @@ import https from "node:https";
6
6
  import { spawn } from "node:child_process";
7
7
  import process from "node:process";
8
8
  //#region ../../packages-runtime/wevu/package.json
9
- var version$2 = "6.16.41";
9
+ var version$2 = "6.16.43";
10
10
  //#endregion
11
11
  //#region ../dashboard/package.json
12
- var version$1 = "6.16.41";
12
+ var version$1 = "6.16.43";
13
13
  //#endregion
14
14
  //#region ../weapp-vite/package.json
15
- var version = "6.16.41";
15
+ var version = "6.16.43";
16
16
  //#endregion
17
17
  //#region src/enums.ts
18
18
  let TemplateName = /* @__PURE__ */ function(TemplateName) {
@@ -108,6 +108,7 @@ const TEMPLATE_CATALOG = {
108
108
  "@icebreakers/eslint-config": "^5.0.4",
109
109
  "@icebreakers/stylelint-config": "^4.0.2",
110
110
  "@iconify-json/mdi": "^1.2.3",
111
+ "@iconify/tailwind4": "^1.2.3",
111
112
  "@mini-types/alipay": "^3.0.14",
112
113
  "@tailwindcss/vite": "^4.3.0",
113
114
  "@types/node": "^25.9.2",
@@ -116,7 +117,7 @@ const TEMPLATE_CATALOG = {
116
117
  "@vitejs/plugin-vue": "^6.0.7",
117
118
  "@vue/compiler-core": "^3.5.35",
118
119
  "@vue/compiler-dom": "^3.5.35",
119
- "@vue/language-core": "^3.3.3",
120
+ "@vue/language-core": "^3.3.4",
120
121
  "antd-mini": "^3.4.3",
121
122
  "bundle-require": "^5.1.0",
122
123
  "class-variance-authority": "^0.7.1",
@@ -126,7 +127,7 @@ const TEMPLATE_CATALOG = {
126
127
  "lru-cache": "^11.5.1",
127
128
  "magic-string": "^0.30.21",
128
129
  "miniprogram-api-typings": "^5.2.1",
129
- "oxc-parser": "^0.134.0",
130
+ "oxc-parser": "^0.135.0",
130
131
  "oxc-walker": "^1.0.0",
131
132
  "pkg-types": "^2.3.1",
132
133
  "sass-embedded": "^1.100.0",
@@ -135,8 +136,8 @@ const TEMPLATE_CATALOG = {
135
136
  "tdesign-miniprogram": "^1.15.1",
136
137
  "ts-morph": "^28.0.0",
137
138
  "vite-plugin-inspect": "^11.4.1",
138
- "vue-tsc": "^3.3.3",
139
- "weapp-tailwindcss": "^5.0.4",
139
+ "vue-tsc": "^3.3.4",
140
+ "weapp-tailwindcss": "^5.0.6",
140
141
  autoprefixer: "^10.5.0",
141
142
  clsx: "^2.1.1",
142
143
  dayjs: "^1.11.21",
@@ -162,7 +163,7 @@ const TEMPLATE_CATALOG = {
162
163
  };
163
164
  const TEMPLATE_NAMED_CATALOG = {
164
165
  "tdesign-miniprogram-fixed": { "tdesign-miniprogram": "1.15.1" },
165
- "weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.0.4" },
166
+ "weapp-tailwindcss-fixed": { "weapp-tailwindcss": "5.0.6" },
166
167
  latest: {
167
168
  "miniprogram-api-typings": "^5.2.1",
168
169
  typescript: "^6.0.3"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-weapp-vite",
3
3
  "type": "module",
4
- "version": "2.3.48",
4
+ "version": "2.3.50",
5
5
  "description": "create-weapp-vite",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "weapp-vite-lib-template",
3
3
  "type": "module",
4
- "version": "7.0.41",
4
+ "version": "7.0.43",
5
5
  "private": true,
6
6
  "description": "weapp-vite 组件库(lib 模式)模板",
7
7
  "author": "ice breaker <1324318532@qq.com>",
@@ -30,10 +30,10 @@
30
30
  "postinstall": "wv prepare"
31
31
  },
32
32
  "devDependencies": {
33
- "@egoist/tailwindcss-icons": "catalog:",
34
33
  "@icebreakers/eslint-config": "catalog:",
35
34
  "@icebreakers/stylelint-config": "catalog:",
36
35
  "@iconify-json/mdi": "catalog:",
36
+ "@iconify/tailwind4": "catalog:",
37
37
  "@types/node": "catalog:",
38
38
  "@weapp-vite/dashboard": "workspace:*",
39
39
  "eslint": "catalog:",
@@ -1,2 +1,8 @@
1
1
  @import 'tailwindcss';
2
- @config "../tailwind.config.ts";
2
+
3
+ @plugin "@iconify/tailwind4" {
4
+ prefixes: mdi;
5
+ icon-selector: ".i-{prefix}-{name}";
6
+ }
7
+
8
+ @source "./**/*.{wxml,js,ts,vue}";
@@ -12,7 +12,7 @@
12
12
  </view>
13
13
  <view class="flex items-center">
14
14
  <text>切换模式</text>
15
- <view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-4xl" bind:tap="switchMode"></view>
15
+ <view class="iconify {{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-4xl" bind:tap="switchMode"></view>
16
16
  </view>
17
17
  <view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
18
18
  https://vite.icebreaker.top
@@ -33,10 +33,10 @@
33
33
  "tdesign-miniprogram": "catalog:"
34
34
  },
35
35
  "devDependencies": {
36
- "@egoist/tailwindcss-icons": "catalog:",
37
36
  "@icebreakers/eslint-config": "catalog:",
38
37
  "@icebreakers/stylelint-config": "catalog:",
39
38
  "@iconify-json/mdi": "catalog:",
39
+ "@iconify/tailwind4": "catalog:",
40
40
  "@types/node": "catalog:",
41
41
  "@weapp-vite/dashboard": "workspace:*",
42
42
  "eslint": "catalog:",
@@ -1,2 +1,8 @@
1
1
  @import 'tailwindcss';
2
- @config "../tailwind.config.ts";
2
+
3
+ @plugin "@iconify/tailwind4" {
4
+ prefixes: mdi;
5
+ icon-selector: ".i-{prefix}-{name}";
6
+ }
7
+
8
+ @source "./**/*.{wxml,js,ts}";
@@ -8,7 +8,7 @@
8
8
  />
9
9
  <view bind:tap="switchMode" class="flex items-center">
10
10
  当前模式 {{mode}} 切换模式
11
- <view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-2xl"></view>
11
+ <view class="iconify {{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-2xl"></view>
12
12
  </view>
13
13
  <view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
14
14
  https://vite.icebreaker.top
@@ -33,10 +33,10 @@
33
33
  "@vant/weapp": "catalog:"
34
34
  },
35
35
  "devDependencies": {
36
- "@egoist/tailwindcss-icons": "catalog:",
37
36
  "@icebreakers/eslint-config": "catalog:",
38
37
  "@icebreakers/stylelint-config": "catalog:",
39
38
  "@iconify-json/mdi": "catalog:",
39
+ "@iconify/tailwind4": "catalog:",
40
40
  "@types/node": "catalog:",
41
41
  "@weapp-vite/dashboard": "workspace:*",
42
42
  "eslint": "catalog:",
@@ -1,2 +1,8 @@
1
1
  @import 'tailwindcss';
2
- @config "../tailwind.config.ts";
2
+
3
+ @plugin "@iconify/tailwind4" {
4
+ prefixes: mdi;
5
+ icon-selector: ".i-{prefix}-{name}";
6
+ }
7
+
8
+ @source "./**/*.{wxml,js,ts,vue}";
@@ -13,7 +13,7 @@
13
13
  docs="{{hello.docs}}"
14
14
  links="{{hello.links}}"
15
15
  />
16
- <view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
16
+ <view class="iconify {{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
17
17
  <view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
18
18
  https://vite.icebreaker.top
19
19
  </view>
@@ -33,10 +33,10 @@
33
33
  "tdesign-miniprogram": "catalog:"
34
34
  },
35
35
  "devDependencies": {
36
- "@egoist/tailwindcss-icons": "catalog:",
37
36
  "@icebreakers/eslint-config": "catalog:",
38
37
  "@icebreakers/stylelint-config": "catalog:",
39
38
  "@iconify-json/mdi": "catalog:",
39
+ "@iconify/tailwind4": "catalog:",
40
40
  "@types/node": "catalog:",
41
41
  "@weapp-vite/dashboard": "workspace:*",
42
42
  "eslint": "catalog:",
@@ -1,5 +1,11 @@
1
1
  @import 'tailwindcss';
2
- @config "../tailwind.config.ts";
2
+
3
+ @plugin "@iconify/tailwind4" {
4
+ prefixes: mdi;
5
+ icon-selector: ".i-{prefix}-{name}";
6
+ }
7
+
8
+ @source "./**/*.{wxml,js,ts,vue}";
3
9
 
4
10
  page {
5
11
  font-family: 'HarmonyOS Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
@@ -1,17 +0,0 @@
1
- import type { Config } from 'tailwindcss'
2
- import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
3
-
4
- export default {
5
- content: [
6
- // 添加你需要提取的文件目录
7
- 'src/**/*.{wxml,js,ts}',
8
- ],
9
- theme: {
10
- extend: {},
11
- },
12
- plugins: [
13
- iconsPlugin({
14
- collections: getIconCollections(['mdi']),
15
- }),
16
- ],
17
- } satisfies Config
@@ -1,17 +0,0 @@
1
- import type { Config } from 'tailwindcss'
2
- import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
3
-
4
- export default {
5
- content: [
6
- // 添加你需要提取的文件目录
7
- 'src/**/*.{wxml,js,ts}',
8
- ],
9
- theme: {
10
- extend: {},
11
- },
12
- plugins: [
13
- iconsPlugin({
14
- collections: getIconCollections(['mdi']),
15
- }),
16
- ],
17
- } satisfies Config
@@ -1,17 +0,0 @@
1
- import type { Config } from 'tailwindcss'
2
- import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
3
-
4
- export default {
5
- content: [
6
- // 添加你需要提取的文件目录
7
- 'src/**/*.{wxml,js,ts}',
8
- ],
9
- theme: {
10
- extend: {},
11
- },
12
- plugins: [
13
- iconsPlugin({
14
- collections: getIconCollections(['mdi']),
15
- }),
16
- ],
17
- } satisfies Config
@@ -1,17 +0,0 @@
1
- import type { Config } from 'tailwindcss'
2
- import { getIconCollections, iconsPlugin } from '@egoist/tailwindcss-icons'
3
-
4
- export default {
5
- content: [
6
- // 添加你需要提取的文件目录
7
- 'src/**/*.{wxml,js,ts,vue}',
8
- ],
9
- theme: {
10
- extend: {},
11
- },
12
- plugins: [
13
- iconsPlugin({
14
- collections: getIconCollections(['mdi']),
15
- }),
16
- ],
17
- } satisfies Config