-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup Script #17
Setup Script #17
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Main issue is the hardcoded iamRoleStatementsName
. Other than that, looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
But please rebase and amend your commits before merging so we can have fewer commits with more meaningful messages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a small comment, overall lgtm :)
const APIPath = 'packages/api/' | ||
|
||
const packageJson = 'package.json' | ||
const yamlFile = 'serverless.yaml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) I'm not 100% sure about yamlFile
because it isn't descriptive as our other constants
# [1.2.0](v1.1.4...v1.2.0) (2020-06-09) ### Features * add setup script ([#17](#17)) ([094edd2](094edd2))
🎉 This PR is included in version 1.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
What does this PR do?
It implements a new script to set up the project, to avoid developers to replace by themselves the application name.
Any background context you want to provide?
This setup script includes running npm install command on the API and UI packages.
To run this new script, the developers need to run npm run setup --appName= --shortName= if shortName is not provided, the script will use appName instead.