Skip to content

Commit

Permalink
Fix up add updating dependencies section to devGuide
Browse files Browse the repository at this point in the history
  • Loading branch information
ang-zeyu committed Jun 27, 2020
1 parent 535c871 commit 37b17d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/devGuide/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ feel free to look into `package.json` and use them as you see fit!

## Updating dependencies

We use `npm install <package folder>` to <tooltip content="take a look under the command in the link!">[hoist](https://docs.npmjs.com/cli/install)</tooltip> the markbind core package's dependencies to the root `node_modules`, avoiding dependency duplication between the `markbind-cli` and `markbind` packages where possible.
We use `npm install <package folder>` to <tooltip content="take a look under the command in the link!">[hoist](https://docs.npmjs.com/cli/install)</tooltip> the MarkBind core package's dependencies to the root `node_modules`, avoiding dependency duplication between the `markbind-cli` and `markbind` packages where possible.

Hence, when updating dependencies of the `markbind` core package, be sure to run the `npm install src/lib/markbind` command, or simply the `npm run install:markbind` script. If you upgraded the dependencies of multiple packages, simply run `npm run install:all` instead.

If the dependency <tooltip content="i.e. also listed under the root `package.json`">is also used</tooltip> in the root package, make sure to update it's <tooltip content="as listed in the `package.json` file">version number</tooltip> as well!
If the dependency <tooltip content="i.e. is also listed under the root `package.json`">is also used</tooltip> in the root package, make sure to update its <tooltip content="as listed in the `package.json` file">version number</tooltip> as well!

<box type="warning">

Expand Down

0 comments on commit 37b17d3

Please sign in to comment.