Skip to content

Commit 9b1322c

Browse files
authored
Add publish workflow (#50)
1 parent 8aac9f2 commit 9b1322c

File tree

4 files changed

+73
-4
lines changed

4 files changed

+73
-4
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Install Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 18.x
20+
21+
- name: Install Dependencies
22+
run: npm ci
23+
24+
- name: Install VSCE
25+
run: npm install -g vsce
26+
27+
- name: Publish
28+
env:
29+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
30+
run: vsce publish

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0] - 2024-02-15
11+
12+
### Added:
13+
14+
- Dev Proxy detection: Check if installed
15+
- Dev Proxy detection: Check if latest is installed
16+
- Dev Proxy detection: Check if running
17+
- Config diagnostic: Check that schema matches installed version of Dev Proxy
18+
- Config diagnostic: Code action to update schema to correct version
19+
- CI: Add publish workflow
20+
21+
### Changed:
22+
23+
- Snippet: `devproxy-plugin-graph-select-guidance` corrected `name` property to `GraphSelectGuidancePlugin`
24+
- Snippet: `devproxy-plugin-graph-minimal-permissions` corrected `name` property to `MinimalPermissionsPlugin`
25+
- Snippet: `devproxy-plugin-odata-paging-guidance` corrected `name` property to `ODataPagingGuidancePlugin`
26+
- Fixed indenting and removed extra whitespace on snippets
27+
- Updated snippets to use opened arrays over multiple lines for easier update
28+
from:
29+
```json
30+
"value": [ ]
31+
```
32+
to:
33+
```json
34+
"value": [
35+
36+
]
37+
```
38+
1039
## [0.1.0] - 2024-01-18
1140

1241
### Added

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ The Dev Proxy Toolkit extension for Visual Studio Code makes it easy to create a
6363

6464
The following diagnostic checks are performed:
6565

66-
- Check for empty `urlsToWatch`.
67-
- Check for missing `configSection` property in plugin instance for plugins that require configuration.
68-
- Check for missing `configSection` when defined in plugin instance.
66+
- Check for empty `urlsToWatch`
67+
- Check for missing `configSection` property in plugin instance for plugins that require configuration
68+
- Check for missing `configSection` when defined in plugin instance
69+
- Check that schema matches installed version of Dev Proxy
70+
- Code action to update schema to correct version
71+
72+
### Dev Proxy detection
73+
74+
The following checks are performed:
75+
76+
- Check if Dev Proxy is installed
77+
- Check if Dev Proxy is the latest version
78+
- Check if Dev Proxy is running

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dev-proxy-toolkit",
33
"displayName": "Dev Proxy Toolkit",
44
"description": "Makes it easy to create and update Dev Proxy configuration files.",
5-
"version": "0.1.0",
5+
"version": "0.2.0",
66
"publisher": "garrytrinder",
77
"engines": {
88
"vscode": "^1.85.0"

0 commit comments

Comments
 (0)