Skip to content

Commit

Permalink
Fix publish steps and package requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
marclipovsky committed Sep 28, 2024
1 parent ebf6d5e commit 131285b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
echo "AppVersion=$APP_VERSION" >> $GITHUB_OUTPUT
echo "app version = v$APP_VERSION"
- name: Compile
run: npm run build

- name: Build VSIX package
run: npm run package -- -o vscode-string-manipulation.v${{ steps.calculateVersion.outputs.AppVersion }}.vsix

Expand Down
15 changes: 9 additions & 6 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.vscode/**
.vscode-test/**
test/**
.gitignore
vsc-extension-quickstart.md
**/jsconfig.json
**/*.map
.vscode
.vscode-test/**
**/.eslintrc.json
**/*.map
**/jsconfig.json
node_modules
# out/
src/
test/**
tsconfig.json
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"categories": [
"Other"
],
"main": "./out/extension",
"activationEvents": [
"main": "./out/extension.js",
"activationEvents": [
"onCommand:string-manipulation.titleize",
"onCommand:string-manipulation.titleizeApStyle",
"onCommand:string-manipulation.titleizeChicagoStyle",
Expand Down Expand Up @@ -335,8 +335,7 @@
"test": "node ./test/runTest.js",
"build": "tsc",
"package": "(rm -rf out || true) && mkdir out && cp package.json out && vsce package",
"vsce": "vsce",
"debug": "code --extensionDevelopmentPath=./"
"vscode:prepublish": "tsc -p ./"
},
"devDependencies": {
"@types/glob": "^7.1.3",
Expand Down

0 comments on commit 131285b

Please sign in to comment.