@pnpm/fs.find-packages
Advanced tools
Comparing version 3.0.3 to 4.0.0
@@ -1,2 +0,2 @@ | ||
import { type ProjectManifest } from '@pnpm/types'; | ||
import { type Project } from '@pnpm/types'; | ||
export interface Options { | ||
@@ -7,8 +7,2 @@ ignore?: string[]; | ||
} | ||
export interface Project { | ||
dir: string; | ||
dirRealPath: string; | ||
manifest: ProjectManifest; | ||
writeProjectManifest: (manifest: ProjectManifest, force?: boolean | undefined) => Promise<void>; | ||
} | ||
export declare function findPackages(root: string, opts?: Options): Promise<Project[]>; |
@@ -39,6 +39,6 @@ "use strict"; | ||
try { | ||
const dir = path_1.default.dirname(manifestPath); | ||
const rootDir = path_1.default.dirname(manifestPath); | ||
return { | ||
dir, | ||
dirRealPath: await fs_1.promises.realpath(dir), | ||
rootDir, | ||
rootDirRealPath: await fs_1.promises.realpath(rootDir), | ||
...await (0, read_project_manifest_1.readExactProjectManifest)(manifestPath), | ||
@@ -45,0 +45,0 @@ }; |
{ | ||
"name": "@pnpm/fs.find-packages", | ||
"version": "3.0.3", | ||
"version": "4.0.0", | ||
"description": "Find all packages inside a directory", | ||
@@ -29,8 +29,8 @@ "main": "lib/index.js", | ||
"p-filter": "^2.1.0", | ||
"@pnpm/types": "10.1.1", | ||
"@pnpm/read-project-manifest": "6.0.3" | ||
"@pnpm/types": "11.0.0", | ||
"@pnpm/read-project-manifest": "6.0.4" | ||
}, | ||
"funding": "https://opencollective.com/pnpm", | ||
"devDependencies": { | ||
"@pnpm/fs.find-packages": "3.0.3" | ||
"@pnpm/fs.find-packages": "4.0.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "exports": { |
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
8674
72
+ Added@pnpm/read-project-manifest@6.0.4(transitive)
+ Added@pnpm/types@11.0.0(transitive)
+ Added@pnpm/write-project-manifest@6.0.3(transitive)
- Removed@pnpm/read-project-manifest@6.0.3(transitive)
- Removed@pnpm/types@10.1.1(transitive)
- Removed@pnpm/write-project-manifest@6.0.2(transitive)
Updated@pnpm/types@11.0.0