find-packages
Advanced tools
Comparing version 7.0.1 to 7.0.2
@@ -1,2 +0,2 @@ | ||
import { ImporterManifest } from '@pnpm/types'; | ||
import { ProjectManifest } from '@pnpm/types'; | ||
declare namespace findPkgs { | ||
@@ -8,9 +8,9 @@ interface Options { | ||
} | ||
interface WorkspacePackage { | ||
interface Project { | ||
dir: string; | ||
manifest: ImporterManifest; | ||
writeImporterManifest(manifest: ImporterManifest, force?: boolean | undefined): Promise<void>; | ||
manifest: ProjectManifest; | ||
writeProjectManifest(manifest: ProjectManifest, force?: boolean | undefined): Promise<void>; | ||
} | ||
} | ||
declare function findPkgs(root: string, opts?: findPkgs.Options): Promise<findPkgs.WorkspacePackage[]>; | ||
declare function findPkgs(root: string, opts?: findPkgs.Options): Promise<findPkgs.Project[]>; | ||
export = findPkgs; |
"use strict"; | ||
const read_importer_manifest_1 = require("@pnpm/read-importer-manifest"); | ||
const read_project_manifest_1 = require("@pnpm/read-project-manifest"); | ||
const fastGlob = require("fast-glob"); | ||
@@ -33,3 +33,3 @@ const pFilter = require("p-filter"); | ||
dir: path.dirname(manifestPath), | ||
...await read_importer_manifest_1.readExactImporterManifest(manifestPath), | ||
...await read_project_manifest_1.readExactProjectManifest(manifestPath), | ||
}; | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "find-packages", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"description": "Find all packages inside a directory", | ||
@@ -11,4 +11,4 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts", | ||
"test": "pnpm run tsc && pnpm run lint && ts-node test --type-check", | ||
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts", | ||
"test": "pnpm run tsc && ts-node test --type-check", | ||
"tsc": "tsc", | ||
@@ -36,8 +36,7 @@ "prepublishOnly": "pnpm run tsc" | ||
"devDependencies": { | ||
"find-packages": "link:", | ||
"tape": "4.11.0" | ||
"find-packages": "link:" | ||
}, | ||
"dependencies": { | ||
"@pnpm/read-importer-manifest": "2.0.1", | ||
"@pnpm/types": "4.0.0", | ||
"@pnpm/read-project-manifest": "1.0.0", | ||
"@pnpm/types": "5.0.0", | ||
"fast-glob": "^3.1.1", | ||
@@ -44,0 +43,0 @@ "p-filter": "^2.1.0" |
@@ -26,3 +26,3 @@ # find-packages | ||
// manifest: { name: 'foo', version: '1.0.0' }, | ||
// writeImporterManifest: [AsyncFunction] } ] | ||
// writeProjectManifest: [AsyncFunction] } ] | ||
``` | ||
@@ -29,0 +29,0 @@ |
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
1
6029
+ Added@pnpm/read-project-manifest@1.0.0(transitive)
+ Added@pnpm/types@5.0.0(transitive)
+ Added@pnpm/write-project-manifest@1.0.0(transitive)
- Removed@pnpm/read-importer-manifest@2.0.1
- Removed@pnpm/read-importer-manifest@2.0.1(transitive)
- Removed@pnpm/types@4.0.0(transitive)
- Removed@pnpm/write-importer-manifest@4.0.0(transitive)
Updated@pnpm/types@5.0.0