@griddo/cx 10.4.19 → 10.4.21
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/README.md +11 -76
- package/build/adapters/gatsby/index.d.ts +2 -0
- package/build/adapters/gatsby/utils.d.ts +27 -0
- package/build/adapters/index.d.ts +3 -0
- package/build/browser/index.d.ts +5 -0
- package/build/build-complete.d.ts +18 -0
- package/build/build-complete.js +22 -22
- package/build/errors/index.d.ts +1 -0
- package/build/index.d.ts +29 -0
- package/build/index.js +37 -35
- package/build/move-assets.d.ts +1 -0
- package/build/react/index.d.ts +2 -0
- package/build/reset-render.d.ts +1 -0
- package/build/reset-render.js +22 -22
- package/build/run-start-render.d.ts +1 -0
- package/build/run-start-render.js +37 -35
- package/build/services/auth.d.ts +21 -0
- package/build/services/distributors.d.ts +45 -0
- package/build/services/domains.d.ts +8 -0
- package/build/services/navigation.d.ts +77 -0
- package/build/services/robots.d.ts +21 -0
- package/build/services/settings.d.ts +23 -0
- package/build/services/sites.d.ts +42 -0
- package/build/services/store.d.ts +6 -0
- package/build/start-render.d.ts +3 -0
- package/build/start-render.js +37 -35
- package/build/types/api.d.ts +130 -0
- package/build/types/global.d.ts +78 -0
- package/build/types/navigation.d.ts +28 -0
- package/build/types/pages.d.ts +128 -0
- package/build/types/sites.d.ts +43 -0
- package/build/types/templates.d.ts +8 -0
- package/build/upload-search-content.d.ts +1 -0
- package/build/upload-search-content.js +21 -21
- package/build/utils/api.d.ts +23 -0
- package/build/utils/cache.d.ts +35 -0
- package/build/utils/create-build-data.d.ts +8 -0
- package/build/utils/domains.d.ts +5 -0
- package/build/utils/folders.d.ts +48 -0
- package/build/utils/health-checks.d.ts +7 -0
- package/build/utils/instance.d.ts +21 -0
- package/build/utils/messages.d.ts +2 -0
- package/build/utils/pages.d.ts +34 -0
- package/build/utils/searches.d.ts +14 -0
- package/build/utils/shared.d.ts +110 -0
- package/build/utils/sites.d.ts +36 -0
- package/build/utils/store.d.ts +79 -0
- package/build/utils/temp-utils.d.ts +10 -0
- package/cx.config.js +1 -1
- package/exporter/adapters/gatsby/index.ts +6 -20
- package/exporter/adapters/gatsby/utils.ts +25 -1
- package/exporter/errors/index.ts +2 -0
- package/exporter/index.ts +6 -4
- package/exporter/services/robots.ts +4 -3
- package/exporter/services/store.ts +13 -4
- package/exporter/start-render.ts +1 -2
- package/exporter/types/global.ts +1 -1
- package/exporter/utils/cache.ts +25 -11
- package/exporter/utils/create-build-data.ts +3 -10
- package/exporter/utils/folders.ts +14 -15
- package/exporter/utils/searches.ts +4 -4
- package/exporter/utils/shared.ts +18 -8
- package/exporter/utils/sites.ts +10 -10
- package/exporter/utils/store.ts +77 -27
- package/exporter/utils/temp-utils.ts +12 -11
- package/gatsby-config.ts +2 -2
- package/gatsby-node.ts +9 -10
- package/package.json +12 -6
- package/src/components/Head.tsx +1 -1
- package/src/components/template.tsx +1 -1
- package/src/gatsby-node-utils.ts +13 -2
- package/src/types.ts +1 -1
- package/tsconfig.json +13 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const noop = true;
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Griddo CX library main export file.
|
|
4
|
+
*
|
|
5
|
+
* This file exports functions to use in both: adapters and SSG's frameworks.
|
|
6
|
+
* Turning CX basically in a javascript library.
|
|
7
|
+
*
|
|
8
|
+
* # Browser context.
|
|
9
|
+
* There is another export in the `/browser` directory to use exclusivelly in
|
|
10
|
+
* the browser context where nodejs (path, fs, etc..) is not available.
|
|
11
|
+
*
|
|
12
|
+
* # Render script (bin)
|
|
13
|
+
* The binary file of the package is `run-start-render.ts`.
|
|
14
|
+
*
|
|
15
|
+
* # Separate scripts.
|
|
16
|
+
* There are some separate .ts files as build-complete.ts or reset-render.ts
|
|
17
|
+
* that are intended to be used by infra via npm script like `npm run
|
|
18
|
+
* build-complete`
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
import type { SocialsResponse } from "./types/api";
|
|
22
|
+
import type { AdditionalInfo, GriddoListPage, GriddoMultiPage, GriddoPageObject, GriddoSinglePage } from "./types/pages";
|
|
23
|
+
import type { Site } from "./types/sites";
|
|
24
|
+
import { startRender } from "./start-render";
|
|
25
|
+
import { IS_COMPONENT_LIBRARY, PROJECT_ALIASES, resolveComponentsPath } from "./utils/instance";
|
|
26
|
+
import { logInfo, logPageSize, walk } from "./utils/shared";
|
|
27
|
+
import { getBuildPagesFromCachedStore, getBuildPagesFromStore, getBuildPagesPath } from "./utils/store";
|
|
28
|
+
import { getConfig } from "./utils/temp-utils";
|
|
29
|
+
export { AdditionalInfo, GriddoListPage, GriddoMultiPage, GriddoPageObject, GriddoSinglePage, IS_COMPONENT_LIBRARY, PROJECT_ALIASES, Site, SocialsResponse, getBuildPagesFromCachedStore, getBuildPagesFromStore, getBuildPagesPath, getConfig, logInfo, logPageSize, resolveComponentsPath, startRender, walk };
|