AnomalyInnovations / serverless-lerna-yarn-starter

A Serverless monorepo starter that uses Lerna and Yarn Workspaces.

Home Page:https://serverless-stack.com/chapters/using-lerna-and-yarn-workspaces-with-serverless.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when to add as a lib vs package

s1mrankaur opened this issue · comments

I understand lib could be just common functions used across the repository.

When do we define a package? In an AWS Serverless application, what could be defined as packages?

If you don't see a need of pushing your package to an NPM repository, you should use a lib

https://github.com/AnomalyInnovations/serverless-lerna-yarn-starter#libs