Skip to content

Commit fc6b992

Browse files
committed
chore(vscode): revert extension display name
revert #5582
1 parent 9f15d5f commit fc6b992

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

extensions/vscode/lib/generated-meta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
// Meta info
55
export const publisher = 'Vue';
66
export const name = 'volar';
7-
export const version = '3.0.5';
8-
export const displayName = 'Vue.js';
7+
export const version = '3.0.6';
8+
export const displayName = 'Vue (Official)';
99
export const description = 'Language Support for Vue';
1010
export const extensionId = `${publisher}.${name}`;
1111

extensions/vscode/lib/welcome.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ export function execute(context: vscode.ExtensionContext) {
4040
}
4141

4242
function getWelcomeHtml(context: vscode.ExtensionContext) {
43-
const version = context.extension.packageJSON.version;
43+
const { version, displayName } = context.extension.packageJSON;
4444
return /* HTML */ `
4545
<!DOCTYPE html>
4646
<html lang="en">
4747
4848
<head>
4949
<meta charset="UTF-8">
5050
<meta name="viewport" content="width=device-width, initial-scale=1.0">
51-
<title>Vue.js</title>
51+
<title>${displayName}</title>
5252
<script>
5353
const vscode = acquireVsCodeApi();
5454
function verifySponsor() {
@@ -291,7 +291,7 @@ function getWelcomeHtml(context: vscode.ExtensionContext) {
291291
</g>
292292
</svg>
293293
<div>
294-
<h1>Vue.js <sup><small>${version}</small></sup></h1>
294+
<h1>${displayName} <sup><small>${version}</small></sup></h1>
295295
<div class="links">
296296
<a href="https://github.com/vuejs/language-tools" target="_blank">
297297
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="vertical-align: middle;">
@@ -340,7 +340,6 @@ function getWelcomeHtml(context: vscode.ExtensionContext) {
340340
<div class="card whats-new-card">
341341
<h3>3.0.6</h3>
342342
<ul style="margin: 0; padding-left: 1.25rem;">
343-
<li>✨ The official extension has now been renamed to "Vue.js"</li>
344343
<li>🚀 Expandable Hovers support for TypeScript (<a href="https://code.visualstudio.com/updates/v1_100#_expandable-hovers-for-javascript-and-typescript-experimental" target="_blank">Learn More</a>)</li>
345344
<li>🐛 8+ bug fixes</li>
346345
</ul>

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://github.com/sponsors/johnsoncodehk"
1515
},
1616
"icon": "icon.png",
17-
"displayName": "Vue.js",
17+
"displayName": "Vue (Official)",
1818
"description": "Language Support for Vue",
1919
"author": "johnsoncodehk",
2020
"publisher": "Vue",

0 commit comments

Comments
 (0)