Deploy
Cook
Publish current packages
lerna publish from-package --ignore-scripts
Manually publish a single package
- publish a version
rm package.json
cd {package}/file
yarn
npm version {bump}
npm publish
Build a new package version
- Build new version
- this will build a
{version}.vsix
inplugin-core
yarn build:[prerelease|patch|minor]:[local|remote]
- this will build a
- Restore workspace
- when building locally, this will make a bunch of modifications to your workspace (eg. remove workspace symlinks for actual dependencies)
- run the following to reset your workspace for development
git reset --hard ./bootstrap/scripts/restorePackageState.sh yarn setup
Override plugin version
- NOTE: this only works if you don't have any changes to plugin-core's downstream dependencies
- Update version number on
plugin-core/package.json
- Run the following inside plugin-core
# tee is optional for capturing log output vsce package --yarn | tee /tmp/out.log
Publish local package versions remotely
dendron dev publish --publishEndpoint remote
Build in fast mode
- fast mode skips typechecking
env FAST=1 yarn build:$VERSION_UPGRADE:$ENDPOINT
Related
Backlinks