CLI experience for Frontend developers in the JavaScript ecosystem.
Add --force
flag to delete command
dev mode enhanced
--yes
flag added to the init
and start
commands, when the --yes
flag is specified, the cli will not prompt for user input, default values will be chosen in the execution of the commandsawsmobile init
on the project with the latest version of the cli will make the project completely conform to the newer cli.The init command workflow is enhanced
init chooses suitable strategy based on the project original status, e.g. allowing the option to use the existing backend spec to setup the backend awsmobile project, facilitating the collaborations for open source projects
init guesses the project's framework (react, vue, etc.), and sets the default configurations accordingly.
a new file project-config.json file is added to store the project configuration separately, ideally only this file is checked into codebase repo, collaborators run awsmobile init after clone/fork the repo, to setup their own backend awsmobile project
aws-exports.js file is put in the .gitignore file
remove clone option in git download
Add support to automate the setup of starter apps
$ awsmobile start myapp1 react
$ awsmobile start myapp2 react-native
The above commands automate all the steps that are needed to setup the awsmobile starters to run on the local dev machine.
awslabs/aws-mobile-react-sample
https://github.com/awslabs/aws-mobile-react-sample
awslabs/aws-mobile-react-native-starter
https://github.com/awslabs/aws-mobile-react-native-starter
bug fixes This release contains bug fixes for #51 #52 #60
backend-update invokes the callback even if no backend update is needed.
The awsmobile run
and awsmobile publish
commands need this to function correctly.
This pull request contains these major changes:
awsmobile configure aws --profile <name>
awsmobile push
timestamp check is refactored to be more accurate, to avoid unnecessary api call to update on the backend awsmobile project in the aws cloud.Fix compatibility issues with Windows