@markopolo_ai_inc/mobile-sdk
v0.1.10
Published
The mobile SDK for MarkTag
Readme
MarkTag Mobile SDK
Visit https://markopolo-inc.github.io/marktag-docs for documentation and examples.
Publishing to npm
The package is scoped: @markopolo_ai_inc/mobile-sdk.
One-time setup
- Create an npm account at npmjs.com if needed.
- Log in from the repo root:
Enter your npm username, password, and email/OTP.npm login - Ensure you have publish access to the
@markopoli_ai_incscope (you must be a member of the org on npm, or the scope must match your username).
Publish a new version
Option A – Manual version and publish
# From repo root
cd "/Users/macbookprom1/Desktop/Office works/marktag-sdk-react-native"
# 1. Build the library (src → lib)
npm run build
# 2. Bump version in package.json (e.g. 0.1.7 → 0.1.8), then:
npm publish --access publicUse --access public so the scoped package is visible to everyone (required for scoped packages if the scope is not your user).
Option B – Automated release (version bump + changelog + git tag + npm publish)
npm run releaseThis runs release-it: it will prompt for the new version, update package.json, create a git commit and tag, push, create a GitHub release, and run npm publish.
Notes
- What gets published: Only the root package. The
filesfield inpackage.jsoncontrols what is included (e.g.src,lib,android,ios,*.podspec). Theexampleapp is not published. - Before publishing:
prepublishOnlyrunsnpm run build, so the library is built automatically before the tarball is created. - First time: For a new scoped package, use
npm publish --access publicso it appears as a public package on npm.
