caselyjs 1.0.4 → 1.0.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
@@ -6,7 +6,7 @@
6
6
  <h1>Caselyjs - CLI</h1>
7
7
  </div>
8
8
 
9
- Tired of Codebases with Mismatched File Casing?šŸ› ļø Meet `CaselyJS (v1.0.1)`
9
+ Tired of Codebases with Mismatched File Casing?šŸ› ļø Meet `caselyjs`
10
10
 
11
11
  <div>
12
12
  <b>caselyjs</> is a high-performance TypeScript-powered CLI and programmatic utility designed to <b>rename files and directories</b> across your entire codebase using consistent naming conventions.</b>
@@ -15,7 +15,7 @@ Tired of Codebases with Mismatched File Casing?šŸ› ļø Meet `CaselyJS (v1.0.1)`
15
15
  > <i>Say goodbye to manually renaming 100+ files in your project!</i>
16
16
  </div>
17
17
 
18
- ## ✨ New in v1.0
18
+ ## ✨ New in `v1` and above
19
19
 
20
20
  - **Native TypeScript Support**: Full type definitions included.
21
21
  - **Powerful CLI**: Run transformations directly from your terminal.
@@ -39,6 +39,7 @@ npx caselyjs ./my-project --dry
39
39
  ```
40
40
 
41
41
  > [!IMPORTANT]
42
+ >
42
43
  > ```bash
43
44
  > # safe command before executing
44
45
  > npx caselyjs --dry
@@ -97,6 +98,7 @@ await casely.execute();
97
98
  - **Chalk** - Beautifully colored terminal output.
98
99
 
99
100
  ### 🌐 Links
101
+
100
102
  - [dev.to](https://dev.to/thatonevikash/tired-of-codebases-with-mismatched-file-casing-meet-caselyjs-v101-479n)
101
103
 
102
104
  ### šŸ‘Øā€šŸ’» Author
package/dist/bin.js CHANGED
@@ -26,6 +26,7 @@ program
26
26
  operate: options.full ? "full" : "partial",
27
27
  dryRun: options.dry,
28
28
  });
29
+ console.log(`\n[CONFIG] { path: '${path}', case: '${options.case}', operate: '${options.full ? "full" : "partial"}' }\n`);
29
30
  await index_1.casely.execute();
30
31
  console.log(chalk_1.default.green.bold("\n✨ Casing transformation complete!"));
31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C,OAAO,EAAE,CAAC;IACvB,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,KAAK,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC,CAAC;AACvE,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "caselyjs",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "author": "thatonevikash",
5
- "description": "Rename codebase files and directories with ease",
5
+ "description": "Powerful CLI to bulk rename files and directories across your codebase with kebab, camel, or Pascal case. Fast, simple, and easy to use.",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/thatonevikash/caselyjs.git"
9
9
  },
10
10
  "keywords": [
11
+ "codebase renamer",
11
12
  "naming convention tool",
12
13
  "file / folder renamer",
13
14
  "case changer",
@@ -39,8 +40,8 @@
39
40
  "prepublishOnly": "npm run build"
40
41
  },
41
42
  "dependencies": {
42
- "chalk": "^5.3.0",
43
- "commander": "^11.0.0"
43
+ "chalk": "^6.0.0",
44
+ "commander": "^15.0.0"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@types/node": "^20.19.39",