![]() ![]() Any changes here should redeploy all our services. service2: Does not depend on any internal packages.Īny common code that you might not want to maintain as a package.This means that if it changes, we want to deploy service1. service1: Depends on the sample-package.These are Serverless Framework services that are deployed. Any changes to a package should only deploy the service that depends on it. Each contains a package.json and can be optionally published to NPM. ![]() These are internal packages that are used in our services. The directory structure roughly looks like: package.json But if you are not familiar with Lerna or Yarn Workspaces, make sure to check out their docs.Ĭheck out the repo here - /AnomalyInnovations/serverless-lerna-yarn-starter Installation This will help get you started with this setup.
0 Comments
Leave a Reply. |