Skip to content

chore: gitignore pnpm-lock.yaml - #31

Merged
contextablemark merged 1 commit into
mainfrom
chore/gitignore-pnpm-lock
Apr 26, 2026
Merged

chore: gitignore pnpm-lock.yaml#31
contextablemark merged 1 commit into
mainfrom
chore/gitignore-pnpm-lock

Conversation

@contextablemark

Copy link
Copy Markdown
Owner

Summary

Adds pnpm-lock.yaml to .gitignore.

Why

clawg-ui is a published library, not an application:

  • Consumers don't see the lockfile — they install from package.json ranges and resolve themselves, so a tracked lockfile doesn't change what end users get.
  • openclaw: "file:../openclaw" is non-portable — pnpm encodes path-relative resolution under that key, which won't match other contributors' workspace layouts.
  • No CI enforces --frozen-lockfile — without that, a tracked lockfile drifts silently and provides no guarantee anyway.
  • @ag-ui/* is in the 0.0.x range and moving — Renovate/Dependabot churn against a tracked lockfile would dominate PR noise.

This rule prevents a stray pnpm install from bundling a 7000+ line lockfile into a future PR (which is what happened in the original PR #26 and was fixed during rebase).

Follow-up

If/when CI is added that would benefit from a frozen install, revisit and remove this line.

🤖 Generated with Claude Code

clawg-ui is a published library, not an application — consumers don't
use the lockfile, and the `openclaw: "file:../openclaw"` devDep makes
its `file:` entries non-portable across contributor checkouts. Without
CI to enforce `--frozen-lockfile`, tracking it is more churn than
benefit.

Ignoring it prevents a stray `pnpm install` from accidentally bundling
a 7000+ line lockfile into a future PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@contextablemark
contextablemark merged commit 0ef2678 into main Apr 26, 2026
@contextablemark
contextablemark deleted the chore/gitignore-pnpm-lock branch April 26, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant