You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`> To use this command, first install the \`${pluginName}\` plugin: \`yarn plugin import ${pluginName}\`\n`,
46
+
`> To use this command, first install the [\`${pluginName}\`](https://github.com/yarnpkg/berry/blob/HEAD/packages/plugin-${pluginName}/README.md) plugin: \`yarn plugin import ${pluginName}\`\n`,
47
+
].join(``));
48
+
}
49
+
50
+
if(package){
51
+
sections.push([
52
+
`> **External Package**\n`,
53
+
`>\n`,
54
+
`> To use this command, you need to use the [\`${package}\`](https://github.com/yarnpkg/berry/blob/HEAD/packages/${scope}-${name}/README.md) package either:\n`,
55
+
`> - By installing it locally using [\`yarn add\`](/cli/add) and running it using [\`yarn run\`](/cli/run)\n`,
56
+
`> - By downloading and running it in a temporary environment using [\`yarn dlx\`](/cli/dlx)\n`,
This command builds the local bundle - the Yarn binary file that is installed in projects.
42
+
43
+
For more details about the build process, please consult the \`@yarnpkg/builder\` README: https://github.com/yarnpkg/berry/blob/HEAD/packages/yarnpkg-builder/README.md.
For more details about the build process, please consult the \`@yarnpkg/builder\` README: https://github.com/yarnpkg/berry/blob/HEAD/packages/yarnpkg-builder/README.md.
description: `generate the template for a new plugin`,
14
14
details: `
15
15
This command generates a new plugin based on the template.
16
+
17
+
For more details about the build process, please consult the \`@yarnpkg/builder\` README: https://github.com/yarnpkg/berry/blob/HEAD/packages/yarnpkg-builder/README.md.
When a non-PnP-compliant project tries to access the \`node_modules\` directories (for example through \`readdir\` or \`readFile\`), PnPify intercepts those calls and converts them into calls to the PnP API. Then, based on the result, it simulates the existence of a virtual \`node_modules\` folder that the underlying tool will then consume - still unaware that the files are extracted from a virtual filesystem.
18
18
19
19
The \`run\` keyword can be omitted if the executed command doesn't conflict with built-in commands.
20
+
21
+
For more details on PnPify, please consult the dedicated page from our website: https://yarnpkg.com/advanced/pnpify.
0 commit comments