From 354e9c48a3fa4a0d4c31139dee2ff32057ee972a Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Tue, 27 Jan 2026 23:53:00 +0900 Subject: [PATCH] fix: resolve lint errors for v0.2.0 release - Remove unused 'error' import in addTask.ts - Remove unused createLogger import in watchTasks.ts - Remove unused isTaskFile import in runner.ts --- package-lock.json | 4 ++-- src/commands/addTask.ts | 2 +- src/commands/watchTasks.ts | 3 --- src/task/runner.ts | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index d5c2f2b..85b32db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "takt", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "takt", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.2.19", diff --git a/src/commands/addTask.ts b/src/commands/addTask.ts index c411a17..e9e70cc 100644 --- a/src/commands/addTask.ts +++ b/src/commands/addTask.ts @@ -9,7 +9,7 @@ import * as fs from 'node:fs'; import * as path from 'node:path'; import { stringify as stringifyYaml } from 'yaml'; import { promptInput, confirm } from '../prompt/index.js'; -import { success, info, error } from '../utils/ui.js'; +import { success, info } from '../utils/ui.js'; import { slugify } from '../utils/slug.js'; import { createLogger } from '../utils/debug.js'; import type { TaskFileData } from '../task/schema.js'; diff --git a/src/commands/watchTasks.ts b/src/commands/watchTasks.ts index f0c7069..91412b7 100644 --- a/src/commands/watchTasks.ts +++ b/src/commands/watchTasks.ts @@ -15,13 +15,10 @@ import { success, status, } from '../utils/ui.js'; -import { createLogger } from '../utils/debug.js'; import { getErrorMessage } from '../utils/error.js'; import { executeTask, resolveTaskExecution } from './taskExecution.js'; import { DEFAULT_WORKFLOW_NAME } from '../constants.js'; -const log = createLogger('watch'); - /** * Watch for tasks and execute them as they appear. * Runs until Ctrl+C. diff --git a/src/task/runner.ts b/src/task/runner.ts index 1d69c23..9b0670c 100644 --- a/src/task/runner.ts +++ b/src/task/runner.ts @@ -15,7 +15,7 @@ import * as fs from 'node:fs'; import * as path from 'node:path'; -import { parseTaskFiles, parseTaskFile, isTaskFile, type ParsedTask } from './parser.js'; +import { parseTaskFiles, parseTaskFile, type ParsedTask } from './parser.js'; import type { TaskFileData } from './schema.js'; /** タスク情報 */