just-git 0.1.6 → 0.1.7
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.
- package/README.md +3 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +370 -329
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/blindmansion/just-git/actions/workflows/ci.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/just-git)
|
|
5
5
|
|
|
6
|
-
Git implementation for virtual bash environments (particularly [just-bash](https://github.com/vercel-labs/just-bash)). Pure TypeScript, zero dependencies. Works in Node, Bun, Deno, and the browser. ~
|
|
6
|
+
Git implementation for virtual bash environments (particularly [just-bash](https://github.com/vercel-labs/just-bash)). Pure TypeScript, zero dependencies. Works in Node, Bun, Deno, and the browser. ~100 kB gzipped.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
@@ -179,7 +179,7 @@ Fire-and-forget events emitted on every object/ref write. Handler errors are cau
|
|
|
179
179
|
|
|
180
180
|
## Command coverage
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
34 commands implemented. See [CLI.md](CLI.md) for full usage details.
|
|
183
183
|
|
|
184
184
|
| Command | Flags / options |
|
|
185
185
|
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
@@ -210,6 +210,7 @@ Fire-and-forget events emitted on every object/ref write. Handler errors are cau
|
|
|
210
210
|
| `fetch [<remote>] [<refspec>...]` | `--all`, `--tags`, `--prune`/`-p` |
|
|
211
211
|
| `push [<remote>] [<refspec>...]` | `--force`/`-f`, `-u`/`--set-upstream`, `--all`, `--tags`, `--delete`/`-d` |
|
|
212
212
|
| `pull [<remote>] [<branch>]` | `--ff-only`, `--no-ff`, `--rebase`/`-r`, `--no-rebase` |
|
|
213
|
+
| `bisect` | `start`, `bad`/`good`/`new`/`old`, `skip`, `reset`, `log`, `replay`, `run`, `terms`, `visualize`/`view`, `--term-new`/`--term-old`, `--no-checkout`, `--first-parent` |
|
|
213
214
|
| `clean` | `-f`, `-n`/`--dry-run`, `-d`, `-x`, `-X`, `-e`/`--exclude` |
|
|
214
215
|
| `reflog` | `show [<ref>]`, `exists`, `-n`/`--max-count` |
|
|
215
216
|
| `gc` | `--aggressive` |
|
package/dist/index.d.ts
CHANGED
|
@@ -359,7 +359,7 @@ interface CommandContext {
|
|
|
359
359
|
exec?: (command: string, options: CommandExecOptions) => Promise<ExecResult>;
|
|
360
360
|
signal?: AbortSignal;
|
|
361
361
|
}
|
|
362
|
-
type GitCommandName = "init" | "clone" | "fetch" | "pull" | "push" | "add" | "blame" | "commit" | "status" | "log" | "branch" | "tag" | "checkout" | "diff" | "reset" | "merge" | "cherry-pick" | "revert" | "rebase" | "mv" | "rm" | "remote" | "config" | "show" | "stash" | "rev-parse" | "ls-files" | "clean" | "switch" | "restore" | "reflog" | "repack" | "gc";
|
|
362
|
+
type GitCommandName = "init" | "clone" | "fetch" | "pull" | "push" | "add" | "blame" | "commit" | "status" | "log" | "branch" | "tag" | "checkout" | "diff" | "reset" | "merge" | "cherry-pick" | "revert" | "rebase" | "mv" | "rm" | "remote" | "config" | "show" | "stash" | "rev-parse" | "ls-files" | "clean" | "switch" | "restore" | "reflog" | "repack" | "gc" | "bisect";
|
|
363
363
|
interface GitOptions {
|
|
364
364
|
credentials?: CredentialProvider;
|
|
365
365
|
identity?: IdentityOverride;
|