I am working with a monorepo managed by turborepo. It consists of two packages - 'client' and 'api', located inside packages/* in the root folder. My current challenge is deploying the 'api' package to Digital Ocean, but I'm encountering issues due to turborepo's structure. Since turborepo does not create individual yarn.lock files for each package, the deployment fails. Here is the error message:
[2023-01-16 18:06:59] │ project does not contain a package manager lockfile
[2023-01-16 18:06:59] │ Error: package-lock.json does not exist. Please commit either a
package-lock.json or yarn.lock file to your repository and try again.
[2023-01-16 18:06:59] │ ERROR: failed to build: exit status 1
From my research, it seems that turborepo only generates a single yarn.lock file in the root directory. I am uncertain how to successfully deploy an individual package without separate lockfiles.