@thumbtack/thumbprint-tokens
TypeScript icon, indicating that this package has built-in type declarations

13.0.1 • Public • Published

Thumbprint Tokens

Design variables that power Thumbtack’s UI.

Thumbprint Tokens are published as JavaScript, SCSS, Swift, and Kotlin.

Platform Languages Package
Web React & SCSS npm
Android Kotlin JitPack
iOS Swift Swift Package Manager

API

You can use the Thumbprint Tokens GraphQL server to query tokens and view the schema.

Releasing

  1. Pull latest changes: Run git checkout master && git pull to grab the latest changes rom GitHub.
  2. Update the package.json and changelog: Edit the version in the package.json and then open the CHANGELOG.md file and look at the unreleased changes. Add the new version number (following SemVer) and date as a heading under the ## Unreleased heading.
  3. Commit the changelog changes: Commit the changes on master with git add CHANGELOG.md package.json && git commit -m "Preparing for release."
  4. Create a Git tag: Run git tag vX.Y.Z, replacing X.Y.Z with the new version number.
  5. Release to NPM: Run yarn install && yarn release.
  6. Push to GitHub: Run git push --tags to push the changes to GitHub.
  7. Publish to JitPack: Visit https://jitpack.io/com/github/thumbtack/thumbprint-tokens/12.1.1/build.log but replace 12.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.

Installation

Swift Package Manager

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"))
]

Readme

Keywords

none

Package Sidebar

Install

npm i @thumbtack/thumbprint-tokens

Weekly Downloads

1,029

Version

13.0.1

License

Apache-2.0

Unpacked Size

81.2 kB

Total Files

14

Last publish

Collaborators

  • thumbtack-admin
  • johnstonj
  • danoc
  • lavelle