@tsed/cli-core 3.11.7 → 3.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Configuration } from "@tsed/di";
|
|
2
2
|
import { PackageJson } from "../interfaces/PackageJson";
|
|
3
|
+
import { PackageManager, ProjectPreferences } from "../interfaces/ProjectPreferences";
|
|
3
4
|
import { CliExeca } from "./CliExeca";
|
|
4
5
|
import { CliFs } from "./CliFs";
|
|
5
|
-
import { PackageManager, ProjectPreferences } from "../interfaces/ProjectPreferences";
|
|
6
6
|
export interface InstallOptions {
|
|
7
7
|
packageManager?: PackageManager;
|
|
8
8
|
[key: string]: any;
|
|
@@ -39,7 +39,7 @@ export declare class ProjectPackageJson {
|
|
|
39
39
|
toJSON(): PackageJson;
|
|
40
40
|
read(): void;
|
|
41
41
|
setRaw(pkg: any): void;
|
|
42
|
-
getRunCmd(): "npm run" | "yarn run";
|
|
42
|
+
getRunCmd(): "npm run" | "pnpm run" | "yarn run";
|
|
43
43
|
addDevDependency(pkg: string, version?: string): this;
|
|
44
44
|
addDevDependencies(modules: {
|
|
45
45
|
[key: string]: string | undefined;
|
|
@@ -89,4 +89,9 @@ export declare class ProjectPackageJson {
|
|
|
89
89
|
skip: () => boolean;
|
|
90
90
|
task: () => any;
|
|
91
91
|
}[];
|
|
92
|
+
protected installWithPnpm({ verbose }: any): {
|
|
93
|
+
title: string;
|
|
94
|
+
skip: () => boolean;
|
|
95
|
+
task: () => any;
|
|
96
|
+
}[];
|
|
92
97
|
}
|