Skip to content

Commit f0240aa

Browse files
chore: complete Phase 1 core setup for plain-git πŸš€
0 parents  commit f0240aa

File tree

13 files changed

+7847
-0
lines changed

13 files changed

+7847
-0
lines changed

β€Ž.eslintrc.jsβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
root: true,
3+
env: { node: true, es2022: true },
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint'],
6+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
7+
rules: {
8+
semi: ['error', 'always'],
9+
quotes: ['error', 'single'],
10+
'@typescript-eslint/no-explicit-any': 'off'
11+
}
12+
};

β€Ž.gitignoreβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
.DS_Store
4+
.env
5+
coverage

β€Ž.prettierrcβ€Ž

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"trailingComma": "all",
5+
"printWidth": 100,
6+
"tabWidth": 2
7+
}

β€ŽREADME.mdβ€Ž

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# 🧰 plain-git
2+
3+
A lightweight, cross-platform Node.js + TypeScript library and CLI that lets developers perform Git actions through plain English or short commands β€” powered by the native `git` CLI.
4+
5+
## πŸš€ Features
6+
- Zero runtime dependencies
7+
- Cross-platform (Windows, macOS, Linux)
8+
- Can be used as CLI or programmatically
9+
- Lightweight and developer-friendly
10+
11+
## πŸ§‘β€πŸ’» Usage
12+
```bash
13+
npx plain-git

β€Žjest.config.jsβ€Ž

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const { createDefaultPreset } = require("ts-jest");
2+
3+
const tsJestTransformCfg = createDefaultPreset().transform;
4+
5+
/** @type {import("jest").Config} **/
6+
module.exports = {
7+
testEnvironment: "node",
8+
transform: {
9+
...tsJestTransformCfg,
10+
},
11+
};

0 commit comments

Comments
Β (0)