Skip to content

Commit acf6e32

Browse files
committed
docs(project): add badges to README and update package metadata
1 parent 665c6f5 commit acf6e32

File tree

2 files changed

+42
-21
lines changed

2 files changed

+42
-21
lines changed

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<!-- doc-gen BADGES -->
66

7-
[![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)
7+
[![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/IonGireada/repo-description/ci.yml?branch=main&style=for-the-badge)](https://github.com/IonGireada/repo-description/actions) [![codecov](https://img.shields.io/codecov/c/github/IonGireada/repo-description?branch=main&style=for-the-badge)](https://codecov.io/gh/IonGireada/repo-description) [![release](https://img.shields.io/github/v/release/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/releases) [![maintained](https://img.shields.io/github/commit-activity/y/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/graphs/commit-activity) [![stars](https://img.shields.io/github/stars/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/stargazers) [![forks](https://img.shields.io/github/forks/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/network/members) [![watchers](https://img.shields.io/github/watchers/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/watchers) [![last commit](https://img.shields.io/github/last-commit/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/commits) [![contributors](https://img.shields.io/github/contributors/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/graphs/contributors) [![issues](https://img.shields.io/github/issues/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/issues) [![pull requests](https://img.shields.io/github/issues-pr/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/pulls) [![repo size](https://img.shields.io/github/repo-size/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description) [![top language](https://img.shields.io/github/languages/top/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description) [![languages](https://img.shields.io/github/languages/count/IonGireada/repo-description?style=for-the-badge)](https://github.com/IonGireada/repo-description/search?l=)
88

99
<!-- end-doc-gen -->
1010

@@ -63,7 +63,12 @@ async function runDescription() {
6363

6464
console.log('Generating Markdown descriptions...');
6565
const markdownDescriptions = await describeRepo(repoPath, markdownOptions);
66-
saveOutput(markdownDescriptions, markdownOptions.output, markdownOptions.format, markdownOptions.summary);
66+
saveOutput(
67+
markdownDescriptions,
68+
markdownOptions.output,
69+
markdownOptions.format,
70+
markdownOptions.summary
71+
);
6772
console.log(`Markdown descriptions saved to ${markdownOptions.output}`);
6873

6974
// Scenario 3: Generate descriptions for a remote GitHub repository
@@ -77,7 +82,9 @@ async function runDescription() {
7782
console.log(`Generating descriptions for ${remoteRepoPath}...`);
7883
const remoteDescriptions = await describeRepo(remoteRepoPath, remoteOptions);
7984
saveOutput(remoteDescriptions, remoteOptions.output, remoteOptions.format);
80-
console.log(`Remote repository descriptions saved to ${remoteOptions.output}`);
85+
console.log(
86+
`Remote repository descriptions saved to ${remoteOptions.output}`
87+
);
8188
}
8289

8390
runDescription();
@@ -150,43 +157,43 @@ Options:
150157

151158
<!-- doc-gen COMMANDS format=list -->
152159

153-
- `describe` — Generates AI-powered descriptions for repository files and outputs them in various formats. (line [77](./package.json#L77))
160+
- `describe` — Generates AI-powered descriptions for repository files and outputs them in various formats. (line [89](./package.json#L89))
154161

155162
```bash
156163
node src/cli.js . descriptions.json && node src/cli.js . descriptions.md --format markdown && node src/cli.js . descriptions-table.md --format markdown --table && node src/cli.js . descriptions-summary.md --format markdown --summary && node src/cli.js . descriptions-table-summary.md --format markdown --table --summary
157164
```
158165

159-
- `docs` — Generates documentation by processing Markdown files with markdown-magic. (line [73](./package.json#L73))
166+
- `docs` — Generates documentation by processing Markdown files with markdown-magic. (line [94](./package.json#L94))
160167

161168
```bash
162169
npx [email protected] **/*.md -c md.config.js
163170
```
164171

165-
- `format` — Formats the codebase using Prettier. (line [71](./package.json#L71))
172+
- `format` — Formats the codebase using Prettier. (line [92](./package.json#L92))
166173

167174
```bash
168175
prettier --write .
169176
```
170177

171-
- `lint` — Lints the codebase for potential errors and style violations. (line [69](./package.json#L69))
178+
- `lint` — Lints the codebase for potential errors and style violations. (line [90](./package.json#L90))
172179

173180
```bash
174181
eslint src/ **/*.js **/*.json
175182
```
176183

177-
- `lint:fix` — Lints the codebase and automatically fixes fixable issues. (line [70](./package.json#L70))
184+
- `lint:fix` — Lints the codebase and automatically fixes fixable issues. (line [91](./package.json#L91))
178185

179186
```bash
180187
eslint --fix src/ **/*.js **/*.json
181188
```
182189

183-
- `prep` — Prepares the codebase by generating documentation, linting, and formatting. (line [72](./package.json#L72))
190+
- `prep` — Prepares the codebase by generating documentation, linting, and formatting. (line [93](./package.json#L93))
184191

185192
```bash
186193
npm run docs && npm run lint:fix && npm run format
187194
```
188195

189-
- `test` — Runs the test suite using Jest. (line [76](./package.json#L76))
196+
- `test` — Runs the test suite using Jest. (line [88](./package.json#L88))
190197

191198
```bash
192199
jest --passWithNoTests

package.json

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,38 @@
11
{
22
"name": "repo-description",
33
"version": "1.0.0",
4-
"description": "**Description:** \nAI‑powered CLI that automatically generates clear, naturallanguage descriptions of every file in a repository.",
4+
"description": "AI-powered CLI that automatically generates clear, natural-language descriptions of every file in a repository.",
55
"keywords": [
66
"cli",
77
"ai",
8-
"filedescription",
8+
"file-description",
99
"repository",
10-
"codeanalysis",
11-
"naturallanguage",
12-
"commandline",
10+
"code-analysis",
11+
"natural-language",
12+
"command-line",
1313
"tool",
1414
"automation",
15-
"openai"
15+
"openai",
16+
"javascript",
17+
"nodejs",
18+
"description-generator",
19+
"code-documentation",
20+
"project-overview",
21+
"developer-tool",
22+
"groq",
23+
"llm",
24+
"generative-ai"
1625
],
26+
"homepage": "https://github.com/IonGireada/repo-description#readme",
27+
"bugs": {
28+
"url": "https://github.com/IonGireada/repo-description/issues"
29+
},
30+
"repository": {
31+
"type": "git",
32+
"url": "git+https://github.com/IonGireada/repo-description.git"
33+
},
1734
"license": "MIT",
18-
"author": "",
35+
"author": "Ion Gireada",
1936
"main": "src/index.js",
2037
"bin": {
2138
"repo-describer": "src/cli.js"
@@ -63,10 +80,7 @@
6380
"prettier-plugin-packagejson": "^2.5.19",
6481
"yaml-eslint-parser": "^1.3.0"
6582
},
66-
"scriptMeta": {
67-
"test": "Runs the test suite using Jest.",
68-
"describe": "Generates AI-powered descriptions for repository files and outputs them in various formats."
69-
},
83+
7084
"scriptsMeta": {
7185
"test": "Runs the test suite using Jest.",
7286
"describe": "Generates AI-powered descriptions for repository files and outputs them in various formats.",

0 commit comments

Comments
 (0)