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

using the deployment strategy without having lerna publish the packages

s1mrankaur opened this issue · comments

Deployment Algorithm

  • Run lerna ls --since ${prevCommitSHA} -all to list all packages that have changed since the last successful deployment. If this list includes one of the services, then deploy it.
    This command lists all the packages for me since I am not publishing the package anywhere but will only be running lerna run deploy command which will run sls deploy in services/packages.

How can this be addressed? Why does it list all the packages?