Path to Core
ubaniabalogun opened this issue · 0 comments
ubaniabalogun commented
Checklist of Core features
Basics
- Decide on config variables
- Read configurations
- Ensure build directory exists
- Select All functions
- Create build path for each function
- Copy files specified in function include + global includes into build path
- Install pip requirements from function requirements + globalRequirements
- Zip build path
- Test that Serverless deploys built package
- Cleanup build path
- Implement function packaging for
severless deploy --function [package]command
Enhancements
- Implement code to copy a file into a directory (fs-extra doesn't do this by default)
- Error-handling, please
Error Handling
- Catch Promise Errors
- Catch Fs-extra errors
- Type checking globalRequirements and globalIncludes
- Ensuring globalRequirements and globalIncludes exist
- Ensure all requirements Files exist
Testing
- Test global Requirements work
- Test global includes work