@kanjijs/cli 0.2.0-beta.40 → 0.2.0-beta.41
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,6 +1,6 @@
|
|
|
1
1
|
import type { ContractSpec } from "@kanjijs/contracts";
|
|
2
2
|
import "reflect-metadata";
|
|
3
|
-
export type Constructor<T = unknown> = new (...args:
|
|
3
|
+
export type Constructor<T = unknown> = new (...args: any[]) => T;
|
|
4
4
|
export type HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
5
5
|
export type RouteParamType = "BODY" | "QUERY" | "PARAM" | "HEADERS" | "CONTEXT";
|
|
6
6
|
export interface RouteParamMetadata {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kanjijs/cli",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"kanji": "./dist/index.js"
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"templates"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "bun build src/index.ts --outdir dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
16
|
-
"watch": "bun build src/index.ts --outdir dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist --watch"
|
|
15
|
+
"build": "bun build src/index.ts --outdir dist --target bun && bunx tsc --emitDeclarationOnly --declaration --outDir dist -p tsconfig.build.json",
|
|
16
|
+
"watch": "bun build src/index.ts --outdir dist --target bun && bunx tsc --emitDeclarationOnly --declaration --outDir dist -p tsconfig.build.json --watch"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@inquirer/prompts": "^8.2.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"fs-extra": "^11.3.3",
|
|
22
22
|
"picocolors": "^1.1.1",
|
|
23
23
|
"openapi-typescript-codegen": "^0.25.0",
|
|
24
|
-
"@kanjijs/openapi": "^0.2.0-beta.
|
|
24
|
+
"@kanjijs/openapi": "^0.2.0-beta.41"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/fs-extra": "^11.0.4"
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"start": "bun run src/main.ts"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@kanjijs/core": "^0.2.0-beta.
|
|
11
|
-
"@kanjijs/platform-bun": "^0.2.0-beta.
|
|
12
|
-
"@kanjijs/platform-hono": "^0.2.0-beta.
|
|
13
|
-
"@kanjijs/auth": "^0.2.0-beta.
|
|
14
|
-
"@kanjijs/logger": "^0.2.0-beta.
|
|
15
|
-
"@kanjijs/throttler": "^0.2.0-beta.
|
|
10
|
+
"@kanjijs/core": "^0.2.0-beta.41",
|
|
11
|
+
"@kanjijs/platform-bun": "^0.2.0-beta.41",
|
|
12
|
+
"@kanjijs/platform-hono": "^0.2.0-beta.41",
|
|
13
|
+
"@kanjijs/auth": "^0.2.0-beta.41",
|
|
14
|
+
"@kanjijs/logger": "^0.2.0-beta.41",
|
|
15
|
+
"@kanjijs/throttler": "^0.2.0-beta.41",
|
|
16
16
|
"hono": "^4.0.0",
|
|
17
17
|
"reflect-metadata": "^0.2.0",
|
|
18
18
|
"zod": "^3.0.0"
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "latest",
|
|
22
22
|
"bun-types": "latest",
|
|
23
|
-
"@kanjijs/testing": "^0.2.0-beta.
|
|
23
|
+
"@kanjijs/testing": "^0.2.0-beta.41"
|
|
24
24
|
}
|
|
25
25
|
}
|