Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent package rename broke plugin discoverability by Vue CLI #3

Closed
romansp opened this issue Jul 15, 2019 · 3 comments
Closed

Recent package rename broke plugin discoverability by Vue CLI #3

romansp opened this issue Jul 15, 2019 · 3 comments

Comments

@romansp
Copy link
Contributor

romansp commented Jul 15, 2019

Describe the bug
Package rename from @cnamts/vue-cli-plugin-proxy to vue-cli-proxy-plugin broke plugin discoverability by Vue CLI. All Vue CLI plugins should follow naming convention described here: https://cli.vuejs.org/dev-guide/plugin-dev.html#naming-and-discoverability

vue-cli-plugin-<name> or @scope/vue-cli-plugin-<name>

To Reproduce
Steps to reproduce the behavior:

  1. Install vue-cli-proxy-plugin
  2. Configure pluginOptions.proxy in vue.config.js
  3. Start development server
  4. HPM is missing.

Expected behavior
HPM created.

@deraw deraw closed this as completed in b768323 Jul 16, 2019
@deraw
Copy link
Owner

deraw commented Jul 16, 2019

Whoops

I'm sorry, I absolutely didn't thought about this while doing the modification.

Box of shame GIF

I've published a scoped version with the old package name: https://www.npmjs.com/package/@deraw/vue-cli-plugin-proxy

The plugin is again discoverable!

@romansp
Copy link
Contributor Author

romansp commented Aug 26, 2019

Sorry for posting into closed issue. Is it still possible to update deprecation notice here? https://www.npmjs.com/package/@cnamts/vue-cli-plugin-proxy. So it will produce correct package message in npm/yarn install.

warning @cnamts/vue-cli-plugin-proxy@2.2.1: WARNING: This project has been renamed to vue-cli-proxy-plugin. Install using vue-cli-proxy-plugin instead.

@deraw
Copy link
Owner

deraw commented Aug 26, 2019

Hi @romansp!

I've updated the deprecation notice on @cnamts/vue-cli-plugin-proxy and I added it to vue-cli-proxy-plugin.

Thank you 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants