ojkelly/yarn.build

How do you remove this plugin

Closed this issue · 2 comments

Indeed how do you remove any plugin.

yarn plugin list doesn't list locally installed plugins

yarn plugin remove <import url> doesn't work either.

This whole plugin architecture feels horribly opaque. I have no idea which version I installed, or what code is now looped into my build system.

yarn plugin runtime lists installed

yarn plugin remove @ojkelly/plugin-build removes this plugin

Versioning?

All the plugins are listed in the .yarnrc.yml file in the root of your repository.

They're vendored to .yarn/plugins/@ojkelly.

In addition to the commands you listed, you can also delete it manually and run yarn again.

When you download the plugin it vendors the version you downloaded to your repository, as such it wont change unless you explicitly update it.

If you want to update it, you can run yarn plugin import https://yarn.build/latest.

The plugin itself is versioned and you can download a specific version with yarn plugin import https://yarn.build/release/{tag}.

There is some more documentation on plugins, but it is admittedly focussed on writing them, rather than using them.

Feel free to re-open if you need more information.