Specify the path to package-lock.json or yarn.lock

What’s your idea?

When using the 8base CLI to deploy a CF, optionally specifying the location of your lock file.

What problem might it solve?

When using custom functions and deploying, the message “Files package-lock.json or yarn.lock are missing. Consider adding one of them to enable fast deploy.” pops up. I do have a yarn.lock, but it’s at the root of a monorepo. Being able to point to this would allow me to use the fast deploy feature.

Any ideas on how you think it could/should work?

8base deploy -f ../../yarn.lock

Interesting! Could you share (if you’re comfortable) your projects directory structure? I’m curious of how you’re leveraging/accessing your node_modules used in your functions if they are not in the root folder with your package.json.