Skip to content

Commit

Permalink
feat: Add a readme section for dev
Browse files Browse the repository at this point in the history
Will make developing features easier
  • Loading branch information
acezard committed Jul 13, 2022
1 parent d5a7a9c commit 82027e1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,22 @@ setTheme('default')
setTheme('primary')
```

Development mode
----------

In order to add new features to the cozy-bar v7 while working on another cozy-app:

* Please ensure your app has the latest v7-stable `cozy-bar` version

* Please ensure your app has at least the 6.3.4 `cozy-scripts` version

* Then, follow these steps:

`$ yarn link` // in cozy-bar
`$ rlink cozy-bar` // in the cozy-app
`$ yarn start` // in cozy-bar
`$ yarn start` // in the cozy-app

Contribute
----------

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"posttest": "bundlesize",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release",
"example": "env USE_REACT=true nf -j examples/Procfile start"
"example": "env USE_REACT=true nf -j examples/Procfile start",
"start": "yarn watch"
},
"devDependencies": {
"@babel/core": "7.6.2",
Expand Down

0 comments on commit 82027e1

Please sign in to comment.