Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 834 Bytes

DEVELOP.md

File metadata and controls

40 lines (28 loc) · 834 Bytes

Develop

Start develop

npm i
npm run dev

Run cypress test

npx cypress run

Publish

npm run release

Publish (with lerna)

CI=true lerna run test-cra --scope @db-man/components
lerna run build  --scope @db-man/components
git add . && git commit -m 'Build' && git push
lerna publish --no-private # will include `lerna version patch --no-private -y`

Preview demos

FAQ

  • Why dist dir should be pushed to repo?
    • Because in github.com/db-man/db-man.github.io, it depends current package from direct GitHub repo like this: ... "dependencies": { "@db-man/components": "github:db-man/components", ...