create-task-ops 0.1.5 → 0.1.6

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/README.md CHANGED
@@ -58,7 +58,7 @@ npx create-task-ops add --docs-only
58
58
  - `app/api/orbitops/health/route.ts`
59
59
  - `app/api/orbitops/tasks/route.ts`
60
60
  - `app/api/orbitops/tasks/[id]/route.ts`
61
- - `lib/task-api.ts`
61
+ - `lib/orbitops/task-api.ts`
62
62
 
63
63
  즉 기존 `package.json`, `app/page.tsx`, `app/layout.tsx`, `tsconfig.json` 같은 루트 파일은 건드리지 않는다.
64
64
 
@@ -69,7 +69,7 @@ npx create-task-ops add --docs-only
69
69
  - `app/api/orbitops/health/route.ts`
70
70
  - `app/api/orbitops/tasks/route.ts`
71
71
  - `app/api/orbitops/tasks/[id]/route.ts`
72
- - `lib/task-api.ts`
72
+ - `lib/orbitops/task-api.ts`
73
73
 
74
74
  이 receiver 파일까지 강제로 교체하려면 `--force` 를 쓴다.
75
75
 
@@ -12,7 +12,7 @@ const addApiFiles = [
12
12
  "app/api/orbitops/health/route.ts",
13
13
  "app/api/orbitops/tasks/route.ts",
14
14
  "app/api/orbitops/tasks/[id]/route.ts",
15
- "lib/task-api.ts",
15
+ "lib/orbitops/task-api.ts",
16
16
  ];
17
17
 
18
18
  function parseArgs(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-task-ops",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Next.js-first task-ops scaffold generator for task docs and task APIs",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  import { NextResponse } from "next/server";
2
- import { getTaskById } from "@/lib/task-api";
2
+ import { getTaskById } from "@/lib/orbitops/task-api";
3
3
 
4
4
  export const runtime = "nodejs";
5
5
  export const dynamic = "force-dynamic";
@@ -1,5 +1,5 @@
1
1
  import { NextResponse } from "next/server";
2
- import { getTasks } from "@/lib/task-api";
2
+ import { getTasks } from "@/lib/orbitops/task-api";
3
3
 
4
4
  export const runtime = "nodejs";
5
5
  export const dynamic = "force-dynamic";
@@ -1,5 +1,5 @@
1
1
  import { NextResponse } from "next/server";
2
- import { getTaskById } from "@/lib/task-api";
2
+ import { getTaskById } from "@/lib/orbitops/task-api";
3
3
 
4
4
  export const runtime = "nodejs";
5
5
  export const dynamic = "force-dynamic";
@@ -1,5 +1,5 @@
1
1
  import { NextResponse } from "next/server";
2
- import { getTasks } from "@/lib/task-api";
2
+ import { getTasks } from "@/lib/orbitops/task-api";
3
3
 
4
4
  export const runtime = "nodejs";
5
5
  export const dynamic = "force-dynamic";
@@ -1,4 +1,4 @@
1
- import { getTasks } from "@/lib/task-api";
1
+ import { getTasks } from "@/lib/orbitops/task-api";
2
2
 
3
3
  export default async function Home() {
4
4
  const tasks = await getTasks();