From cb789c33d29bb9e0c40d9263171c1fd3af8dafdd Mon Sep 17 00:00:00 2001 From: George Stagg Date: Fri, 20 Feb 2026 13:40:13 +0000 Subject: [PATCH] Publish to Open VSX on ggsql-vscode release --- .github/workflows/vscode.yaml | 41 ++++++++++++++++++++++++++++++++++ ggsql-vscode/LICENSE.md | 7 ++++++ ggsql-vscode/package-lock.json | 20 ++++++++--------- ggsql-vscode/package.json | 2 +- 4 files changed, 59 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/vscode.yaml create mode 100644 ggsql-vscode/LICENSE.md diff --git a/.github/workflows/vscode.yaml b/.github/workflows/vscode.yaml new file mode 100644 index 00000000..b6a04b63 --- /dev/null +++ b/.github/workflows/vscode.yaml @@ -0,0 +1,41 @@ +name: Open VSX Release + +on: + push: + tags: + - "vscode/v*" + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Install vsce + run: npm install -g @vscode/vsce + + - name: Install dependencies + working-directory: ggsql-vscode + run: npm ci + + - name: Package VSIX + working-directory: ggsql-vscode + run: vsce package + + - name: Publish to Open VSX Registry + uses: HaaLeo/publish-vscode-extension@v2 + with: + pat: ${{ secrets.OPEN_VSX_TOKEN }} + skipDuplicate: true + packagePath: ggsql-vscode diff --git a/ggsql-vscode/LICENSE.md b/ggsql-vscode/LICENSE.md new file mode 100644 index 00000000..4aaa8b20 --- /dev/null +++ b/ggsql-vscode/LICENSE.md @@ -0,0 +1,7 @@ +Copyright 2025 ggsql authors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/ggsql-vscode/package-lock.json b/ggsql-vscode/package-lock.json index a306c4c5..2d2a6bd1 100644 --- a/ggsql-vscode/package-lock.json +++ b/ggsql-vscode/package-lock.json @@ -639,9 +639,9 @@ "license": "MIT" }, "node_modules/@types/vscode": { - "version": "1.108.1", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.108.1.tgz", - "integrity": "sha512-DerV0BbSzt87TbrqmZ7lRDIYaMiqvP8tmJTzW2p49ZBVtGUnGAu2RGQd1Wv4XMzEVUpaHbsemVM5nfuQJj7H6w==", + "version": "1.109.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.109.0.tgz", + "integrity": "sha512-0Pf95rnwEIwDbmXGC08r0B4TQhAbsHQ5UyTIgVgoieDe4cOnf92usuR5dEczb6bTKEp7ziZH4TV1TRGPPCExtw==", "dev": true, "license": "MIT" }, @@ -851,9 +851,9 @@ "license": "ISC" }, "node_modules/acorn": { - "version": "8.15.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", - "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "dev": true, "license": "MIT", "bin": { @@ -1937,7 +1937,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, "license": "ISC", "dependencies": { @@ -3570,9 +3570,9 @@ } }, "node_modules/semver": { - "version": "7.7.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", - "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", "dev": true, "license": "ISC", "bin": { diff --git a/ggsql-vscode/package.json b/ggsql-vscode/package.json index 7626ebe5..22e86556 100644 --- a/ggsql-vscode/package.json +++ b/ggsql-vscode/package.json @@ -23,7 +23,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/georgestagg/ggsql" + "url": "https://github.com/posit-dev/ggsql" }, "license": "MIT", "contributes": {