Repository navigation
Add JSON schema for theme info - #8525
Conversation
cf6bd6d to
42bc978
Compare
|
/snapit |
|
🫰✨ Thanks @gonzaloriestra! Your snapshot has been published to npm. Test the snapshot by installing your package globally: pnpm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20260915114646Caution After installing, validate the version by running |
f46d908 to
0c95979
Compare
77bfbfd to
d18e392
Compare
d18e392 to
6d61a3e
Compare
6d61a3e to
cb7a4db
Compare
6c8372f to
078784e
Compare
078784e to
813ce3c
Compare
5ed4077 to
8c0467c
Compare
520154d to
2ced92e
Compare
b196bd8 to
bfe0431
Compare
|
/snapit |
|
🫰✨ Thanks @isaacroldan! Your snapshot has been published to npm. Built from Test the snapshot by installing your package globally: pnpm i -g --@shopify:registry=https://registry.npmjs.org @shopify/cli@0.0.0-snapshot-20261015112340Caution After installing, validate the version by running |
|
| Changeset | Package |
|---|---|
theme-info-json-contract.md |
'@shopify/cli': major |
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationsWe found no new type declarations in this PR Existing type declarationspackages/cli-kit/dist/public/node/base-command.d.ts@@ -35,6 +35,7 @@ declare abstract class BaseCommand extends Command {
argv: string[];
}>;
protected environmentsFilename(): string | undefined;
+ protected validateNonTTYFlags(flags: FlagOutput): void;
protected failMissingNonTTYFlags(flags: FlagOutput, requiredFlags: string[]): void;
private failMissingNonTTYFlagRequirements;
private applicableNonTTYFlagRequirements;
|
WHY are these changes introduced?
Theme and environment JSON results should have a discoverable, consistent contract.
WHAT is this pull request doing?
Expose strict camelCase resources, string theme IDs, nullable unavailable fields and one ordered object for explicit environment batches. Preserve authentication and operation failures per environment.
The public output follows
docs/cli/json-output.md; explicitly named environments use one{environments: [...]}object.How to manually test your changes?
Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add