Skip to content

Commit c714da9

Browse files
committed
docs(filetree): enhance project structure descriptions
1 parent aec8417 commit c714da9

File tree

2 files changed

+37
-31
lines changed

2 files changed

+37
-31
lines changed

README.md

Lines changed: 19 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
> An AI-powered CLI tool that automatically generates clear, natural-language descriptions for every file within a given repository. `repo-description` helps developers quickly understand unfamiliar codebases, onboard new team members, and maintain comprehensive documentation effortlessly. By leveraging advanced AI, it transforms raw code into insightful summaries, making project navigation and collaboration significantly smoother.
44
55
<!-- doc-gen BADGES -->
6-
76
[![npm version](https://img.shields.io/npm/v/repo-description.svg?style=for-the-badge)](https://www.npmjs.com/package/repo-description) [![npm downloads](https://img.shields.io/npm/dw/repo-description.svg?style=for-the-badge)](https://www.npmjs.com/package/repo-description) [![license](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](https://www.npmjs.com/package/repo-description) [![actions status](https://img.shields.io/github/actions/workflow/status/ioncakephper/repo-description/ci.yml?branch=main&style=for-the-badge)](https://github.com/ioncakephper/repo-description/actions) [![codecov](https://img.shields.io/codecov/c/github/ioncakephper/repo-description?branch=main&style=for-the-badge)](https://codecov.io/gh/ioncakephper/repo-description) [![release](https://img.shields.io/github/v/release/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/releases) [![maintained](https://img.shields.io/github/commit-activity/y/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/graphs/commit-activity) [![stars](https://img.shields.io/github/stars/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/stargazers) [![forks](https://img.shields.io/github/forks/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/network/members) [![watchers](https://img.shields.io/github/watchers/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/watchers) [![last commit](https://img.shields.io/github/last-commit/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/commits) [![contributors](https://img.shields.io/github/contributors/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/graphs/contributors) [![issues](https://img.shields.io/github/issues/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/issues) [![pull requests](https://img.shields.io/github/issues-pr/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/pulls) [![repo size](https://img.shields.io/github/repo-size/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description) [![top language](https://img.shields.io/github/languages/top/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description) [![languages](https://img.shields.io/github/languages/count/ioncakephper/repo-description?style=for-the-badge)](https://github.com/ioncakephper/repo-description/search?l=)
8-
97
<!-- end-doc-gen -->
108

119
## Features
@@ -24,15 +22,13 @@
2422
### Installation
2523

2624
<!-- doc-gen INSTALL global=true -->
27-
2825
```bash
2926
npm install -g repo-description
3027
```
3128

3229
```bash
3330
yarn add -g repo-description
3431
```
35-
3632
<!-- end-doc-gen -->
3733

3834
### Usage
@@ -178,7 +174,6 @@ Options:
178174
## Helpful Scripts
179175
180176
<!-- doc-gen COMMANDS format=list -->
181-
182177
- `describe` — Update repository descriptions in md.config.js transformDefaults for fileTreeExtended. (line [92](./package.json#L92))
183178
184179
```bash
@@ -226,7 +221,6 @@ Options:
226221
```bash
227222
jest --passWithNoTests
228223
```
229-
230224
<!-- end-doc-gen -->
231225

232226
## Contributing
@@ -240,7 +234,6 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
240234
## Acknowledgments
241235

242236
<!-- doc-gen ACKNOWLEDGEMENTS -->
243-
244237
- [@babel/preset-env](https://www.npmjs.com/package/%40babel%2Fpreset-env) — A Babel preset for each environment.
245238
- [@eslint/js](https://www.npmjs.com/package/%40eslint%2Fjs) — ESLint JavaScript language implementation
246239
- [babel-jest](https://www.npmjs.com/package/babel-jest) — Jest plugin to use babel for transformation.
@@ -267,34 +260,32 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
267260
## Project Structure
268261

269262
<!-- doc-gen fileTreeExtended showSize=true showDescriptions=true descriptionsFile=_descriptions.json -->
270-
271263
```
272264
repo-description/
273265
├── __tests__
274-
│ ├── .gitkeep (66 B)
275-
│ └── cli.test.js (792 B)
266+
│ ├── .gitkeep (66 B) # preserve empty test directory structure in version control.
267+
│ └── cli.test.js (807 B) # test CLI functionality to ensure correct behavior.
276268
├── .qodo
277269
│ ├── agents
278270
│ └── workflows
279271
├── src
280-
│ ├── cli.js (2.7 KB) # Handles command-line interface parsing and execution.
281-
│ ├── describe.js (8.3 KB)
282-
│ ├── index.js (308 B)
283-
│ └── utils.js (0 B)
284-
├── _descriptions.json (221 B)
272+
│ ├── cli.js (2.7 KB) # implement command-line interface logic for running the tool.
273+
│ ├── describe.js (8.3 KB) # handle repository file analysis and description generation.
274+
│ ├── index.js (308 B) # export main module entry point for external usage.
275+
│ └── utils.js (0 B) # provide utility functions to support core operations.
276+
├── _descriptions.json (1.5 KB)
285277
├── .env (69 B)
286-
├── .gitignore (2.1 KB)
287-
├── .prettierrc.json (563 B)
288-
├── babel.config.js (92 B)
289-
├── CHANGELOG.md (2.3 KB)
290-
├── CONTRIBUTING.md (2.9 KB)
291-
├── eslint.config.js (1.1 KB)
292-
├── LICENSE (1.0 KB)
293-
├── md.config.js (438 B)
294-
├── package-lock.json (297.6 KB)
295-
├── package.json (3.1 KB) # Defines project metadata, scripts, and dependencies.
296-
├── README.md (16.6 KB) # Provides an overview of the repository and its usage.
297-
└── RULES_OF_CONDUCT.md (4.9 KB)
278+
├── .gitignore (2.1 KB) # define files and directories to be ignored by Git version control.
279+
├── .prettierrc.json (563 B) # configure Prettier code formatting rules for consistent style.
280+
├── babel.config.js (92 B) # set up Babel configuration for JavaScript transpilation.
281+
├── CHANGELOG.md (2.6 KB)
282+
├── CONTRIBUTING.md (2.9 KB) # outline contribution guidelines for developers working on the project.
283+
├── eslint.config.js (1.1 KB) # configure ESLint rules for linting JavaScript and JSON files.
284+
├── LICENSE (1.0 KB) # declare project licensing terms under the MIT License.
285+
├── md.config.js (438 B) # configure markdown-magic settings for automated documentation updates.
286+
├── package-lock.json (297.6 KB) # lock exact versions of installed npm dependencies.
287+
├── package.json (3.1 KB) # define project metadata, dependencies, and npm scripts.
288+
├── README.md (17.4 KB) # introduce the project, its purpose, features, and usage instructions.
289+
└── RULES_OF_CONDUCT.md (4.9 KB) # establish community standards and expected behavior for contributors.
298290
```
299-
300291
<!-- end-doc-gen -->

_descriptions.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
2-
"README.md": "Provides an overview of the repository and its usage.",
3-
"src/cli.js": "Handles command-line interface parsing and execution.",
4-
"package.json": "Defines project metadata, scripts, and dependencies."
2+
".gitignore": "define files and directories to be ignored by Git version control.",
3+
".prettierrc.json": "configure Prettier code formatting rules for consistent style.",
4+
"babel.config.js": "set up Babel configuration for JavaScript transpilation.",
5+
"CONTRIBUTING.md": "outline contribution guidelines for developers working on the project.",
6+
"eslint.config.js": "configure ESLint rules for linting JavaScript and JSON files.",
7+
"LICENSE": "declare project licensing terms under the MIT License.",
8+
"md.config.js": "configure markdown-magic settings for automated documentation updates.",
9+
"package-lock.json": "lock exact versions of installed npm dependencies.",
10+
"package.json": "define project metadata, dependencies, and npm scripts.",
11+
"README.md": "introduce the project, its purpose, features, and usage instructions.",
12+
"RULES_OF_CONDUCT.md": "establish community standards and expected behavior for contributors.",
13+
"__tests__/cli.test.js": "test CLI functionality to ensure correct behavior.",
14+
"__tests__/.gitkeep": "preserve empty test directory structure in version control.",
15+
"src/cli.js": "implement command-line interface logic for running the tool.",
16+
"src/describe.js": "handle repository file analysis and description generation.",
17+
"src/index.js": "export main module entry point for external usage.",
18+
"src/refactor-package.js": "refactor package.json structure for consistency and readability.",
19+
"src/utils.js": "provide utility functions to support core operations."
520
}

0 commit comments

Comments
 (0)