npx @ricardojrmcom/supernova
Boilerplate React
project bootstrapped with all necessary configs and workflows
Quality Assurance
- Will lint code and run tests
- Runs on
pull_request
sync andpush
tomain
Release
- Will create a GitHub release with auto generated versioning and changelog
- Will publish the package to the public NPM registry
- Runs on
push
tomain
and after the QA job
Publish to GitHub (Public)
- Will publish the package to the public GitHub registry
- Runs on
workflow_dispatch
npm install @ricardojrmcom/supernova
yarn add @ricardojrmcom/supernova
// component
import {
ExampleComponent,
ExampleComponentProps,
} from '@ricardojrmcom/supernova';
// hook
import { useExampleHook, ExampleHookType } from '@ricardojrmcom/supernova';
// context
import {
ExampleContext,
useExampleContext,
ExampleContextType,
} from '@ricardojrmcom/supernova';
// provider
import {
ExampleProvider,
ExampleProviderProps,
} from '@ricardojrmcom/supernova';
// install deps
yarn install
// run build
yarn build
// run lint
yarn lint
// run unit tests
yarn test
// run storybook
yarn sb
- TS Package Boilerplate: 🟪 @ricardojrmcom/nova
- React Module Boilerplate: 🟣 @ricardojrmcom/supernova
Yarn
Typescript
React
Prettier
ESLint
Commit Lint
Lint Staged
Husky
Jest
React Testing Library
Storybook
Webpack
Semantic Release
MIT © Ricardo <l1b3r_-> Mota (@ricardojrmcom)
Bootstrapped with 🟣@ricardojrmcom/supernova