Skip to content

v1.4.0

Choose a tag to compare

@nitzanhen nitzanhen released this 08 Feb 14:24
· 284 commits to main since this release

Agrippa v1.4.0 is officially out!

To update, call npm i -g agrippa.
Please reach out with any bugs or feedback!

The new version introduces some cool new features:

  • Agrippa's terminal UI has been revamped! hopefully you'll agree the new look is a lot more ✨aesthetic

  • tsPropsDeclaration: TS users can now select between interfaces and types for component props declarations.
    For more info, see the docs on tsPropsDeclaration.
    Thanks for @spiftire for suggesting this!

  • 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.
    Thanks for @hannanel100 for suggesting this!

  • 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.

Also, more tests were added, which is always nice.

Cheers!

Full Changelog: v1.3.0...v1.4.0