uniswap-v3-sdk-core
v0.0.0
Published
⚒️ An SDK for building applications on top of Uniswap V3
Downloads
19
Readme
Uniswap SDK Core
This code is shared across Uniswap TypeScript SDKs.
Publishing & Versioning
- Set an npm auth token (see below), e.g.
export NPM_TOKEN=.... - Run
npm run version:patch(orversion:minor/version:major) to bump the semver.- This runs linting, tests, builds the package, updates
package.json, creates a git tag, and pushes the tag.
- This runs linting, tests, builds the package, updates
- (Optional) Verify the tarball via
npm run publish:dry-run. - Publish the package with
npm run publish:public.
prepublishOnly gates npm publish so you never push an untested artifact, and semantic-release can still be used via npm run release for automated pipelines.
npm Authentication
- Create an npm access token (Automation type recommended) in your npm account settings.
- Export it in the shell before publishing:
export NPM_TOKEN=xxxxxxxx. - The repo-level
.npmrcreads that env variable and passes it tonpm publish, so no credentials are stored in the repo or lockfiles.
