@taprootio/site-authoring 0.14.0 → 0.14.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taprootio/site-authoring",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Taproot site authoring CLI: sign in once in the browser, then pull, validate, push, preview, approve, and deploy a site from the terminal",
5
5
  "type": "module",
6
6
  "license": "ISC",
package/src/api.js CHANGED
@@ -1008,6 +1008,7 @@ export async function getPublishingReadiness(client, siteId, selection = {}) {
1008
1008
  ["stagedPageIds", selection.stagedPageIds],
1009
1009
  ["selectedSettingsTypes", selection.selectedSettingsTypes],
1010
1010
  ["includeNavigation", selection.includeNavigation],
1011
+ ["useExactPageSelection", selection.useExactPageSelection],
1011
1012
  ])
1012
1013
  }`,
1013
1014
  )),
@@ -367,6 +367,7 @@ export async function deploy(invocation) {
367
367
  const readiness = await getPublishingReadiness(client, siteId, {
368
368
  ...candidate,
369
369
  stagedPageIds: stagedPageIds.length > MAXIMUM_READINESS_PAGE_IDS ? undefined : stagedPageIds,
370
+ useExactPageSelection: stagedPageIds.length === 0,
370
371
  });
371
372
  if (readiness.blockers.length > 0) {
372
373
  throw new SiteAuthoringError(