Skip to content

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Feb 1, 2025
1 parent 7ac71f5 commit 1e09732
Show file tree
Hide file tree
Showing 6 changed files with 723 additions and 1,296 deletions.
9 changes: 6 additions & 3 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,19 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"gen": "tsx ./scripts/index.ts"
},
"dependencies": {
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@tailwindcss/vite": "4.0.1",
"@tailwindcss/postcss": "^4.0.3",
"@tailwindcss/vite": "4.0.3",
"@vitejs/plugin-vue": "^5.2.1",
"tailwindcss": "4.0.0",
"postcss": "^8.5.1",
"tailwindcss": "4.0.3",
"unplugin-vue-router": "^0.11.2",
"vite": "^6.0.11",
"vue-tsc": "^2.2.0"
Expand Down
18 changes: 18 additions & 0 deletions benchmark/scripts/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import tailwindcss from '@tailwindcss/postcss'
import fs from 'fs-extra'
import path from 'pathe'
import postcss from 'postcss'

async function main() {
const { css } = await postcss([
tailwindcss({

}),
]).process('@import "tailwindcss";', {
from: './index.ts',
})

await fs.outputFile(path.resolve(import.meta.dirname, '../../packages/weapp-tailwindcss/test/fixtures/css/v4-default.css'), css, 'utf8')
}

main()
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"@types/lodash-es": "^4.17.12",
"@types/md5": "^2.3.5",
"@types/micromatch": "^4.0.9",
"@types/node": "^22.12.0",
"@types/node": "^22.13.0",
"@types/npm-registry-fetch": "^8.0.7",
"@types/postcss-js": "^4.0.4",
"@types/semver": "^7.5.8",
Expand Down Expand Up @@ -212,7 +212,7 @@
"prettier": "^3.4.2",
"promisify-loader-runner": "^1.0.1",
"rimraf": "^6.0.1",
"rollup": "^4.32.1",
"rollup": "^4.34.0",
"rollup-plugin-visualizer": "^5.14.0",
"sass": "^1.83.4",
"sass-embedded": "^1.83.4",
Expand All @@ -227,7 +227,7 @@
"tslib": "^2.8.1",
"tsup": "^8.3.6",
"tsx": "^4.19.2",
"turbo": "^2.3.4",
"turbo": "^2.4.0",
"typescript": "^5.7.3",
"unbuild": "^3.3.1",
"uuid": "^11.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/merge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"tailwind-merge": "^2.6.0"
"tailwind-merge": "^3.0.1"
},
"devDependencies": {
"weapp-tailwindcss": "workspace:*"
Expand Down
Loading

0 comments on commit 1e09732

Please sign in to comment.