Skip to content

Commit bbf8e0c

Browse files
authored
fix: add warning about deprecating auto-install feature (#1230)
1 parent 61ce720 commit bbf8e0c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/plugins.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ export default class Plugins {
249249
if (await fileExists(join(c.root, 'yarn.lock'))) {
250250
this.debug('installing dependencies with yarn')
251251
const yarn = new Yarn({config: this.config, logLevel: this.logLevel})
252+
ux.warn(
253+
`The ${ux.colorize('dim', 'plugins link')} command will no longer auto install dependencies in future versions. Please run ${ux.colorize('dim', 'yarn')} manually in the plugin directory before linking.`,
254+
)
252255
await yarn.install([], {
253256
cwd: c.root,
254257
logLevel: this.logLevel,

0 commit comments

Comments
 (0)