Skip to content

Commit b3ebbd8

Browse files
Minor updates (microsoft#147)
Description of changes A collection of minor updates including: - Update all samples to use latest version of the toolkit - Update all sample extension README screenshots - Fix out-of-date configs in the update-toolkit-package.js script - Remove unused categories field from package.json - Update vscode engine to ^1.75.0 in all samples - Remove activationEvent field (no longer needed in vscode engine ^1.75.0 - Remove CSS that was applying too much spacing to hello world framework samples
1 parent edaead8 commit b3ebbd8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+114
-220
lines changed

default/component-gallery/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This sample extension demonstrates every component in the Webview UI Toolkit for Visual Studio Code.
44

5-
![A screenshot of the sample extension.](./assets/component-gallery-screenshot.png)
5+
![A screenshot of the sample extension.](./assets/component-gallery.png)
66

77
## Run The Sample
88

Binary file not shown.
Loading

default/component-gallery/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

default/component-gallery/package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44
"description": "A sample extension to show off all components in the Webview UI Toolkit for Visual Studio Code.",
55
"version": "0.0.1",
66
"engines": {
7-
"vscode": "^1.74.0"
7+
"vscode": "^1.75.0"
88
},
9-
"categories": [
10-
"Other"
11-
],
12-
"activationEvents": [
13-
"onCommand:component-gallery.showGallery"
14-
],
159
"main": "./out/extension.js",
1610
"contributes": {
1711
"commands": [
@@ -43,6 +37,6 @@
4337
"typescript": "^4.8.4"
4438
},
4539
"dependencies": {
46-
"@vscode/webview-ui-toolkit": "^1.2.1"
40+
"@vscode/webview-ui-toolkit": "^1.2.2"
4741
}
4842
}

default/hello-world-webpack/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is a version of the Hello World sample extension that uses Webpack instead of esbuild.
44

5-
![A screenshot of the sample extension.](./assets/hello-world-screenshot.png)
5+
![A screenshot of the sample extension.](./assets/hello-world.png)
66

77
## Run The Sample
88

Binary file not shown.
Loading

default/hello-world-webpack/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

default/hello-world-webpack/package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44
"description": "A hello world sample extension to show off the Webview UI Toolkit for Visual Studio Code.",
55
"version": "0.0.1",
66
"engines": {
7-
"vscode": "^1.74.0"
7+
"vscode": "^1.75.0"
88
},
9-
"categories": [
10-
"Other"
11-
],
12-
"activationEvents": [
13-
"onCommand:hello-world.showHelloWorld"
14-
],
159
"main": "./out/extension.js",
1610
"contributes": {
1711
"commands": [
@@ -44,6 +38,6 @@
4438
"webpack-cli": "^4.10.0"
4539
},
4640
"dependencies": {
47-
"@vscode/webview-ui-toolkit": "^1.2.1"
41+
"@vscode/webview-ui-toolkit": "^1.2.2"
4842
}
4943
}

default/hello-world/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is the sample extension that goes along with the Webview UI Toolkit [Getting Started Guide](https://github.com/microsoft/vscode-webview-toolkit/blob/main/docs/getting-started.md).
44

5-
![A screenshot of the sample extension.](./assets/hello-world-screenshot.png)
5+
![A screenshot of the sample extension.](./assets/hello-world.png)
66

77
## Run The Sample
88

Binary file not shown.
896 KB
Loading

default/hello-world/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

default/hello-world/package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44
"description": "A hello world sample extension to show off the Webview UI Toolkit for Visual Studio Code.",
55
"version": "0.0.1",
66
"engines": {
7-
"vscode": "^1.74.0"
7+
"vscode": "^1.75.0"
88
},
9-
"categories": [
10-
"Other"
11-
],
12-
"activationEvents": [
13-
"onCommand:hello-world.showHelloWorld"
14-
],
159
"main": "./out/extension.js",
1610
"contributes": {
1711
"commands": [
@@ -42,6 +36,6 @@
4236
"typescript": "^4.8.4"
4337
},
4438
"dependencies": {
45-
"@vscode/webview-ui-toolkit": "^1.2.1"
39+
"@vscode/webview-ui-toolkit": "^1.2.2"
4640
}
4741
}

default/notepad/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This sample extension showcases the toolkit in the context of a simple notepad experience that leverages the [TreeView API](https://code.visualstudio.com/api/extension-guides/tree-view) and [Webview API](https://code.visualstudio.com/api/extension-guides/webview).
44

5-
![A screenshot of the sample extension.](./assets/notepad-screenshot.png)
5+
![A screenshot of the sample extension.](./assets/notepad.png)
66

77
## Run The Sample
88

-678 KB
Binary file not shown.

default/notepad/assets/notepad.png

1.19 MB
Loading

default/notepad/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

default/notepad/package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44
"description": "A sample extension that showcases the Webview UI Toolkit for VS Code alongside the VS Code TreeView and Webview API",
55
"version": "0.0.1",
66
"engines": {
7-
"vscode": "^1.74.0"
7+
"vscode": "^1.75.0"
88
},
9-
"categories": [
10-
"Other"
11-
],
12-
"activationEvents": [
13-
"onView:notepad.notesList"
14-
],
159
"main": "./out/extension.js",
1610
"contributes": {
1711
"commands": [
@@ -89,7 +83,7 @@
8983
"typescript": "^4.8.4"
9084
},
9185
"dependencies": {
92-
"@vscode/webview-ui-toolkit": "^1.2.1",
86+
"@vscode/webview-ui-toolkit": "^1.2.2",
9387
"uuid": "^9.0.0"
9488
}
9589
}

default/weather-webview/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This sample extension demonstrates the Webview UI Toolkit for Visual Studio Code being used within a Webview View.
44

5-
![A screenshot of the sample extension.](./assets/weather-webview-screenshot.png)
5+
![A screenshot of the sample extension.](./assets/weather-webview.png)
66

77
## Run The Sample
88

Binary file not shown.
Loading

default/weather-webview/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

default/weather-webview/package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44
"description": "A sample extension to show off the Webview UI Toolkit for Visual Studio Code being used in a webview view.",
55
"version": "0.0.1",
66
"engines": {
7-
"vscode": "^1.74.0"
7+
"vscode": "^1.75.0"
88
},
9-
"categories": [
10-
"Other"
11-
],
12-
"activationEvents": [
13-
"onView:weather.weatherView"
14-
],
159
"main": "./out/extension.js",
1610
"contributes": {
1711
"views": {
@@ -46,7 +40,7 @@
4640
"typescript": "^4.8.4"
4741
},
4842
"dependencies": {
49-
"@vscode/webview-ui-toolkit": "^1.2.1",
43+
"@vscode/webview-ui-toolkit": "^1.2.2",
5044
"weather-js": "^2.0.0"
5145
}
5246
}

frameworks/hello-world-angular/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is an implementation of the default [Hello World](https://github.com/microsoft/vscode-webview-ui-toolkit-samples/tree/main/default/hello-world) sample extension that demonstrates how to set up and use a [Angular](https://angular.io/) + [Webview UI Toolkit](https://github.com/microsoft/vscode-webview-ui-toolkit) webview extension.
44

5-
![A screenshot of the sample extension.](./assets/hello-world-screenshot.png)
5+
![A screenshot of the sample extension.](./assets/hello-world.png)
66

77
## Documentation
88

Binary file not shown.
Loading

frameworks/hello-world-angular/package.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@
44
"description": "A hello world sample extension to demonstrate using Angular with the Webview UI Toolkit for VS Code.",
55
"version": "0.0.1",
66
"engines": {
7-
"vscode": "^1.46.0"
7+
"vscode": "^1.75.0"
88
},
9-
"categories": [
10-
"Other"
11-
],
12-
"activationEvents": [
13-
"onCommand:hello-world.showHelloWorld"
14-
],
159
"main": "./out/extension.js",
1610
"contributes": {
1711
"commands": [

0 commit comments

Comments
 (0)