New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@invisionag/injixo-tokens

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invisionag/injixo-tokens

injixo Design Tokens


Version published
Weekly downloads
3
Maintainers
24
Weekly downloads
 
Created

injixo-tokens

This repo is the central source for all injixo related design tokens. Utilizing Amazon's style dictionary, the build process produces two distinct packages to make use of the injixo design tokens:

Run locally

Tokens can be locally built via npm run build. The compiled version of our tokens can then be found in ./injixo/.

General Structure

./
├── tokens/                  - Contains token source files
│   └── src/
│       └── injixo/
│           ├── categories/
│           │   └── *.json
│           └── build.js     - Handles compiling process
│
├── injixo/                  - Compiled contents of NPM package & gem
│
├── gem/
│   ├── assets/
│   │   └── scss/            - SCSS files will be moved here on build
│   ├── lib/
│   │   ├── injixo-tokens/
│   │   │   ├── version.rb   - Holds current version of gem
└── ...

Publishing a new token version

Publish NPM package

Publish Gem

  • Update version number accordingly (semver) in gem/lib/injixo-tokens/version.rb
  • After merging to master, CI will automatically publish the new version to our internal gem server. Check if this worked by navigating to http://gems.ivx.cloud/

Maintenance

  • Use latest ruby version
  • Use latest nodejs version
  • Update node modules with
    • npm upgrade to update minor and patch versions
    • npx npm-check -u to interactively update major releases

FAQs

Package last updated on 07 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts