@giosg/pub-sdk
v1.0.0
Published
TypeScript interfaces for Giosg Pub
Downloads
114
Maintainers
Keywords
Readme
Giosg Pub SDK and interfaces
This folder should contain some kind of ts interfaces
Publishing
Before publishing, remember to consider the effects your changes have for our users. See semantic versioning.
Script npm run prepare
will run before publishing automatically.
Make sure you are in the giosg_pub/interfaces
folder when you are trying to publish the package. Don`t publish something else by accident. If you did, unpublish it within 72 hours.
For publishing, you need access to giosg organization in npm. You can request that from one of the organization admins or request them to publish the package.
- Update CHANGELOG.md, update package version (e.g. with
npm --no-git-tag-version version <major|minor|patch>
), and commit. - Create pull request.
- Request a review from another experienced developer.
- Merge the pull request after approval and passed tests.
- Pull master locally.
- Login to npm with
npm login --scope=giosg
. You will be prompted for credentials. - Build version with
npm run prepare
command. - Publish the package with:
npm publish --access public
.--access public
flag is mandatory because organization packages default torestricted
. - Create a new tag on the latest commit on master branch
git tag vX.Y.Z
X.Y.Z
being the published version. - Push the tag to remote
git push --tags
.
TODO:
- add lint
- add grammarchek