- First, fork the repo to your own github account and clone it.
- Install dependencies:
Running the tests
I recommend testing the specific package in the monorepo that you are working with. For example:
In watch mode:
Deploying to AWS and testing your changes
First, create your own test serverless component app and in the
serverless.yml point the
component field to your fork:
Then from the app simply run
npx serverless if you don't have the serverless cli installed. For debug logging, pass in
For interactive debugging of the deployment you may launch serverless through node like
node --inspect node_modules/serverless/bin/serverless.js. From there you may attach and debug as any other Node.js app.
Note: If you are working with a Typescript package make sure you build it (
yarn build) before deploying ;)