TypeScript interfaces for Giosg Pub
npm install @giosg/pub-sdkBefore 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. Dont 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.
1. Update CHANGELOG.md, update package version (e.g. with npm --no-git-tag-version version ), and commit.npm login --scope=giosg
2. Create pull request.
3. Request a review from another experienced developer.
4. Merge the pull request after approval and passed tests.
5. Pull master locally.
6. Login to npm with . You will be prompted for credentials.npm run prepare
7. Build version with command.npm publish --access public
8. Publish the package with: . --access public flag is mandatory because organization packages default to restricted.git tag vX.Y.Z
9. Create a new tag on the latest commit on master branch X.Y.Z being the published version.git push --tags`.
10. Push the tag to remote
- add lint
- add grammarchek