Skip to content

Commit

Permalink
feat: first release as official asyncapi plugin with automation (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Jun 28, 2022
1 parent 64fa2c9 commit b94a2c7
Show file tree
Hide file tree
Showing 7 changed files with 4,395 additions and 519 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release-to-marketplaces.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release Extension to official Marketplace and Open VSX registry
on:
# It cannot run on release event as when release is created then version is not yet bumped in package.json
push:
branches:
- master

jobs:

release:
name: Release to marketplaces
# such a specific commit messages comes from if-nodejs-version-bump.yml workflow
if: startsWith(github.event.commits[0].message, 'chore(release):')
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Install dependencies
run: npm ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist
node_modules
.vscode-test/
*.vsix
.DS_Store
8 changes: 8 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file provides an overview of code owners in the "asyncapi-react" repository.

# Each line is a file pattern followed by one or more owners.
# The last matching pattern has the most precedence.
# For more details, read the following article on GitHub: https://help.github.com/articles/about-codeowners/.

# 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.
* @ivangsa @derberg @asyncapi-bot-eve
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

Preview AsyncAPI documents inside VSCode.

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.
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.

You can open AsyncAPI Preview from editor title/context menu.
You can open AsyncAPI Preview from the editor title/context menu.

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

## Automatic hot-reloading

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

### Credits

Expand Down
Binary file modified asyncapi-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b94a2c7

Please sign in to comment.