@pristine-ts/http 2.0.6 → 2.0.7
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.
- package/dist/lib/cjs/commands/file-server.command.js +9 -7
- package/dist/lib/cjs/commands/file-server.command.js.map +1 -1
- package/dist/lib/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/lib/esm/commands/file-server.command.js +10 -8
- package/dist/lib/esm/commands/file-server.command.js.map +1 -1
- package/dist/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/types/commands/file-server.command.d.ts +4 -3
- package/package.json +5 -5
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import "reflect-metadata";
|
|
2
2
|
import { ExitCode } from "@pristine-ts/common";
|
|
3
|
-
import { CommandInterface
|
|
3
|
+
import { CommandInterface } from "@pristine-ts/cli";
|
|
4
|
+
import { LogHandlerInterface } from "@pristine-ts/logging";
|
|
4
5
|
import { FileHttpServer } from "../servers/file.http-server";
|
|
5
6
|
import { FileServerCommandOptions } from "./file-server.command-options";
|
|
6
7
|
export declare class FileServerCommand implements CommandInterface<FileServerCommandOptions> {
|
|
7
|
-
private readonly
|
|
8
|
+
private readonly logHandler;
|
|
8
9
|
private readonly fileHttpServer;
|
|
9
10
|
optionsType: typeof FileServerCommandOptions;
|
|
10
11
|
name: string;
|
|
11
|
-
constructor(
|
|
12
|
+
constructor(logHandler: LogHandlerInterface, fileHttpServer: FileHttpServer);
|
|
12
13
|
run(args: FileServerCommandOptions): Promise<ExitCode | number>;
|
|
13
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pristine-ts/http",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/lib/esm/http.module.js",
|
|
6
6
|
"main": "dist/lib/cjs/http.module.js",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pristine-ts/class-validator": "^2.0.4",
|
|
19
|
-
"@pristine-ts/cli": "^2.0.
|
|
20
|
-
"@pristine-ts/common": "^2.0.
|
|
21
|
-
"@pristine-ts/logging": "^2.0.
|
|
19
|
+
"@pristine-ts/cli": "^2.0.7",
|
|
20
|
+
"@pristine-ts/common": "^2.0.7",
|
|
21
|
+
"@pristine-ts/logging": "^2.0.7",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"tsyringe": "^4.8.0"
|
|
24
24
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"src/*.{js,ts}"
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "8788c711f72b7ebdcec76bc8f6a56d51af143087",
|
|
65
65
|
"repository": {
|
|
66
66
|
"type": "git",
|
|
67
67
|
"url": "https://github.com/magieno/pristine-ts.git",
|