diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index e90c90a..0000000 --- a/.eslintignore +++ /dev/null @@ -1,8 +0,0 @@ -node_modules -dist -pnpm-lock.yaml -!.* -.history -demo -test -.netlify diff --git a/package.json b/package.json index a99eb5e..4592b08 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "transform-to-unocss", "version": "0.0.88", - "packageManager": "pnpm@8.15.9", + "packageManager": "pnpm@9.15.0", "description": "The tool that transform css to unocss", "author": "Simon He", "license": "MIT", @@ -57,45 +57,45 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "fast-glob": "^3.3.2" + "@vue/compiler-sfc": "3.3.4" }, "devDependencies": { - "@antfu/eslint-config": "^2.25.1", - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-transform-typescript": "^7.25.2", - "@rollup/pluginutils": "^5.1.0", + "@antfu/eslint-config": "^3.11.2", + "@babel/core": "7.21.0", + "@babel/eslint-parser": "7.19.1", + "@babel/plugin-syntax-import-meta": "7.10.4", + "@babel/plugin-transform-typescript": "7.21.0", + "@rollup/pluginutils": "^5.1.3", "@simon_he/colorize": "^0.0.1", "@types/babel__core": "^7.20.5", - "@types/less": "^3.0.6", - "@types/node": "^18.19.44", - "@types/stylus": "^0.48.42", + "@types/less": "^3.0.7", + "@types/node": "^18.19.68", + "@types/stylus": "^0.48.43", "@unocss/preset-uno": "^0.50.8", - "@vue/babel-plugin-jsx": "^1.2.2", + "@vue/babel-plugin-jsx": "^1.2.5", "bumpp": "^8.2.1", - "eslint": "^8.57.0", + "eslint": "^9.16.0", "esno": "^0.16.3", - "find-up": "^6.3.0", - "less": "^4.2.0", + "fast-glob": "^3.3.2", + "find-up": "^7.0.0", + "less": "^4.2.1", "less-plugin-module-resolver": "^1.0.3", "lint-staged": "^13.3.0", - "magic-string": "^0.30.11", - "monaco-editor": "^0.36.1", - "picocolors": "^1.0.1", - "pnpm": "^8.15.9", - "prettier": "^2.8.8", - "rimraf": "^3.0.2", - "sass": "^1.77.8", + "magic-string": "^0.30.15", + "picocolors": "^1.1.1", + "pnpm": "^9.15.0", + "prettier": "^3.4.2", + "rimraf": "^6.0.1", + "sass": "^1.82.0", "simple-git-hooks": "^2.11.1", - "stylus": "^0.59.0", + "stylus": "^0.63.0", "transform-to-unocss": "workspace:^", "transform-to-unocss-core": "^0.0.31", "tsup": "^6.7.0", "tsx": "^3.14.0", - "typescript": "^4.9.5", - "unplugin": "^1.12.1", - "vitest": "^1.6.0" + "typescript": "^5.7.2", + "unplugin": "^1.16.0", + "vitest": "^2.1.8" }, "lint-staged": { "*": [ diff --git a/playground/components.d.ts b/playground/components.d.ts index a543242..718dbf0 100644 --- a/playground/components.d.ts +++ b/playground/components.d.ts @@ -4,7 +4,7 @@ declare module 'vue' { export interface GlobalComponents { - Footer: typeof import('./src/components/Footer.vue')['default'] + Footer: (typeof import('./src/components/Footer.vue'))['default'] } } diff --git a/playground/package.json b/playground/package.json index be6983a..2526769 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,7 +1,7 @@ { "name": "playground", "private": true, - "packageManager": "pnpm@9.7.0", + "packageManager": "pnpm@9.15.0", "scripts": { "build": "vite build", "dev": "vite --port 3333 --open", @@ -12,23 +12,22 @@ "serve": "node ./server/index.js" }, "dependencies": { - "@vueuse/core": "^9.13.0", - "ant-design-vue": "^4.2.3", - "vue": "^3.4.37", - "vue-router": "^4.4.3" + "ant-design-vue": "^4.2.6", + "monaco-editor": "^0.36.1" }, "devDependencies": { "@antfu/eslint-config": "^0.34.2", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", - "@iconify-json/carbon": "^1.1.37", - "@iconify/json": "^2.2.237", + "@iconify-json/carbon": "^1.2.4", + "@iconify/json": "^2.2.282", "@simon_he/git-fork-vue": "^0.0.11", - "@types/node": "^18.19.44", + "@types/node": "^18.19.68", "@unocss/reset": "^0.47.6", "@vitejs/plugin-vue": "^3.2.0", - "@vue/test-utils": "^2.0.0-rc.18", - "eslint": "^8.57.0", + "@vue/test-utils": "^2.4.6", + "@vueuse/core": "^9.13.0", + "eslint": "^8.57.1", "jsdom": "^19.0.0", "lazy-js-utils": "^0.0.93", "rollup-plugin-polyfill-node": "^0.12.0", @@ -36,11 +35,13 @@ "unocss": "^0.50.8", "unplugin-auto-import": "^0.12.2", "unplugin-vue-components": "^0.18.5", - "vite": "^4.5.3", + "vite": "^5.4.11", "vite-plugin-pages": "^0.28.0", "vitest": "^0.7.13", - "vivid-typing": "^1.1.44", - "vue-i18n": "^9.13.1", + "vivid-typing": "^1.1.46", + "vue": "^3.5.13", + "vue-i18n": "^9.14.2", + "vue-router": "^4.5.0", "vue-tsc": "^1.8.27" } } diff --git a/playground/src/App.vue b/playground/src/App.vue index a6e7945..1fc4b23 100644 --- a/playground/src/App.vue +++ b/playground/src/App.vue @@ -1,17 +1,18 @@