- chocolatey
- latest node and npm
- yarn is nice to have
yarn new {package_slug}
- Edit
config.json
- Edit whatever goes in
tools
dir
yarn update {package_slug}
- Ensure clean Windows installation in VirtualBox or similar
- Ensure the
dist
folder is shared - cd to the package's directory inside
dist
- from terminal run
cpack && cinst {packageName} -dfv -s "'.;chocolatey'"
to package up the source and install from it.
- Ensure that your API key is stored locally and if not, get it from https://chocolatey.org/account
- If all testing is passing, cd to the dist folder of your package and use
cpush
to publish
- Package slugs must be the same as containing folders! Use titles for human readable values
{
// package identifier [a-z0-9-_.]
slug : 'xyplorer.install',
// display human-friendly title
title : 'XYplorer (install)',
};