Replies: 1 comment
-
To be clear, the service pack tool is just docker. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a monorepo with a
shared-lib
package and some serverless services packages depends on it.All of these packages are private, so they won't be installed from npm registry.
Now I need to deploy a service's folder with its production node_modules installed in locally.
I already tried:
Everything seems good except that the private
shared-lib
folder is still symbol link in the service's node_modules, while symbol link is not support by the serverless pack and deploy tool, and it will be ignored.yarn config set enableTransparentWorkspaces false
will failed since theshared-lib
is private and couldn't resolve to any published npm package.Maybe
yarn workspaces focus --production
should copy all the necessary files in dependent private packages rather than link their directories?Beta Was this translation helpful? Give feedback.
All reactions