Skip to content

Commit

Permalink
add documentation for npm overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Mar 23, 2023
1 parent 4391517 commit 7a2d4e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@ module.exports = async function() {
devDependencies: {
'ember-source': '2.11.0'
},
/*
You can optionally define npm overrides to enforce a specific dependency version
to be installed. This is useful if other libraries you depend on include different
versions of a package. This does nothing if `useYarn` is true;
*/
overrides: {
'lodash': '5.0.0'
}
/*
When `useYarn` is true, you can optionally define yarn resolutions to enforce a
specific dependency version to be installed. This is useful if other libraries
Expand Down

0 comments on commit 7a2d4e9

Please sign in to comment.