From 3bedeae510567c778ac7aec4d5b88d9272e4237e Mon Sep 17 00:00:00 2001 From: unjinjang Date: Sat, 3 Sep 2022 02:17:00 +0900 Subject: [PATCH 1/3] [DOCS]: Bump Version Update --- CHANGELOG.md | 4 ++++ README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63eb52a..92ba69c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.8 + +#### Feature CI/CD github actions to deploy vscode extension to marketplace + ## 1.0.7 #### Feature Clicking history collection from sidebar now fills up the UI in main request panel diff --git a/README.md b/README.md index 5cfc088..3a8b06b 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ Simply click Open Menu button or open the Command Palette and type the command b ## 🗒 Changelog -#### Current version 1.0.7 +#### Current version 1.0.8 Visit [here](https://github.com/REST-API-Client/API-Client-VSCode-Extension/blob/main/CHANGELOG.md) for a detailed release notes diff --git a/package-lock.json b/package-lock.json index b759cf1..8c97267 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rest-api-client", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rest-api-client", - "version": "1.0.7", + "version": "1.0.8", "license": "MIT", "dependencies": { "@monaco-editor/react": "^4.4.5", diff --git a/package.json b/package.json index 46be79c..7f18ceb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "displayName": "REST API Client", "icon": "icons/images/icon.png", "description": "Simple and intuitive API Client made into a VSCode extension.", - "version": "1.0.7", + "version": "1.0.8", "license": "MIT", "bugs": { "url": "https://github.com/REST-API-Client/API-Client-VSCode-Extension/issues" From fb41f1ae8ec68e051cf51bc9ad1e09c074249961 Mon Sep 17 00:00:00 2001 From: unjinjang Date: Sat, 3 Sep 2022 02:17:22 +0900 Subject: [PATCH 2/3] [CHORE]: Add github actions workflows --- .github/workflows/cicd.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/cicd.yaml diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml new file mode 100644 index 0000000..cae7ba0 --- /dev/null +++ b/.github/workflows/cicd.yaml @@ -0,0 +1,27 @@ +name: Release and publish + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 16 + + - name: Install the dependencies + run: npm i + + - name: Install vsce + run: npm i -g vsce + + - name: Publish to marketplace + run: vsce publish -p $PERSONAL_ACCESS_TOKEN + env: + PERSONAL_ACCESS_TOKEN: ${{ secrets.VSCE_PAT }} From daa6e09eb94342b60a22fe3ff508d04077594309 Mon Sep 17 00:00:00 2001 From: unjinjang Date: Sat, 3 Sep 2022 02:18:17 +0900 Subject: [PATCH 3/3] [REFACTOR]: Fix import case sensitive issue and add App directory --- src/extension.js | 2 +- webview/{app.js => App/index.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename webview/{app.js => App/index.js} (69%) diff --git a/src/extension.js b/src/extension.js index db49f86..6e6bfac 100644 --- a/src/extension.js +++ b/src/extension.js @@ -3,7 +3,7 @@ import vscode from "vscode"; import { COLLECTION, COMMAND, MESSAGE } from "./constants"; import ExtentionStateManager from "./ExtensionStateManger"; import MainWebViewPanel from "./MainWebViewPanel"; -import SidebarWebViewPanel from "./SideBarWebViewPanel"; +import SidebarWebViewPanel from "./SidebarWebViewPanel"; export async function activate(context) { const StateManager = new ExtentionStateManager(context); diff --git a/webview/app.js b/webview/App/index.js similarity index 69% rename from webview/app.js rename to webview/App/index.js index 847fa7a..8501bf2 100644 --- a/webview/app.js +++ b/webview/App/index.js @@ -1,6 +1,6 @@ import React from "react"; -import MainPage from "./pages/MainPage"; +import MainPage from "../pages/MainPage"; const App = () => { return ;