Skip to content

build: maybe use npm workspaces #1259

@davidjgoss

Description

@davidjgoss

Summary

Npm 7 has a new workspaces feature to support projects with multiple libraries.

The documentation is pretty sparse at this point, but anyway:

I think this might be a good fit for the monorepo, in terms of:

  • Declaring and installing common tooling dependencies like typescript and eslint once at the root level
  • Reliably linking between dependencies locally

Wanted to get any initial feedback before I start experimenting, especially potential downsides. One I think would need to be addressed would be how to continue supporting building a subset of the monorepo for just a particular package.

Thanks!

Metadata

Metadata

Labels

🏦 debtTech debt🥒 core teamCandidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8🔥 criticalHigh priority issues✅ acceptedThe core team has agreed that it is a good idea to fix this🔧 buildRelated to build / release processlanguage: javascript

Type

No type

Projects

Status

Released

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions