Design variables that power Thumbtack’s UI.
Thumbprint Tokens are published as JavaScript, SCSS, Swift, and Kotlin.
Platform | Languages | Package |
---|---|---|
Web | React & SCSS | |
Android | Kotlin | |
iOS | Swift | Swift Package Manager |
You can use the Thumbprint Tokens GraphQL server to query tokens and view the schema.
- Pull latest changes: Run
git checkout master && git pull
to grab the latest changes rom GitHub. - Update the
package.json
and changelog: Edit the version in thepackage.json
and then open theCHANGELOG.md
file and look at the unreleased changes. Add the new version number (following SemVer) and date as a heading under the## Unreleased
heading. - Commit the changelog changes: Commit the changes on
master
withgit add CHANGELOG.md package.json && git commit -m "Preparing for release."
- Create a Git tag: Run
git tag vX.Y.Z
, replacingX.Y.Z
with the new version number. - Release to NPM: Run
yarn install && yarn release
. - Push to GitHub: Run
git push --tags
to push the changes to GitHub. - Publish to JitPack: Visit
https://jitpack.io/com/github/thumbtack/thumbprint-tokens/12.1.1/build.log
but replace12.1.1
with the new version number. This will kick off a build in JitPack which will be indicated on the JitPack Thumbprint Tokens page.
Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
Xcode 11+ is required to build SwiftRunOnce using Swift Package Manager.
To integrate ThumbprintTokens into your Xcode project using Swift Package Manager, add it to the dependencies value of your Package.swift
:
dependencies: [
.package(url: "https://github.com/thumbtack/thumbprint-tokens.git", .upToNextMajor(from: "12.3.0"))
]