Skip to content

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Nov 26, 2024
1 parent 2872755 commit b31d219
Show file tree
Hide file tree
Showing 22 changed files with 842 additions and 667 deletions.
2 changes: 1 addition & 1 deletion apps/native-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@egoist/tailwindcss-icons": "^1.8.1",
"@iconify-json/lucide": "^1.2.15",
"@iconify-json/lucide": "^1.2.16",
"@iconify-json/mdi": "^1.2.1",
"@weapp-tailwindcss/cli": "workspace:*",
"tailwindcss": "^3.4.15",
Expand Down
2 changes: 1 addition & 1 deletion apps/vite-native-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.7.8"
"weapp-vite": "^1.8.1"
}
}
4 changes: 2 additions & 2 deletions apps/vite-native-skyline/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export default {
tailwindcss: {},
// 假如框架已经内置了 `autoprefixer`,可以去除下一行
autoprefixer: {},
}
}
},
}
2 changes: 1 addition & 1 deletion apps/vite-native-ts-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.7.8"
"weapp-vite": "^1.8.1"
}
}
4 changes: 2 additions & 2 deletions apps/vite-native-ts-skyline/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export default {
tailwindcss: {},
// 假如框架已经内置了 `autoprefixer`,可以去除下一行
autoprefixer: {},
}
}
},
}
2 changes: 1 addition & 1 deletion apps/vite-native-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.7.8"
"weapp-vite": "^1.8.1"
}
}
2 changes: 1 addition & 1 deletion apps/vite-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^1.7.8"
"weapp-vite": "^1.8.1"
}
}
6 changes: 3 additions & 3 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"echarts": "^5.5.1",
"vue": "^3.5.13",
"vue-echarts": "7.0.3",
"vue-router": "^4.4.5"
"vue-router": "^4.5.0"
},
"devDependencies": {
"@tailwindcss/vite": "4.0.0-alpha.31",
"@vitejs/plugin-vue": "^5.2.0",
"@vitejs/plugin-vue": "^5.2.1",
"tailwindcss": "4.0.0-alpha.31",
"vite": "^5.4.11",
"vite": "^6.0.0",
"vue-tsc": "^2.1.10"
}
}
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@commitlint/prompt-cli": "^19.6.0",
"@commitlint/types": "^19.5.0",
"@eslint/config-inspector": "^0.5.6",
"@icebreakers/eslint-config": "^0.7.3",
"@icebreakers/eslint-config": "^0.7.4",
"@icebreakers/monorepo": "^0.6.16",
"@icebreakers/readme": "0.1.0",
"@icebreakers/stylelint-config": "^0.1.2",
Expand Down 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.9.3",
"@types/node": "^22.10.0",
"@types/npm-registry-fetch": "^8.0.7",
"@types/postcss-js": "^4.0.4",
"@types/semver": "^7.5.8",
Expand All @@ -157,8 +157,8 @@
"@types/webpack": "^5.28.5",
"@types/webpack-sources": "^3.2.3",
"@types/webpack4": "npm:@types/webpack@^4.41.39",
"@vitest/coverage-v8": "~2.1.5",
"@vitest/ui": "~2.1.5",
"@vitest/coverage-v8": "~2.1.6",
"@vitest/ui": "~2.1.6",
"@weapp-tailwindcss/cli": "workspace:*",
"anymatch": "^3.1.3",
"autoprefixer": "^10.4.20",
Expand Down Expand Up @@ -206,7 +206,7 @@
"postcss-load-config": "^6.0.1",
"postcss-loader": "^8.1.1",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
"prettier": "^3.4.1",
"promisify-loader-runner": "^1.0.1",
"rimraf": "^6.0.1",
"rollup": "^4.27.4",
Expand All @@ -224,15 +224,15 @@
"tslib": "^2.8.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"turbo": "^2.3.1",
"turbo": "^2.3.2",
"typescript": "^5.7.2",
"unbuild": "^2.0.0",
"uuid": "^11.0.3",
"vinyl": "^3.0.0",
"vinyl-fs": "^4.0.0",
"vite": "^5.4.11",
"vite": "^6.0.0",
"vite-plugin-inspect": "^0.8.8",
"vitest": "~2.1.5",
"vitest": "~2.1.6",
"weapp-tailwindcss-children": "^0.1.0",
"webpack": "^5.96.1",
"webpack-build-utils": "^0.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/weapp-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"htmlparser2": "9.1.0",
"loader-utils": "2.0.4",
"lru-cache": "10.4.3",
"magic-string": "0.30.13",
"magic-string": "0.30.14",
"md5": "2.3.0",
"npm-registry-fetch": "^18.0.2",
"postcss": "~8.4.49",
Expand Down
6 changes: 3 additions & 3 deletions packages/weapp-tailwindcss/test/js.test.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/* eslint-disable no-template-curly-in-string */
// import punycode from 'node:punycode'
import { TailwindcssPatcher } from 'tailwindcss-patch'
import { getCss } from '#test/helpers/getTwCss'
// import { createGetCase, jsCasePath } from './util'
// import { js } from '@ast-grep/napi'
// import swc from '@swc/core'
// import MagicString from 'magic-string'
// import { jsStringEscape } from '@ast-core/escape'

import { getCss } from '#test/helpers/getTwCss'
import { defaultOptions } from '@/defaults'
import { decodeUnicode, SimpleMappingChars2String } from '@/escape'
import { createJsHandler } from '@/js/index'
import { getOptions } from '@/options'
// import punycode from 'node:punycode'
import { TailwindcssPatcher } from 'tailwindcss-patch'
// swc 在解析中文的时候,会导致 span 增加,从而无法精确定位,不知道是不是bug
import { createGetCase, createPutCase, jsCasePath, tsCasePath } from './util'
// import { parse } from '@/babel'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable style/no-tabs */
import postcss from 'postcss'
// @ts-ignore
import isPseudoClass from '@csstools/postcss-is-pseudo-class'
import postcss from 'postcss'

describe('is-pseudo-class', () => {
it('case 0', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ text,
`;
exports[`vite test > vite common build 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -421,7 +421,7 @@ text,
`;
exports[`vite test > vite common build twice for cache 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -625,7 +625,7 @@ text,
`;
exports[`vite test > vite common build twice for cache 6`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -829,7 +829,7 @@ text,
`;
exports[`vite test > vite common build with mangle options 0 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -1033,7 +1033,7 @@ text,
`;
exports[`vite test > vite common build with mangle options 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -1237,7 +1237,7 @@ text,
`;
exports[`vite test > vite common build with mangle options mangleClassFilter all true 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -1441,7 +1441,7 @@ text,
`;
exports[`vite test > vite common build with mangle options mangleClassFilter variables 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -1645,7 +1645,7 @@ text,
`;
exports[`vite test > vite common build with mangle true 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -1849,7 +1849,7 @@ text,
`;
exports[`vite test > vite common build with rem2rpx 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -2044,7 +2044,7 @@ exports[`vite test > vite disabled build 2`] = `
`;
exports[`vite test > vite disabled build 3`] = `
"<!doctype html>
"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion plugins/typography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"lodash.castarray": "^4.4.0",
"lodash.isplainobject": "^4.0.6",
"lodash.merge": "^4.6.2",
"magic-string": "^0.30.13",
"magic-string": "^0.30.14",
"postcss-selector-parser": "^7.0.0"
},
"publishConfig": {
Expand Down
Loading

0 comments on commit b31d219

Please sign in to comment.