@pnpm/types
Advanced tools
Comparing version 7.0.0 to 7.1.0
# @pnpm/types | ||
## 7.1.0 | ||
### Minor Changes | ||
- 97c64bae4: An optional `dir` parameter added to the `ReadPackageHook` function. The `dir` parameter is defined when the hook runs on project manifests and defined the root of the project. | ||
## 7.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -14,4 +14,4 @@ import { DependenciesField } from './misc'; | ||
export interface ReadPackageHook { | ||
(pkg: PackageManifest): PackageManifest; | ||
(pkg: ProjectManifest): ProjectManifest; | ||
(pkg: PackageManifest, dir?: string): PackageManifest; | ||
(pkg: ProjectManifest, dir?: string): ProjectManifest; | ||
} |
{ | ||
"name": "@pnpm/types", | ||
"version": "7.0.0", | ||
"description": "Basic types used by pnpm", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"engines": { | ||
"node": ">=12.17" | ||
}, | ||
"files": [ | ||
"lib", | ||
"!*.map" | ||
], | ||
"scripts": { | ||
"test": "pnpm run compile", | ||
"prepublishOnly": "pnpm run compile", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix", | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/types", | ||
"keywords": [ | ||
"pnpm", | ||
"types" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/pnpm/pnpm/issues" | ||
}, | ||
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/types#readme", | ||
"funding": "https://opencollective.com/pnpm" | ||
"name": "@pnpm/types", | ||
"version": "7.1.0", | ||
"description": "Basic types used by pnpm", | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"engines": { | ||
"node": ">=12.17" | ||
}, | ||
"files": [ | ||
"lib", | ||
"!*.map" | ||
], | ||
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/types", | ||
"keywords": [ | ||
"pnpm", | ||
"types" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/pnpm/pnpm/issues" | ||
}, | ||
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/types#readme", | ||
"funding": "https://opencollective.com/pnpm", | ||
"scripts": { | ||
"test": "pnpm run compile", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix", | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts" | ||
} | ||
} |
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
9012