@pnpm/types
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -1,85 +0,2 @@ | ||
export interface Dependencies { | ||
[name: string]: string; | ||
} | ||
export declare type PackageBin = string | { | ||
[commandName: string]: string; | ||
}; | ||
export declare type PackageScripts = { | ||
[name: string]: string; | ||
} & { | ||
prepublish?: string; | ||
prepare?: string; | ||
prepublishOnly?: string; | ||
prepack?: string; | ||
postpack?: string; | ||
publish?: string; | ||
postpublish?: string; | ||
preinstall?: string; | ||
install?: string; | ||
postinstall?: string; | ||
preuninstall?: string; | ||
uninstall?: string; | ||
postuninstall?: string; | ||
preversion?: string; | ||
version?: string; | ||
postversion?: string; | ||
pretest?: string; | ||
test?: string; | ||
posttest?: string; | ||
prestop?: string; | ||
stop?: string; | ||
poststop?: string; | ||
prestart?: string; | ||
start?: string; | ||
poststart?: string; | ||
prerestart?: string; | ||
restart?: string; | ||
postrestart?: string; | ||
preshrinkwrap?: string; | ||
shrinkwrap?: string; | ||
postshrinkwrap?: string; | ||
}; | ||
export interface PackageJson { | ||
name: string; | ||
version: string; | ||
private?: boolean; | ||
bin?: PackageBin; | ||
directories?: { | ||
bin?: string; | ||
}; | ||
dependencies?: Dependencies; | ||
devDependencies?: Dependencies; | ||
optionalDependencies?: Dependencies; | ||
peerDependencies?: Dependencies; | ||
bundleDependencies?: string[]; | ||
bundledDependencies?: string[]; | ||
scripts?: PackageScripts; | ||
config?: object; | ||
engines?: { | ||
node?: string; | ||
npm?: string; | ||
}; | ||
cpu?: string[]; | ||
os?: string[]; | ||
} | ||
export interface PackageManifest { | ||
name: string; | ||
version: string; | ||
bin?: PackageBin; | ||
directories?: { | ||
bin?: string; | ||
}; | ||
dependencies?: Dependencies; | ||
devDependencies?: Dependencies; | ||
optionalDependencies?: Dependencies; | ||
peerDependencies?: Dependencies; | ||
bundleDependencies?: string[]; | ||
bundledDependencies?: string[]; | ||
engines?: { | ||
node?: string; | ||
npm?: string; | ||
}; | ||
cpu?: string[]; | ||
os?: string[]; | ||
deprecated?: string; | ||
} | ||
export * from './package'; | ||
export * from './options'; |
{ | ||
"name": "@pnpm/types", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Basic types used by pnpm", | ||
@@ -12,3 +12,4 @@ "main": "lib/index.js", | ||
"test": "mos test && tslint -c tslint.json -p .", | ||
"prepublishOnly": "tsc" | ||
"tsc": "rimraf lib && tsc", | ||
"prepublishOnly": "npm run tsc" | ||
}, | ||
@@ -32,2 +33,3 @@ "repository": { | ||
"mos-plugin-readme": "^1.0.4", | ||
"rimraf": "^2.6.2", | ||
"tslint": "^5.8.0", | ||
@@ -34,0 +36,0 @@ "typescript": "^2.6.1" |
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
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
8274
12
210
5
1