TanqoryDocs

Upload a theme source

What a partner theme upload holds, how to make the archive, and which files Tanqory builds, leaves out or refuses.

A theme partner uploads a theme as its source: the theme folder, as create-tanqory-theme or tanqory-partner theme init made it, in one gzipped tar archive (.tgz). Tanqory runs the theme's own build file in an isolated sandbox with no network and no secrets, checks what it builds, and shows each check on the version. You do not upload the built dist/abi folder.

Make the archive

Pick one. All three make an archive the upload accepts.

HowCommandThen
The partner CLI (recommended)tanqory-partner theme push --version 1.0.0Checks, packages and uploads in one step. tanqory-partner theme package writes the two files below if you prefer the dashboard.
npmnpm run build then npm packUpload the .tgz, and add dist/abi/manifest.json in the form's manifest field.
tarnpm run build then tar -czf my-theme.tgz -C my-theme --exclude node_modules --exclude dist .The same: the .tgz, and dist/abi/manifest.json beside it.

Files may sit at the top level of the archive, or inside the one package/ folder that npm pack writes: Tanqory takes that folder off. Run tar with -C on the theme folder, as above, so the files are not inside a folder of their own name.

The manifest

A version is checked against its manifest, the dist/abi/manifest.json your build writes (npm run build). Send it in the form's manifest.json field, or as manifest in the Partner API. A copy of it at the root of the archive also works, and then the field can stay empty.

The manifest you send is what reviewers and the Theme Store read. The one the sandbox build writes is what runs. Once the version is built, the manifest check compares the two and names the first difference, so build again before you upload.

What is in the archive

The lists below come from the same rules the upload gate reads, so this page and the gate always agree.

PathWhat Tanqory does
package.jsonRequired. Read for the rules below.
The build file: package.json tanqory.build, or scripts/abi/build.mjs or scripts/build.mjsRun with node in the sandbox. It must write dist/abi, or the folder tanqory.out names.
src/, templates/, regions/, config/, locales/, assets/, scripts/, tsconfig.json, vite.*.config.ts and every other fileBuild inputs: the sandbox has them while your build runs.
LICENSEYour theme's licence. The licences check needs one, and your build must copy it into dist/abi.
manifest.json at the rootRead as the version's manifest. It is not a build input: your build writes its own.
package-lock.json or pnpm-lock.yamlOptional. Read for the software bill of materials, never installed from.
Editor, AI assistant, test, CI, build output and macOS folders: tests/, .github/, .vscode/, .claude/, .codex/, .gemini/, .cursor/, .agents/, .idea/, __MACOSX/, .git/, node_modules/, dist/, reports/, coverage/Left out without a message: they are your machine's, not the theme's.
The files .mcp.json, AGENTS.md, CLAUDE.md, .gitignore, _gitignore, .DS_Store, ._<name> (any folder)Left out without a message.
.npmrc, .pnpmfile.cjs, pnpm-workspace.yaml, .yarnrc*, .env*, Dockerfile*, *.sh, *.node, *.wasm outside assets/Refused, wherever they are: package manager settings, secrets, containers, shell scripts and native code belong to the platform, not a theme.

A refused file stops the upload with the file named. Remove it and upload again.

package.json

  • name and version are strings.
  • @tanqory/theme-kit is pinned to one exact version, such as 2.0.0-alpha.17. It picks the toolchain your build runs with; the sandbox carries 2.0.0-alpha.3, 2.0.0-alpha.5 and 2.0.0-alpha.17. A @tanqory/theme-abi pin must be 2.0.0-alpha.14.
  • Tanqory packages, each at one exact version: @tanqory/theme-kit, @tanqory/theme-abi, @tanqory/theme-conformance, @tanqory/cli (devDependencies only), @tanqory/dev-mcp (devDependencies only).
  • Packages the sandbox provides at its own versions: react, react-dom, vite, @vitejs/plugin-react.
  • In devDependencies only, tools the build never runs: typescript, vitest, jsdom, axe-core, playwright, playwright-core, @types/*, @testing-library/*.
  • Every version is a plain registry version or range: no git, file:, link:, workspace: or URL.
  • No overrides, resolutions, workspaces, or pnpm.overrides, pnpm.patchedDependencies or pnpm.onlyBuiltDependencies.
  • Scripts are never run, postinstall included; only the build file is.

Limits

LimitValue
Archive uploaded20 MiB
Files in the archive10,000
Unpacked size64 MiB
One file8 MiB
Entry typesplain files and folders only: no links, no absolute paths, no ..

Check it before you upload

With the local MCP server (@tanqory/theme-mcp) and the partner toolkit (npm install -g @tanqory/partner-cli@next), an AI assistant on your machine can check the folder and write the archive for you:

ToolDoes
theme_submit_checkLists every problem the upload would meet, each with the file, the rule, why and how to fix it: the rules on this page, the nine checks that need no sandbox, and what your machine can run of the sandbox checks (two builds compared, imports in the entry files, size budgets, network origins), each marked "local result". Changes nothing.
theme_submit_prepareChecks first, then builds and writes <name>-<version>.tgz and its .manifest.json, leaving out what the upload leaves out anyway. It never deletes or changes your files, and writes nothing while a problem remains.

After the upload

  1. The checks that need no sandbox run at once: the source text, editability, the manifest, and the brand-term and emoji rules on its labels.
  2. Choose Install on dev store on the version, or run tanqory-partner theme install. Tanqory builds it twice in the sandbox and runs the remaining checks.
  3. When all 15 checks pass, choose Submit for review.

The partner theme guide walks through each step with the CLI.

An AI assistant can do steps 2 and 3 too, connected to Tanqory's partner MCP server at https://mcp.tanqory.com/partners: see Theme tools for AI assistants.

A theme without a build file

A theme that has manifest.json at its root and no build file of its own is built by Tanqory's own bundler instead. Its archive holds only package.json, pnpm-lock.yaml, manifest.json, README*, LICENSE* and the folders src/ sections/ templates/ layouts/ assets/ locales/ config/; any other path is refused. Themes made with create-tanqory-theme or tanqory-partner theme init have a build file, so this does not apply to them.

Built from commit c0b3fb3fdef7 · API version 2026-10