JS Monorepo Workspace Tools
Перейти к файлу
Elizabeth Craig 2ffef088dd Major cleanup of workspace helpers
- 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`
2022-09-16 19:11:02 -07:00
.github/workflows Add debug logging for docs release 2022-08-08 15:47:10 -07:00
.vscode Move test fixtures to shared location (#185) 2022-09-16 18:23:53 -07:00
change Starting workspace helpers cleanup 2022-09-16 19:09:53 -07:00
packages Major cleanup of workspace helpers 2022-09-16 19:11:02 -07:00
scripts Starting workspace helpers cleanup 2022-09-16 19:09:53 -07:00
.gitignore Don't check in docs to master branch 2022-08-08 14:17:29 -07:00
.nvmrc Update repo to Node 14 (#162) 2022-08-04 14:06:50 -07:00
.prettierignore Exclude temp files when copying fixtures 2022-08-03 16:05:06 -07:00
.prettierrc.json5 Configure Renovate 2022-07-21 14:57:58 -07:00
CODE_OF_CONDUCT.md adding MS stuff 2020-05-22 15:13:43 -07:00
LICENSE adding MS stuff 2020-05-22 15:13:43 -07:00
README.md Update readmes 2022-09-15 15:22:05 -07:00
SECURITY.md adding MS stuff 2020-05-22 15:13:43 -07:00
beachball.config.js Convert to monorepo (#178) 2022-09-14 16:26:15 -07:00
lage.config.js Convert to monorepo (#178) 2022-09-14 16:26:15 -07:00
package.json Un-update workspace-tools for testing 2022-09-16 18:51:23 -07:00
renovate.json5 Try to make renovate update pinned workspace-tools 2022-09-16 18:49:55 -07:00
typedoc.json Convert to monorepo (#178) 2022-09-14 16:26:15 -07:00
yarn.lock Un-update workspace-tools for testing 2022-09-16 18:51:23 -07:00

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.