Skip to content

Commit 4632d34

Browse files
committed
fix: switch back to vite
1 parent 6d760af commit 4632d34

File tree

5 files changed

+746
-491
lines changed

5 files changed

+746
-491
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { sxzz } from '@sxzz/eslint-config'
22

3-
export default sxzz()
3+
export default sxzz({ pnpm: true })
44
.removeRules('node/no-unsupported-features/es-builtins', 'import/first')
55
.append({
66
ignores: ['app/parser/template/**'],

nuxt.config.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ export default defineNuxtConfig({
2828
headers: crossOriginHeaders,
2929
},
3030
build: {
31-
rolldownOptions: {
32-
output: {
33-
advancedChunks: {
34-
groups: [
35-
{ name: 'monaco-editor', test: /monaco-editor/ },
36-
{ name: 'shiki', test: /shiki/ },
37-
{ name: 'vendor', test: /node_modules/ },
38-
],
39-
},
40-
},
41-
},
31+
// rolldownOptions: {
32+
// output: {
33+
// advancedChunks: {
34+
// groups: [
35+
// { name: 'monaco-editor', test: /monaco-editor/ },
36+
// { name: 'shiki', test: /shiki/ },
37+
// { name: 'vendor', test: /node_modules/ },
38+
// ],
39+
// },
40+
// },
41+
// },
4242
},
4343
},
4444
nitro: {

package.json

Lines changed: 70 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -17,84 +17,81 @@
1717
"postinstall": "nuxt prepare"
1818
},
1919
"dependencies": {
20-
"@shikijs/monaco": "^3.14.0",
21-
"@typescript-eslint/parser": "^8.46.2",
22-
"@vueuse/core": "^14.0.0",
23-
"ansi-regex": "^6.2.2",
24-
"fflate": "^0.8.2",
25-
"json-to-ast": "^2.1.0",
26-
"json5": "^2.2.3",
27-
"monaco-editor": "^0.54.0",
28-
"shiki": "^3.14.0",
29-
"vue": "^3.5.22"
20+
"@shikijs/monaco": "catalog:",
21+
"@typescript-eslint/parser": "catalog:parser",
22+
"@vueuse/core": "catalog:",
23+
"ansi-regex": "catalog:",
24+
"fflate": "catalog:",
25+
"json-to-ast": "catalog:parser",
26+
"json5": "catalog:",
27+
"monaco-editor": "catalog:",
28+
"shiki": "catalog:",
29+
"vue": "catalog:"
3030
},
3131
"devDependencies": {
32-
"@angular/compiler": "^20.3.9",
33-
"@astrojs/compiler": "^2.13.0",
34-
"@babel/parser": "^7.28.5",
35-
"@html-eslint/parser": "^0.47.0",
36-
"@humanwhocodes/momoa": "^3.3.10",
37-
"@iconify-json/ri": "^1.2.6",
38-
"@iconify-json/vscode-icons": "^1.2.33",
39-
"@nuxt/kit": "^4.2.0",
40-
"@nuxtjs/plausible": "2.0.1",
41-
"@solidity-parser/parser": "^0.20.2",
42-
"@swc/wasm-web": "^1.14.0",
43-
"@sxzz/eslint-config": "^7.2.8",
44-
"@sxzz/prettier-config": "^2.2.4",
45-
"@types/css-tree": "^2.3.11",
46-
"@types/espree": "^10.1.0",
47-
"@types/json-to-ast": "^2.1.4",
48-
"@unocss/eslint-plugin": "^66.5.4",
49-
"@unocss/nuxt": "^66.5.4",
50-
"@vue-vapor/compiler-vapor": "latest",
51-
"@vue/compiler-dom": "^3.5.22",
52-
"@vue/compiler-sfc": "^3.5.22",
53-
"@vueuse/nuxt": "^14.0.0",
54-
"acorn": "^8.15.0",
55-
"acorn-loose": "^8.5.2",
56-
"bumpp": "^10.3.1",
57-
"consola": "^3.4.2",
58-
"esbuild": "^0.25.11",
59-
"eslint": "^9.39.0",
60-
"esprima-next": "^6.0.3",
61-
"floating-vue": "^5.2.2",
62-
"flow-parser": "^0.289.0",
63-
"graphql": "^16.11.0",
64-
"htmlparser2": "^10.0.0",
65-
"jinx-rust": "^0.1.6",
66-
"jsonc-eslint-parser": "^2.4.1",
67-
"lightningcss-wasm": "^1.30.2",
68-
"meriyah": "^6.1.4",
69-
"nuxt": "^4.2.0",
70-
"nuxt-monaco-editor": "^1.4.0",
71-
"ohos-typescript": "4.9.5-r10",
72-
"oxc-parser": "^0.96.0",
73-
"php-parser": "^3.2.5",
74-
"postcss": "^8.5.6",
75-
"prettier": "^3.6.2",
76-
"rehype": "^13.0.2",
77-
"remark": "^15.0.1",
78-
"rolldown": "^1.0.0-beta.45",
79-
"serve": "^14.2.5",
80-
"simple-git": "^3.29.0",
81-
"sql-parser-cst": "^0.34.1",
82-
"svelte": "^5.43.2",
83-
"typescript": "~5.9.3",
84-
"ultrahtml": "^1.6.0",
85-
"unenv": "^2.0.0-rc.22",
86-
"unocss": "^66.5.4",
87-
"unplugin-replace": "^0.6.2",
88-
"vite": "npm:rolldown-vite@^7.1.20",
89-
"vue-tsc": "^3.1.2",
90-
"yaml": "^2.8.1",
91-
"yaml-eslint-parser": "^1.3.0"
32+
"@angular/compiler": "catalog:parser",
33+
"@astrojs/compiler": "catalog:parser",
34+
"@babel/parser": "catalog:parser",
35+
"@html-eslint/parser": "catalog:parser",
36+
"@humanwhocodes/momoa": "catalog:parser",
37+
"@iconify-json/ri": "catalog:",
38+
"@iconify-json/vscode-icons": "catalog:",
39+
"@nuxt/kit": "catalog:",
40+
"@nuxtjs/plausible": "catalog:",
41+
"@solidity-parser/parser": "catalog:parser",
42+
"@swc/wasm-web": "catalog:parser",
43+
"@sxzz/eslint-config": "catalog:",
44+
"@sxzz/prettier-config": "catalog:",
45+
"@types/css-tree": "catalog:parser",
46+
"@types/espree": "catalog:parser",
47+
"@types/json-to-ast": "catalog:parser",
48+
"@unocss/eslint-plugin": "catalog:",
49+
"@unocss/nuxt": "catalog:",
50+
"@vue-vapor/compiler-vapor": "catalog:parser",
51+
"@vue/compiler-dom": "catalog:parser",
52+
"@vue/compiler-sfc": "catalog:parser",
53+
"@vueuse/nuxt": "catalog:",
54+
"acorn": "catalog:parser",
55+
"acorn-loose": "catalog:parser",
56+
"bumpp": "catalog:",
57+
"consola": "catalog:",
58+
"esbuild": "catalog:",
59+
"eslint": "catalog:",
60+
"esprima-next": "catalog:parser",
61+
"floating-vue": "catalog:",
62+
"flow-parser": "catalog:parser",
63+
"graphql": "catalog:parser",
64+
"htmlparser2": "catalog:parser",
65+
"jinx-rust": "catalog:parser",
66+
"jsonc-eslint-parser": "catalog:parser",
67+
"lightningcss-wasm": "catalog:parser",
68+
"meriyah": "catalog:parser",
69+
"nuxt": "catalog:",
70+
"nuxt-monaco-editor": "catalog:",
71+
"ohos-typescript": "catalog:parser",
72+
"oxc-parser": "catalog:parser",
73+
"php-parser": "catalog:parser",
74+
"postcss": "catalog:parser",
75+
"prettier": "catalog:",
76+
"rehype": "catalog:parser",
77+
"remark": "catalog:parser",
78+
"rolldown": "catalog:",
79+
"serve": "catalog:",
80+
"simple-git": "catalog:",
81+
"sql-parser-cst": "catalog:parser",
82+
"svelte": "catalog:parser",
83+
"typescript": "catalog:",
84+
"ultrahtml": "catalog:parser",
85+
"unenv": "catalog:",
86+
"unocss": "catalog:",
87+
"unplugin-replace": "catalog:",
88+
"vite": "catalog:",
89+
"vue-tsc": "catalog:",
90+
"yaml": "catalog:parser",
91+
"yaml-eslint-parser": "catalog:parser"
9292
},
9393
"engines": {
9494
"node": ">=20.19.0"
9595
},
96-
"resolutions": {
97-
"vite": "npm:rolldown-vite@^7.1.20"
98-
},
9996
"prettier": "@sxzz/prettier-config"
10097
}

0 commit comments

Comments
 (0)