workspace-tools
Version:
A collection of tools that are useful in a git-controlled monorepo that is managed by one of these tools:
29 lines (28 loc) • 589 B
TypeScript
export interface PackageInfo {
name: string;
packageJsonPath: string;
version: string;
dependencies?: {
[dep: string]: string;
};
devDependencies?: {
[dep: string]: string;
};
peerDependencies?: {
[dep: string]: string;
};
private?: boolean;
group?: string;
scripts?: {
[scriptName: string]: string;
};
repository?: string | {
type: string;
url: string;
directory?: string;
};
[key: string]: any;
}
export interface PackageInfos {
[pkgName: string]: PackageInfo;
}