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

docs: add workspace directory example #5875

Merged
merged 1 commit into from
Nov 30, 2022
Merged

docs: add workspace directory example #5875

merged 1 commit into from
Nov 30, 2022

Conversation

1aron
Copy link
Contributor

@1aron 1aron commented Nov 21, 2022

This is an undocumented feature of NPM.

References

#5869

@1aron 1aron requested a review from a team as a code owner November 21, 2022 06:59
@wraithgar wraithgar changed the title Docs: Run the command for directory workspaces docs: Add example of running a command for directory in a workspace Nov 21, 2022
@wraithgar wraithgar changed the base branch from release/v8 to latest November 21, 2022 15:26
@wraithgar
Copy link
Member

@1aron can you please rebase this against latest. We generally don't do backports for doc tweaks like this.

@1aron
Copy link
Contributor Author

1aron commented Nov 23, 2022

@1aron can you please rebase this against latest. We generally don't do backports for doc tweaks like this.

I changed to use latest to modify and force push.

@1aron 1aron changed the title docs: Add example of running a command for directory in a workspace docs: add example of running a command for directory in a workspace Nov 23, 2022
@wraithgar
Copy link
Member

This functionality is documented also with the workspaces parameter, just not on this workspaces overview page.

https://docs.npmjs.com/cli/v9/commands/npm-install#workspace

Valid values for the workspace config are either:

  • Workspace names
  • Path to a workspace directory
  • Path to a parent workspace directory (will result in selecting all workspaces within that folder)

@1aron 1aron closed this Nov 25, 2022
@wraithgar wraithgar reopened this Nov 28, 2022
@fritzy fritzy changed the title docs: add example of running a command for directory in a workspace docs: add workspace directory example Nov 30, 2022
@fritzy fritzy merged commit 681a45b into npm:latest Nov 30, 2022
@github-actions github-actions bot mentioned this pull request Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants