@kozojs/cli 0.1.32 → 0.1.33
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/lib/index.js +2 -2
- package/package.json +1 -2
package/lib/index.js
CHANGED
|
@@ -4258,7 +4258,7 @@ var import_picocolors5 = __toESM(require("picocolors"));
|
|
|
4258
4258
|
var import_fs_extra8 = __toESM(require("fs-extra"));
|
|
4259
4259
|
var import_node_path9 = __toESM(require("path"));
|
|
4260
4260
|
var ROUTE_TEMPLATE = `import { z } from 'zod';
|
|
4261
|
-
import type { HandlerContext } from '@
|
|
4261
|
+
import type { HandlerContext } from '@kozojs/core';
|
|
4262
4262
|
|
|
4263
4263
|
// Validation schema (optional)
|
|
4264
4264
|
export const schema = {
|
|
@@ -4274,7 +4274,7 @@ export default async ({ body, services }: HandlerContext<Body>) => {
|
|
|
4274
4274
|
return { message: 'Not implemented' };
|
|
4275
4275
|
};
|
|
4276
4276
|
`;
|
|
4277
|
-
var GET_ROUTE_TEMPLATE = `import type { HandlerContext } from '@
|
|
4277
|
+
var GET_ROUTE_TEMPLATE = `import type { HandlerContext } from '@kozojs/core';
|
|
4278
4278
|
|
|
4279
4279
|
export default async ({ params, services }: HandlerContext) => {
|
|
4280
4280
|
// TODO: Implement handler
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kozojs/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "CLI to scaffold new Kozo Framework projects - The next-gen TypeScript Backend Framework",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-kozo": "./lib/index.js",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"@clack/prompts": "^0.8.0",
|
|
38
38
|
"commander": "^12.0.0",
|
|
39
39
|
"picocolors": "^1.1.0",
|
|
40
|
-
"ora": "^8.1.0",
|
|
41
40
|
"execa": "^9.5.0",
|
|
42
41
|
"fs-extra": "^11.2.0",
|
|
43
42
|
"glob": "^11.0.0",
|