2ffef088dd
- Remove `WorkspaceInfo` due to misleading name (it's an array of workspace packages) and redundancy with `PackageInfo`/`PackageInfos` - Remove trivially derived helpers: - `listOfWorkspacePackageNames` (just use map on consumer end...) - `findWorkspacePath` (should have been called `findPackagePath` and is trivial with `PackageInfos` object to look up by name) - Rename and modify methods to better reflect what they do: - Rename `getWorkspaces` to `getWorkspacePackages` and change return type to `PackageInfos` (no reason to have two formats for the same thing) - Rename `getWorkspacePackageInfo` to `getPackageInfosFromPaths` (and simplify implementation) - Replace `get<Mgr>WorkspaceRoot` and `get<Mgr>Workspaces` with `get<Mgr>WorkspacePackages` |
||
---|---|---|
.github/workflows | ||
.vscode | ||
change | ||
packages | ||
scripts | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc.json5 | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
beachball.config.js | ||
lage.config.js | ||
package.json | ||
renovate.json5 | ||
typedoc.json | ||
yarn.lock |
README.md
workspace-tools monorepo
Please see the workspace-tools
README for more information.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.