- Fork this repository to your own GitHub account and then clone it to your local device.
- Create a new branch
git checkout -b MY_BRANCH_NAME
- Install yarn:
npm install -g yarn
or use volta - Install the dependencies:
yarn
- Run
yarn dev
to build and watch for code changes
Simply run yarn test
-
In your app's
package.json
, add:"resolutions": { "@immobiliarelabs/atomic-state": "file:<local-path-to-cloned-repo>", }
-
In your app's root directory run
yarn install
to re-install all of the dependencies.
Note that AtomicState will be copied from the locally compiled version as opposed to from being downloaded from the NPM registry.
-
Run your application as you normally would.
-
To update your app's dependencies, after you've made changes to your local repository. In your app's root directory, run:
yarn install