Skip to content

Commit

Permalink
fix: enable packaging with pnpm
Browse files Browse the repository at this point in the history
vsce does not support packaging with pnpm without additional workarounds (microsoft/vscode-vsce#421)
  • Loading branch information
esfalsa committed Jun 20, 2024
1 parent 7bfb406 commit d4254bd
Show file tree
Hide file tree
Showing 2 changed files with 247 additions and 5 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nationstates-nscode",
"displayName": "NationStates NSCode",
"description": "Syntax highlighting for NationStates NSCode",
"version": "0.0.1",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/esfalsa/vscode-nscode.git"
Expand Down Expand Up @@ -43,18 +43,19 @@
]
},
"scripts": {
"compile": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"watch": "pnpm run compile --watch",
"fmt": "prettier --write .",
"package": "vsce package",
"lint": "eslint src",
"vscode:prepublish": "pnpm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src"
"package": "vsce package --no-dependencies"
},
"devDependencies": {
"@eslint/js": "^9.5.0",
"@types/node": "^20.14.6",
"@types/vscode": "^1.90.0",
"@vscode/vsce": "^2.29.0",
"esbuild": "^0.21.5",
"eslint": "9.x",
"prettier": "^3.3.2",
"typescript": "^5.5.2",
Expand Down
241 changes: 241 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d4254bd

Please sign in to comment.