Skip to content

Fix CI: remove stray package-lock.json, reformat setup.ts - #208

Merged
ericciarla merged 1 commit into
mainfrom
fix-ci-lockfile-format
Aug 21, 2026
Merged

Fix CI: remove stray package-lock.json, reformat setup.ts#208
ericciarla merged 1 commit into
mainfrom
fix-ci-lockfile-format

Conversation

@ericciarla

@ericciarla ericciarla commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Fixes both failures from the 1.23.0 release push (npm publish itself succeeded — 1.23.0 is live).

Release Binaries failure: #206 accidentally committed a package-lock.json (an npm-install artifact; the repo is pnpm-managed). bun prefers package-lock.json over pnpm-lock.yaml when both exist, and migrating the stale npm lockfile fails under --frozen-lockfile. The passing 1.22.0 run migrated from pnpm-lock.yaml; the failing 1.23.0 run from package-lock.json — same bun 1.4.0. Removed and gitignored.

Test failure: setup.ts had been formatted by prettier 3.9.6 (from that same npm node_modules) while CI pins 3.7.4 via pnpm-lock.yaml. Reformatted with the pinned 3.7.4; format:check now passes on the whole tree.

Verified locally: bun install --frozen-lockfile completes, prettier --check clean, 431/431 tests pass.

After merging: Release Binaries won't auto-trigger (its path filter watches package.json) — dispatch it once to build the 1.23.0 binaries:
gh workflow run release-binaries.yml --repo firecrawl/cli

🤖 Generated with Claude Code


Summary by cubic

Fixes CI by removing an accidental package-lock.json, adding it to .gitignore, and reformatting src/commands/setup.ts with the pinned prettier@3.7.4. bun previously preferred package-lock.json over pnpm-lock.yaml and failed --frozen-lockfile migration; now it migrates from pnpm-lock.yaml and format:check passes.

  • Release Binaries will not auto-trigger for this change. Run: gh workflow run release-binaries.yml --repo firecrawl/cli to build the 1.23.0 binaries.

Written for commit e95ab8e. Summary will update on new commits.

Review in cubic

… prettier

package-lock.json was accidentally committed in #206 (an npm install
artifact — this repo is pnpm-managed). bun prefers it over pnpm-lock.yaml
in release-binaries, and its migration fails under --frozen-lockfile.
Remove it and gitignore it.

setup.ts was formatted by prettier 3.9.6 from that same npm node_modules;
CI pins 3.7.4 via pnpm-lock.yaml. Reformatted with 3.7.4.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ericciarla
ericciarla merged commit 3538f0d into main Aug 21, 2026
8 checks passed
@ericciarla
ericciarla deleted the fix-ci-lockfile-format branch August 21, 2026 14:56
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