Skip to content

Conversation

@talissoncosta
Copy link
Contributor

@talissoncosta talissoncosta commented Jan 23, 2026

Summary

  • Migrate npm packages from individual names to @Flagsmith organization scope
  • flagsmith@flagsmith/flagsmith
  • react-native-flagsmith@flagsmith/react-native
  • Version bump to 11.0.0 to signal breaking change

Changes

  • Update package names in lib/flagsmith/package.json and lib/react-native-flagsmith/package.json
  • Add publishConfig.access: "public" for scoped package publishing
  • Update deploy scripts with --access public flag
  • Add deprecation step in publish workflow to deprecate old packages
  • Update README files with new installation instructions and badges
  • Update .release-please-manifest.json to version 11.0.0

Test plan

Notes

  • Ensure NPM token has permission to publish to @Flagsmith organization
  • External documentation at docs.flagsmith.com will need updating separately

Closes #357

BREAKING CHANGE: Package names have changed:
- `flagsmith` → `@Flagsmith/flagsmith`
- `react-native-flagsmith` → `@flagsmith/react-native`

This migration includes:
- Update package names and version to 11.0.0
- Add publishConfig for public access to scoped packages
- Update deploy scripts with --access public flag
- Add deprecation step in publish workflow for old packages
- Update README files with new installation instructions

Closes #357

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@talissoncosta talissoncosta requested a review from a team as a code owner January 23, 2026 18:44
@talissoncosta talissoncosta requested review from kyle-ssg and removed request for a team January 23, 2026 18:44
Remove NODE_AUTH_TOKEN as the workflow uses NPM trusted publishing
via OIDC (id-token: write permission) since PR #352.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@talissoncosta talissoncosta marked this pull request as draft January 26, 2026 12:38
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.

Migrate NPM packages to @flagsmith organisation

2 participants