analyze-codebase 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/package.json +3 -2
  2. package/readme.md +13 -0
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "https://github.com/mtahagocer/analyze-codebase"
7
7
  },
8
- "version": "1.1.0",
8
+ "version": "1.1.1",
9
9
  "main": "dist/index.js",
10
10
  "license": "MIT",
11
11
  "bin": {
@@ -14,7 +14,8 @@
14
14
  "scripts": {
15
15
  "cli": "ts-node ./src/index.ts",
16
16
  "start": "node ./dist/index.js",
17
- "compile": "npx rimraf dist && npx tsc"
17
+ "compile": "npx rimraf dist && npx tsc",
18
+ "publish": "npm run compile && npm publish"
18
19
  },
19
20
  "devDependencies": {
20
21
  "@types/node": "^20.1.5",
package/readme.md CHANGED
@@ -46,6 +46,8 @@ analyze-codebase ./MyProject --exclude node_modules dist --extensions .tsx .ts
46
46
 
47
47
  - --checkFileContent [checkFileContent]: Check file content. Default: true.
48
48
 
49
+ - -w or --writeJsonOutput [writeJsonOutput]: Write json putput for tracking. Default false
50
+
49
51
  ## Examples
50
52
 
51
53
  Analyze a directory with default options:
@@ -78,6 +80,17 @@ Analyze only file content
78
80
  analyze-codebase ./src --exclude node_modules dist --checkFileNames=false
79
81
  ```
80
82
 
83
+ Write json output of this analyze
84
+
85
+ ```bash
86
+ analyze-codebase -w
87
+ ```
88
+ or
89
+
90
+ ```bash
91
+ analyze-codebase --writeJsonOutput
92
+ ```
93
+
81
94
  ## Contribution
82
95
 
83
96
  We welcome contributions to enhance the functionality and features of Codebase Analyzer. To contribute to the project, please follow these steps: