Methane-Cli v1.4.8 #41
Adedoyin-Emmanuel
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Methane v1.4.9 🚀
What's new ❓
The latest patch version 1.4.9 introduces a crucial fix that enhances the naming conventions for generated components and Next.js pages. This update ensures hyphenated names are correctly capitalized, providing a more consistent and readable codebase.
Component Capitalization Fix:
When generating components with hyphenated names, Methane-CLI will now correctly capitalize each segment of the name. For instance, creating a component named animated-button will result in a component named AnimatedButton. This ensures that components follow standard PascalCase naming conventions, enhancing code readability and consistency.
Next.js Page Capitalization Fix:
Similarly, generating Next.js pages with hyphenated names will now produce correctly capitalized page names. For example, a page named 2fa-auth will be created as 2FaAuth, user-appointments as UserAppointments, and privacy-policy as PrivacyPolicy. This fix ensures that page names are intuitive and follow common naming practices.
What's Changed
Full Changelog: v1.4.1...v1.4.8
This discussion was created from the release Methane-Cli v1.4.8.
Beta Was this translation helpful? Give feedback.
All reactions