Skip to content

feat(storage-plugin): add storage plugin#184

Merged
V3RON merged 6 commits intomainfrom
feat/storage-plugin
Mar 6, 2026
Merged

feat(storage-plugin): add storage plugin#184
V3RON merged 6 commits intomainfrom
feat/storage-plugin

Conversation

@V3RON
Copy link
Contributor

@V3RON V3RON commented Mar 6, 2026

Description

This PR introduces a new official plugin: @rozenite/storage-plugin.

It provides a generic storage inspector experience across multiple storage backends, with adapter-based integration and support for both single-storage and multi-storage setups.

User-facing highlights:

  • Adds a new Storage plugin package with a React Native hook API:
    • useRozeniteStoragePlugin({ storages })
  • Supports multiple adapters and named storages so users can inspect and manage distinct storage instances in one place.
  • Includes adapters for:
    • MMKV (multiple storages, full typed values)
    • AsyncStorage (v2 and v3-style usage)
    • Expo SecureStore
  • Improves editing workflow in the panel:
    • clicking an entry pre-fills the key field for faster update/delete actions.
  • Adds Storage plugin documentation page to the website and links it from the official plugins overview.
  • Adds deprecation guidance to MMKV docs, pointing users to the new generic Storage plugin as the future path.

Related Issue

N/A

Context

The goal is to move from a MMKV-specific experience to a generic storage plugin that can support multiple storage libraries consistently.

This phase intentionally keeps @rozenite/mmkv-plugin intact while introducing the new plugin and docs migration path.

Testing

  • pnpm --filter @rozenite/storage-plugin typecheck
  • pnpm --filter @rozenite/storage-plugin build
  • Manual playground verification for storage plugin flows (including AsyncStorage variants and MMKV/SecureStore adapters)

@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rozenite Ready Ready Preview, Comment Mar 6, 2026 11:47am

Request Review

# Conflicts:
#	apps/playground/src/app/App.tsx
#	pnpm-lock.yaml
@V3RON V3RON merged commit c447f1e into main Mar 6, 2026
3 checks passed
@V3RON V3RON deleted the feat/storage-plugin branch March 6, 2026 11:53
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