diff --git a/packages/varlet-vscode-extension/package.json b/packages/varlet-vscode-extension/package.json index d8c07d756dc..217d4dcca43 100644 --- a/packages/varlet-vscode-extension/package.json +++ b/packages/varlet-vscode-extension/package.json @@ -41,8 +41,8 @@ "glob": "^7.1.6", "ts-loader": "^8.0.14", "typescript": "^4.1.3", - "vsce": "^2.7.0", + "vsce": "^2.13.0", "webpack": "^5.23.0", "webpack-cli": "^4.4.0" } -} \ No newline at end of file +} diff --git a/packages/varlet-vscode-extension/src/componentMap.ts b/packages/varlet-vscode-extension/src/componentMap.ts index 3714f9f2f84..d52bfa9d398 100644 --- a/packages/varlet-vscode-extension/src/componentMap.ts +++ b/packages/varlet-vscode-extension/src/componentMap.ts @@ -144,6 +144,10 @@ export const componentMap: Record = { form: { site: '/form', }, + 'form-details': { + site: '/form', + closeSelf: true, + }, 'index-bar': { site: '/index-bar', }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09ebb841f46..5f2e7fca9b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -261,7 +261,7 @@ importers: glob: ^7.1.6 ts-loader: ^8.0.14 typescript: ^4.1.3 - vsce: ^2.7.0 + vsce: ^2.13.0 webpack: ^5.23.0 webpack-cli: ^4.4.0 devDependencies: @@ -271,7 +271,7 @@ importers: glob: 7.2.3 ts-loader: 8.4.0_xnp4kzegbjokq62cajex2ovgkm typescript: 4.7.4 - vsce: 2.10.0 + vsce: 2.13.0 webpack: 5.74.0_webpack-cli@4.10.0 webpack-cli: 4.10.0_webpack@5.74.0 @@ -5222,7 +5222,7 @@ packages: dev: false /github-from-package/0.0.0: - resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} + resolution: {integrity: sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=} dev: true /glob-parent/3.1.0: @@ -9586,8 +9586,8 @@ packages: fsevents: 2.3.2 dev: false - /vsce/2.10.0: - resolution: {integrity: sha512-b+wB3XMapEi368g64klSM6uylllZdNutseqbNY+tUoHYSy6g2NwnlWuAGKDQTYc0IqfDUjUFRQBpPgA89Q+Fyw==} + /vsce/2.13.0: + resolution: {integrity: sha512-t1otQ2lqyi5Y/G6qUl9BEc561nEIYrZbLT8k+R1SoZaKNa6gaehaLGQG5zvB524YPGZOVvbOBzAXoO7Mor1J5g==} engines: {node: '>= 14'} hasBin: true dependencies: