Skip to content

Commit e2e7722

Browse files
Dsaquelbtea
andauthored
feat!: use only node >= 20.10 (#313)
* feat!: drop node 19 * chore: drop v18 Co-authored-by: btea <[email protected]> --------- Co-authored-by: btea <[email protected]>
1 parent 9d21f03 commit e2e7722

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"packageManager": "[email protected]",
55
"description": "Element Plus Playground",
66
"type": "module",
7+
"engines": {
8+
"node": ">=20.10"
9+
},
710
"keywords": [
811
"element",
912
"element-plus",

src/auto-imports.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// @ts-nocheck
44
// noinspection JSUnusedGlobalSymbols
55
// Generated by unplugin-auto-import
6-
// biome-ignore lint: disable
76
export {}
87
declare global {
98
const EffectScope: typeof import('vue')['EffectScope']
@@ -297,9 +296,6 @@ declare global {
297296
// for type re-export
298297
declare global {
299298
// @ts-ignore
300-
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
299+
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
301300
import('vue')
302-
// @ts-ignore
303-
export type { Initial, VersionKey, Versions, UserOptions, SerializeState, Store } from './composables/store'
304-
import('./composables/store')
305301
}

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Components from 'unplugin-vue-components/vite'
99
import { defineConfig } from 'vite'
1010
import Inspect from 'vite-plugin-inspect'
1111
import Mkcert from 'vite-plugin-mkcert'
12-
import pkg from './package.json'
12+
import pkg from './package.json' with { type: 'json' }
1313

1414
const pathSrc = path.resolve(__dirname, 'src')
1515

0 commit comments

Comments
 (0)