gatsby-core-theme 44.19.0 → 44.19.2
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/CHANGELOG.md +17 -0
- package/gatsby-node.mjs +11 -0
- package/package.json +1 -1
- package/src/resolver/index.mjs +4 -2
- package/src/resolver/modules.mjs +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## [44.19.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.19.1...v44.19.2) (2026-04-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* filter inactive games for cardv2 module ([78bf136](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/78bf136f799fe9350a662bfd272a3305fe0ba194))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
* Merge branch 'EN-453' into 'master' ([330a3d5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/330a3d5c7fa5d3c537d8c24e841ccb2cb797c604))
|
|
10
|
+
|
|
11
|
+
## [44.19.1](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.19.0...v44.19.1) (2026-03-31)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* add validation ([2a9bd44](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2a9bd4473dbcbca9f06d7a24a731eed05b674d4c))
|
|
17
|
+
|
|
1
18
|
# [44.19.0](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.18.4...v44.19.0) (2026-03-26)
|
|
2
19
|
|
|
3
20
|
|
package/gatsby-node.mjs
CHANGED
|
@@ -512,6 +512,17 @@ export const sourceNodes = async ({
|
|
|
512
512
|
});
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
+
export const createSchemaCustomization = ({ actions }) => {
|
|
516
|
+
const { createTypes } = actions;
|
|
517
|
+
createTypes(`
|
|
518
|
+
type Translation implements Node {
|
|
519
|
+
key: String
|
|
520
|
+
value: String
|
|
521
|
+
language: String
|
|
522
|
+
}
|
|
523
|
+
`);
|
|
524
|
+
};
|
|
525
|
+
|
|
515
526
|
export const onCreateWebpackConfig = ({ actions, stage, getConfig }) => {
|
|
516
527
|
if (stage === "build-javascript") {
|
|
517
528
|
const config = getConfig();
|
package/package.json
CHANGED
package/src/resolver/index.mjs
CHANGED
|
@@ -394,10 +394,12 @@ export default {
|
|
|
394
394
|
menus = data.menus;
|
|
395
395
|
// Menu changes when there is a path prefix configured on hercules
|
|
396
396
|
Object.keys(menus).forEach((menu) => {
|
|
397
|
-
|
|
397
|
+
const market = menus[menu]?.market;
|
|
398
|
+
const siteMarket = data?.site_markets?.[market];
|
|
399
|
+
if (siteMarket?.path_prefix !== null && siteMarket?.path_prefix !== undefined) {
|
|
398
400
|
updateMenuPrefixPath(
|
|
399
401
|
menus[menu].children,
|
|
400
|
-
|
|
402
|
+
siteMarket.path_prefix
|
|
401
403
|
);
|
|
402
404
|
}
|
|
403
405
|
});
|
package/src/resolver/modules.mjs
CHANGED
|
@@ -325,6 +325,13 @@ export function processCardsV2(
|
|
|
325
325
|
module.module_title = getModuleTitle(module, pagesMappedById[pageId]);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
+
// filter out inactive game items
|
|
329
|
+
if (cardType === "game") {
|
|
330
|
+
module.items = module.items.filter(
|
|
331
|
+
(item) => item?.relation?.status !== "inactive"
|
|
332
|
+
);
|
|
333
|
+
}
|
|
334
|
+
|
|
328
335
|
// modify page so it doesn't have too much data
|
|
329
336
|
module.items = module.items.map((item) =>
|
|
330
337
|
clonePageForCards(cloneDeep(item), module.style, content)
|