Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@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:**
The npm package @evergis/ui receives a total of 96 weekly downloads. As such, @evergis/ui popularity was classified as not popular.
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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.