How does one define a Wrangler project to be independent of the containing monorepo?

I have a monorepo, but want to define within it, Wrangler 3 projects that stand alone. ie: I don't want the module resolution to ascend above the Wrangler project base folder. Is there a way to do that?
1 Reply
bateswebtech
bateswebtech16mo ago
If you are using pnpm you can exclude projects pretty easily. pnpm-workspace.yaml
packages:
# all packages in direct subdirs of packages/
- 'packages/*'
# all packages in subdirs of components/
- 'components/**'
# exclude packages that are inside test directories
- '!**/test/**'
packages:
# all packages in direct subdirs of packages/
- 'packages/*'
# all packages in subdirs of components/
- 'components/**'
# exclude packages that are inside test directories
- '!**/test/**'
Want results from more Discord servers?
Add your server