Skip to content

Commit

Permalink
dist, add --no-dependencies on vsce execution
Browse files Browse the repository at this point in the history
In pnpm, it is needed
  • Loading branch information
sh-cho committed Aug 6, 2024
1 parent c829d3f commit 1cb09f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
if: matrix.target == 'arm-unknown-linux-gnueabihf'
run: sudo apt-get install gcc-arm-linux-gnueabihf

# TODO: dist
- name: Dist
run: cargo xtask dist --client-patch-version ${{ github.run_number }}

- uses: pnpm/action-setup@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion clients/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"scripts": {
"vscode:prepublish": "pnpm run build-base --minify",
"package": "vsce package -o fluent-bit-lsp.vsix",
"package": "vsce package -o fluent-bit-lsp.vsix --no-dependencies",
"build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node20",
"build": "pnpm run build-base --sourcemap",
"watch": "pnpm run build-base --sourcemap --watch"
Expand Down

0 comments on commit 1cb09f9

Please sign in to comment.