Skip to content

release(sdk): publish @beyond.dev/flags alongside @beyond.dev/kv at 0.2.0#10

Merged
jaredLunde merged 1 commit into
mainfrom
release/sdk-v0.2.0
Jun 23, 2026
Merged

release(sdk): publish @beyond.dev/flags alongside @beyond.dev/kv at 0.2.0#10
jaredLunde merged 1 commit into
mainfrom
release/sdk-v0.2.0

Conversation

@jaredLunde

Copy link
Copy Markdown
Contributor

The Release SDK workflow only published @beyond.dev/kv, so the flags adapter and OpenFeature providers added in #9 had no path to npm. Wire the workflow to publish both packages from the same sdk/v* tag (lockstep):

  • release-sdk.yml: set the tag version on both kv and flags (--allow-same-version), pin flags' @beyond.dev/kv dependency to ^, build all workspaces, then publish kv first and flags second so the pinned dependency is resolvable the moment flags lands.
  • Bump @beyond.dev/kv and @beyond.dev/flags to 0.2.0 and replace the flags "@beyond.dev/kv": "*" dependency with "^0.2.0"; sync package-lock.

Verified: both packages' export maps fully resolve to built files, npm pack --dry-run includes every dist target (kv: index/next/cache; flags: index/adapter/4 middleware/2 openfeature), full flags suite 153/153 green, all workspaces typecheck.

Note: publishing @beyond.dev/flags via OIDC requires it to be registered as a trusted publisher on npm (same as @beyond.dev/kv).

….2.0

The Release SDK workflow only published @beyond.dev/kv, so the flags adapter
and OpenFeature providers added in #9 had no path to npm. Wire the workflow to
publish both packages from the same sdk/v* tag (lockstep):

- release-sdk.yml: set the tag version on both kv and flags
  (--allow-same-version), pin flags' @beyond.dev/kv dependency to ^<version>,
  build all workspaces, then publish kv first and flags second so the pinned
  dependency is resolvable the moment flags lands.
- Bump @beyond.dev/kv and @beyond.dev/flags to 0.2.0 and replace the flags
  "@beyond.dev/kv": "*" dependency with "^0.2.0"; sync package-lock.

Verified: both packages' export maps fully resolve to built files, npm pack
--dry-run includes every dist target (kv: index/next/cache; flags:
index/adapter/4 middleware/2 openfeature), full flags suite 153/153 green,
all workspaces typecheck.

Note: publishing @beyond.dev/flags via OIDC requires it to be registered as a
trusted publisher on npm (same as @beyond.dev/kv).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jaredLunde jaredLunde merged commit ba67f0a into main Jun 23, 2026
6 checks passed
@jaredLunde jaredLunde deleted the release/sdk-v0.2.0 branch June 23, 2026 20:18
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