refactor: import { z } from 'zod' instead of *, replace node:path with pathe

This commit is contained in:
Sadegh Barati 2024-02-11 23:14:43 +03:30
parent 7fbc24682b
commit 2d7aeed3f1
15 changed files with 129 additions and 135 deletions

View File

@ -47,8 +47,8 @@
"dependencies": {
"@babel/core": "^7.23.9",
"@babel/parser": "^7.23.9",
"@vue/compiler-sfc": "^3.4.15",
"c12": "^1.6.1",
"@vue/compiler-sfc": "^3.4.18",
"c12": "^1.7.0",
"commander": "^12.0.0",
"consola": "^3.2.3",
"detype": "npm:detypes@^0.7.6",
@ -56,12 +56,13 @@
"fs-extra": "^11.2.0",
"https-proxy-agent": "^7.0.2",
"lodash.template": "^4.5.0",
"magic-string": "^0.30.6",
"magic-string": "^0.30.7",
"nypm": "^0.3.6",
"ofetch": "^1.3.3",
"ora": "^8.0.1",
"pathe": "^1.1.2",
"prompts": "^2.4.2",
"radix-vue": "^1.4.1",
"radix-vue": "^1.4.3",
"ts-morph": "^21.0.1",
"tsconfig-paths": "^4.2.0",
"zod": "^3.22.4"
@ -74,7 +75,7 @@
"@types/node": "^20.11.16",
"@types/prompts": "^2.4.9",
"@vitest/ui": "^0.34.4",
"tsup": "^8.0.1",
"tsup": "^8.0.2",
"type-fest": "^4.10.2",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.3.1"

View File

@ -1,12 +1,12 @@
import { existsSync, promises as fs, rmSync } from 'node:fs'
import path from 'node:path'
import process from 'node:process'
import path from 'pathe'
import { consola } from 'consola'
import { colors } from 'consola/utils'
import { Command } from 'commander'
import ora from 'ora'
import prompts from 'prompts'
import * as z from 'zod'
import { z } from 'zod'
import { addDependency, addDevDependency } from 'nypm'
import { transform } from '@/src/utils/transformers'
import { getConfig } from '@/src/utils/get-config'
@ -56,6 +56,7 @@ export const add = new Command()
}
const config = await getConfig(cwd)
if (!config) {
consola.warn(`Configuration is missing. Please run ${colors.green('init')} to create a components.json file.`)

View File

@ -1,11 +1,11 @@
import { existsSync, promises as fs } from 'node:fs'
import path from 'node:path'
import process from 'node:process'
import path from 'pathe'
import { consola } from 'consola'
import { colors } from 'consola/utils'
import { Command } from 'commander'
import { type Change, diffLines } from 'diff'
import * as z from 'zod'
import { z } from 'zod'
import type { Config } from '@/src/utils/get-config'
import { getConfig } from '@/src/utils/get-config'
import { handleError } from '@/src/utils/handle-error'

View File

@ -1,11 +1,11 @@
import { existsSync, promises as fs } from 'node:fs'
import path from 'node:path'
import process from 'node:process'
import path from 'pathe'
import { Command } from 'commander'
import template from 'lodash.template'
import ora from 'ora'
import prompts from 'prompts'
import * as z from 'zod'
import { z } from 'zod'
import { addDependency, addDevDependency } from 'nypm'
import { consola } from 'consola'
import { colors } from 'consola/utils'

View File

@ -1,9 +1,9 @@
import path from 'node:path'
import { existsSync } from 'node:fs'
import path from 'pathe'
import { loadConfig as c12LoadConfig } from 'c12'
import type { ConfigLoaderResult } from 'tsconfig-paths'
import { loadConfig } from 'tsconfig-paths'
import * as z from 'zod'
import { z } from 'zod'
import { resolveImport } from '@/src/utils/resolve-import'
export const DEFAULT_STYLE = 'default'

View File

@ -1,5 +1,5 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import path from 'pathe'
import fs from 'fs-extra'
import { type PackageJson } from 'type-fest'

View File

@ -1,5 +1,5 @@
import { existsSync } from 'node:fs'
import path from 'node:path'
import path from 'pathe'
import fs from 'fs-extra'
export async function getProjectInfo() {

View File

@ -1,5 +1,5 @@
import path from 'node:path'
import process from 'node:process'
import path from 'pathe'
import { HttpsProxyAgent } from 'https-proxy-agent'
import { ofetch } from 'ofetch'
import type * as z from 'zod'

View File

@ -1,4 +1,4 @@
import * as z from 'zod'
import { z } from 'zod'
// TODO: Extract this to a shared package.
export const registryItemSchema = z.object({

View File

@ -1,6 +1,6 @@
import { promises as fs } from 'node:fs'
import { tmpdir } from 'node:os'
import path from 'node:path'
import path from 'pathe'
import { Project, ScriptKind, type SourceFile } from 'ts-morph'
import type * as z from 'zod'
import type { Config } from '@/src/utils/get-config'

View File

@ -1,5 +1,5 @@
import fs from 'node:fs'
import path from 'node:path'
import path from 'pathe'
import { addDependency, addDevDependency } from 'nypm'
import { afterEach, expect, test, vi } from 'vitest'

View File

@ -1,4 +1,4 @@
import path from 'node:path'
import path from 'pathe'
import { expect, test } from 'vitest'
import { getConfig, getRawConfig } from '../../src/utils/get-config'

View File

@ -1,4 +1,4 @@
import path from 'node:path'
import path from 'pathe'
import { type ConfigLoaderSuccessResult, loadConfig } from 'tsconfig-paths'
import { expect, test } from 'vitest'

View File

@ -1,4 +1,4 @@
import { resolve } from 'node:path'
import { resolve } from 'pathe'
import { describe, expect, test } from 'vitest'
import { transform } from '../../src/utils/transformers'

View File

@ -208,11 +208,11 @@ importers:
specifier: ^7.23.9
version: 7.23.9
'@vue/compiler-sfc':
specifier: ^3.4.15
version: 3.4.15
specifier: ^3.4.18
version: 3.4.18
c12:
specifier: ^1.6.1
version: 1.6.1
specifier: ^1.7.0
version: 1.7.0
commander:
specifier: ^12.0.0
version: 12.0.0
@ -235,8 +235,8 @@ importers:
specifier: ^4.5.0
version: 4.5.0
magic-string:
specifier: ^0.30.6
version: 0.30.6
specifier: ^0.30.7
version: 0.30.7
nypm:
specifier: ^0.3.6
version: 0.3.6
@ -246,12 +246,15 @@ importers:
ora:
specifier: ^8.0.1
version: 8.0.1
pathe:
specifier: ^1.1.2
version: 1.1.2
prompts:
specifier: ^2.4.2
version: 2.4.2
radix-vue:
specifier: ^1.4.1
version: 1.4.1(vue@3.4.15)
specifier: ^1.4.3
version: 1.4.3(vue@3.4.15)
ts-morph:
specifier: ^21.0.1
version: 21.0.1
@ -284,8 +287,8 @@ importers:
specifier: ^0.34.4
version: 0.34.7(vitest@0.34.6)
tsup:
specifier: ^8.0.1
version: 8.0.1(ts-node@10.9.2)(typescript@5.3.3)
specifier: ^8.0.2
version: 8.0.2(ts-node@10.9.2)(typescript@5.3.3)
type-fest:
specifier: ^4.10.2
version: 4.10.2
@ -296,48 +299,6 @@ importers:
specifier: ^4.3.1
version: 4.3.1(typescript@5.3.3)
packages/cli/test/fixtures/config-full:
dependencies:
'@radix-icons/vue':
specifier: ^1.0.0
version: 1.0.0(vue@3.4.15)
class-variance-authority:
specifier: ^0.7.0
version: 0.7.0
clsx:
specifier: ^2.1.0
version: 2.1.0
radix-vue:
specifier: ^1.4.1
version: 1.4.1(vue@3.4.15)
tailwind-merge:
specifier: ^2.2.1
version: 2.2.1
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7
packages/cli/test/fixtures/config-partial:
dependencies:
class-variance-authority:
specifier: ^0.7.0
version: 0.7.0
clsx:
specifier: ^2.1.0
version: 2.1.0
lucide-vue-next:
specifier: ^0.276.0
version: 0.276.0(vue@3.4.15)
radix-vue:
specifier: ^1.4.1
version: 1.4.1(vue@3.4.15)
tailwind-merge:
specifier: ^2.2.1
version: 2.2.1
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7
packages/module:
dependencies:
'@nuxt/kit':
@ -2461,7 +2422,7 @@ packages:
engines: {node: ^14.18.0 || >=16.10.0}
dependencies:
'@nuxt/schema': 3.10.0
c12: 1.6.1
c12: 1.7.0
consola: 3.2.3
defu: 6.1.4
globby: 14.0.0
@ -2488,7 +2449,7 @@ packages:
engines: {node: ^14.18.0 || >=16.10.0}
dependencies:
'@nuxt/schema': 3.10.0(rollup@3.29.4)
c12: 1.6.1
c12: 1.7.0
consola: 3.2.3
defu: 6.1.4
globby: 14.0.0
@ -2633,7 +2594,7 @@ packages:
dependencies:
'@nuxt/kit': 3.10.0(rollup@3.29.4)
'@nuxt/schema': 3.10.0(rollup@3.29.4)
c12: 1.6.1
c12: 1.7.0
consola: 3.2.3
defu: 6.1.4
destr: 2.0.2
@ -2643,7 +2604,7 @@ packages:
get-port-please: 3.1.2
h3: 1.10.1
local-pkg: 0.5.0
magic-string: 0.30.6
magic-string: 0.30.7
node-fetch-native: 1.6.1
ofetch: 1.3.3
pathe: 1.1.2
@ -2690,7 +2651,7 @@ packages:
get-port-please: 3.1.2
h3: 1.10.1
knitwork: 1.0.0
magic-string: 0.30.6
magic-string: 0.30.7
mlly: 1.5.0
ohash: 1.1.3
pathe: 1.1.2
@ -2931,7 +2892,7 @@ packages:
peerDependencies:
vue: '>= 3'
dependencies:
vue: 3.4.15
vue: 3.4.15(typescript@5.3.3)
dev: false
/@rollup/plugin-alias@5.1.0(rollup@3.29.4):
@ -2974,7 +2935,7 @@ packages:
estree-walker: 2.0.2
glob: 8.1.0
is-reference: 1.2.1
magic-string: 0.30.6
magic-string: 0.30.7
rollup: 3.29.4
dev: true
@ -2992,7 +2953,7 @@ packages:
estree-walker: 2.0.2
glob: 8.1.0
is-reference: 1.2.1
magic-string: 0.30.6
magic-string: 0.30.7
rollup: 4.9.6
dev: true
@ -3007,7 +2968,7 @@ packages:
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.9.6)
estree-walker: 2.0.2
magic-string: 0.30.6
magic-string: 0.30.7
rollup: 4.9.6
dev: true
@ -3083,7 +3044,7 @@ packages:
optional: true
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@3.29.4)
magic-string: 0.30.6
magic-string: 0.30.7
rollup: 3.29.4
dev: true
@ -3097,7 +3058,7 @@ packages:
optional: true
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.9.6)
magic-string: 0.30.6
magic-string: 0.30.7
rollup: 4.9.6
dev: true
@ -4239,7 +4200,7 @@ packages:
/@vitest/snapshot@0.33.0:
resolution: {integrity: sha512-tJjrl//qAHbyHajpFvr8Wsk8DIOODEebTu7pgBrP07iOepR5jYkLFiqLq2Ltxv+r0uptUb4izv1J8XBOwKkVYA==}
dependencies:
magic-string: 0.30.6
magic-string: 0.30.7
pathe: 1.1.2
pretty-format: 29.7.0
dev: true
@ -4247,7 +4208,7 @@ packages:
/@vitest/snapshot@0.34.6:
resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==}
dependencies:
magic-string: 0.30.6
magic-string: 0.30.7
pathe: 1.1.2
pretty-format: 29.7.0
dev: true
@ -4333,7 +4294,7 @@ packages:
dependencies:
'@babel/types': 7.23.9
'@rollup/pluginutils': 5.1.0(rollup@3.29.4)
'@vue/compiler-sfc': 3.4.15
'@vue/compiler-sfc': 3.4.18
ast-kit: 0.11.3(rollup@3.29.4)
local-pkg: 0.5.0
magic-string-ast: 0.3.0
@ -4380,7 +4341,7 @@ packages:
'@babel/helper-module-imports': 7.22.15
'@babel/helper-plugin-utils': 7.22.5
'@babel/parser': 7.23.9
'@vue/compiler-sfc': 3.4.15
'@vue/compiler-sfc': 3.4.18
dev: true
/@vue/compiler-core@3.4.15:
@ -4392,12 +4353,27 @@ packages:
estree-walker: 2.0.2
source-map-js: 1.0.2
/@vue/compiler-core@3.4.18:
resolution: {integrity: sha512-F7YK8lMK0iv6b9/Gdk15A67wM0KKZvxDxed0RR60C1z9tIJTKta+urs4j0RTN5XqHISzI3etN3mX0uHhjmoqjQ==}
dependencies:
'@babel/parser': 7.23.9
'@vue/shared': 3.4.18
entities: 4.5.0
estree-walker: 2.0.2
source-map-js: 1.0.2
/@vue/compiler-dom@3.4.15:
resolution: {integrity: sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ==}
dependencies:
'@vue/compiler-core': 3.4.15
'@vue/shared': 3.4.15
/@vue/compiler-dom@3.4.18:
resolution: {integrity: sha512-24Eb8lcMfInefvQ6YlEVS18w5Q66f4+uXWVA+yb7praKbyjHRNuKVWGuinfSSjM0ZIiPi++QWukhkgznBaqpEA==}
dependencies:
'@vue/compiler-core': 3.4.18
'@vue/shared': 3.4.18
/@vue/compiler-sfc@3.4.15:
resolution: {integrity: sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA==}
dependencies:
@ -4407,7 +4383,20 @@ packages:
'@vue/compiler-ssr': 3.4.15
'@vue/shared': 3.4.15
estree-walker: 2.0.2
magic-string: 0.30.6
magic-string: 0.30.7
postcss: 8.4.33
source-map-js: 1.0.2
/@vue/compiler-sfc@3.4.18:
resolution: {integrity: sha512-rG5tqtnzwrVpMqAQ7FHtvHaV70G6LLfJIWLYZB/jZ9m/hrnZmIQh+H3ewnC5onwe/ibljm9+ZupxeElzqCkTAw==}
dependencies:
'@babel/parser': 7.23.9
'@vue/compiler-core': 3.4.18
'@vue/compiler-dom': 3.4.18
'@vue/compiler-ssr': 3.4.18
'@vue/shared': 3.4.18
estree-walker: 2.0.2
magic-string: 0.30.7
postcss: 8.4.33
source-map-js: 1.0.2
@ -4417,6 +4406,12 @@ packages:
'@vue/compiler-dom': 3.4.15
'@vue/shared': 3.4.15
/@vue/compiler-ssr@3.4.18:
resolution: {integrity: sha512-hSlv20oUhPxo2UYUacHgGaxtqP0tvFo6ixxxD6JlXIkwzwoZ9eKK6PFQN4hNK/R13JlNyldwWt/fqGBKgWJ6nQ==}
dependencies:
'@vue/compiler-dom': 3.4.18
'@vue/shared': 3.4.18
/@vue/devtools-api@6.5.1:
resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==}
@ -4492,11 +4487,14 @@ packages:
dependencies:
'@vue/compiler-ssr': 3.4.15
'@vue/shared': 3.4.15
vue: 3.4.15
vue: 3.4.15(typescript@5.3.3)
/@vue/shared@3.4.15:
resolution: {integrity: sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==}
/@vue/shared@3.4.18:
resolution: {integrity: sha512-CxouGFxxaW5r1WbrSmWwck3No58rApXgRSBxrqgnY1K+jk20F6DrXJkHdH9n4HVT+/B6G2CAn213Uq3npWiy8Q==}
/@vue/tsconfig@0.5.1:
resolution: {integrity: sha512-VcZK7MvpjuTPx2w6blwnwZAu5/LgBUtejFOi3pPGQFXQN5Ela03FUtd2Qtg4yWGGissVL0dr6Ro1LfOFh+PCuQ==}
dev: true
@ -5048,7 +5046,7 @@ packages:
hasBin: true
dependencies:
'@jsdevtools/ez-spawn': 3.0.4
c12: 1.6.1
c12: 1.7.0
cac: 6.7.14
fast-glob: 3.3.2
js-yaml: 4.1.0
@ -5073,14 +5071,16 @@ packages:
load-tsconfig: 0.2.5
dev: true
/c12@1.6.1:
resolution: {integrity: sha512-fAZOi3INDvIbmjuwAVVggusyRTxwNdTAnwLay8IsXwhFzDwPPGzFxzrx6L55CPFGPulUSZI0eyFUvRDXveoE3g==}
/c12@1.7.0:
resolution: {integrity: sha512-luqIHUs5S5s4vcSa1TVIGxSC1dH8mBT8cxzRvrlHN/iZs+G/PkxsOb300ODuAdvRzUopyXYqg7cmdOGpcYaxwg==}
dependencies:
chokidar: 3.5.3
defu: 6.1.4
dotenv: 16.4.1
giget: 1.2.1
jiti: 1.21.0
json5: 2.2.3
jsonc-parser: 3.2.1
mlly: 1.5.0
ohash: 1.1.3
pathe: 1.1.2
@ -6307,7 +6307,7 @@ packages:
'@babel/core': 7.23.9
'@babel/preset-typescript': 7.23.3(@babel/core@7.23.9)
'@vue/compiler-dom': 3.4.15
'@vue/compiler-sfc': 3.4.15
'@vue/compiler-sfc': 3.4.18
'@vuedx/compiler-sfc': 0.7.1
'@vuedx/template-ast-types': 0.7.1
fast-glob: 3.3.2
@ -8781,7 +8781,7 @@ packages:
peerDependencies:
vue: '>=3.0.1'
dependencies:
vue: 3.4.15
vue: 3.4.15(typescript@5.3.3)
dev: false
/lz-string@1.5.0:
@ -8793,11 +8793,11 @@ packages:
resolution: {integrity: sha512-0shqecEPgdFpnI3AP90epXyxZy9g6CRZ+SZ7BcqFwYmtFEnZ1jpevcV5HoyVnlDS9gCnc1UIg3Rsvp3Ci7r8OA==}
engines: {node: '>=16.14.0'}
dependencies:
magic-string: 0.30.6
magic-string: 0.30.7
dev: true
/magic-string@0.30.6:
resolution: {integrity: sha512-n62qCLbPjNjyo+owKtveQxZFZTBm+Ms6YoGD23Wew6Vw337PElFNifQpknPruVRQV57kVShPnLGo9vWxVhpPvA==}
/magic-string@0.30.7:
resolution: {integrity: sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==}
engines: {node: '>=12'}
dependencies:
'@jridgewell/sourcemap-codec': 1.4.15
@ -9298,7 +9298,7 @@ packages:
'@types/http-proxy': 1.17.14
'@vercel/nft': 0.24.4
archiver: 6.0.1
c12: 1.6.1
c12: 1.7.0
chalk: 5.3.0
chokidar: 3.5.3
citty: 0.1.5
@ -9322,7 +9322,7 @@ packages:
klona: 2.0.6
knitwork: 1.0.0
listhen: 1.6.0
magic-string: 0.30.6
magic-string: 0.30.7
mime: 3.0.0
mlly: 1.5.0
mri: 1.2.0
@ -9626,7 +9626,7 @@ packages:
'@unhead/vue': 1.8.10(vue@3.4.15)
'@vue/shared': 3.4.15
acorn: 8.11.3
c12: 1.6.1
c12: 1.7.0
chokidar: 3.5.3
cookie-es: 1.0.0
defu: 6.1.4
@ -9642,7 +9642,7 @@ packages:
jiti: 1.21.0
klona: 2.0.6
knitwork: 1.0.0
magic-string: 0.30.6
magic-string: 0.30.7
mlly: 1.5.0
nitropack: 2.8.1
nuxi: 3.10.0
@ -10682,6 +10682,17 @@ packages:
- vue
dev: false
/radix-vue@1.4.3(vue@3.4.15):
resolution: {integrity: sha512-e0yfnxrzI899NNavSmL8nGIOK2jhP+5J7P4NhSxBtVRBxofgLExwrnR1no5epDx9gqWQdy4KkFftcWZZE7enrg==}
dependencies:
'@floating-ui/dom': 1.6.1
'@floating-ui/vue': 1.0.6(vue@3.4.15)
fast-deep-equal: 3.1.3
transitivePeerDependencies:
- '@vue/composition-api'
- vue
dev: false
/radix3@1.1.0:
resolution: {integrity: sha512-pNsHDxbGORSvuSScqNJ+3Km6QAVqk8CfsCBIEoDgpqLrkD2f3QM4I7d1ozJJ172OmIcoUcerZaNWqtLkRXTV3A==}
dev: true
@ -10972,7 +10983,7 @@ packages:
rollup: ^3.29.4 || ^4
typescript: ^4.5 || ^5.0
dependencies:
magic-string: 0.30.6
magic-string: 0.30.7
rollup: 3.29.4
typescript: 5.3.3
optionalDependencies:
@ -11674,12 +11685,7 @@ packages:
resolution: {integrity: sha512-o+2GTLkthfa5YUt4JxPfzMIpQzZ3adD1vLVkvKE1Twl9UAhGsEbIZhHHZVRttyW177S8PDJI3bTQNaebyofK3Q==}
dependencies:
'@babel/runtime': 7.23.9
/tailwindcss-animate@1.0.7:
resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==}
peerDependencies:
tailwindcss: '>=3.0.0 || insiders'
dev: false
dev: true
/tailwindcss-animate@1.0.7(tailwindcss@3.4.1):
resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==}
@ -12027,8 +12033,8 @@ packages:
/tslib@2.6.2:
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
/tsup@8.0.1(ts-node@10.9.2)(typescript@5.3.3):
resolution: {integrity: sha512-hvW7gUSG96j53ZTSlT4j/KL0q1Q2l6TqGBFc6/mu/L46IoNWqLLUzLRLP1R8Q7xrJTmkDxxDoojV5uCVs1sVOg==}
/tsup@8.0.2(ts-node@10.9.2)(typescript@5.3.3):
resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==}
engines: {node: '>=18'}
hasBin: true
peerDependencies:
@ -12188,7 +12194,7 @@ packages:
globby: 13.2.2
hookable: 5.5.3
jiti: 1.21.0
magic-string: 0.30.6
magic-string: 0.30.7
mkdist: 1.4.0(typescript@5.3.3)
mlly: 1.5.0
pathe: 1.1.2
@ -12222,7 +12228,7 @@ packages:
dependencies:
acorn: 8.11.3
estree-walker: 3.0.3
magic-string: 0.30.6
magic-string: 0.30.7
unplugin: 1.6.0
/undici-types@5.26.5:
@ -12267,7 +12273,7 @@ packages:
estree-walker: 3.0.3
fast-glob: 3.3.2
local-pkg: 0.5.0
magic-string: 0.30.6
magic-string: 0.30.7
mlly: 1.5.0
pathe: 1.1.2
pkg-types: 1.0.3
@ -12287,7 +12293,7 @@ packages:
estree-walker: 3.0.3
fast-glob: 3.3.2
local-pkg: 0.5.0
magic-string: 0.30.6
magic-string: 0.30.7
mlly: 1.5.0
pathe: 1.1.2
pkg-types: 1.0.3
@ -12306,7 +12312,7 @@ packages:
estree-walker: 3.0.3
fast-glob: 3.3.2
local-pkg: 0.5.0
magic-string: 0.30.6
magic-string: 0.30.7
mlly: 1.5.0
pathe: 1.1.2
pkg-types: 1.0.3
@ -12768,7 +12774,7 @@ packages:
'@vue/babel-plugin-jsx': 1.2.1(@babel/core@7.23.9)
'@vue/compiler-dom': 3.4.15
kolorist: 1.8.0
magic-string: 0.30.6
magic-string: 0.30.7
vite: 5.0.12(@types/node@20.11.16)
transitivePeerDependencies:
- supports-color
@ -12985,7 +12991,7 @@ packages:
chai: 4.4.1
debug: 4.3.4
local-pkg: 0.4.3
magic-string: 0.30.6
magic-string: 0.30.7
pathe: 1.1.2
picocolors: 1.0.0
std-env: 3.7.0
@ -13051,7 +13057,7 @@ packages:
chai: 4.4.1
debug: 4.3.4
local-pkg: 0.4.3
magic-string: 0.30.6
magic-string: 0.30.7
pathe: 1.1.2
picocolors: 1.0.0
std-env: 3.7.0
@ -13137,7 +13143,7 @@ packages:
'@vue/composition-api':
optional: true
dependencies:
vue: 3.4.15
vue: 3.4.15(typescript@5.3.3)
/vue-devtools-stub@0.1.0:
resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==}
@ -13210,20 +13216,6 @@ packages:
vue: 3.4.15(typescript@5.3.3)
dev: false
/vue@3.4.15:
resolution: {integrity: sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
dependencies:
'@vue/compiler-dom': 3.4.15
'@vue/compiler-sfc': 3.4.15
'@vue/runtime-dom': 3.4.15
'@vue/server-renderer': 3.4.15(vue@3.4.15)
'@vue/shared': 3.4.15
/vue@3.4.15(typescript@5.3.3):
resolution: {integrity: sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==}
peerDependencies: