Skip to content

A Plugin for AWS Amplify to make its function more fancy.

License

Notifications You must be signed in to change notification settings

globaldatanet/amplify-add-fancy

Repository files navigation

Amplify Add-Fancy

This is an AWS Amplify CLI - Plugin for making your function fancier by adding Typescript- Function or turning your function- folder to a Monorepo.

Why

We all know the benefits of Typescript, but AWS Amplify's CLI does not support that out-of-the-box.

Furthermore, when creating many functions, each time you might pull the same library for all your functions. The solution for that are Workspaces (aka multi-package repositories, multi-project repositories, or monolithic repositories).

How

Make sure you have an Amplify-Project up and running.

git clone https://github.com/globaldatanet/amplify-add-fancy.git
amplify plugin add

You get prompted where you need to put your absolute path and enter Yes afterwards.

? Enter the absolute path for the root of the plugin directory:
/absolute/path/to/this/repository
? Run a fresh scan for plugins on the Amplify CLI pluggable platform Yes

Now you can use follow commands

Command Description
amplify add-fancy typescript Add a Typescript-Function
amplify add-fancy monorepo Turns your function- folder into a Monorepo. NOTE: This makes sense with more than two functions

Have a fancy idea?

More fancy ideas or any other contributions are more than welcome. Please, follow the Contribution Guide and/or submit a new issue.

About

A Plugin for AWS Amplify to make its function more fancy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published