MCPcopy Index your code
hub / github.com/Akryum/sheep

github.com/Akryum/sheep @v0.6.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.1 ↗ · + Follow
32 symbols 96 edges 16 files 7 documented · 22% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🐑️ sheep

Opinionated CLI command to update CHANGELOG.md and release packages.

pnpm add -WD @akryum/sheep

Assumed: - Git repository - Monorepo - Uses pnpm - Tags with vX.Y.Z format - All tags are fetched locally - CHANGELOG.md exists (init it with pnpm exec conventional-changelog -p angular -o CHANGELOG.md -r 0)

What it does: - Select new version - Update nested packages versions and workspace dependencies - Update the root package.json version - Update the CHANGELOG.md file with the latest changes - Publish the packages to npm - Push the changes with vX.Y.Z commit message - Create and push a vX.Y.Z git tag

Usage:

{
  "scripts": {
    "release": "pnpm run link && pnpm run build && pnpm run test && sheep release -b main"
  }
}

Recommended compagnon GitHub Action: Akryum/release-tag :ok_hand:

Extension points exported contracts — how you extend this code

RawGitCommit (Interface)
(no doc)
src/release/git-diff.ts
RunOptions (Interface)
(no doc)
src/release/run.ts
VersionChoice (Interface)
(no doc)
src/release/version.ts
ReleaseOptions (Interface)
(no doc)
src/release/types.ts
PackageJson (Interface)
(no doc)
src/release/types.ts

Core symbols most depended-on inside this repo

run
called by 10
src/release/run.ts
isPartialRelease
called by 9
src/release/version.ts
selectPackagesToBump
called by 5
src/release/version.ts
getGitDiff
called by 4
src/release/git-diff.ts
computeVersionChoices
called by 3
src/release/version.ts
release
called by 1
src/index.ts
validateGitState
called by 1
src/index.ts
applyVersionUpdates
called by 1
src/index.ts

Shape

Function 26
Interface 6

Languages

TypeScript100%

Modules by API surface

src/release/packages.ts6 symbols
src/release/version.ts5 symbols
src/index.ts4 symbols
src/release/types.ts3 symbols
src/release/publish.ts3 symbols
src/release/git.ts3 symbols
src/release/run.ts2 symbols
src/release/git-diff.ts2 symbols
src/changelog.ts1 symbols
src/__tests__/version.test.ts1 symbols
src/__tests__/git-diff.test.ts1 symbols
src/__tests__/bin-options.test.ts1 symbols

For agents

$ claude mcp add sheep \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact