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

fix(cli): use proper kebab-case name for npm package #2276

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

alappe
Copy link
Contributor

@alappe alappe commented Dec 22, 2019

The recommended case of the plugin-name is actually
kebab-case not snake-case.

@@ -34,7 +34,7 @@ This starts a wizard prompting you for information about your new plugin. For ex
```bash
npx @capacitor/cli plugin:generate
✏️ Creating new Capacitor plugin
? Plugin NPM name (snake-case): my-plugin
? Plugin NPM name (kebab-case): my-plugin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, can you also change it in line 47?

Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a minor comment

@jcesarmobile jcesarmobile changed the title Change snake-case to kebab-case fix(cli): use proper kebab-case name for npm package Jan 9, 2020
The recommended case of the plugin-name is actually
[kebab-case][wikipedia] not snake-case.

[wikipedia]: https://en.wikipedia.org/wiki/Letter_case#Special_case_styles
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect, thank you!

@jcesarmobile jcesarmobile merged commit c9f1511 into ionic-team:master Jan 10, 2020
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

Successfully merging this pull request may close these issues.

2 participants