@start-bootstrap/website-shared-types
v0.4.15
Published
shared types for initplatform front-end and back-end
Downloads
6
Readme
SB Website Shared Types
Shared types for sb website front-end and back-end
Quick Start
npm install @start-bootstrap/website-shared-types
Development
cd ~/Projects/SB/website-shared-types
npm link
cd ~/Projects/SB/website-angular
npm run link
cd ~/Projects/SB/website-node
npm run link
Release
Versioning
# npm version [patch|minor|major]
# npm version patch 1.0.0 -> 1.0.1
# npm version minor 1.0.0 -> 1.1.0
# npm version major 1.0.0 -> 2.0.0
npm version
# check package.json
cat package.json | grep version
Push to git
export NPM_NEW_VERSION=$(node -e "var pj=require('./package.json'); console.log(\`v\${pj.version}\`)");
echo "Pushing $NPM_NEW_VERSION to github"
git push origin $NPM_NEW_VERSION
Practice Run
cd sbpro-schematics
npm pack
tar -tvf RESULTING_TAR_FILE
# Don't forget to delete it
rm -f *.tgz
Publish
npm install && npm run build && npm publish --access public
Updating projects
Update:
- website-node
- website-angular
- releaseosaurus
# Do NOT install as DEV dependencies
# npm i @start-bootstrap/[email protected] && gacp updating website-shared-types
npm i @start-bootstrap/[email protected]