Import, Export, And Upgrades
This page explains theme import/export/upgrade behavior at a practical level.This page is “how it works in practice”, not an API reference. If you are building a theme, you mostly care about file structure and build output.
Theme Files (Editable vs Read-Only)
When themes are edited through a web editor, some paths are treated as read-only:- lockfiles (
bun.lockb,pnpm-lock.yaml,yarn.lock) node_modules/
Export
Export means:- download the theme source files
- include metadata (like
theme.jsonor manifest)
Import
Import means:- upload a theme package
- validate it (does it look like a theme project?)
- store it as an editable theme project in Shoppex
Upgrades
An upgrade usually means:- take a newer upstream version of a theme
- merge it with user changes
- flag conflicts if the same file changed in both places
Quick Mental Model
The import/export/upgrade implementation is platform-internal. The important part for theme developers is your project structure and the
dist/ build output.