0.0.0 • Published 2 years ago

@boilertowns/react-ui-boilerplate v0.0.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

The Setup

Get Started

  • Use Boilertowns CLI.

    # npm
    npm init boilertowns -- -b react-ui-boilerplate
    
    # yarn
    yarn create boilertowns -b react-ui-boilerplate
    
    # pnpm
    pnpm dlx create-boilertowns -b react-ui-boilerplate
    
    # bun
    bun create boilertowns/react-ui-boilerplate [library-name]
  • Click the green "Use this template" button to generate a new repository with the same structure and files.

    Ref: Github Docs

Development

  • Build the library:

    pnpm build
  • Run storybook:

    pnpm storybook
  • Unit test component with:

    pnpm test
  • Create changeset:

    pnpm changeset

Release & Publish package

This boilerplate uses changesets to automatically generate CHANGELOG, create releases and publish to NPM registry via GitHub Actions. You can see action details at release.yml.

To automating publish your library, follow these steps:

P/S: Remember to check the Allow GitHub Actions to create and approve pull requests in your repo Settings > Actions > General & scroll to Workflow permissions.

Contributing

react-ui-boilerplate ❤️ your contributions. If you have any ideas, suggestions, fixes, feel free to contribute.