@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.
- package/build/adapters/gatsby/utils.d.ts +2 -2
- package/build/build-complete.js +19 -19
- package/build/index.d.ts +2 -3
- package/build/index.js +29 -33
- package/build/react/Foo/index.d.ts +3 -0
- package/build/react/index.d.ts +1 -1
- package/build/react/index.js +1 -0
- package/build/reset-render.js +19 -19
- package/build/run-start-render.js +28 -32
- package/build/start-render.js +27 -31
- package/build/types/global.d.ts +1 -0
- package/build/upload-search-content.js +24 -24
- package/build/utils/{shared.d.ts → core-utils.d.ts} +44 -2
- package/build/utils/folders.d.ts +6 -1
- package/build/utils/store.d.ts +1 -1
- package/cx.config.js +7 -0
- package/exporter/adapters/gatsby/index.ts +60 -10
- package/exporter/adapters/gatsby/utils.ts +33 -32
- package/exporter/index.ts +6 -5
- package/exporter/react/Foo/index.tsx +7 -0
- package/exporter/react/index.tsx +3 -0
- package/exporter/services/distributors.ts +1 -1
- package/exporter/services/robots.ts +1 -1
- package/exporter/services/store.ts +9 -16
- package/exporter/start-render.ts +1 -1
- package/exporter/types/global.ts +1 -0
- package/exporter/utils/api.ts +1 -1
- package/exporter/utils/cache.ts +1 -1
- package/exporter/utils/{shared.ts → core-utils.ts} +120 -20
- package/exporter/utils/create-build-data.ts +1 -1
- package/exporter/utils/domains.ts +3 -0
- package/exporter/utils/folders.ts +38 -2
- package/exporter/utils/health-checks.ts +1 -1
- package/exporter/utils/searches.ts +1 -1
- package/exporter/utils/sites.ts +12 -18
- package/exporter/utils/store.ts +2 -3
- package/gatsby-config.ts +2 -11
- package/gatsby-node.ts +13 -19
- package/package.json +8 -5
- package/build/utils/temp-utils.d.ts +0 -15
- package/exporter/react/index.ts +0 -5
- 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
|
|
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,
|
|
33
|
+
export { formatImage, getGatsbyAssetPrefixWithDomain, legacy__createDistFromGatsbyPublic, runGatsbyBuildCommand, };
|