Skip to content

Commit

Permalink
chore(demo): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Feb 12, 2025
1 parent 406a9a6 commit 0e24b9e
Show file tree
Hide file tree
Showing 38 changed files with 967 additions and 33,077 deletions.
6 changes: 3 additions & 3 deletions apps/vite-native/.tw-patch/tw-class-list.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[
"bg-[#3a32d1]",
"bg-[#7d7ac2]",
"bg-blue-400/40",
"block",
"h-[30px]",
"h-[45px]",
"text-[#123456]",
"text-[100px]",
"text-red-800",
"text-[100rpx]",
"text-red-700",
"w-[323px]"
]
84 changes: 84 additions & 0 deletions benchmark/data/2025-02-12.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"mpx": {
"babel": [
0.8293340000000171,
0.3994169999996302,
0.3476250000003347,
0.17420799999945302,
0.33387500000026193,
0.3210419999995793,
510.481667,
0.836250000000291,
0.4342499999993379,
0.4651670000002923,
0.25437500000043656,
0.3647500000006403,
0.4555420000006052,
518.104292
]
},
"native-webpack": {
"babel": [
177.5736670000001,
183.4060830000003
]
},
"rax": {
"babel": [
0.572041999999783,
0.2099159999997937,
0.4018340000002354,
0.5495829999999842,
0.29916700000012497,
0.5325410000004922,
213.5071250000001,
0.6372080000001006,
0.33387500000026193,
6.4470830000000205,
0.8228330000001733,
0.3867500000005748,
0.3804579999996349,
210.5809589999999
]
},
"taro-react": {
"babel": [
359.27529200000026,
204.8595830000013,
611.1543750000001,
365.994666999999,
193.5033340000009,
586.1154580000002
]
},
"taro-vue2": {
"babel": [
361.0717079999995,
366.2317090000006
]
},
"taro-vue3": {
"babel": [
455.76437500000065,
399.37354100000084
]
},
"uni-app-webpack-vue2": {
"babel": [
431.50754099999995,
480.09079199999996
]
},
"uni-app-vite-vue3": {
"babel": [
640.5277499999997,
628.6604160000002
]
},
"uni-app-webpack5-vue2": {
"babel": [
291.05470799999966,
266.943084
]
}
}
2 changes: 2 additions & 0 deletions demo/gulp-app/gulpfile.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const tsx = require('tsx/cjs/api')
tsx.register()
import type { Transform } from 'node:stream'
import path from 'node:path'
import process from 'node:process'
Expand Down
2 changes: 1 addition & 1 deletion demo/gulp-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"@types/gulp-sass": "^5.0.4",
"@types/gulp-util": "^3.0.41",
"@types/node": "^22.10.7",
"@weapp-tailwindcss/cli": "^3.0.0",
"@weapp-tailwindcss/merge": "^1.0.0-alpha.6",
"autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
Expand Down Expand Up @@ -86,6 +85,7 @@
"tailwindcss-patch": "^5.0.2",
"tailwindcss-rem2px-preset": "^1.0.3",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"weapp-ide-cli": "^2.0.10",
"weapp-tailwindcss": "^4.0.0-alpha.13",
Expand Down
5 changes: 5 additions & 0 deletions demo/gulp-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@
"./miniprogram_npm/@vant/weapp/dist/*"
]
}
},
"ts-node": {
"moduleTypes": {
"gulpfile.ts": "cjs"
}
}
}
Loading

0 comments on commit 0e24b9e

Please sign in to comment.