@semrel-extra/topo
Advanced tools
Comparing version 1.11.0 to 1.12.0
@@ -0,1 +1,6 @@ | ||
## [1.12.0](https://github.com/semrel-extra/topo/compare/v1.11.0...v1.12.0) (2023-05-24) | ||
### Features | ||
* feat: add workspacesExtra option ([0a1c55c](https://github.com/semrel-extra/topo/commit/0a1c55ccd18dbe5c881b7a80b00881999133f355)) | ||
## [1.11.0](https://github.com/semrel-extra/topo/compare/v1.10.0...v1.11.0) (2023-05-24) | ||
@@ -2,0 +7,0 @@ |
{ | ||
"name": "@semrel-extra/topo", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"description": "Helper to resolve monorepo dependencies graph", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -69,2 +69,12 @@ # @semrel-extra/topo | ||
### `workspacesExtra` | ||
Injects extra pattern to the resolved `workspaces` value from `package.json` / `pnpm-workspace.yaml` | ||
```ts | ||
const gpaph = topo({ | ||
workspacesExtra: ['!packages/foo'], | ||
cwd: '/path/to/project/root' | ||
}) | ||
``` | ||
### `traverseDeps()` | ||
@@ -71,0 +81,0 @@ Iterates up to the pkg deps graph. |
@@ -36,2 +36,3 @@ import { TDepMap, TGraph } from 'toposource'; | ||
workspaces: string[]; | ||
workspacesExtra: string[]; | ||
cwd: string; | ||
@@ -38,0 +39,0 @@ filter: (entry: IPackageEntry) => boolean; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30589
105
113
0