serverless / serverless-plugin-typescript

Serverless plugin for zero-config Typescript support
MIT License
784 stars 222 forks source link

Add option to dereference symlinks #181

Open willmcclellan opened 4 years ago

willmcclellan commented 4 years ago

Adds the dereference option to flatten symlinks when copying node_modules. This is useful in lerna environments which might symlink a node_module within the same project.

https://github.com/jprichardson/node-fs-extra/blob/HEAD/docs/copy-sync.md

MrBlenny commented 4 years ago

+1 I've been using this with in a serverless monorepo along side serverless-plugin-monorepo. Would be good to see this merged.

michelalbers commented 4 years ago

Would this make serverless-plugin-monorepo obsolete?

pioneer32 commented 2 years ago

+1 Could we possible have this merged? It's a areal blocker when a monorepo is used.

We use pnpm and have to patch this with patch-package :(

chinanderm commented 1 year ago

Please merge this. This allows usage of this plugin in a monorepo setup where node_module deps are symlinked.

adhorodyski commented 1 year ago

Bumping, can we possibly get this merged please? 🙏 Solved all of my issues while working in a monorepo (managed with pnpm).

adhorodyski commented 1 year ago

+1 Could we possible have this merged? It's a areal blocker when a monorepo is used.

We use pnpm and have to patch this with patch-package :(

How do you also include subdependencies in a bundle? I noticed this PR to help only with direct deps, but their deps are not being included.

chinanderm commented 1 year ago

Is this project dead?