@kevisual/router 0.2.8 → 0.2.9
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/app.js +1 -1
- package/dist/commander.d.ts +1 -0
- package/dist/commander.js +3 -1
- package/package.json +1 -1
- package/src/commander.ts +5 -1
package/dist/app.js
CHANGED
|
@@ -20131,7 +20131,7 @@ app
|
|
|
20131
20131
|
10. **中间件找不到会返回 404**,错误信息中会包含找不到的中间件列表。
|
|
20132
20132
|
`;
|
|
20133
20133
|
// package.json
|
|
20134
|
-
var version2 = "0.2.
|
|
20134
|
+
var version2 = "0.2.8";
|
|
20135
20135
|
|
|
20136
20136
|
// agent/routes/route-create.ts
|
|
20137
20137
|
app.route({
|
package/dist/commander.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from 'eventemitter3';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { Command } from 'commander';
|
|
4
|
+
export { Command, program } from 'commander';
|
|
4
5
|
import * as http from 'node:http';
|
|
5
6
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
6
7
|
import { IncomingMessage as IncomingMessage$1, ServerResponse as ServerResponse$1 } from 'http';
|
package/dist/commander.js
CHANGED
|
@@ -16411,10 +16411,12 @@ var createCliList = (app) => {
|
|
|
16411
16411
|
}).addTo(app, { overwrite: false });
|
|
16412
16412
|
};
|
|
16413
16413
|
export {
|
|
16414
|
+
program,
|
|
16414
16415
|
parseDescription,
|
|
16415
16416
|
parseArgs,
|
|
16416
16417
|
parse5 as parse,
|
|
16417
16418
|
groupByPath,
|
|
16418
16419
|
createCommandList,
|
|
16419
|
-
createCommand2 as createCommand
|
|
16420
|
+
createCommand2 as createCommand,
|
|
16421
|
+
Command
|
|
16420
16422
|
};
|
package/package.json
CHANGED