@tsed/cli-core 3.19.1 → 3.19.4

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.
@@ -37,7 +37,7 @@ export declare class ProjectPackageJson {
37
37
  };
38
38
  get preferences(): ProjectPreferences;
39
39
  toJSON(): PackageJson;
40
- read(): void;
40
+ read(): this;
41
41
  setRaw(pkg: any): void;
42
42
  getRunCmd(): "npm run" | "pnpm run" | "yarn run";
43
43
  addDevDependency(pkg: string, version?: string): this;
@@ -56,7 +56,7 @@ export declare class ProjectPackageJson {
56
56
  setPreference(key: keyof ProjectPreferences, value: any): void;
57
57
  set(key: string, value: any): void;
58
58
  get(key: string): any;
59
- write(): void;
59
+ write(): this;
60
60
  hasYarn(): boolean;
61
61
  install(options?: InstallOptions): ({
62
62
  title: string;
@@ -94,4 +94,5 @@ export declare class ProjectPackageJson {
94
94
  skip: () => boolean;
95
95
  task: () => any;
96
96
  }[];
97
+ protected getPackageJson(): any;
97
98
  }
@@ -0,0 +1,2 @@
1
+ import { Configuration } from "@tsed/di";
2
+ export declare function getPackageJson(configuration: Configuration): any;
@@ -0,0 +1 @@
1
+ export declare function isValidVersion(version: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/cli-core",
3
- "version": "3.19.1",
3
+ "version": "3.19.4",
4
4
  "description": "Build your CLI with TypeScript and Decorators",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/index.js",