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

fix(repo): remove "." from workspace config #4501

Merged

Conversation

augustjk
Copy link
Contributor

@augustjk augustjk commented Jun 26, 2023

The "." in workspaces config seems to create an infinite recursive symlink as seen here google/wireit#790

It looks unnecessary to include the root directory in the workspaces config. No commands in the repo currently use the --workspace or --workspaces flag for npm commands so those commands should not be affected.

If there were --workspaces flags meant to run a command for all workspace directories, the root directory can be included by --include-workspace-root flag as well. https://docs.npmjs.com/cli/v8/commands/npm-run-script#include-workspace-root

@material/web use within the catalog workspace still correctly resolves to the root package with the reference, and does not install its own copy from npm.

@e111077 e111077 changed the title fix(repo): Remove "." from workspace config fix(repo): remove "." from workspace config Jun 26, 2023
@augustjk augustjk force-pushed the update-workspace-config branch from 4d39df5 to d436c8f Compare June 26, 2023 23:38
@augustjk
Copy link
Contributor Author

amended commit to have no uppercase and force pushed

@copybara-service copybara-service bot merged commit 4b98674 into material-components:main Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants