ccmv 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # ccmv
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/ccmv.svg)](https://www.npmjs.com/package/ccmv)
4
+
3
5
  Claude Code project directory migration tool.
4
6
 
5
7
  ## Problem
package/bin/ccmv.js CHANGED
File without changes
package/lib/index.js CHANGED
@@ -269,8 +269,7 @@ export async function main(args) {
269
269
  cursorWorkspaceInfo = findCursorWorkspaces(cursorDetected, oldPath);
270
270
 
271
271
  // Fail if neither Claude nor Cursor data exists
272
- const hasCursorData = cursorWorkspaceInfo.workspaceDirs.length > 0;
273
- if (!claudeExists && !hasCursorData) {
272
+ if (!claudeExists && !cursorDetected) {
274
273
  logError('No Claude Code or Cursor data found for this project.');
275
274
  logError('Use regular mv command to move the directory.');
276
275
  process.exit(1);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "ccmv",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Claude Code project directory migration tool",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "bin": {
8
- "ccmv": "./bin/ccmv.js"
8
+ "ccmv": "bin/ccmv.js"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "node --test"