Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@nxkit/style-dictionary
Advanced tools
Nx Plugin to generate Style Dictionary projects & maintain your design tokens within your Nx workspace
Nx Plugin to generate Style Dictionary projects & maintain your design tokens within your Nx workspace
Create an Nx workspace and add the Style Dictionary plugin
npx create-nx-workspace@latest my-org
npm install -D @nxkit/style-dictionary
Generate a Style Dictionary library
npx nx generate @nxkit/style-dictionary:lib my-tokens
Build your design tokens
npx nx build my-tokens
To know more about the @nxkit/style-dictionary
plugin, run:
npx nx list @nxkit/style-dictionary
If you'd like to add customizatios to your Style Dictionary projects like:
you can generate and register them using the extension
generator:
npx nx generate @nxkit/style-dictionary:extension --project my-tokens
The terminal will prompt you to choose the desired extensions, or they can be passed in a comma-separated string with the --extensions
argument. For example:
npx nx generate @nxkit/style-dictionary:extension --project my-tokens --extensions actions,filters,transforms
That's it!
To know more about the @nxkit/style-dictionary
plugin, run:
npx nx list @nxkit/style-dictionary
FAQs
Nx Plugin to generate Style Dictionary projects & maintain your design tokens within your Nx workspace
We found that @nxkit/style-dictionary demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.