@pierre/theme 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yml +30 -8
- package/package.json +1 -1
- package/themes/pierre-dark-vibrant.json +1917 -0
- package/themes/pierre-dark.json +1917 -0
- package/themes/pierre-light-vibrant.json +1917 -0
- package/themes/pierre-light.json +1917 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
name: Publish
|
|
1
|
+
name: Publish
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
release:
|
|
5
5
|
types: [published]
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
|
-
|
|
8
|
+
package:
|
|
9
|
+
name: Publish to VS Marketplace & Open VSX
|
|
9
10
|
runs-on: ubuntu-latest
|
|
10
11
|
|
|
11
12
|
steps:
|
|
@@ -24,17 +25,38 @@ jobs:
|
|
|
24
25
|
- name: Build theme
|
|
25
26
|
run: npm run build
|
|
26
27
|
|
|
27
|
-
- name:
|
|
28
|
-
run:
|
|
28
|
+
- name: Rename package for extension publishing
|
|
29
|
+
run: jq '.name = "pierre-theme"' package.json > tmp.json && mv tmp.json package.json
|
|
29
30
|
|
|
30
31
|
- name: Publish to VS Marketplace
|
|
31
32
|
env:
|
|
32
33
|
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
|
33
34
|
run: npx @vscode/vsce publish --pat $VSCE_PAT
|
|
34
35
|
|
|
35
|
-
- name:
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
- name: Publish to Open VSX
|
|
37
|
+
env:
|
|
38
|
+
OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }}
|
|
39
|
+
run: npx ovsx publish --pat $OVSX_PAT
|
|
40
|
+
|
|
41
|
+
npm:
|
|
42
|
+
name: Publish to npm
|
|
43
|
+
runs-on: ubuntu-latest
|
|
44
|
+
permissions:
|
|
45
|
+
id-token: write
|
|
46
|
+
contents: read
|
|
47
|
+
|
|
48
|
+
steps:
|
|
49
|
+
- name: Checkout code
|
|
50
|
+
uses: actions/checkout@v4
|
|
51
|
+
|
|
52
|
+
- name: Setup Node.js
|
|
53
|
+
uses: actions/setup-node@v4
|
|
54
|
+
with:
|
|
55
|
+
node-version: '20'
|
|
56
|
+
cache: 'npm'
|
|
57
|
+
registry-url: 'https://registry.npmjs.org'
|
|
38
58
|
|
|
39
59
|
- name: Publish to npm
|
|
40
|
-
|
|
60
|
+
env:
|
|
61
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
62
|
+
run: npm publish --access public --provenance
|
package/package.json
CHANGED