Skip to content

chore(website): use the workspace core and server packages - #83

Merged
anurag629 merged 1 commit into
devfrom
chore/website-workspace-deps
Oct 1, 2026
Merged

anurag629 merged 1 commit into
devfrom
chore/website-workspace-deps

Conversation

@anurag629

Copy link
Copy Markdown
Member

The website installed @chatcops/core and @chatcops/server 0.2.0 from npm. In the 0.3.0 release, changesets moved those ranges to ^0.3.0 without updating the lockfile, so pnpm install --frozen-lockfile would have failed in the same run that publishes 0.3.0. I worked around it by hand in #79.

This switches both to workspace:^, like the widget already is:

  • releases no longer touch the website's ranges, so this can't happen again
  • the live demo's /api/chat runs the server code from this repo (0.3.0 now) instead of 0.2.0, so retry and regenerate in the demo widget work end to end

Workers Builds already runs pnpm -r build from the root, which builds core and server before the website. No other changes.

The website installed @chatcops/core and @chatcops/server 0.2.0 from npm.
When a release moved them out of that range, changesets rewrote the
ranges and pnpm install --frozen-lockfile failed in the release run.
Use workspace:^ like the widget already does, so the site always runs
the code in this repo and releases don't touch its ranges.
@anurag629
anurag629 merged commit 72c1b7b into dev Oct 1, 2026
1 check passed
@anurag629
anurag629 deleted the chore/website-workspace-deps branch October 1, 2026 12:32
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