Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@evergis/ui
Advanced tools
🏆 Before start:
yarn
Update webstorm to >2017.3.3
Install Styled Components plugin Jetbrains plugins
🛠️ Start dev:
yarn storybook
Open in browser localhost:6006
✅ Start tests:
yarn test
publish
)package.json
yarn
- освежить все зависимостиyarn lint:fix
- автопоправка eslint ошибокyarn build
- сборкаnpm publish
- паблишmaster
For testing uilib locally in client (or other projects) without rebuilding after every update use linking:
yarn build
- сборкаyarn link
- создаём глобальную ссылку на uilibyarn link "@evergis/ui"
- привязываем uilib к проектуyarn start
- запускаем проект с привязанной uilibyarn build
- после изменений в uilib делаем его пересборкуsrc/fonts/selection.json
src/fonts
на загруженные из архива (папка fonts и selection.json)Every component in separate directory
Test file in same directory, with name *.test.tsx
Do not write snapshot tests for components, for snapshot testing used stories, test only specific behavior and functions
Story file in same directory, with name *.story.tsx
Write stories for every possible component state
Every component must be working without any props
Do not create pull request with any linters or ts errors
File naming convention:
Do not use default exports
Write component description in source file
FAQs
🏆 **Before start:**
We found that @evergis/ui 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.