Skip to content

Commit

Permalink
refactor(language-core): remove re-export type of @vue/compiler-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Mar 6, 2025
1 parent c42f6c1 commit 4d93b40
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/language-core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export * from './lib/virtualFile/vueFile';
export { tsCodegen } from './lib/plugins/vue-tsx';

export * from '@volar/language-core';
export type * as CompilerDOM from '@vue/compiler-dom';
3 changes: 2 additions & 1 deletion packages/language-plugin-pug/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { SourceMap } from '@volar/source-map';
import type { CompilerDOM, VueLanguagePlugin } from '@vue/language-core';
import type * as CompilerDOM from '@vue/compiler-dom';
import type { VueLanguagePlugin } from '@vue/language-core';
import * as pug from 'volar-service-pug/lib/languageService';

const classRegex = /^class\s*=/;
Expand Down
9 changes: 5 additions & 4 deletions packages/language-plugin-pug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
"url": "https://github.com/vuejs/language-tools.git",
"directory": "packages/language-plugin-pug"
},
"devDependencies": {
"@types/node": "^22.10.4",
"@vue/language-core": "2.2.8"
},
"dependencies": {
"@volar/source-map": "~2.4.11",
"volar-service-pug": "0.0.62"
},
"devDependencies": {
"@types/node": "^22.10.4",
"@vue/compiler-dom": "^3.5.0",
"@vue/language-core": "2.2.8"
}
}
5 changes: 4 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d93b40

Please sign in to comment.