Skip to content

Commit f14e2e9

Browse files
authored
feat: publish extension on open vsx registry (#46)
1 parent 155a9de commit f14e2e9

File tree

4 files changed

+92
-4
lines changed

4 files changed

+92
-4
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Publish
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
9-
publish:
9+
check-versions:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
@@ -19,9 +19,27 @@ jobs:
1919
echo "package.json version does not match git tag"
2020
exit 1
2121
fi
22+
publish-vsce:
23+
runs-on: ubuntu-latest
24+
needs: check-versions
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v3
2228
- name: Install dependencies
2329
run: yarn install
2430
- name: Publish
25-
run: yarn run publish
31+
run: yarn run publish:vsce
2632
env:
2733
VSCE_PAT: ${{ secrets.VSCE_PAT }}
34+
publish-ovsx:
35+
runs-on: ubuntu-latest
36+
needs: check-versions
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v3
40+
- name: Install dependencies
41+
run: yarn install
42+
- name: Publish
43+
run: yarn run publish:ovsx
44+
env:
45+
OVSX_PAT: ${{ secrets.OVSX_PAT }}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
- Configurable via `task.tree.sort` setting (values: `"default"` (default), `"alphanumeric"` or `"none"`).
99
- Added a cancel/timeout to file watcher to improve performance when making lots of file changes (#35 by @pd93).
1010
- For example, `git stash pop` of a lot of `.yml` files would cause a huge lag spike as multiple update calls were made.
11+
- This extension is now also published on the [Open VSX Registry](https://open-vsx.org/extension/task/vscode-task) (#26, #46 by @pd93).
12+
- This means you can now install it in [VSCodeium](https://vscodium.com/).
1113

1214
## v0.1.1 - 2021-03-27
1315

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@
297297
"lint": "eslint src --ext ts",
298298
"test": "node ./out/test/runTest.js",
299299
"package": "vsce package --yarn",
300-
"publish": "vsce publish --yarn",
300+
"publish:vsce": "vsce publish --yarn",
301+
"publish:ovsx": "ovsx publish --yarn",
301302
"vscode:prepublish": "yarn run bundle"
302303
},
303304
"devDependencies": {
@@ -313,6 +314,7 @@
313314
"eslint": "^8.39.0",
314315
"glob": "^8.1.0",
315316
"mocha": "^10.2.0",
317+
"ovsx": "^0.8.1",
316318
"typescript": "^5.0.4"
317319
},
318320
"dependencies": {

yarn.lock

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,34 @@
602602
jszip "^3.10.1"
603603
semver "^7.3.8"
604604

605+
"@vscode/vsce@^2.15.0":
606+
version "2.19.0"
607+
resolved "https://registry.yarnpkg.com/@vscode/vsce/-/vsce-2.19.0.tgz#342225662811245bc40d855636d000147c394b11"
608+
integrity sha512-dAlILxC5ggOutcvJY24jxz913wimGiUrHaPkk16Gm9/PGFbz1YezWtrXsTKUtJws4fIlpX2UIlVlVESWq8lkfQ==
609+
dependencies:
610+
azure-devops-node-api "^11.0.1"
611+
chalk "^2.4.2"
612+
cheerio "^1.0.0-rc.9"
613+
commander "^6.1.0"
614+
glob "^7.0.6"
615+
hosted-git-info "^4.0.2"
616+
jsonc-parser "^3.2.0"
617+
leven "^3.1.0"
618+
markdown-it "^12.3.2"
619+
mime "^1.3.4"
620+
minimatch "^3.0.3"
621+
parse-semver "^1.1.1"
622+
read "^1.0.7"
623+
semver "^5.1.0"
624+
tmp "^0.2.1"
625+
typed-rest-client "^1.8.4"
626+
url-join "^4.0.1"
627+
xml2js "^0.5.0"
628+
yauzl "^2.3.1"
629+
yazl "^2.2.2"
630+
optionalDependencies:
631+
keytar "^7.7.0"
632+
605633
"@vscode/vsce@^2.18.0":
606634
version "2.18.0"
607635
resolved "https://registry.yarnpkg.com/@vscode/vsce/-/vsce-2.18.0.tgz#9f40bf8e7df084a36844b9dadf5c277265c9fbd6"
@@ -884,6 +912,11 @@ chownr@^1.1.1:
884912
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
885913
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
886914

915+
ci-info@^2.0.0:
916+
version "2.0.0"
917+
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
918+
integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==
919+
887920
clean-stack@^2.0.0:
888921
version "2.2.0"
889922
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b"
@@ -1312,6 +1345,11 @@ flatted@^3.1.0:
13121345
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
13131346
integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
13141347

1348+
follow-redirects@^1.14.6:
1349+
version "1.15.2"
1350+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
1351+
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
1352+
13151353
fromentries@^1.3.1:
13161354
version "1.3.2"
13171355
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
@@ -1548,6 +1586,13 @@ is-binary-path@~2.1.0:
15481586
dependencies:
15491587
binary-extensions "^2.0.0"
15501588

1589+
is-ci@^2.0.0:
1590+
version "2.0.0"
1591+
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
1592+
integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==
1593+
dependencies:
1594+
ci-info "^2.0.0"
1595+
15511596
is-extglob@^2.1.1:
15521597
version "2.1.1"
15531598
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@@ -1932,6 +1977,19 @@ optionator@^0.9.1:
19321977
type-check "^0.4.0"
19331978
word-wrap "^1.2.3"
19341979

1980+
ovsx@^0.8.1:
1981+
version "0.8.1"
1982+
resolved "https://registry.yarnpkg.com/ovsx/-/ovsx-0.8.1.tgz#6510e276130d5ac1dc50642fd19a521b826fbc10"
1983+
integrity sha512-smfdxuSScUwzEsNgxdEWTmWVYaRmb2Xa1qF/LadMtowq/gg01+zNxDGUAlqALin82RBj++IF0O+qrzrC10O7ww==
1984+
dependencies:
1985+
"@vscode/vsce" "^2.15.0"
1986+
commander "^6.1.0"
1987+
follow-redirects "^1.14.6"
1988+
is-ci "^2.0.0"
1989+
leven "^3.1.0"
1990+
semver "^5.1.0"
1991+
tmp "^0.2.1"
1992+
19351993
p-limit@^3.0.2:
19361994
version "3.1.0"
19371995
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"
@@ -2472,6 +2530,14 @@ xml2js@^0.4.23:
24722530
sax ">=0.6.0"
24732531
xmlbuilder "~11.0.0"
24742532

2533+
xml2js@^0.5.0:
2534+
version "0.5.0"
2535+
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.5.0.tgz#d9440631fbb2ed800203fad106f2724f62c493b7"
2536+
integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==
2537+
dependencies:
2538+
sax ">=0.6.0"
2539+
xmlbuilder "~11.0.0"
2540+
24752541
xmlbuilder@~11.0.0:
24762542
version "11.0.1"
24772543
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3"

0 commit comments

Comments
 (0)