2

Agrippa 1.4 is out 🎉🎊

 2 years ago
source link: https://dev.to/nitzanhen/agrippa-14-is-out-23co
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Agrippa 1.4 is out 🎉🎊

The fourth minor version of Agrippa, the React component CLI, is finally out!

Once again, Agrippa's community has grown a lot since the release of the previous minor update, v1.3.0, back in December. Agrippa has grown by over 230 stars since the previous release - in absolute terms, that's our biggest growth yet!

Releasing a new version is always a good opportunity to express my deep gratitude to everyone using Agrippa, and especially those of you who've given your feedback, suggested features, or opened other issues on our GitHub repository. You're the best!

If you're not using Agrippa, join us! Read the Getting Started guide or visit us on GitHub.

v1.4.0

We have some exciting new features released in v1.4.0:

New terminal UI 🎨

Agrippa's terminal UI has been revamped! it should now be more informative, a lot cleaner, and especially much more ✨aesthetic✨.

As an example:

Styled-components 💅

Agrippa now supports styling with styled-components! This is actually the second issue opened for Agrippa, and it's been open for quite a while now. It's truly nice to see it finally implemented. To check it out, use the value styled-components for the styling flag.

tsPropsDeclaration

TS users can now select between interfaces and types for component props declarations.
For more info, see the docs on tsPropsDeclaration.

New post-command variables

Two new variables, <ComponentName> and <component-name>, can now be used with post commands.
The first is the generated component's name in pascal case (e.g. NiceButton), while the second is in kebab case (e.g. nice-button).

Dependency cleanup

Two packages that Agrippa has been using up to now, but hasn't really needed to, were removed, and Agrippa should now be a little lighter.

That's pretty much it! We've already begun to work on the next features for Agrippa. Our main focus in the near future is on implementing test file generation, further expanding Agrippa's flexibility to suite custom use-cases, and more.
That being said, we're always on the lookout ideas for new features and improvements, so if you have one - please share it with us!

To get started with Agrippa, read the Getting Started guide or visit us on GitHub.
Your thoughts and feedback, as always, are most welcome.
If you've found a bug with this release, or want to suggest a new feature, please submit an issue.

Cheers!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK