Skip to content

Commit

Permalink
Removes instances of yarnrc
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Jun 21, 2019
1 parent 97cec78 commit 368019d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -87,7 +87,7 @@ $> yarn build:cli

**How it works**

After building the CLI your global `yarn` will immediatly start to reflect your local changes. This is because Yarn will pick up the `yarn-path` settings in this repository's `.yarnrc`, which is configured to use the newly built CLI if available.
After building the CLI your global `yarn` will immediatly start to reflect your local changes. This is because Yarn will pick up the `yarnPath` settings in this repository's `.yarnrc.yml`, which is configured to use the newly built CLI if available.

**Works out of the box!**

Expand Down
11 changes: 6 additions & 5 deletions packages/berry-core/sources/Configuration.ts
Expand Up @@ -458,11 +458,12 @@ export class Configuration {
* the other ones.
*
* One particularity: the plugin initialization order is quite strict, with
* plugins listed in /foo/bar/.yarnrc taking precedence over plugins listed
* in /foo/.yarnrc and /.yarnrc. Additionally, while plugins can depend on
* one another, they can only depend on plugins that have been instantiated
* before them (so a plugin listed in /foo/.yarnrc can depend on another
* one listed on /foo/bar/.yarnrc, but not the other way around).
* plugins listed in /foo/bar/.yarnrc.yml taking precedence over plugins
* listed in /foo/.yarnrc.yml and /.yarnrc.yml. Additionally, while plugins
* can depend on one another, they can only depend on plugins that have been
* instantiated before them (so a plugin listed in /foo/.yarnrc.yml can
* depend on another one listed on /foo/bar/.yarnrc.yml, but not the other
* way around).
*/

static async find(startingCwd: PortablePath, pluginConfiguration: PluginConfiguration | null, {strict = true, useRc = true}: {strict?: boolean, useRc?: boolean} = {}) {
Expand Down

0 comments on commit 368019d

Please sign in to comment.