Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@gamesb42/ui-kit
Advanced tools
Проект основан на ANTD Design
Установите проект и запустите storybook
npm i
npm run storybook
Необходимо установить ANTD соответствующей версии UI-kit:
npm i antd
В корень проекта необходимо импортировать css для правильного отображения ANTD и константы UI-kit:
import '@gamesb42/ui-kit/dist/const.css';
import '@gamesb42/ui-kit/dist/antd.css';
import '@gamesb42/ui-kit/dist/main.css';
Сперва необходимо обновить версию, если ранее этого не было сделано. Нужно выбрать какие были
изменения - patch
, minor
, major
.
npm version patch
Далее собрать проект:
npm run build
Опубликовать проект:
npm publish
Или запустить все единной командной
npm version patch && npm run build && npm publish
Сборка docker-образа:
docker build -t storybook-image .
Запуск docker-образа:
docker run --name storybook-image -p 80:8080 -d storybook-image
FAQs
A simple template for a custom React component library
The npm package @gamesb42/ui-kit receives a total of 203 weekly downloads. As such, @gamesb42/ui-kit popularity was classified as not popular.
We found that @gamesb42/ui-kit demonstrated a healthy version release cadence and project activity because the last version was released less than 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.