Skip to content

Commit 4b8dbd1

Browse files
committed
chore: update deps
1 parent 5a8187e commit 4b8dbd1

21 files changed

+4059
-3365
lines changed

.eslintignore

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

package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "transform-to-unocss",
33
"version": "0.0.88",
4-
"packageManager": "pnpm@8.15.9",
4+
"packageManager": "pnpm@9.15.0",
55
"description": "The tool that transform css to unocss",
66
"author": "Simon He",
77
"license": "MIT",
@@ -57,45 +57,45 @@
5757
"typecheck": "tsc --noEmit"
5858
},
5959
"dependencies": {
60-
"fast-glob": "^3.3.2"
60+
"@vue/compiler-sfc": "3.3.4"
6161
},
6262
"devDependencies": {
63-
"@antfu/eslint-config": "^2.25.1",
64-
"@babel/core": "^7.25.2",
65-
"@babel/eslint-parser": "^7.25.1",
66-
"@babel/plugin-syntax-import-meta": "^7.10.4",
67-
"@babel/plugin-transform-typescript": "^7.25.2",
68-
"@rollup/pluginutils": "^5.1.0",
63+
"@antfu/eslint-config": "^3.11.2",
64+
"@babel/core": "7.21.0",
65+
"@babel/eslint-parser": "7.19.1",
66+
"@babel/plugin-syntax-import-meta": "7.10.4",
67+
"@babel/plugin-transform-typescript": "7.21.0",
68+
"@rollup/pluginutils": "^5.1.3",
6969
"@simon_he/colorize": "^0.0.1",
7070
"@types/babel__core": "^7.20.5",
71-
"@types/less": "^3.0.6",
72-
"@types/node": "^18.19.44",
73-
"@types/stylus": "^0.48.42",
71+
"@types/less": "^3.0.7",
72+
"@types/node": "^18.19.68",
73+
"@types/stylus": "^0.48.43",
7474
"@unocss/preset-uno": "^0.50.8",
75-
"@vue/babel-plugin-jsx": "^1.2.2",
75+
"@vue/babel-plugin-jsx": "^1.2.5",
7676
"bumpp": "^8.2.1",
77-
"eslint": "^8.57.0",
77+
"eslint": "^9.16.0",
7878
"esno": "^0.16.3",
79-
"find-up": "^6.3.0",
80-
"less": "^4.2.0",
79+
"fast-glob": "^3.3.2",
80+
"find-up": "^7.0.0",
81+
"less": "^4.2.1",
8182
"less-plugin-module-resolver": "^1.0.3",
8283
"lint-staged": "^13.3.0",
83-
"magic-string": "^0.30.11",
84-
"monaco-editor": "^0.36.1",
85-
"picocolors": "^1.0.1",
86-
"pnpm": "^8.15.9",
87-
"prettier": "^2.8.8",
88-
"rimraf": "^3.0.2",
89-
"sass": "^1.77.8",
84+
"magic-string": "^0.30.15",
85+
"picocolors": "^1.1.1",
86+
"pnpm": "^9.15.0",
87+
"prettier": "^3.4.2",
88+
"rimraf": "^6.0.1",
89+
"sass": "^1.82.0",
9090
"simple-git-hooks": "^2.11.1",
91-
"stylus": "^0.59.0",
91+
"stylus": "^0.63.0",
9292
"transform-to-unocss": "workspace:^",
9393
"transform-to-unocss-core": "^0.0.31",
9494
"tsup": "^6.7.0",
9595
"tsx": "^3.14.0",
96-
"typescript": "^4.9.5",
97-
"unplugin": "^1.12.1",
98-
"vitest": "^1.6.0"
96+
"typescript": "^5.7.2",
97+
"unplugin": "^1.16.0",
98+
"vitest": "^2.1.8"
9999
},
100100
"lint-staged": {
101101
"*": [

playground/components.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
declare module 'vue' {
66
export interface GlobalComponents {
7-
Footer: typeof import('./src/components/Footer.vue')['default']
7+
Footer: (typeof import('./src/components/Footer.vue'))['default']
88
}
99
}
1010

playground/package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "playground",
33
"private": true,
4-
"packageManager": "pnpm@9.7.0",
4+
"packageManager": "pnpm@9.15.0",
55
"scripts": {
66
"build": "vite build",
77
"dev": "vite --port 3333 --open",
@@ -12,35 +12,36 @@
1212
"serve": "node ./server/index.js"
1313
},
1414
"dependencies": {
15-
"@vueuse/core": "^9.13.0",
16-
"ant-design-vue": "^4.2.3",
17-
"vue": "^3.4.37",
18-
"vue-router": "^4.4.3"
15+
"ant-design-vue": "^4.2.6",
16+
"monaco-editor": "^0.36.1"
1917
},
2018
"devDependencies": {
2119
"@antfu/eslint-config": "^0.34.2",
2220
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
2321
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
24-
"@iconify-json/carbon": "^1.1.37",
25-
"@iconify/json": "^2.2.237",
22+
"@iconify-json/carbon": "^1.2.4",
23+
"@iconify/json": "^2.2.282",
2624
"@simon_he/git-fork-vue": "^0.0.11",
27-
"@types/node": "^18.19.44",
25+
"@types/node": "^18.19.68",
2826
"@unocss/reset": "^0.47.6",
2927
"@vitejs/plugin-vue": "^3.2.0",
30-
"@vue/test-utils": "^2.0.0-rc.18",
31-
"eslint": "^8.57.0",
28+
"@vue/test-utils": "^2.4.6",
29+
"@vueuse/core": "^9.13.0",
30+
"eslint": "^8.57.1",
3231
"jsdom": "^19.0.0",
3332
"lazy-js-utils": "^0.0.93",
3433
"rollup-plugin-polyfill-node": "^0.12.0",
3534
"typescript": "^4.9.5",
3635
"unocss": "^0.50.8",
3736
"unplugin-auto-import": "^0.12.2",
3837
"unplugin-vue-components": "^0.18.5",
39-
"vite": "^4.5.3",
38+
"vite": "^5.4.11",
4039
"vite-plugin-pages": "^0.28.0",
4140
"vitest": "^0.7.13",
42-
"vivid-typing": "^1.1.44",
43-
"vue-i18n": "^9.13.1",
41+
"vivid-typing": "^1.1.46",
42+
"vue": "^3.5.13",
43+
"vue-i18n": "^9.14.2",
44+
"vue-router": "^4.5.0",
4445
"vue-tsc": "^1.8.27"
4546
}
4647
}

playground/src/App.vue

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
<script setup lang="ts">
2-
import { computed, ref } from 'vue'
3-
import { VividTyping } from 'vivid-typing'
2+
import gitForkVue from '@simon_he/git-fork-vue'
3+
import { AutoComplete } from 'ant-design-vue'
4+
import { copy, useFocus, useRaf } from 'lazy-js-utils'
45
import * as monaco from 'monaco-editor'
56
import HtmlWorker from 'monaco-editor/esm/vs/language/html/html.worker?worker'
6-
import { copy, useFocus, useRaf } from 'lazy-js-utils'
7-
import gitForkVue from '@simon_he/git-fork-vue'
8-
import { useI18n } from 'vue-i18n'
97
import { toUnocss } from 'transform-to-unocss-core'
10-
import { AutoComplete } from 'ant-design-vue'
8+
import { VividTyping } from 'vivid-typing'
9+
import { computed, ref } from 'vue'
10+
import { useI18n } from 'vue-i18n'
11+
import { isDark, toggleDark } from '~/composables'
1112
import { transformVue } from '../../src/transformVue'
1213
1314
import { cssSuggestions } from './utils'
14-
import { isDark, toggleDark } from '~/composables'
15+
import 'vivid-typing/dist/index.css'
1516
1617
const { t, locale } = useI18n()
1718
@@ -209,11 +210,11 @@ function onSearch(searchText: string) {
209210
options.value = !searchText
210211
? cssSuggestions.map(i => ({ value: i }))
211212
: cssSuggestions
212-
.map(i => ({ value: i }))
213-
.filter(i => i.value.includes(searchText))
214-
.sort(
215-
(a, b) => a.value.indexOf(searchText) - b.value.indexOf(searchText),
216-
)
213+
.map(i => ({ value: i }))
214+
.filter(i => i.value.includes(searchText))
215+
.sort(
216+
(a, b) => a.value.indexOf(searchText) - b.value.indexOf(searchText),
217+
)
217218
}
218219
219220
const isCopy = ref(false)

playground/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import routes from 'virtual:generated-pages'
12
import { createApp } from 'vue'
23
import { createRouter, createWebHistory } from 'vue-router'
3-
import routes from 'virtual:generated-pages'
44
import App from './App.vue'
5+
import i18n from './locales'
56
// import '@unocss/reset/tailwind.css'
67
import './styles/main.css'
78
import 'uno.css'
8-
import i18n from './locales'
99

1010
const app = createApp(App)
1111
const router = createRouter({

playground/vite.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
/// <reference types="vite-plugin-pages/client" />
33

44
import path from 'node:path'
5-
import { defineConfig } from 'vite'
65
import Vue from '@vitejs/plugin-vue'
7-
import Pages from 'vite-plugin-pages'
8-
import Components from 'unplugin-vue-components/vite'
9-
import AutoImport from 'unplugin-auto-import/vite'
106
import Unocss from 'unocss/vite'
7+
import AutoImport from 'unplugin-auto-import/vite'
8+
import Components from 'unplugin-vue-components/vite'
9+
import { defineConfig } from 'vite'
10+
import Pages from 'vite-plugin-pages'
1111
// import { viteTransformToUnocss } from '../src/index'
1212

1313
export default defineConfig({

0 commit comments

Comments
 (0)