From 894baddd62b7e798f4580dda36e3cef547861e74 Mon Sep 17 00:00:00 2001 From: hiroki osame Date: Wed, 15 Feb 2023 01:50:22 -0500 Subject: [PATCH] chore: create `src`, `dist`, `.github `directories (#36) --- screenshot.png => .github/screenshot.png | Bin .gitignore | 2 +- README.md | 2 +- package.json | 4 ++-- aicommits.ts => src/aicommits.ts | 0 index.ts => src/index.ts | 0 tsconfig.json | 3 ++- 7 files changed, 6 insertions(+), 5 deletions(-) rename screenshot.png => .github/screenshot.png (100%) rename aicommits.ts => src/aicommits.ts (100%) rename index.ts => src/index.ts (100%) diff --git a/screenshot.png b/.github/screenshot.png similarity index 100% rename from screenshot.png rename to .github/screenshot.png diff --git a/.gitignore b/.gitignore index b76be59..c619c0b 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,7 @@ lerna-debug.log* .vscode # Distribution -bin +dist # Eslint cache .eslintcache diff --git a/README.md b/README.md index 0fa8d38..9feb3c3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
- AI Commits + AI Commits

AI Commits

A CLI that writes your git commit messages for you with AI. Never write a commit message again.

diff --git a/package.json b/package.json index 05124d6..3a8c94e 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "1.0.5", "description": "Writes your git commit messages for you with AI", "files": [ - "bin" + "dist" ], - "bin": "bin/index.js", + "bin": "dist/index.js", "repository": "https://github.com/Nutlope/aicommits", "author": "Hassan El Mghari (@nutlope)", "license": "MIT", diff --git a/aicommits.ts b/src/aicommits.ts similarity index 100% rename from aicommits.ts rename to src/aicommits.ts diff --git a/index.ts b/src/index.ts similarity index 100% rename from index.ts rename to src/index.ts diff --git a/tsconfig.json b/tsconfig.json index 510440a..5061864 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,10 @@ "compilerOptions": { "target": "es2016", "module": "commonjs", - "outDir": "./bin", + "outDir": "./dist", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "skipLibCheck": true /* Skip type checking all .d.ts files. */ }, + "include": ["src"] }