Skip to content

Development

Hotaka Kanazawa edited this page Apr 2, 2024 · 5 revisions

Develop with demo app

  • Build this project. The output is made in dist/ directory.
$ yarn build
  • yarn link at the top of this repository.
$ yarn link
  • Move to demo/ and set the link.
$ cd ./demo
$ yarn link react-detectable-overflow
  • yarn start, then access localhost:3000 with your browser.
    • If port 3000 has been already used, another port is used.
$ yarn start

Set versions

Use yarn version command when you version up.

$ yarn version
info Current version: 1.2.3
question New version: 1.3.0

Update demo

Set valid token to GitHub env "NPM_TOKEN". Run GitHub Actions "Deploy to npm".

Clone this wiki locally