- Make a new branch
- Run
npm run hotto start examples in watch hot module replacement mode - Open
http://localhost:5555
- Run
npm linkat Component root to make your local package linkable - Run
npm link @opuscapita/package-nameat project's dir that's using the component to use local package
- Remove lib folder and build only umd to avoid main projects webpack to build the linked package dependencies
- Run
npm run watch:umdto run only umd dev build in watch mode
- Run
npm unlink @opuscapita/package-nameat project's dir that's using the component
- Reset
docsandlibdirectories to master branch stategit checkout master -- docs/* lib/* - Update
CHANGELOG.mdwith your changes under the<next>header - Make a pull request
- Use
masterbranch - Add new version header to
CHANGELOG.mdand move everyting from<next>there (leave next header empty) - Make sure
npm testandnpm run lintruns without errors
- Run
npm version [major|minor|patch]Info
- Run
npm publish