@pnpm/lifecycle
Advanced tools
Comparing version 8.0.3 to 8.1.0
@@ -1,5 +0,5 @@ | ||
import runLifecycleHook from './runLifecycleHook'; | ||
import runLifecycleHook, { RunLifecycleHookOptions } from './runLifecycleHook'; | ||
import runLifecycleHooksConcurrently from './runLifecycleHooksConcurrently'; | ||
export default runLifecycleHook; | ||
export { runLifecycleHooksConcurrently }; | ||
export { runLifecycleHooksConcurrently, RunLifecycleHookOptions }; | ||
export declare function runPostinstallHooks(opts: { | ||
@@ -6,0 +6,0 @@ depPath: string; |
@@ -41,1 +41,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=index.js.map |
import { DependencyManifest, ProjectManifest } from '@pnpm/types'; | ||
export default function runLifecycleHook(stage: string, manifest: ProjectManifest | DependencyManifest, opts: { | ||
export declare type RunLifecycleHookOptions = { | ||
args?: string[]; | ||
@@ -12,2 +12,3 @@ depPath: string; | ||
unsafePerm: boolean; | ||
}): Promise<any>; | ||
}; | ||
export default function runLifecycleHook(stage: string, manifest: ProjectManifest | DependencyManifest, opts: RunLifecycleHookOptions): Promise<any>; |
@@ -78,1 +78,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=runLifecycleHook.js.map |
@@ -38,1 +38,2 @@ "use strict"; | ||
exports.default = runLifecycleHooksConcurrently; | ||
//# sourceMappingURL=runLifecycleHooksConcurrently.js.map |
{ | ||
"name": "@pnpm/lifecycle", | ||
"version": "8.0.3", | ||
"version": "8.1.0", | ||
"description": "Package lifecycle hook runner", | ||
@@ -8,13 +8,15 @@ "main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
"lib", | ||
"!*.map" | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=10.13" | ||
}, | ||
"scripts": { | ||
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts", | ||
"tsc": "rimraf lib && tsc", | ||
"test": "pnpm run tsc -- --sourceMap && cd ../.. && c8 --reporter lcov --reports-dir packages/lifecycle/coverage ts-node packages/lifecycle/test --type-check", | ||
"prepublishOnly": "pnpm run tsc", | ||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix" | ||
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/lifecycle/coverage ts-node packages/lifecycle/test --type-check", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"prepublishOnly": "pnpm run compile", | ||
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build" | ||
}, | ||
@@ -32,3 +34,3 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/lifecycle", | ||
}, | ||
"homepage": "https://github.com/pnpm/pnpm/tree/master/packages/lifecycle#readme", | ||
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/lifecycle#readme", | ||
"peerDependencies": { | ||
@@ -48,3 +50,3 @@ "@pnpm/logger": "^3.1.0" | ||
"@pnpm/logger": "3.1.0", | ||
"@types/rimraf": "^2.0.3", | ||
"@types/rimraf": "^3.0.0", | ||
"json-append": "1.1.1", | ||
@@ -51,0 +53,0 @@ "load-json-file": "6.2.0" |
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
No website
QualityPackage does not have a website.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
11282
193