Giosg Pub SDK and interfaces
This folder should contain some kind of ts interfaces
Before publishing, remember to consider the effects your changes have for our users. See semantic versioning.
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 preparecommand.
- Publish the package with:
npm publish --access public.
--access publicflag is mandatory because organization packages default to
- Create a new tag on the latest commit on master branch
git tag vX.Y.Z
X.Y.Zbeing the published version.
- Push the tag to remote
git push --tags.
- add lint
- add grammarchek