#workspace #monorepo #rush #npm #yarn #git-controlled #lerna

yanked js_workspace_tools

Javascript Monorepo Workspace Tools

0.0.1 Feb 8, 2022

#19 in #rush

MIT license

270KB
871 lines

js_workspace_tools

A collection of tools that are useful in a git-controlled monorepo that is managed by one of these software:

  • lerna
  • npm workspaces
  • pnpm workspaces
  • rush
  • yarn workspaces

Progress

  • export * from "./dependencies";
  • export * from "./getPackageInfos";
  • export * from "./git";
  • export * from "./graph";
  • export * from "./lockfile";
  • export * from "./paths";
  • export * from "./scope";
  • export * from "./types/PackageInfo";
  • export * from "./types/WorkspaceInfo";
  • export * from "./workspaces/findWorkspacePath";
  • export * from "./workspaces/getWorkspaces";
  • export * from "./workspaces/getWorkspaceRoot";
  • export * from "./workspaces/implementations/pnpm";
  • export * from "./workspaces/implementations/rush";
  • export * from "./workspaces/implementations/yarn";
  • export * from "./workspaces/getChangedPackages";
  • (Not goting to support this) export * from "./workspaces/listOfWorkspacePackageNames";
  • export * from "./workspaces/workspaces";

Most functions are porting from workspace-tools. Wonderful work of kenotron.

Dependencies

~10–19MB
~260K SLoC