Skip to content

chore: switch to published @percy/maestro-web@0.1.0-alpha.0#2

Draft
AkashBrowserStack wants to merge 1 commit into
mainfrom
chore/use-published-sdk
Draft

chore: switch to published @percy/maestro-web@0.1.0-alpha.0#2
AkashBrowserStack wants to merge 1 commit into
mainfrom
chore/use-published-sdk

Conversation

@AkashBrowserStack

@AkashBrowserStack AkashBrowserStack commented Apr 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Replaces the local `file:../percy-maestro-web` dev-dependency with the alpha version that will be published to npm: `@percy/maestro-web@0.1.0-alpha.0`.

Pinned exactly (no caret) because caret semantics on pre-release versions don't behave as expected — `^0.1.0-alpha.0` only matches `0.1.0-alpha.X`, never advances to `0.1.0`. Better to bump explicitly per alpha.

Marked as draft — depends on the SDK actually being published. Sequence:

  1. `percy/percy-maestro-web#1` merges (adds release workflow)
  2. `v0.1.0-alpha.0` GitHub Release is cut on `percy-maestro-web` → publishes to npm
  3. Run `yarn install` here to regenerate `yarn.lock` with the registry-resolved entry, commit, and mark this PR ready

Why

Tracked under PER-7788. The example currently consumes the SDK via a relative path, which only works when both repos are checked out side-by-side. After the alpha publish, end users following the example should be able to `yarn install` straight from the registry.

Test plan

  • Wait for `@percy/maestro-web@0.1.0-alpha.0` to be live on npm under the `alpha` dist-tag
  • `yarn install` resolves the registry entry (not the local file)
  • `yarn test-web` runs and produces a Percy build
  • Commit updated `yarn.lock`, mark PR ready

🤖 Generated with Claude Code

Replace the local file: dependency with the exact alpha version published
to npm. Exact pin (no caret) because caret semantics on pre-release
versions are not what most users expect — bump explicitly per alpha.

yarn.lock will be regenerated once the SDK is published to npm.
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