difit 0.0.2 → 0.0.3

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
@@ -98,7 +98,7 @@ ReviewIt includes an inline commenting system that integrates with Claude Code:
98
98
  + onClick();
99
99
  + };
100
100
  ----
101
- コメント: 「この関数名はもっと具体的にした方がいいかも」
101
+ Comment: "This function name should probably be more specific"
102
102
  ```
103
103
 
104
104
  ## 🏗️ Architecture
@@ -34,7 +34,7 @@ export class CommentStore {
34
34
  '----',
35
35
  context,
36
36
  '----',
37
- `コメント: 「${comment.body}」`,
37
+ `Comment: "${comment.body}"`,
38
38
  ].join('\n');
39
39
  }
40
40
  async saveToFile() {
@@ -70,10 +70,10 @@ export async function startServer(options) {
70
70
  res.status(500).json({ error: 'Failed to generate prompt' });
71
71
  }
72
72
  });
73
- // CLIツールとして配布される場合は常にproductionモードで動作する
73
+ // Always runs in production mode when distributed as a CLI tool
74
74
  const isProduction = process.env.NODE_ENV === 'production' || process.env.NODE_ENV !== 'development';
75
75
  if (isProduction) {
76
- // CLI実行ファイルの場所から相対的にクライアントファイルを探す
76
+ // Find client files relative to the CLI executable location
77
77
  const distPath = join(__dirname, '..', 'client');
78
78
  app.use(express.static(distPath));
79
79
  app.get('*', (_req, res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "difit",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view",
5
5
  "type": "module",
6
6
  "engines": {
@@ -19,7 +19,7 @@
19
19
  "url": "https://github.com/yoshiko-pg/difit/issues"
20
20
  },
21
21
  "scripts": {
22
- "dev": "concurrently \"pnpm run dev:cli HEAD --no-open\" \"sleep 3 && vite --open\"",
22
+ "dev": "concurrently \"pnpm run dev:cli HEAD --no-open\" \"sleep 1 && vite --open\"",
23
23
  "dev:cli": "tsc --project tsconfig.cli.json && NODE_ENV=development node dist/cli/index.js",
24
24
  "build": "tsc && vite build",
25
25
  "build:cli": "tsc --project tsconfig.cli.json",