-
Notifications
You must be signed in to change notification settings - Fork 1
Development Process
alexrockets edited this page Jun 20, 2019
·
9 revisions
Usually, npm link
is a solid choice for developing node_modules
locally. But our dependencies would need some maintenance first.
For now, I developed mirage
alongside quark-ui
by doing the following.
cd
into mirage
within parent project — in this case, quark-ui
:
cd node_modules/@rocketsofawesome/mirage
Run npm install
.
Apply your changes to files in src
folder.
Run npm predeploy
.
Parent project should be recompiling at this point.
Confirm that new changes are present in quark-ui
.
Apply those changes to local repository of mirage
.
Push changes to GitHub.
No need to build mirage
after each change. Example commit: https://github.com/rocketsofawesome/mirage/pull/103.
Let me know if guide can be improved!