diff --git a/packages/docs/modules/page-config/blocks/api/component-parser/meta.ts b/packages/docs/modules/page-config/blocks/api/component-parser/meta.ts
new file mode 100644
index 0000000000..dfb62cffc9
--- /dev/null
+++ b/packages/docs/modules/page-config/blocks/api/component-parser/meta.ts
@@ -0,0 +1,16 @@
+import { resolveAlias } from '@nuxt/kit'
+
+import path from 'path'
+
+import type { MetaCheckerOptions } from 'vue-component-meta'
+import { createComponentMetaChecker } from 'vue-component-meta'
+
+const checkerOptions: MetaCheckerOptions = {
+ forceUseTs: true,
+ printer: { newLine: 1 },
+}
+
+export const checker = createComponentMetaChecker(
+ path.join(resolveAlias('@'), '..', './ui', 'tsconfig.json'),
+ checkerOptions,
+)
diff --git a/packages/docs/modules/page-config/blocks/api/index.ts b/packages/docs/modules/page-config/blocks/api/index.ts
index 136c6d9265..d53091f119 100644
--- a/packages/docs/modules/page-config/blocks/api/index.ts
+++ b/packages/docs/modules/page-config/blocks/api/index.ts
@@ -2,11 +2,13 @@ import { DefineComponent } from 'vue';
import { definePageConfigBlock } from '../../types'
import Component from './index.vue'
import { VisualOptions, type ManualApiOptions } from './types';
+import type { ComponentMeta } from 'vue-component-meta'
const setup = (
componentName: string,
component: DefineComponent,
cssVariables: string,
+ meta: ComponentMeta,
manual?: ManualApiOptions,
visualOptions?: VisualOptions,
) => {
@@ -15,6 +17,7 @@ const setup = (
componentName,
component,
cssVariables,
+ meta,
manual,
visualOptions,
}
diff --git a/packages/docs/modules/page-config/blocks/api/index.vue b/packages/docs/modules/page-config/blocks/api/index.vue
index 249bdc8d4c..f5b92f5611 100644
--- a/packages/docs/modules/page-config/blocks/api/index.vue
+++ b/packages/docs/modules/page-config/blocks/api/index.vue
@@ -1,6 +1,5 @@
diff --git a/packages/docs/modules/page-config/blocks/api/transform.ts b/packages/docs/modules/page-config/blocks/api/transform.ts
index c4cf4f9c2d..1ce3828903 100644
--- a/packages/docs/modules/page-config/blocks/api/transform.ts
+++ b/packages/docs/modules/page-config/blocks/api/transform.ts
@@ -2,8 +2,10 @@ import kebabCase from 'lodash/kebabCase';
import { readFile } from 'fs/promises';
import { defineBlockTransform } from "../../compiler/define-block-transform";
import { CssVariables } from "./types";
+import { checker } from './component-parser/meta'
+import { ComponentMeta } from 'vue-component-meta';
-const parseCssComment = (line: string) =>
+const parseCssComment = (line: string) =>
(line.match(/\/\/(.*)|\/\*(.*)\*\//) || []).slice(1).filter((s) => Boolean(s)).join('').trim()
const parseCssVariables = (css: string | undefined): CssVariables => {
if (!css) { return [] }
@@ -20,7 +22,7 @@ const parseCssVariables = (css: string | undefined): CssVariables => {
variables.push([variable[0], variable[1], comment])
}
})
-
+
return variables
}
@@ -29,6 +31,44 @@ const readCssVariables = async (path: string | undefined) => {
return (await readFile(path, 'utf-8')).toString()
}
+const stringifyMeta = (meta: ComponentMeta) => {
+ return JSON.stringify({
+ props: meta.props
+ .filter((prop) => !prop.global)
+ .sort((prop1, prop2) => Number(prop1.required) > Number(prop2.required) ? -1 : 1)
+ .reduce((acc, prop) => ({
+ ...acc,
+ [kebabCase(prop.name)]: ({
+ types: prop.type.replace(' | undefined', ''),
+ default: prop.default,
+ required: prop.required,
+ })
+ }), {}),
+ slots: meta.slots.reduce((acc, slot) => ({
+ ...acc,
+ [slot.name]: ({
+ types: slot.type
+ })
+ }), {}),
+ events: meta.events.reduce((acc, event) => ({
+ ...acc,
+ [event.name]: ({
+ types: event,
+ })
+ }), {}),
+ methods: {},
+ // TODO: We need to use exposed in components before
+ // methods: meta.exposed
+ // .filter((method) => /^\(.*\)\s?=>.*$/.test(method.type))
+ // .reduce((acc, method) => ({
+ // ...acc,
+ // [method.name]: ({
+ // types: method.type,
+ // }),
+ // }), {})
+ })
+}
+
export default defineBlockTransform(async function (block) {
if (block.type !== 'api') { return }
@@ -40,5 +80,6 @@ export default defineBlockTransform(async function (block) {
const cssVariablesFile = await readCssVariables(cssVariablesPath)
const cssVariables = JSON.stringify(parseCssVariables(cssVariablesFile))
- return block.replaceArgCode(0, `'${importName}', ${importComponent}, ${cssVariables}`)
+ const meta = checker.getComponentMeta(importPath, importName)
+ return block.replaceArgCode(0, `'${importName}', ${importComponent}, ${cssVariables}, ${stringifyMeta(meta)}`)
})
diff --git a/packages/docs/modules/page-config/blocks/api/types.ts b/packages/docs/modules/page-config/blocks/api/types.ts
index 5ae0498d04..1b82d321e3 100644
--- a/packages/docs/modules/page-config/blocks/api/types.ts
+++ b/packages/docs/modules/page-config/blocks/api/types.ts
@@ -22,6 +22,7 @@ export type ManualApiOptionsItem = {
export type ManualPropApiOptions = ManualApiOptionsItem & {
hidden?: boolean; // Won't appear in documentation. Intended for internal usage props, such as icon and color configs.
types?: string;
+ default?: any;
// add more here
}
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 85f3054d00..8ac10a13fb 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -32,6 +32,7 @@
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"vitest": "^0.18.1",
+ "vue-component-meta": "^1.2.0",
"vue-i18n": "^9.2.2",
"vue-router": "^4.1.6",
"vue-tsc": "^1.0.24"
diff --git a/packages/sandbox/package.json b/packages/sandbox/package.json
index 01b78b46d4..13e9f0e355 100644
--- a/packages/sandbox/package.json
+++ b/packages/sandbox/package.json
@@ -44,7 +44,7 @@
"vite": "^4.2.1",
"vitest": "*",
"vue-bundle-renderer": "0.4.1",
- "vue-tsc": "^0.38.2",
+ "vue-tsc": "^1.2.0",
"webpack": "5",
"webpack-cli": "^4.9.2",
"when-dependencies-installed": "^1.0.1"
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 91f67cfa49..3177aaa568 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -116,7 +116,7 @@
"vue": "^3.0.4",
"vue-book": "0.2.0-alpha.0",
"vue-loader": "^16.3.0",
- "vue-tsc": "^0.38.2",
+ "vue-tsc": "^1.2.0",
"vuelidate": "^0.7.5",
"webpack": "^5.4.1",
"webpack-bundle-analyzer": "^4.1.0",
diff --git a/yarn.lock b/yarn.lock
index 150150b2e2..ab86ce8396 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4266,13 +4266,6 @@
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-4.1.0.tgz#b6a9d83cd91575f7ee15593f6444397f68751073"
integrity sha512-++9JOAFdcXI3lyer9UKUV4rfoQ3T1RN8yDqoCLar86s0xQct5yblxAE+yWgRnU5/0FOlVCpTZpYSBV/bGWrSrQ==
-"@volar/code-gen@0.38.2":
- version "0.38.2"
- resolved "https://registry.yarnpkg.com/@volar/code-gen/-/code-gen-0.38.2.tgz#1eedaba3a12b9d1954dd99d6745f3f2ede0aca58"
- integrity sha512-H81I6d7rZB7teqL+zhK/Xz1v0/kKkUwkB0Aq6b4+BTCqcJeiZkoWxd0gFhrhWTnUoqiM83lhoTGo2vkvx5YagQ==
- dependencies:
- "@volar/source-map" "0.38.2"
-
"@volar/language-core@1.0.24":
version "1.0.24"
resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-1.0.24.tgz#5d767571e77728464635e61af1debca944811fe0"
@@ -4281,10 +4274,12 @@
"@volar/source-map" "1.0.24"
muggle-string "^0.1.0"
-"@volar/source-map@0.38.2":
- version "0.38.2"
- resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-0.38.2.tgz#72ccaaa224646da69097abe8360391acd7f042b9"
- integrity sha512-DWcYbYt9SPwk0r4VmXk1F0v4X5+hCqH1JRkAWSeJymQyXCQ2OQDEbY2PF12a7y2qn4FUBD2gOba2TynAqI8ZFQ==
+"@volar/language-core@1.3.0-alpha.0":
+ version "1.3.0-alpha.0"
+ resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-1.3.0-alpha.0.tgz#4924b4cbc37dbce5f3845c1d2b2811938223a980"
+ integrity sha512-W3uMzecHPcbwddPu4SJpUcPakRBK/y/BP+U0U6NiPpUX1tONLC4yCawt+QBJqtgJ+sfD6ztf5PyvPL3hQRqfOA==
+ dependencies:
+ "@volar/source-map" "1.3.0-alpha.0"
"@volar/source-map@1.0.24":
version "1.0.24"
@@ -4293,6 +4288,13 @@
dependencies:
muggle-string "^0.1.0"
+"@volar/source-map@1.3.0-alpha.0":
+ version "1.3.0-alpha.0"
+ resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-1.3.0-alpha.0.tgz#c45d51ecb9759604d29fb80211d2fc9765e5559c"
+ integrity sha512-jSdizxWFvDTvkPYZnO6ew3sBZUnS0abKCbuopkc0JrIlFbznWC/fPH3iPFIMS8/IIkRxq1Jh9VVG60SmtsdaMQ==
+ dependencies:
+ muggle-string "^0.2.2"
+
"@volar/typescript@1.0.24":
version "1.0.24"
resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-1.0.24.tgz#f934eda9774b31abdff53efc56782cd2623723d5"
@@ -4300,16 +4302,12 @@
dependencies:
"@volar/language-core" "1.0.24"
-"@volar/vue-code-gen@0.38.2":
- version "0.38.2"
- resolved "https://registry.yarnpkg.com/@volar/vue-code-gen/-/vue-code-gen-0.38.2.tgz#10b467936cb79edb21e6f91ed25ec3fbe055a4cd"
- integrity sha512-whLunD6phSGWBUHZKdTxeglrpzQu26ii8CRVapFdjfyMaVhQ7ESNeIAhkTVyg2ovOPc0PiDYPQEPzfWAADIWog==
+"@volar/typescript@1.3.0-alpha.0":
+ version "1.3.0-alpha.0"
+ resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-1.3.0-alpha.0.tgz#f79bbc9939016700812b18191c47eb035913c6c3"
+ integrity sha512-5UItyW2cdH2mBLu4RrECRNJRgtvvzKrSCn2y3v/D61QwIDkGx4aeil6x8RFuUL5TFtV6QvVHXnsOHxNgd+sCow==
dependencies:
- "@volar/code-gen" "0.38.2"
- "@volar/source-map" "0.38.2"
- "@vue/compiler-core" "^3.2.37"
- "@vue/compiler-dom" "^3.2.37"
- "@vue/shared" "^3.2.37"
+ "@volar/language-core" "1.3.0-alpha.0"
"@volar/vue-language-core@1.0.24":
version "1.0.24"
@@ -4325,16 +4323,20 @@
minimatch "^5.1.1"
vue-template-compiler "^2.7.14"
-"@volar/vue-typescript@0.38.2":
- version "0.38.2"
- resolved "https://registry.yarnpkg.com/@volar/vue-typescript/-/vue-typescript-0.38.2.tgz#e9bf7d178755fe2619f43dda499ab1e2a6240a5b"
- integrity sha512-5IKvSK2m5yUmH6iu/tNScVlvJGuiHawTfSmjxaMs+/tod25WeK37LEdf+pdKtlJ30bYTQmmkAuEfG01QvvBRGQ==
+"@volar/vue-language-core@1.2.0":
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/@volar/vue-language-core/-/vue-language-core-1.2.0.tgz#a600aa93c6a4e89bf2b525b7e876b39e3afdfb9b"
+ integrity sha512-w7yEiaITh2WzKe6u8ZdeLKCUz43wdmY/OqAmsB/PGDvvhTcVhCJ6f0W/RprZL1IhqH8wALoWiwEh/Wer7ZviMQ==
dependencies:
- "@volar/code-gen" "0.38.2"
- "@volar/source-map" "0.38.2"
- "@volar/vue-code-gen" "0.38.2"
- "@vue/compiler-sfc" "^3.2.37"
- "@vue/reactivity" "^3.2.37"
+ "@volar/language-core" "1.3.0-alpha.0"
+ "@volar/source-map" "1.3.0-alpha.0"
+ "@vue/compiler-dom" "^3.2.47"
+ "@vue/compiler-sfc" "^3.2.47"
+ "@vue/reactivity" "^3.2.47"
+ "@vue/shared" "^3.2.47"
+ minimatch "^6.1.6"
+ muggle-string "^0.2.2"
+ vue-template-compiler "^2.7.14"
"@volar/vue-typescript@1.0.24":
version "1.0.24"
@@ -4344,6 +4346,14 @@
"@volar/typescript" "1.0.24"
"@volar/vue-language-core" "1.0.24"
+"@volar/vue-typescript@1.2.0":
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/@volar/vue-typescript/-/vue-typescript-1.2.0.tgz#825dab4624a116d8be21efbf0c4a7bd6dec51d37"
+ integrity sha512-zjmRi9y3J1EkG+pfuHp8IbHmibihrKK485cfzsHjiuvJMGrpkWvlO5WVEk8oslMxxeGC5XwBFE9AOlvh378EPA==
+ dependencies:
+ "@volar/typescript" "1.3.0-alpha.0"
+ "@volar/vue-language-core" "1.2.0"
+
"@vue/babel-helper-vue-jsx-merge-props@^1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.2.1.tgz#31624a7a505fb14da1d58023725a4c5f270e6a81"
@@ -4618,7 +4628,7 @@
estree-walker "^2.0.2"
source-map "^0.6.1"
-"@vue/compiler-core@3.2.37", "@vue/compiler-core@^3.2.37":
+"@vue/compiler-core@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.37.tgz#b3c42e04c0e0f2c496ff1784e543fbefe91e215a"
integrity sha512-81KhEjo7YAOh0vQJoSmAD68wLfYqJvoiD4ulyedzF+OEk/bk6/hx3fTNVfuzugIIaTrOx4PGx6pAiBRe5e9Zmg==
@@ -4656,7 +4666,7 @@
"@vue/compiler-core" "3.2.33"
"@vue/shared" "3.2.33"
-"@vue/compiler-dom@3.2.37", "@vue/compiler-dom@^3.2.37":
+"@vue/compiler-dom@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.37.tgz#10d2427a789e7c707c872da9d678c82a0c6582b5"
integrity sha512-yxJLH167fucHKxaqXpYk7x8z7mMEnXOw3G2q62FTkmsvNxu4FQSu5+3UMb+L7fjKa26DEzhrmCxAgFLLIzVfqQ==
@@ -4672,7 +4682,7 @@
"@vue/compiler-core" "3.2.45"
"@vue/shared" "3.2.45"
-"@vue/compiler-dom@3.2.47":
+"@vue/compiler-dom@3.2.47", "@vue/compiler-dom@^3.2.47":
version "3.2.47"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz#a0b06caf7ef7056939e563dcaa9cbde30794f305"
integrity sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==
@@ -4680,7 +4690,7 @@
"@vue/compiler-core" "3.2.47"
"@vue/shared" "3.2.47"
-"@vue/compiler-sfc@3.2.37", "@vue/compiler-sfc@^3.2.37":
+"@vue/compiler-sfc@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.37.tgz#3103af3da2f40286edcd85ea495dcb35bc7f5ff4"
integrity sha512-+7i/2+9LYlpqDv+KTtWhOZH+pa8/HnX/905MdVmAcI/mPQOBwkHHIzrsEsucyOIZQYMkXUiTkmZq5am/NyXKkg==
@@ -4857,7 +4867,7 @@
estree-walker "^2.0.2"
magic-string "^0.25.7"
-"@vue/reactivity@3.2.37", "@vue/reactivity@^3.2.37":
+"@vue/reactivity@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.37.tgz#5bc3847ac58828e2b78526e08219e0a1089f8848"
integrity sha512-/7WRafBOshOc6m3F7plwzPeCu/RCVv9uMpOwa/5PiY1Zz+WLVRWiy0MYKwmg19KBdGtFWsmZ4cD+LOdVPcs52A==
@@ -4871,6 +4881,13 @@
dependencies:
"@vue/shared" "3.2.45"
+"@vue/reactivity@^3.2.47":
+ version "3.2.47"
+ resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.47.tgz#1d6399074eadfc3ed35c727e2fd707d6881140b6"
+ integrity sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==
+ dependencies:
+ "@vue/shared" "3.2.47"
+
"@vue/runtime-core@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.37.tgz#7ba7c54bb56e5d70edfc2f05766e1ca8519966e3"
@@ -4901,7 +4918,7 @@
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.33.tgz#69a8c99ceb37c1b031d5cc4aec2ff1dc77e1161e"
integrity sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg==
-"@vue/shared@3.2.37", "@vue/shared@^3.2.37":
+"@vue/shared@3.2.37":
version "3.2.37"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.37.tgz#8e6adc3f2759af52f0e85863dfb0b711ecc5c702"
integrity sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==
@@ -4911,7 +4928,7 @@
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.45.tgz#a3fffa7489eafff38d984e23d0236e230c818bc2"
integrity sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==
-"@vue/shared@3.2.47":
+"@vue/shared@3.2.47", "@vue/shared@^3.2.47":
version "3.2.47"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.47.tgz#e597ef75086c6e896ff5478a6bfc0a7aa4bbd14c"
integrity sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==
@@ -13133,6 +13150,13 @@ minimatch@^5.1.1:
dependencies:
brace-expansion "^2.0.1"
+minimatch@^6.1.6:
+ version "6.2.0"
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-6.2.0.tgz#2b70fd13294178c69c04dfc05aebdb97a4e79e42"
+ integrity sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg==
+ dependencies:
+ brace-expansion "^2.0.1"
+
minimatch@~3.0.4:
version "3.0.8"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.8.tgz#5e6a59bd11e2ab0de1cfb843eb2d82e546c321c1"
@@ -13391,6 +13415,11 @@ muggle-string@^0.1.0:
resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.1.0.tgz#1fda8a281c8b27bb8b70466dbc9f27586a8baa6c"
integrity sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg==
+muggle-string@^0.2.2:
+ version "0.2.2"
+ resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.2.2.tgz#786aa53fea1652c61c6a59e1f839292b262bc72a"
+ integrity sha512-YVE1mIJ4VpUMqZObFndk9CJu6DBJR/GB13p3tXuNbwD4XExaI5EOuRl6BHeIDxIqXZVxSfAC+y6U1Z/IxCfKUg==
+
multicast-dns@^7.2.4:
version "7.2.4"
resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.4.tgz#cf0b115c31e922aeb20b64e6556cbeb34cf0dd19"
@@ -18428,6 +18457,11 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
+typesafe-path@^0.2.2:
+ version "0.2.2"
+ resolved "https://registry.yarnpkg.com/typesafe-path/-/typesafe-path-0.2.2.tgz#91a436681b2f514badb114061b6a5e5c2b8943b1"
+ integrity sha512-OJabfkAg1WLZSqJAJ0Z6Sdt3utnbzr/jh+NAHoyWHJe8CMSy79Gm085094M9nvTPy22KzTVn5Zq5mbapCI/hPA==
+
typescript@4.7.4:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
@@ -19212,6 +19246,15 @@ vue-bundle-renderer@^1.0.0:
dependencies:
ufo "^1.0.0"
+vue-component-meta@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/vue-component-meta/-/vue-component-meta-1.2.0.tgz#45e9a88b36518437a9c042819c16630c688eef36"
+ integrity sha512-z+/pL4txu5qCULbGHFn6vOlSR1V5gFDGWkD64Z2yLlKtYr0Wlb9oOfWTaXxpSl7R+EiX7JusbTlek0szSYeH1g==
+ dependencies:
+ "@volar/language-core" "1.3.0-alpha.0"
+ "@volar/vue-language-core" "1.2.0"
+ typesafe-path "^0.2.2"
+
vue-demi@^0.13.11, vue-demi@^0.13.5:
version "0.13.11"
resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.13.11.tgz#7d90369bdae8974d87b1973564ad390182410d99"
@@ -19343,13 +19386,6 @@ vue-template-es2015-compiler@^1.9.0:
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
-vue-tsc@^0.38.2:
- version "0.38.2"
- resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-0.38.2.tgz#89175a6bb9a8b5724e84ab5d63dc5113041c5bfa"
- integrity sha512-+OMmpw9BZC9khul3I1HGtWchv7BCiaM7NvfdilVAiOFkjnivIoaW6jJm6YPQJaEPouePtpkDUWovyzgNxWdDsw==
- dependencies:
- "@volar/vue-typescript" "0.38.2"
-
vue-tsc@^1.0.24:
version "1.0.24"
resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-1.0.24.tgz#c0b270a7c8422408d3b6694fee61b39a4b9e4740"
@@ -19358,6 +19394,14 @@ vue-tsc@^1.0.24:
"@volar/vue-language-core" "1.0.24"
"@volar/vue-typescript" "1.0.24"
+vue-tsc@^1.2.0:
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-1.2.0.tgz#2b64b960cc96208492541394423ace589a461be6"
+ integrity sha512-rIlzqdrhyPYyLG9zxsVRa+JEseeS9s8F2BbVVVWRRsTZvJO2BbhLEb2HW3MY+DFma0378tnIqs+vfTzbcQtRFw==
+ dependencies:
+ "@volar/vue-language-core" "1.2.0"
+ "@volar/vue-typescript" "1.2.0"
+
vue@*, vue@3.2.37, vue@^3.0.0, vue@^3.0.4, vue@^3.2.45:
version "3.2.37"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.37.tgz#da220ccb618d78579d25b06c7c21498ca4e5452e"