@griddo/cx 10.4.22 → 10.4.24

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.
Files changed (42) hide show
  1. package/build/adapters/gatsby/utils.d.ts +2 -2
  2. package/build/build-complete.js +19 -19
  3. package/build/index.d.ts +2 -3
  4. package/build/index.js +29 -33
  5. package/build/react/Foo/index.d.ts +3 -0
  6. package/build/react/index.d.ts +1 -1
  7. package/build/react/index.js +1 -0
  8. package/build/reset-render.js +19 -19
  9. package/build/run-start-render.js +28 -32
  10. package/build/start-render.js +27 -31
  11. package/build/types/global.d.ts +1 -0
  12. package/build/upload-search-content.js +24 -24
  13. package/build/utils/{shared.d.ts → core-utils.d.ts} +44 -2
  14. package/build/utils/folders.d.ts +6 -1
  15. package/build/utils/store.d.ts +1 -1
  16. package/cx.config.js +7 -0
  17. package/exporter/adapters/gatsby/index.ts +60 -10
  18. package/exporter/adapters/gatsby/utils.ts +33 -32
  19. package/exporter/index.ts +6 -5
  20. package/exporter/react/Foo/index.tsx +7 -0
  21. package/exporter/react/index.tsx +3 -0
  22. package/exporter/services/distributors.ts +1 -1
  23. package/exporter/services/robots.ts +1 -1
  24. package/exporter/services/store.ts +9 -16
  25. package/exporter/start-render.ts +1 -1
  26. package/exporter/types/global.ts +1 -0
  27. package/exporter/utils/api.ts +1 -1
  28. package/exporter/utils/cache.ts +1 -1
  29. package/exporter/utils/{shared.ts → core-utils.ts} +120 -20
  30. package/exporter/utils/create-build-data.ts +1 -1
  31. package/exporter/utils/domains.ts +3 -0
  32. package/exporter/utils/folders.ts +38 -2
  33. package/exporter/utils/health-checks.ts +1 -1
  34. package/exporter/utils/searches.ts +1 -1
  35. package/exporter/utils/sites.ts +12 -18
  36. package/exporter/utils/store.ts +2 -3
  37. package/gatsby-config.ts +2 -11
  38. package/gatsby-node.ts +13 -19
  39. package/package.json +8 -5
  40. package/build/utils/temp-utils.d.ts +0 -15
  41. package/exporter/react/index.ts +0 -5
  42. package/exporter/utils/temp-utils.ts +0 -52
@@ -24,10 +24,10 @@ declare function formatImage(image: Fields.Image | string, width: number, height
24
24
  * @note This proccess (`yarn gatsby-build`) can not access to the custom Griddo
25
25
  * `process.env` so it needs variables passed to it via the `env` prop.
26
26
  */
27
- declare function gatsbyBuild(assetPrefixWithDomain: string): void;
27
+ declare function runGatsbyBuildCommand(assetPrefixWithDomain: string): void;
28
28
  /**
29
29
  * Update the Griddo's `/dist` dir with the contents from `public` dir only
30
30
  * with files of type: js, json and css.
31
31
  */
32
32
  declare function legacy__createDistFromGatsbyPublic(domain: string, needsAssetPrefix: boolean): Promise<void>;
33
- export { formatImage, gatsbyBuild, getGatsbyAssetPrefixWithDomain, legacy__createDistFromGatsbyPublic, };
33
+ export { formatImage, getGatsbyAssetPrefixWithDomain, legacy__createDistFromGatsbyPublic, runGatsbyBuildCommand, };