Skip to content

Commit

Permalink
Merge branch 'main' into fix/biome-exec-size
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Feb 16, 2025
2 parents 2f7d834 + 4773f94 commit 39cb8f8
Show file tree
Hide file tree
Showing 29 changed files with 1,099 additions and 1,199 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"@vueuse/core": "^8.9.4",
"body-scroll-lock": "4.0.0-beta.0",
"vitepress": "^1.2.3",
"vue": "^3.2.37"
"vue": "^3.5.13"
}
}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"@types/babel__code-frame": "^7.0.6",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.1",
"@types/klaw": "^3.0.3",
"@types/minimist": "^1.2.2",
"@types/node": "^16.0.0",
"@types/prompts": "^2.0.13",
Expand All @@ -52,7 +51,6 @@
"fast-glob": "^3.2.7",
"fast-json-stable-stringify": "^2.1.0",
"fs-extra": "^11.1.0",
"klaw": "^4.0.1",
"lint-staged": "^11.0.0",
"minimist": "^1.2.5",
"npm-run-all2": "^5.0.0",
Expand All @@ -65,10 +63,11 @@
"sort-package-json": "^2.10.0",
"strip-ansi": "^7.0.0",
"tiny-invariant": "^1.1.0",
"tinyglobby": "^0.2.10",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*",
"vitest": "^1.6.0",
"vitest": "^1.6.1",
"ws": "^8.5.0"
},
"packageManager": "[email protected]",
Expand Down
7 changes: 3 additions & 4 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
"dev": "vite build --watch"
},
"devDependencies": {
"@unplugin-vue-ce/sub-style": "1.0.0-beta.14",
"@vitejs/plugin-vue": "^5.0.5",
"vite": "^5.3.2",
"vue": "^3.3.4",
"@vitejs/plugin-vue": "^5.2.1",
"vite": "^5.4.14",
"vue": "^3.5.13",
"vue-tsc": "~2.1.6"
}
}
4 changes: 1 addition & 3 deletions packages/runtime/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { viteVueCESubStyle } from '@unplugin-vue-ce/sub-style'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
import type { PluginOption } from 'vite'

import path from 'node:path'
import { fileURLToPath } from 'node:url'
Expand All @@ -10,7 +8,7 @@ const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)

export default defineConfig({
plugins: [vue(), viteVueCESubStyle() as PluginOption],
plugins: [vue()],
define: {
'import.meta.hot': 'import.meta.hot',
},
Expand Down
8 changes: 4 additions & 4 deletions packages/vite-plugin-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build:test": "tsup --sourcemap inline"
},
"dependencies": {
"@babel/code-frame": "^7.12.13",
"@babel/code-frame": "^7.26.2",
"ansi-escapes": "^4.3.0",
"chalk": "^4.1.1",
"chokidar": "^3.5.1",
Expand All @@ -53,13 +53,13 @@
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@types/eslint": "^7.2.14",
"@types/eslint": "^7.29.0",
"@types/fs-extra": "^11.0.1",
"@vue/language-core": "~2.1.6",
"esbuild": "^0.14.27",
"esbuild": "^0.25.0",
"meow": "^9.0.0",
"npm-run-all2": "^5.0.0",
"stylelint": "^14.0.0",
"stylelint": "^14.16.1",
"tsup": "^6.7.0",
"typescript": "^5.5.3",
"vls": "^0.8.5",
Expand Down
14 changes: 7 additions & 7 deletions playground/backend-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/express": "^4.17.15",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^2.0.0",
"express": "^4.18.2",
"http-proxy-middleware": "^2.0.6",
"@types/express": "^4.17.21",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^2.2.0",
"express": "^4.21.2",
"http-proxy-middleware": "^2.0.7",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion playground/biome-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"lint": "biome lint"
},
"devDependencies": {
"vite": "^5.3.2",
"@biomejs/biome": "^1.8.3",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-enableBuild-false/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-initialIsOpen-error-warnings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-initialIsOpen-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-initialIsOpen-false/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
10 changes: 4 additions & 6 deletions playground/config-no-runtime-in-build/__tests__/test.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from 'fs'
import klaw from 'klaw'
import { glob } from 'tinyglobby'
import path from 'path'
import { describe, expect, it } from 'vitest'

Expand All @@ -9,11 +9,9 @@ describe('config-no-runtime-code-in-build', () => {
describe.runIf(isBuild)('build', () => {
it('should not contain plugin code in build artifacts', async () => {
await sleepForServerReady()
for await (const file of klaw(path.resolve(testDir, 'dist'))) {
if (file.stats.isFile()) {
const content = await fs.promises.readFile(file.path, 'utf-8')
expect(content).not.toContain('vite-plugin-checker')
}
for await (const file of await glob(path.resolve(testDir, 'dist'), { onlyFiles: true })) {
const content = await fs.promises.readFile(file, 'utf-8')
expect(content).not.toContain('vite-plugin-checker')
}
})
})
Expand Down
12 changes: 6 additions & 6 deletions playground/config-no-runtime-in-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-overlay-changes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-overlay-false/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-overlay-position-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/config-terminal-false/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.57.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/eslint-config-log-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"eslint": "^8.57.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions playground/eslint-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"eslint": "^8.57.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions playground/eslint-flat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"lint": "eslint ."
},
"devDependencies": {
"eslint": "^8.57.0",
"vite": "^5.3.2",
"eslint": "^8.57.1",
"vite": "^5.4.14",
"vite-plugin-checker": "workspace:*"
}
}
Loading

0 comments on commit 39cb8f8

Please sign in to comment.