BennyKok / novel-vscode

A quick integration of Novel.sh editor to VSCode
https://marketplace.visualstudio.com/items?itemName=bennykok.novel-vscode
MIT License
61 stars 7 forks source link

complie to vsix #3

Closed jt6677 closed 1 year ago

jt6677 commented 1 year ago

I spent some time trying to compile it to vsix so I do not have to run it as development locally. I would love to see your compile process since I could not figure out where to run vsce package

BennyKok commented 1 year ago

Hey thanks for asking, for packaging, you can do it with pnpm package Also just updated the description about packaging in the README

jt6677 commented 1 year ago

I tried it with error of Manifest needs the 'activationEvents' property, given it has a 'main' property.

jt6677 commented 1 year ago

btw, for folks new to vscode extension like me, they would need npm install --global vsce .

BennyKok commented 1 year ago

interesting, curious if installing from the marketplace works for you? I found this, is this when you packaging? https://github.com/microsoft/vscode-vsce/issues/808 what is version of your vsce and vscode?

jt6677 commented 1 year ago

problem sovled. I used vsce form npm install --global vsce which tops at 2.15. I should use npm i @vscode/vsce --global thank you.