Skip to content

Commit

Permalink
fix: correctly reference extension README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wtho committed Jun 6, 2022
1 parent 9f3b69e commit 7c4b35c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ jobs:

- name: publish to open vsx registry
uses: HaaLeo/publish-vscode-extension@v1
working-directory: extension
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: ${{ steps.referenceExtension.outputs.vsixPath }}
continue-on-error: true # workflow might run without creating a new version, so publishing fails

- name: publish to visual studio marketplace
uses: HaaLeo/publish-vscode-extension@v1
working-directory: extension
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
Expand Down
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"esbuild-full-minify": "npm run esbuild-base-extension -- --minify && npm run esbuild-base-server -- --minify && npm run post-build",
"esbuild-base-extension": "esbuild ../extension-client/src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild-base-server": "esbuild ../extension-server/src/server.ts --bundle --outfile=out/server.js --external:vscode --external:'ts-node' --format=cjs --platform=node",
"post-build": "ncp mock out/node_modules && ncp ../node_modules/conventional-changelog-conventionalcommits/templates ./out/templates && ncp ../README.md .",
"post-build": "ncp mock out/node_modules && ncp ../node_modules/conventional-changelog-conventionalcommits/templates ./out/templates && ncp ../README.md ./README.md",
"test-compile": "tsc -p ./",
"compile": "tsc -b",
"watch": "tsc -b -w",
Expand Down
3 changes: 1 addition & 2 deletions extension/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
"strict": true
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", ".vscode-test", "**.test.ts", "**.test.js"],
"references": [{ "path": "./client" }, { "path": "./server" }]
"exclude": ["node_modules", ".vscode-test", "**.test.ts", "**.test.js"]
}

0 comments on commit 7c4b35c

Please sign in to comment.