sanity 3.72.2-server-side-schemas-1.19 → 3.72.2-server-side-schemas.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-cjs/_internal.js +2 -2
- package/lib/_chunks-cjs/_internal.js.map +1 -1
- package/lib/_chunks-cjs/deployAction.js +7 -3
- package/lib/_chunks-cjs/deployAction.js.map +1 -1
- package/lib/_chunks-cjs/storeSchemasAction.js +25 -12
- package/lib/_chunks-cjs/storeSchemasAction.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/lib/_legacy/version.esm.js +1 -1
- package/package.json +10 -10
- package/src/_internal/cli/actions/deploy/deployAction.ts +9 -3
- package/src/_internal/cli/actions/schema/storeSchemasAction.ts +37 -20
- package/src/_internal/cli/commands/deploy/deployCommand.ts +1 -1
- package/src/_internal/cli/commands/schema/storeSchemaCommand.ts +1 -1
@@ -1811,9 +1811,9 @@ const listAliasesHandler = async (args, context) => {
|
|
1811
1811
|
Options
|
1812
1812
|
--source-maps Enable source maps for built bundles (increases size of bundle)
|
1813
1813
|
--auto-updates / --no-auto-updates Enable/disable auto updates of studio versions
|
1814
|
-
--schema-path / path to schema folder if custom schema folder is used
|
1815
1814
|
--no-minify Skip minifying built JavaScript (speeds up build, increases size of bundle)
|
1816
1815
|
--no-build Don't build the studio prior to deploy, instead deploying the version currently in \`dist/\`
|
1816
|
+
--schema-required Require schema extraction and storing to be successful
|
1817
1817
|
-y, --yes Unattended mode, answers "yes" to any "yes/no" prompt and otherwise uses defaults
|
1818
1818
|
|
1819
1819
|
Examples
|
@@ -3416,7 +3416,7 @@ const description$1 = "", helpText$4 = `
|
|
3416
3416
|
Options:
|
3417
3417
|
--workspace The name of the workspace to fetch the stored schema for
|
3418
3418
|
--path If you are not using the default static file path, you can specify it here.
|
3419
|
-
--
|
3419
|
+
--id-prefix you can specify a custom id prefix for the stored schemas. Useful if you want to store the schema in a different path than the default one.
|
3420
3420
|
|
3421
3421
|
Examples
|
3422
3422
|
# if no options are provided all workspace schemas will be stored
|