mike douges @douges.dev · Dec 30

97. pnpm has a great feature called publish config. You can use it to replace fields in pkg json when you publish! Unfortunately I couldn’t use the automated replacement as I have a chicken and the egg problem with apps. Ended up writing my own script to replace the fields as needed (pictured).

1 likes 1 replies

?

Replies

mike douges · Dec 30

98. In a similar vein I wrote a small script to know when to release Electron (using electron-builder). I didn’t have this problem with the VS Code extension because the vsce CLI has an option to noop the release if the version already exists. A lot of duct tape but it works. All that matters!