Skip to content

chore(deps-dev): bump @gfargo/git-scenarios from 1.1.0 to 1.3.0#1574

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/gfargo/git-scenarios-1.3.0
Open

chore(deps-dev): bump @gfargo/git-scenarios from 1.1.0 to 1.3.0#1574
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/gfargo/git-scenarios-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 11, 2026

Copy link
Copy Markdown
Contributor

Bumps @gfargo/git-scenarios from 1.1.0 to 1.3.0.

Release notes

Sourced from @​gfargo/git-scenarios's releases.

v1.3.0

Mock Factory Layer

New subpath export @gfargo/git-scenarios/mocks — in-memory mock objects matching simple-git's type signatures for fast unit tests. No disk I/O, no git dependency, <1ms per call.

Highlights

  • Functional factories: mockStatusResult(), mockLogResult(), mockBranchSummary(), mockDiffResult()
  • Fluent builders: mockStatus().staged('a.ts').modified('b.ts').build()
  • mockSimpleGit(): Proxy-based full SimpleGit stub (jest.fn / vi.fn agnostic)
  • mockFromScenario(): Derive mocks from scenario contracts without running git
  • Pretty-printers: printMockStatus(), printMockLog() for debugging
  • Bucket mapping: mapXYToBuckets(), bucketsToXY() exposed for advanced use

Install

npm install @gfargo/[email protected]
import { mockStatus, mockSimpleGit } from '@gfargo/git-scenarios/mocks'

Zero runtime dependencies — the ./mocks subpath uses only type imports from simple-git.

Docs

Full guide: https://git-scenarios.griffen.codes/docs/guides/mock-factories

v1.2.0

First release since v1.1.0 — a big batch of agent-built features, all additive and backward-compatible.

Highlights

  • MCP server (@gfargo/git-scenarios/mcp + git-scenarios-mcp bin) — expose the scenario catalogue and on-demand materialization to AI coding agents.
  • doctor command — environment & git-version health check with non-zero exit on hard failures.
  • Shell completionscompletions <bash|zsh|fish> with dynamic scenario-name completion (list --names).
  • GitHub Action — materialize a scenario into any CI workspace.
  • Content-addressed cachegit clone --local from a template .git; near-instant repeat spin-ups, hash-identical to a cold replay.
  • Metadata scenariosinstalled-hooks, commits-with-notes, mixed-tags.
  • Marketing site — in-browser playground, per-scenario permalink pages, and a decision guide / comparison.

Quality & tooling

  • exports rewritten to nested import/require conditions (fixes CJS type resolution) — verified by attw + publint in CI.
  • API-surface drift gate (api-extractor baselines) flags undocumented public-API changes.
  • Mutation testing (Stryker) on the core, as an informational CI job.

Merged PRs

... (truncated)

Changelog

Sourced from @​gfargo/git-scenarios's changelog.

[1.3.0] — 2026-07-12

Added

  • Mock factory layer (@gfargo/git-scenarios/mocks) — a new subpath export providing in-memory mock objects matching simple-git's type signatures (StatusResult, LogResult, BranchSummary, DiffResult). Zero runtime dependencies, <1ms per call, no disk I/O or git required.
  • Functional factoriesmockStatusResult(), mockLogResult(), mockBranchSummary(), mockDiffResult() with sensible defaults and partial overrides.
  • Fluent buildersmockStatus().staged('a.ts').modified('b.ts').build() chainable API for incremental mock construction with automatic multi-bucket path merging.
  • mockSimpleGit() — Proxy-based full SimpleGit interface stub. Framework-agnostic via a createMockFn parameter (pass jest.fn or vi.fn).
  • mockFromScenario(name) — derive mock objects from any registered scenario's contracts without spinning up a real repo.
  • Pretty-printersprintMockStatus() and printMockLog() format mocks as human-readable porcelain output for debugging test failures.
  • Bucket mapping utilitiesmapXYToBuckets() and bucketsToXY() exposed for advanced consumers building custom parsers.
  • Mock factories documentation — comprehensive guide page at /docs/guides/mock-factories covering all APIs, decision guide (real repos vs mocks), and XY code reference table.
  • Property tests for mock factory invariants (round-trip, builder equivalence, isClean(), total === all.length, all === keys(branches)).
  • Integration validation tests confirming mock counts match real repo output for partial-stage and mid-merge-conflict scenarios.

[1.2.0] — 2026-06-28

Added

  • MCP server (@gfargo/git-scenarios/mcp, plus a git-scenarios-mcp bin) — a Model Context Protocol server that exposes the scenario catalogue and materialization to AI coding agents: list_scenarios, describe_scenario, inspect_scenario, materialize_scenario, capture_repo, cleanup_scenario.
  • doctor commandgit-scenarios doctor [--json] environment health check: git version (≥ 2.25.0), temp-dir writability, leftover scenario dirs, and optional git-lfs. Non-zero exit on hard failures.
  • Shell completionsgit-scenarios completions <bash|zsh|fish> with dynamic scenario-name completion backed by a new list --names flag.
  • GitHub Action — a composite action that materializes a named scenario into the workspace for downstream CI (inputs: scenario, path, optional remote).
  • Content-addressed scenario cache — materialize each scenario once into a template .git, then serve later spin-ups via git clone --local (hardlinked objects, near-instant). Hash-identical to a cold replay; removes the large-repo replay-timeout class of problems. Worktree/submodule scenarios fall back to cold replay automatically.

... (truncated)

Commits
  • 81047f0 Merge pull request #92 from gfargo/feat/mock-factory-layer
  • 6013def fix: resolve eslint no-explicit-any errors in mock layer
  • 0937253 feat: add mock factory layer (@​gfargo/git-scenarios/mocks)
  • 9e0a9c3 feat(vscode): prepare extension for Marketplace publishing
  • 4d47576 chore(www): regenerate scenarios.json
  • 7ea69e4 chore(vscode): remove redundant activationEvents
  • 942aad2 feat(vscode): VS Code extension — create scenario from command palette (#91)
  • c0d012c fix(vscode): add simple-git as runtime dependency
  • b119628 docs: update website and README for v1.2.0 features
  • 87e7fb2 fix(vscode): address review feedback — safety, async rm, error handling
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@gfargo/git-scenarios](https://github.com/gfargo/git-scenarios) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/gfargo/git-scenarios/releases)
- [Changelog](https://github.com/gfargo/git-scenarios/blob/main/CHANGELOG.md)
- [Commits](gfargo/git-scenarios@v1.1.0...v1.3.0)

---
updated-dependencies:
- dependency-name: "@gfargo/git-scenarios"
  dependency-version: 1.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants