Skip to content

Commit b94a2c7

Browse files
authored
feat: first release as official asyncapi plugin with automation (#99)
1 parent 64fa2c9 commit b94a2c7

File tree

7 files changed

+4395
-519
lines changed

7 files changed

+4395
-519
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release Extension to official Marketplace and Open VSX registry
2+
on:
3+
# It cannot run on release event as when release is created then version is not yet bumped in package.json
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
10+
release:
11+
name: Release to marketplaces
12+
# such a specific commit messages comes from if-nodejs-version-bump.yml workflow
13+
if: startsWith(github.event.commits[0].message, 'chore(release):')
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 14
22+
cache: 'npm'
23+
cache-dependency-path: '**/package-lock.json'
24+
- name: Install dependencies
25+
run: npm ci
26+
- name: Publish to Open VSX Registry
27+
uses: HaaLeo/publish-vscode-extension@v1
28+
id: publishToOpenVSX
29+
with:
30+
pat: ${{ secrets.OPEN_VSX_TOKEN }}
31+
- name: Publish to Visual Studio Marketplace
32+
uses: HaaLeo/publish-vscode-extension@v1
33+
with:
34+
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
35+
registryUrl: https://marketplace.visualstudio.com
36+
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
node_modules
44
.vscode-test/
55
*.vsix
6+
.DS_Store

CODEOWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file provides an overview of code owners in the "asyncapi-react" repository.
2+
3+
# Each line is a file pattern followed by one or more owners.
4+
# The last matching pattern has the most precedence.
5+
# For more details, read the following article on GitHub: https://help.github.com/articles/about-codeowners/.
6+
7+
# These are the default owners for the whole content of this repository. The default owners are automatically added as reviewers when you open a pull request unless different owners are specified in the file.
8+
* @ivangsa @derberg @asyncapi-bot-eve

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
Preview AsyncAPI documents inside VSCode.
66

7-
AsyncAPI Preview was simplified and reworked from scratch to use the latest [@asyncapi/asyncapi-react](https://github.com/asyncapi/asyncapi-react/tree/next), removing old dependencies on Express, socket.io and js-yaml with better startup preformace and bundle size.
7+
AsyncAPI Preview was simplified and reworked from scratch to use the latest [@asyncapi/asyncapi-react](https://github.com/asyncapi/asyncapi-react/tree/next), removing old dependencies on Express, socket.io and js-yaml with better startup performance and bundle size.
88

9-
You can open AsyncAPI Preview from editor title/context menu.
9+
You can open AsyncAPI Preview from the editor title/context menu.
1010

1111
![AsyncAPI Preview](docs/asyncapi-editor-title-context.png)
1212

1313
## Automatic hot-reloading
1414

15-
Automatic hot-reloading on editor save, but currently it doesn't reload when saving referenced external files.
15+
Automatic hot-reloading on editor save, but currently, it doesn't reload when saving referenced external files.
1616

1717
### Credits
1818

asyncapi-logo.png

17.4 KB
Loading

0 commit comments

Comments
 (0)