-
Notifications
You must be signed in to change notification settings - Fork 6k
Labels
devdependenciesfeatnew feature (which has been agreed to/accepted)new feature (which has been agreed to/accepted)install
Description
I have a npm monorepo:
- package.json
- deno.lock
- apps/sveltekit-front
- package.json
- apps/deno-server
- package.json
- packages/shared
- package.json
sveltekit-front only has devDependencies because it is built as a static website
deno-server only has "normal" dependencies, no devDependencies.
sveltekit-front has the shared package in devDependencies
deno-server has the shared package in dependencies
I use docker to deploy both apps.
To create the deno-server docker image:
I copy the root package.json, lockfile, apps/deno-server and packages/shared then I run deno install inside the root directory (I cannot just run deno install inside apps/deno-server because I am in a monorepo, I need the packages/shared symlink)
The problem is that deno install installs all dependencies, even devDependencies that are not needed for production.
Maybe I am missing something.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
devdependenciesfeatnew feature (which has been agreed to/accepted)new feature (which has been agreed to/accepted)install