rm -rf node_modules
npm install
npm outdated @adobe/aio-cli-plugin-console @adobe/aio-cli-plugin-jwt-auth @adobe/aio-cli-plugin-config @adobe/aio-cli-plugin-runtime @adobe/aio-cli-plugin-certificate @adobe/aio-cli-plugin-auth @adobe/aio-cli-plugin-app
If there is a major
version update in any of the plugins, only update the major
version of the CLI.
Else if there is a minor
version update in any of the plugins, only update the minor
version of the CLI.
Else if there is a patch
version update in any of the plugins, only update the patch
version of the CLI.
Update the updated module(s). For example, if it was the console plugin:
npm install @adobe/aio-cli-plugin-console@latest --save
npm test
npm --no-git-tag-version version [major | minor | patch]
# get the package.json version in a variable
export PKG_VER=`node -e "console.log(require('./package.json').version)"`
git commit -m "Incremented version to $PKG_VER" package.json package-lock.json README.md
git tag $PKG_VER
git push origin master
git push origin $PKG_VER
npm publish
npm --no-git-tag-version version prerelease --preid=dev
git add .
git commit -m "bumped master prerelease"
git push origin master