Skip to content

feat(homebridge-teslemetry): same-name major hard cut over legacy package#63

Merged
Bre77 merged 1 commit into
mainfrom
fm/hb-samename-major-cut
Jul 22, 2026
Merged

feat(homebridge-teslemetry): same-name major hard cut over legacy package#63
Bre77 merged 1 commit into
mainfrom
fm/hb-samename-major-cut

Conversation

@Bre77

@Bre77 Bre77 commented Jul 22, 2026

Copy link
Copy Markdown
Member

Intent

  • Captain ruling (2026-07-22): the monorepo Homebridge package does a same-name MAJOR hard cut over the legacy npm package - no dual-maintain, no rename. It must publish as unscoped homebridge-teslemetry, the same name the legacy package (currently 0.4.6, published manually via that repo's publish.sh) already uses on npm.
    • Renamed packages/homebridge-teslemetry/package.json from @teslemetry/homebridge-teslemetry to unscoped homebridge-teslemetry, bumped to 1.0.0 (clean major over legacy 0.4.x), and dropped private: true.
    • Updated every internal reference to the old scoped name: src/settings.ts's PLUGIN_NAME constant, the package README (badges, install/build/link commands), and AGENTS.md's package status line. workspace:* pin on @teslemetry/api is unchanged.
    • Added a major changeset documenting this as a breaking hard cut: legacy registered 14 vehicle + 7 energy HomeKit services, this package registers 11 vehicle + 6 energy (post subType-collision-fix) - existing legacy users should expect accessories to merge/disappear/need re-pairing after upgrading.
  • Not publishing in this PR. Because legacy homebridge-teslemetry was published by hand, npm OIDC trusted publishing is almost certainly not configured for that package name - the first CI publish of 1.0.0 may 404 or fail OIDC. This likely needs either a trusted-publisher config added on npm for homebridge-teslemetry, or a one-time manual npm publish (as was done for the other packages' first publishes). Flagging so this gets handled deliberately rather than surprising CI.

Build (pnpm build), typecheck (pnpm -r --no-bail tsc + iobroker.teslemetry's check), lint, and the full test suite (pnpm -r --no-bail test, 90/90 passing in homebridge-teslemetry) all pass under the new package name.

…kage

Rename the monorepo Homebridge package from @teslemetry/homebridge-teslemetry
to the unscoped homebridge-teslemetry, matching the legacy npm package it
supersedes, and bump to 1.0.0 (major over legacy 0.4.x) per captain ruling:
same-name hard cut, no dual-maintain, no rename. Removes private: true so
the package can publish, and adds a changeset documenting the breaking
HomeKit service-set differences from the legacy plugin.
@Bre77
Bre77 merged commit 74e9990 into main Jul 22, 2026
1 check passed
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