
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@bridge-the-gap/design-system
Advanced tools
yarn tokens
- rebuilds token files.yarn start
- starts storybook development server at https://localhost:6006.yarn add-component <ComponentName>
- adds template files for new componentyarn build
- builds components library into dist/
folder.yarn storybook build
- builds storybook into storybook-static/
folder.yarn version
- bumps library version and creates a commit with contents of dist/
folder.Almost all components have className API which allows quickly set custom margins and positioning for the elements. It's important to have an agreement on className separation and determine what can be used in component library and what - on the project side. While most classes should belong to component itself, there are few which should not be used in the top element of component which has className API (list to be upated):
m-2
, mx-auto
, m-4
etc..self-auto
, self-stretch
...w-1/2
, w-full
, w-16
..It's ok to use this classes inside the components (not on the wrapper), or if you are creating a component which is not supposed to be modified or positioned, and doesn't need className prop.
npx semantic-release-cli setup
Release via Github actions
[skip-ci]
(with brackets)npm login
- login into your own account npmjs.yarn build
- bundles the library and all packages in the project to a single package.yarn publish
- publishes a package to the npm registry. Once a package is published, you can never modify that specific version, so take care before publishing.FAQs
Unknown package
We found that @bridge-the-gap/design-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.