Migrate @sanity/personalization-plugin into the monorepo#971
Conversation
…al template values
chore: Configure Renovate
fix: hide experiment ui
…tion into releases
feat: initial release
chore: fix semantic-release
chore: Fix semantic release
chore: updated release workflow
fix: update release workflow
chore(deps): update non-major
Improved modal
fix(deps): make peer dependencies include sanity 5.x
…tion into launch-darkly
feat: add launch darkly as a integration
Rewrite and expand README documentation
…nerated by scaffold
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 0c663d0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
…alization-plugin-ba8d # Conflicts: # pnpm-lock.yaml
Migrate @sanity/personalization-plugin
Transfers
@sanity/personalization-plugininto the monorepo using thecopy plugingenerator (git subtree with full history preserved).Demo
Field-level experiment flow verified in the test studio (kitchen-sink workspace): default value, beaker "Add experiment" action, experiment selection, and variant value entry.
personalization_plugin_experiment_demo.mp4
Configured experiment with two variants
What's included
plugins/@sanity/personalization-pluginwith monorepo config (package.json,package.config.ts,tsconfig.json,tsconfig.build.json,vitest.config.ts).,./launchDarkly, and./growthbook(ESM-only)@sanity/studio-secretsdependency now resolved viaworkspace:*(it lives in this monorepo)@sanity/uispace→gap, deprecatedFormEvent→ChangeEvent, no accumulating spreads, index-signature access); targeted.oxlintrc.jsonoverride added for remaining legacy patterns (unsafe type assertions, pagination awaits-in-loop, set-state-in-effect) following thesanity-naive-html-serializerprecedentoverview.gif,beaker.svg, screenshots) and thegrowthbook.md/launchdarkly.mddocs restored from the original repodev/test-studio/src/personalization) wired into the kitchen-sink workspace with apersonalizationTestdocument usingexperimentString/experimentTextfieldsTransfer verification
npm trust github @sanity/personalization-plugin --file=release.yml --repository=sanity-io/pluginspackage.jsondependencies/peerDependencies/exports verified against original repopnpm dev)pnpm format,pnpm knip,pnpm lint,pnpm build,pnpm test runall passMaintainer follow-up
Agents cannot complete these steps themselves. Ask the maintainer to handle them:
# [This plugin has moved](https://github.com/sanity-io/plugins/tree/main/plugins/@sanity/personalization-plugin)personalization-pluginTo show artifacts inline, enable in settings.