@tsed/cli-plugin-prisma 3.21.2 → 3.22.0
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.
|
@@ -5,10 +5,13 @@ export declare class PrismaInitHook {
|
|
|
5
5
|
protected cliPrisma: CliPrisma;
|
|
6
6
|
protected cliService: CliService;
|
|
7
7
|
protected packageJson: ProjectPackageJson;
|
|
8
|
-
onExec(ctx: InitCmdContext): Promise<{
|
|
8
|
+
onExec(ctx: InitCmdContext): Promise<({
|
|
9
9
|
title: string;
|
|
10
|
-
task: () => any
|
|
11
|
-
}
|
|
10
|
+
task: () => import("rxjs").Observable<any>;
|
|
11
|
+
} | {
|
|
12
|
+
title: string;
|
|
13
|
+
task: () => Promise<void>;
|
|
14
|
+
})[]>;
|
|
12
15
|
addScripts(): void;
|
|
13
16
|
addDependencies(ctx: InitCmdContext): void;
|
|
14
17
|
addDevDependencies(ctx: InitCmdContext): void;
|
|
@@ -3,7 +3,7 @@ export declare class CliPrisma {
|
|
|
3
3
|
protected cliExeca: CliExeca;
|
|
4
4
|
protected cliFs: CliFs;
|
|
5
5
|
protected projectPackageJson: ProjectPackageJson;
|
|
6
|
-
run(command: string, args?: string[], options?: any): any
|
|
7
|
-
init(): any
|
|
6
|
+
run(command: string, args?: string[], options?: any): import("rxjs").Observable<any>;
|
|
7
|
+
init(): import("rxjs").Observable<any>;
|
|
8
8
|
patchPrismaSchema(): Promise<void>;
|
|
9
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-plugin-prisma",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Ts.ED CLI plugin. Add Prisma project initialisation support.",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"tslib": "2.3.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@tsed/cli": "3.
|
|
26
|
-
"@tsed/cli-core": "3.
|
|
25
|
+
"@tsed/cli": "3.22.0",
|
|
26
|
+
"@tsed/cli-core": "3.22.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {},
|
|
29
29
|
"repository": "https://github.com/tsedio/tsed-cli",
|