@zentodo/cli 0.1.1 → 0.1.2

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.
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "zentodo",
3
+ "version": "0.1.0",
4
+ "entry": "SKILL.md",
5
+ "files": [
6
+ "/examples/plan-my-day.md",
7
+ "/examples/sync.md",
8
+ "/references/commands.md",
9
+ "/references/error-codes.md",
10
+ "/references/mapping.md",
11
+ "/references/tools.json",
12
+ "/references/tools.md",
13
+ "/SKILL.md"
14
+ ]
15
+ }
package/package.json CHANGED
@@ -1,21 +1,18 @@
1
1
  {
2
2
  "name": "@zentodo/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "ZenTodo 命令行工具 — 为 AI Agent 和开发者设计,覆盖任务、项目、番茄钟、日记、同步等全部能力。安装后自动配置 Claude Agent Skill。",
5
5
  "type": "module",
6
6
  "bin": {
7
- "zentodo": "./dist/bin.js"
7
+ "zentodo": "./dist/bin.cjs"
8
8
  },
9
- "main": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
9
  "files": [
12
10
  "dist/",
13
11
  "skills/",
14
- "scripts/postinstall.mjs",
15
- "README.md"
12
+ "scripts/postinstall.mjs"
16
13
  ],
17
14
  "scripts": {
18
- "build": "tsc -p tsconfig.json",
15
+ "build": "node build.mjs",
19
16
  "typecheck": "tsc -p tsconfig.json --noEmit",
20
17
  "test": "vitest run",
21
18
  "clean": "rimraf dist *.tsbuildinfo skills/",
@@ -33,12 +30,12 @@
33
30
  "skill",
34
31
  "claude"
35
32
  ],
36
- "dependencies": {
37
- "@zentodo/core": "*",
38
- "commander": "^12.1.0"
39
- },
33
+ "dependencies": {},
40
34
  "devDependencies": {
35
+ "@zentodo/core": "*",
41
36
  "@types/node": "^22.5.0",
37
+ "commander": "^12.1.0",
38
+ "esbuild": "^0.24.0",
42
39
  "rimraf": "^5.0.10",
43
40
  "typescript": "^5.5.4",
44
41
  "vitest": "^2.0.5"
@@ -16,6 +16,7 @@ import { dirname, join } from 'node:path';
16
16
  import { fileURLToPath } from 'node:url';
17
17
 
18
18
  const PKG_DIR = dirname(fileURLToPath(import.meta.url));
19
+ // scripts/postinstall.mjs -> scripts -> cli package root
19
20
  const CLI_ROOT = join(PKG_DIR, '..');
20
21
  const SKILL_SRC = join(CLI_ROOT, 'skills', 'zentodo');
21
22
 
@@ -3,13 +3,13 @@
3
3
  "version": "0.1.0",
4
4
  "entry": "SKILL.md",
5
5
  "files": [
6
- "examples/plan-my-day.md",
7
- "examples/sync.md",
8
- "references/commands.md",
9
- "references/error-codes.md",
10
- "references/mapping.md",
11
- "references/tools.json",
12
- "references/tools.md",
13
- "SKILL.md"
6
+ "/examples/plan-my-day.md",
7
+ "/examples/sync.md",
8
+ "/references/commands.md",
9
+ "/references/error-codes.md",
10
+ "/references/mapping.md",
11
+ "/references/tools.json",
12
+ "/references/tools.md",
13
+ "/SKILL.md"
14
14
  ]
15
15
  }