From 53d90e4e32b88c57055093e7d73b00f93b805e64 Mon Sep 17 00:00:00 2001 From: snehasishcodes Date: Sat, 17 Oct 2026 19:04:05 +0530 Subject: [PATCH] fix(crosscode): sync lockfile and normalize publish metadata - Update pnpm-lock.yaml so @crosscode/shared is recorded as a devDependency, matching package.json. Without this, the Version workflow fails with ERR_PNPM_OUTDATED_LOCKFILE and never opens a release PR. - Use "dist/cli.js" for bin and "git+https://..." for repository.url so npm publish no longer emits auto-correction warnings. --- packages/crosscode/package.json | 4 ++-- pnpm-lock.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/crosscode/package.json b/packages/crosscode/package.json index d0a1d2b..00fd38d 100644 --- a/packages/crosscode/package.json +++ b/packages/crosscode/package.json @@ -3,10 +3,10 @@ "type": "module", "repository": { "type": "git", - "url": "https://github.com/snhsish/crosscode" + "url": "git+https://github.com/snhsish/crosscode.git" }, "bin": { - "crosscode": "./dist/cli.js" + "crosscode": "dist/cli.js" }, "version": "0.6.9", "description": "An OpenCode Remote Client CLI", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ad41c7e..9a84a3b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -340,9 +340,6 @@ importers: packages/crosscode: dependencies: - '@crosscode/shared': - specifier: workspace:^ - version: link:../shared '@sentry/node': specifier: ^10 version: 10.75.0(@opentelemetry/core@2.11.0(@opentelemetry/api@1.9.1)) @@ -362,6 +359,9 @@ importers: specifier: ^8.18.0 version: 8.21.0 devDependencies: + '@crosscode/shared': + specifier: workspace:^ + version: link:../shared '@types/cross-spawn': specifier: ^6.0.6 version: 6.0.6