Skip to content

Commit 7638188

Browse files
committed
chore(demo): consolidate demo matrix
统一 demo 矩阵为 Tailwind CSS v3/v4 的 12 个目标项目,并移除 apps 下示例项目。 同步更新 e2e 矩阵、快照、watch-HMR 配置和相关脚本引用。
1 parent 841385a commit 7638188

941 files changed

Lines changed: 10929 additions & 39139 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e-watch.yml

Lines changed: 23 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
- 'tools/weapp-tailwindcss-scripts/**'
1010
- 'demo/**'
1111
- 'website/docs/tailwindcss/v5-*.mdx'
12-
- 'apps/**'
1312
- 'scripts/**'
1413
- '.github/scripts/**'
1514
- package.json
@@ -40,7 +39,7 @@ jobs:
4039
include:
4140
- os: macos-latest
4241
runner_label: macos
43-
watch_case: uni
42+
watch_case: uni-app-vite-tailwindcss-v3
4443
round_profile: default
4544
watch_save_snapshots: '1'
4645
timeout_minutes: 35
@@ -49,7 +48,7 @@ jobs:
4948
watch_command_timeout_ms: '600000'
5049
- os: macos-latest
5150
runner_label: macos
52-
watch_case: mpx
51+
watch_case: mpx-tailwindcss-v3
5352
round_profile: default
5453
watch_save_snapshots: '1'
5554
timeout_minutes: 35
@@ -58,7 +57,7 @@ jobs:
5857
watch_command_timeout_ms: '600000'
5958
- os: macos-latest
6059
runner_label: macos
61-
watch_case: taro
60+
watch_case: taro-webpack-tailwindcss-v3
6261
round_profile: default
6362
watch_save_snapshots: '1'
6463
timeout_minutes: 35
@@ -67,7 +66,7 @@ jobs:
6766
watch_command_timeout_ms: '600000'
6867
- os: macos-latest
6968
runner_label: macos
70-
watch_case: uni-app-vue3-vite
69+
watch_case: uni-app-vite-tailwindcss-v3
7170
round_profile: issue33
7271
watch_save_snapshots: '1'
7372
timeout_minutes: 35
@@ -76,7 +75,7 @@ jobs:
7675
watch_command_timeout_ms: '600000'
7776
- os: macos-latest
7877
runner_label: macos
79-
watch_case: weapp-vite
78+
watch_case: weapp-vite-tailwindcss-v3
8079
round_profile: issue33
8180
watch_save_snapshots: '1'
8281
timeout_minutes: 60
@@ -86,7 +85,7 @@ jobs:
8685
watch_command_timeout_ms: '1500000'
8786
- os: macos-latest
8887
runner_label: macos
89-
watch_case: taro-webpack
88+
watch_case: taro-webpack-tailwindcss-v4
9089
round_profile: issue33
9190
watch_save_snapshots: '1'
9291
timeout_minutes: 40
@@ -95,7 +94,7 @@ jobs:
9594
watch_command_timeout_ms: '720000'
9695
- os: macos-latest
9796
runner_label: macos
98-
watch_case: uni-app-tailwindcss-v4
97+
watch_case: uni-app-vite-tailwindcss-v4
9998
round_profile: default
10099
watch_save_snapshots: '1'
101100
timeout_minutes: 35
@@ -113,7 +112,7 @@ jobs:
113112
watch_command_timeout_ms: '600000'
114113
- os: macos-latest
115114
runner_label: macos
116-
watch_case: vite-native
115+
watch_case: weapp-vite-tailwindcss-v4
117116
round_profile: issue33
118117
watch_save_snapshots: '1'
119118
timeout_minutes: 40
@@ -122,7 +121,7 @@ jobs:
122121
watch_command_timeout_ms: '720000'
123122
- os: macos-latest
124123
runner_label: macos
125-
watch_case: vite-native-ts
124+
watch_case: weapp-vite-tailwindcss-v3
126125
round_profile: issue33
127126
watch_save_snapshots: '1'
128127
timeout_minutes: 40
@@ -131,7 +130,7 @@ jobs:
131130
watch_command_timeout_ms: '720000'
132131
- os: windows-latest
133132
runner_label: windows
134-
watch_case: uni
133+
watch_case: uni-app-vite-tailwindcss-v3
135134
round_profile: default
136135
watch_save_snapshots: '1'
137136
timeout_minutes: 40
@@ -140,7 +139,7 @@ jobs:
140139
watch_command_timeout_ms: '720000'
141140
- os: windows-latest
142141
runner_label: windows
143-
watch_case: mpx
142+
watch_case: mpx-tailwindcss-v3
144143
round_profile: default
145144
watch_save_snapshots: '1'
146145
timeout_minutes: 40
@@ -149,7 +148,7 @@ jobs:
149148
watch_command_timeout_ms: '720000'
150149
- os: windows-latest
151150
runner_label: windows
152-
watch_case: taro
151+
watch_case: taro-webpack-tailwindcss-v3
153152
round_profile: default
154153
watch_save_snapshots: '1'
155154
timeout_minutes: 40
@@ -158,7 +157,7 @@ jobs:
158157
watch_command_timeout_ms: '720000'
159158
- os: windows-latest
160159
runner_label: windows
161-
watch_case: uni-app-vue3-vite
160+
watch_case: uni-app-vite-tailwindcss-v3
162161
round_profile: issue33
163162
watch_save_snapshots: '1'
164163
timeout_minutes: 40
@@ -167,7 +166,7 @@ jobs:
167166
watch_command_timeout_ms: '720000'
168167
- os: windows-latest
169168
runner_label: windows
170-
watch_case: taro-webpack
169+
watch_case: taro-webpack-tailwindcss-v4
171170
round_profile: issue33
172171
watch_save_snapshots: '1'
173172
timeout_minutes: 45
@@ -176,7 +175,7 @@ jobs:
176175
watch_command_timeout_ms: '840000'
177176
- os: windows-latest
178177
runner_label: windows
179-
watch_case: vite-native-ts
178+
watch_case: weapp-vite-tailwindcss-v3
180179
round_profile: issue33
181180
watch_save_snapshots: '1'
182181
timeout_minutes: 45
@@ -185,7 +184,7 @@ jobs:
185184
watch_command_timeout_ms: '840000'
186185
- os: windows-latest
187186
runner_label: windows
188-
watch_case: weapp-vite
187+
watch_case: weapp-vite-tailwindcss-v3
189188
round_profile: issue33
190189
watch_save_snapshots: '1'
191190
timeout_minutes: 40
@@ -203,7 +202,7 @@ jobs:
203202
watch_command_timeout_ms: '720000'
204203
- os: windows-latest
205204
runner_label: windows
206-
watch_case: vite-native
205+
watch_case: weapp-vite-tailwindcss-v4
207206
round_profile: issue33
208207
watch_save_snapshots: '1'
209208
timeout_minutes: 45
@@ -335,7 +334,7 @@ jobs:
335334
watch_command_timeout_ms: '9000000'
336335
- os: macos-latest
337336
runner_label: macos
338-
watch_case: uni-app-vue3-vite
337+
watch_case: uni-app-vite-tailwindcss-v3
339338
round_profile: issue33
340339
watch_save_snapshots: '1'
341340
timeout_minutes: 35
@@ -344,7 +343,7 @@ jobs:
344343
watch_command_timeout_ms: '600000'
345344
- os: macos-latest
346345
runner_label: macos
347-
watch_case: weapp-vite
346+
watch_case: weapp-vite-tailwindcss-v3
348347
round_profile: issue33
349348
watch_save_snapshots: '1'
350349
timeout_minutes: 60
@@ -364,7 +363,7 @@ jobs:
364363
watch_command_timeout_ms: '5400000'
365364
- os: windows-latest
366365
runner_label: windows
367-
watch_case: uni-app-vue3-vite
366+
watch_case: uni-app-vite-tailwindcss-v3
368367
round_profile: issue33
369368
watch_save_snapshots: '1'
370369
timeout_minutes: 40
@@ -373,7 +372,7 @@ jobs:
373372
watch_command_timeout_ms: '720000'
374373
- os: windows-latest
375374
runner_label: windows
376-
watch_case: weapp-vite
375+
watch_case: weapp-vite-tailwindcss-v3
377376
round_profile: issue33
378377
watch_save_snapshots: '1'
379378
timeout_minutes: 40
@@ -389,29 +388,10 @@ jobs:
389388
watch_timeout_ms: '540000'
390389
watch_poll_ms: '360'
391390
watch_command_timeout_ms: '7200000'
392-
- os: macos-latest
393-
runner_label: macos
394-
watch_case: apps
395-
round_profile: default
396-
watch_save_snapshots: '1'
397-
timeout_minutes: 40
398-
watch_timeout_ms: '300000'
399-
watch_poll_ms: '300'
400-
watch_command_timeout_ms: '900000'
401-
- os: windows-latest
402-
runner_label: windows
403-
watch_case: apps
404-
round_profile: default
405-
watch_save_snapshots: '1'
406-
timeout_minutes: 70
407-
watch_timeout_ms: '1200000'
408-
watch_poll_ms: '360'
409-
watch_max_hot_update_ms: '1200000'
410-
watch_command_timeout_ms: '1800000'
411391
- os: macos-latest
412392
runner_label: macos
413393
node-version: 24
414-
watch_case: weapp-vite
394+
watch_case: weapp-vite-tailwindcss-v3
415395
round_profile: issue33
416396
watch_save_snapshots: '1'
417397
timeout_minutes: 60
@@ -422,7 +402,7 @@ jobs:
422402
- os: windows-latest
423403
runner_label: windows
424404
node-version: 24
425-
watch_case: vite-native-ts
405+
watch_case: weapp-vite-tailwindcss-v3
426406
round_profile: issue33
427407
watch_save_snapshots: '1'
428408
timeout_minutes: 45

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1818

1919
- **packages-runtime/** - Runtime-specific implementations (vite, webpack integrations)
2020

21-
- **apps/** - Example applications (react-app, vue-app, native, taro-app, vite-native)
21+
- **apps/** - Reserved workspace; mini-program demo projects have moved to `demo/`
2222

23-
- **demo/** - Framework-specific demo projects (native, taro, uni-app, rax, mpx, gulp)
23+
- **demo/** - Framework-specific demo projects for the retained Tailwind CSS v3/v4 matrix (gulp, mpx, Taro webpack/vite, uni-app vite, weapp-vite)
2424

2525
- **templates/** - Project templates for different frameworks
2626

README_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ If the key platform of your project is `app`, it is recommended to use the `hbui
147147

148148
#### Native applet development template
149149

150-
[weapp-tailwindcss-gulp-template(gulp打包)](https://github.com/sonofmagic/weapp-tailwindcss/tree/main/demo/gulp-app)
150+
[weapp-tailwindcss-gulp-template(gulp打包)](https://github.com/sonofmagic/weapp-tailwindcss/tree/main/demo/gulp-tailwindcss-v3)
151151

152152
### tailwindcss plugin
153153

apps/react-app/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

apps/react-app/components.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

apps/react-app/eslint.config.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

apps/react-app/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/react-app/package.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

apps/react-app/public/vite.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)