Skip to content

Commit 4e66db6

Browse files
committed
fix(core): downgrade auto imports package
Signed-off-by: braks <[email protected]>
1 parent ca05991 commit 4e66db6

File tree

3 files changed

+86
-17
lines changed

3 files changed

+86
-17
lines changed

packages/core/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,18 @@
4646
},
4747
"devDependencies": {
4848
"@rollup/plugin-replace": "^5.0.2",
49+
"@types/d3": "^7.4.0",
4950
"@tooling/eslint-config": "workspace:*",
5051
"@tooling/tsconfig": "workspace:*",
51-
"@tooling/vite-config": "workspace:*",
52-
"@types/d3": "^7.4.0",
52+
"@vitejs/plugin-vue": "^4.0.0",
5353
"autoprefixer": "^10.4.13",
5454
"postcss": "^8.4.21",
5555
"postcss-cli": "^10.1.0",
5656
"postcss-nested": "^6.0.1",
5757
"ts-patch": "^2.1.0",
5858
"typescript-transform-paths": "^3.4.6",
59+
"unplugin-auto-import": "^0.12.2",
60+
"unplugin-vue-macros": "^1.8.2",
5961
"vite": "^4.1.4",
6062
"vue-tsc": "^1.1.5"
6163
},

packages/core/src/auto-imports.d.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/* eslint-disable */
2-
/* prettier-ignore */
3-
// @ts-nocheck
4-
// Generated by unplugin-auto-import
1+
// Generated by 'unplugin-auto-import'
52
export {}
63
declare global {
74
const $$: typeof import('vue/macros')['$$']
@@ -168,6 +165,7 @@ declare global {
168165
const rendererPointToPoint: typeof import('./utils/graph')['rendererPointToPoint']
169166
const resetRecentHandle: typeof import('./utils/handle')['resetRecentHandle']
170167
const resolveComponent: typeof import('vue')['resolveComponent']
168+
const resolveDirective: typeof import('vue')['resolveDirective']
171169
const resolveRef: typeof import('@vueuse/core')['resolveRef']
172170
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
173171
const shallowReactive: typeof import('vue')['shallowReactive']
@@ -379,8 +377,3 @@ declare global {
379377
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
380378
const whenever: typeof import('@vueuse/core')['whenever']
381379
}
382-
// for type re-export
383-
declare global {
384-
// @ts-ignore
385-
export type { Component,ComponentPublicInstance,ComputedRef,InjectionKey,PropType,Ref,VNode } from 'vue'
386-
}

pnpm-lock.yaml

Lines changed: 80 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)