Skip to content

Commit 28699f7

Browse files
committed
fix: replace svg-to-url, ui improve and build
1 parent e55d4fa commit 28699f7

File tree

8 files changed

+283
-167
lines changed

8 files changed

+283
-167
lines changed

.eslintrc-auto-import.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@
286286
"watchTriggerable": true,
287287
"watchWithFilter": true,
288288
"whenever": true,
289-
"toValue": true
289+
"toValue": true,
290+
"injectLocal": true,
291+
"provideLocal": true,
292+
"useClipboardItems": true
290293
}
291294
}

auto-imports.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ declare global {
3636
const h: typeof import('vue')['h']
3737
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
3838
const inject: typeof import('vue')['inject']
39+
const injectLocal: typeof import('@vueuse/core')['injectLocal']
3940
const isDefined: typeof import('@vueuse/core')['isDefined']
4041
const isProxy: typeof import('vue')['isProxy']
4142
const isReactive: typeof import('vue')['isReactive']
@@ -65,6 +66,7 @@ declare global {
6566
const onUpdated: typeof import('vue')['onUpdated']
6667
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
6768
const provide: typeof import('vue')['provide']
69+
const provideLocal: typeof import('@vueuse/core')['provideLocal']
6870
const reactify: typeof import('@vueuse/core')['reactify']
6971
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
7072
const reactive: typeof import('vue')['reactive']
@@ -128,6 +130,7 @@ declare global {
128130
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
129131
const useCached: typeof import('@vueuse/core')['useCached']
130132
const useClipboard: typeof import('@vueuse/core')['useClipboard']
133+
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
131134
const useCloned: typeof import('@vueuse/core')['useCloned']
132135
const useColorMode: typeof import('@vueuse/core')['useColorMode']
133136
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']

components.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,11 @@ declare module '@vue/runtime-core' {
166166
NMenu: typeof import('naive-ui')['NMenu']
167167
NP: typeof import('naive-ui')['NP']
168168
NProgress: typeof import('naive-ui')['NProgress']
169+
NRadio: typeof import('naive-ui')['NRadio']
170+
NRadioGroup: typeof import('naive-ui')['NRadioGroup']
169171
NScrollbar: typeof import('naive-ui')['NScrollbar']
170172
NSlider: typeof import('naive-ui')['NSlider']
173+
NSpace: typeof import('naive-ui')['NSpace']
171174
NSpin: typeof import('naive-ui')['NSpin']
172175
NStatistic: typeof import('naive-ui')['NStatistic']
173176
NSwitch: typeof import('naive-ui')['NSwitch']

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,12 @@
8282
"plausible-tracker": "^0.3.8",
8383
"qrcode": "^1.5.1",
8484
"sql-formatter": "^13.0.0",
85-
"svg-to-url": "^4.0.0",
85+
"svgo": "^3.3.2",
8686
"ua-parser-js": "^1.0.35",
8787
"ulid": "^2.3.0",
8888
"unicode-emoji-json": "^0.4.0",
8989
"unplugin-auto-import": "^0.16.4",
9090
"uuid": "^9.0.0",
91-
"vite-plugin-node-polyfills": "^0.22.0",
9291
"vue": "^3.3.4",
9392
"vue-i18n": "^9.9.1",
9493
"vue-router": "^4.1.6",
@@ -134,6 +133,7 @@
134133
"unplugin-icons": "^0.17.0",
135134
"unplugin-vue-components": "^0.25.0",
136135
"vite": "^4.4.9",
136+
"vite-plugin-node-polyfills": "^0.22.0",
137137
"vite-plugin-pwa": "^0.16.0",
138138
"vite-plugin-vue-markdown": "^0.23.5",
139139
"vite-svg-loader": "^4.0.0",

0 commit comments

Comments
 (0)