-
Notifications
You must be signed in to change notification settings - Fork 1
Forking
Antony Budianto edited this page Jul 21, 2018
·
1 revision
⚠️ WIP
This toolkit is easy to fork if you want to add your opinionated stuff.
- First, you can reserve package names to replace
react-kits-cli
andreact-kits-server
- Next, you can decide whether to alias existing
react-kits
import name or update all imports into new names- For update all imports: It's clear, just update all
react-kits
+react-kits-server
imports into new ones. (I might build a tool to automate this soon) - For alias: You add the alias for them in webpack.base.config.js
{ resolve: { alias: { 'react-kits': 'mycustom-react-kits', 'react-kits-server': 'mycustom-react-kits-server' } } }
- For update all imports: It's clear, just update all
- You may change the binary name (react-kits ) if you wish on here (optional)
- Run
yarn bootstrap
and check if nothing breaks - Finally run
npm run release
to release your new fork!