Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: feat(workspaces): running cmds #2765

Closed
wants to merge 5 commits into from

Conversation

ruyadorno
Copy link
Contributor

Ongoing proof-of-concept, currently gathering feedback in the implementation.

Ref: npm/rfcs#117

notes/WORKSPACES_CMDS.md Show resolved Hide resolved
notes/WORKSPACES_CMDS.md Show resolved Hide resolved
notes/WORKSPACES_CMDS.md Show resolved Hide resolved
@darcyclarke darcyclarke added semver:minor new backwards-compatible feature Needs Discussion is pending a discussion pr: needs tests requires tests before merging pr: needs documentation pull request requires docs before merging Release 7.x work is associated with a specific npm 7 release Needs Review Agenda will be discussed at the Open RFC call labels Feb 24, 2021
ruyadorno added a commit to ruyadorno/rfcs that referenced this pull request Feb 24, 2021
A lot of brainstorming sessions and OpenRFC call discussions have led to
a number of substantial changes to the original proposed RFC. I'm now
committing these changes in here so that we can further discuss and iron
out any details while we progress with the work in the implementation.

Ref: npm/cli#2765
Instead of files randomly requiring the npm singleton,
we pass it where it needs to go so that tests don't need
to do so much require mocking everywhere
All output that anything wants to make now goes through
`npm.output()`.  This is an incremental change getting us
closer to where we want to be with testing.
ruyadorno added a commit to ruyadorno/cli that referenced this pull request Mar 1, 2021
This will allow for changing configs that are read by commands through
flatOptions.

Relates to: npm#2765
Relates to: npm/rfcs#117
This will allow for changing configs that are read by commands through
flatOptions.

Based of npm#2795, land that first.

Relates to: npm#2765
Relates to: npm/rfcs#117
@darcyclarke darcyclarke removed the Agenda will be discussed at the Open RFC call label Mar 12, 2021
@darcyclarke darcyclarke changed the title Running cmds in workspaces WIP: feat(workspaces): Running cmds Mar 12, 2021
@darcyclarke darcyclarke changed the title WIP: feat(workspaces): Running cmds WIP: feat(workspaces): running cmds Mar 12, 2021
@ruyadorno ruyadorno closed this Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Discussion is pending a discussion pr: needs documentation pull request requires docs before merging pr: needs tests requires tests before merging Release 7.x work is associated with a specific npm 7 release semver:minor new backwards-compatible feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants