Skip to content

Latest commit

 

History

History
140 lines (79 loc) · 8.57 KB

File metadata and controls

140 lines (79 loc) · 8.57 KB

@manypkg/get-packages

3.1.0

Minor Changes

Patch Changes

  • Updated dependencies [2c06ac0]:
    • @manypkg/find-root@3.1.0
    • @manypkg/tools@2.1.0

3.0.0

Major Changes

Patch Changes

2.2.2

Patch Changes

  • #208 361a34f Thanks @benmccann! - Add git repository info to package.json

  • Updated dependencies [361a34f]:

    • @manypkg/find-root@2.2.2
    • @manypkg/tools@1.1.1

2.2.1

Patch Changes

2.2.0

Minor Changes

Patch Changes

  • Updated dependencies [de0fff3]:
    • @manypkg/find-root@2.2.0
    • @manypkg/tools@1.1.0

2.1.0

Minor Changes

  • #167 bf586f5 Thanks @elliot-nelson! - The getPackages and getPackagesSync methods now take an optional list of Tool implementations, allowing the caller to restrict the desired types of monorepo discovered, or provide a custom monorepo tool implementation.

Patch Changes

  • Updated dependencies [bf586f5]:
    • @manypkg/find-root@2.1.0

2.0.0

Major Changes

  • #162 f046017 Thanks @Andarist! - Increased the transpilation target of the source files to node@14.x. At the same time added this as package.json#engines to explicitly declare the minimum node version supported by this package.
  • #151 a01efc9 Thanks @elliot-nelson! - The get-packages package now returns a slightly different structure. The old tool string has been replaced with a tool object, using the new Tool interface provided by @manypkg/tools. Each Package now contains both the absolute directory and relative directory path. Last, the root package has been renamed rootPackage and is optional, to support monorepos that do not contain a root package.

Patch Changes

1.1.3

Patch Changes

  • #122 7bd4f34 Thanks @fz6m! - Fixed getting correct packages in pnpm workspaces with exclude rules.

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

Patch Changes

  • Updated dependencies [a4db72a]:
    • @manypkg/find-root@1.1.0

1.0.1

Patch Changes

  • 596d821 #55 Thanks @Andarist! - Ignore node_modules when glob searching for packages. This fixes an issue with package cycles.

1.0.0

Major Changes

  • 72a0112 #47 Thanks @tarang9211! - Initial release of @manypkg/get-packages. If you're migrating from get-workspaces, the most important changes are:

    • getPackages is a named export
    • getPackages only accepts a single argument which is the directory to search from
    • getPackages returns an object which has tool, packages and root
    • getPackages will search up from the directory passed in to find a project root rather than requiring the project root to be passed in
    • the package objects no longer have a name field and the config property has been renamed to packageJson

    See the README for more information on the new API

Patch Changes

  • Updated dependencies [72a0112]:
    • @manypkg/find-root@1.0.0