Skip to content

chore(v8): remove @wdio/browserstack-service (now published by BrowserStack from its own repo) - #15319

Closed
AakashHotchandani wants to merge 1 commit into
webdriverio:v8from
AakashHotchandani:chore/extract-browserstack-service-v8
Closed

chore(v8): remove @wdio/browserstack-service (now published by BrowserStack from its own repo)#15319
AakashHotchandani wants to merge 1 commit into
webdriverio:v8from
AakashHotchandani:chore/extract-browserstack-service-v8

Conversation

@AakashHotchandani

@AakashHotchandani AakashHotchandani commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

What & why

Removes packages/wdio-browserstack-service from the v8 line of the monorepo. @wdio/browserstack-service is now built and published by BrowserStack from browserstack/wdio-browserstack-service (branch v8 → npm dist-tag v8) via npm OIDC Trusted Publishing — same package name, same services: ['browserstack'], zero user-facing change.

Draft — do NOT merge yet. Companion to the main-line removal #15318.

⚠️ Gating — merge only after all of:

  1. The standalone repo's v8 line has published its first release (> 8.48.3 on the v8 dist-tag) with provenance.
  2. Every v8 service change merged into this monorepo since the extract is re-ported to the standalone v8 branch (e.g. fix(wdio-browserstack-service): emit screenshot-on-failure in v8 CLI/… #15330 "emit screenshot-on-failure in v8 CLI"; verify others).
  3. A freeze on new packages/wdio-browserstack-service PRs/releases is in place.

Necessary code changes in this PR (checklist)

  • git rm -r packages/wdio-browserstack-service
  • Rebase on latest v8 so the removal covers files added by v8 service PRs merged since.
  • tests/typings/setup.js — drop the '@wdio/browserstack-service': 'packages/wdio-browserstack-service' mapping.
  • tests/typings/webdriverio/tsconfig.json — drop the @wdio/browserstack-service entry.
  • Regenerate package-lock.json.
  • Deliberately kept: packages/wdio-cli/src/constants.ts (config-wizard entry) and website/docs/** — the package still exists on npm.

Companion

…ck from its own repo)

v8 line. The BrowserStack WebdriverIO service is now maintained and published by
BrowserStack from browserstack/wdio-browserstack-service via npm OIDC trusted publishing,
on an independent cadence (per TSC agreement). The 8.x line continues under the `v8`
npm dist-tag, published from the new repo's `v8` branch.

End users are unaffected: same npm package name `@wdio/browserstack-service`, same
`services: ['browserstack']` config.

- delete packages/wdio-browserstack-service
- drop the workspace reference from tests/typings/setup.js + tests/typings/webdriverio/tsconfig.json types[]
- repoint in-repo source links (README bullet removed; CloudServices.md + Multiremote.md
  -> github.com/browserstack/wdio-browserstack-service)
- regenerate package-lock.json (npm workspace lockfile)

Kept intentionally (the package stays on npm): the wdio-cli init-wizard entry and the
`npm install @wdio/browserstack-service` docs. Note for v8: a wizard install resolves the
npm `latest` (9.x) by default; if you'd prefer v8 scaffolds to pin the `v8` dist-tag (or to
drop the entry on the v8 line), happy to adjust + update the cli snapshot.

The auto-generated /docs/browserstack-service page is built from the package README, so it
will no longer be generated after removal — happy to add a redirect or stub, your call.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@AakashHotchandani

Copy link
Copy Markdown
Contributor Author

Superseded by #15387 — rebased onto current v8 (the 6-13 branch had conflicts after #15330 + the 8.48.1/2/3 release commits) and completed (type-test refs + regenerated lockfile).

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