gatsby-core-theme 44.5.2 → 44.5.3

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/.ci.yml CHANGED
@@ -25,7 +25,8 @@ Theme Publish:
25
25
  tags:
26
26
  - gatsby-runner-dev-docker
27
27
  before_script:
28
- - echo "@gigmedia:registry=https://registry.npmjs.org/" >> ~/.npmrc
28
+ - echo "@gigmedia:registry=https://npm.gigmedia.tech/" >> ~/.npmrc
29
+ - echo "//npm.gigmedia.tech/:_authToken=${NPM_PRIVATE_TOKEN}" >> ~/.npmrc
29
30
  - echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" >> ~/.npmrc
30
31
  - git config --global http.sslverify false
31
32
  - git config --global user.email "floyd@gig.com"
@@ -49,6 +50,8 @@ Theme Beta Publish:
49
50
  tags:
50
51
  - gatsby-runner-dev-docker
51
52
  before_script:
53
+ - echo "@gigmedia:registry=https://npm.gigmedia.tech/" >> ~/.npmrc
54
+ - echo "//npm.gigmedia.tech/:_authToken=${NPM_PRIVATE_TOKEN}" >> ~/.npmrc
52
55
  - git config --global http.sslverify false
53
56
  - git config --global user.email "floyd@gig.com"
54
57
  - git config --global user.name "floyd"
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [44.5.3](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.5.2...v44.5.3) (2025-10-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add validation when we dont have operator data ([f60e03c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f60e03c6bc637cb31ed6ed3c81bc0b118911c8a3))
7
+ * npm token on cicd ([c0f8b55](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/c0f8b558e5dcd8398904140f1c0ed39a42fb6a75))
8
+ * npm token on cicd ([f9db8ff](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f9db8fffb71b344b22192703d151ba5e62c09420))
9
+ * npm token on cicd ([2ab1d04](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/2ab1d04056f823a2778feed7b0901e0d64cedf92))
10
+
11
+
12
+ ### Config
13
+
14
+ * update npm registry ([de7abb4](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/de7abb40b897a7ae223fd0e05900358b6caf64cf))
15
+
16
+
17
+ * Merge branch 'master' of gitlab.com:g2m-gentoo/team-floyd/themes/gatsby-themes ([60b0f16](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/60b0f167df6b0d677f49e65f304065c50a48109c))
18
+ * Merge branch 'master' of gitlab.com:g2m-gentoo/team-floyd/themes/gatsby-themes ([f9a6eec](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/f9a6eec7de49f16484c469354a23bc64f6c59702))
19
+
1
20
  ## [44.5.2](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v44.5.1...v44.5.2) (2025-10-28)
2
21
 
3
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "44.5.2",
3
+ "version": "44.5.3",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@reach/router": "^1.3.3",
22
- "@gigmedia/enigma-utils": "1.10.0",
22
+ "@gigmedia/enigma-utils": "^1.20.0",
23
23
  "@react-icons/all-files": "^4.1.0",
24
24
  "axios": "^0.21.1",
25
25
  "chalk": "^4.1.0",
@@ -314,7 +314,7 @@ export function processCardsV2(
314
314
  export function processBonus(module, relations) {
315
315
  const object = cloneDeep(relations.operator[module.value]);
316
316
 
317
- if (object.bonus) {
317
+ if (object && object.bonus) {
318
318
  const removeFields =
319
319
  settings.remove_bonus_data[process.env.GATSBY_SITE_NAME] ||
320
320
  settings.remove_bonus_data.default;
@@ -18,6 +18,9 @@ const { cloneDeep, pick } = loadash;
18
18
 
19
19
  // eslint-disable-next-line import/prefer-default-export
20
20
  export function sanitizeOperatorData(operator, operatorPage = [], data = [], toplistLabel = null) {
21
+ if (!operator) {
22
+ return null;
23
+ }
21
24
  const operatorClone = cloneDeep(operator);
22
25
 
23
26
  const { ribbons } = operator;
package/storybook/.ci.yml CHANGED
@@ -8,7 +8,7 @@ Storybook Build:
8
8
  - gatsby-runner-dev-1
9
9
  script:
10
10
  - yarn config set cache-folder .yarn
11
- - npm config set //registry.npmjs.org/:_authToken $NPM_AUTH_TOKEN
11
+ - npm config set //npm.gigmedia.tech/:_authToken $NPM_PRIVATE_TOKEN
12
12
  - yarn
13
13
  - yarn workspace gatsby-core-theme build-storybook -o ./storybook/public
14
14
  artifacts: