gatsby-theme-carbon 4.2.12 → 4.2.14

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 (2) hide show
  1. package/gatsby-config.mjs +11 -6
  2. package/package.json +6 -6
package/gatsby-config.mjs CHANGED
@@ -57,12 +57,17 @@ export default (themeOptions) => {
57
57
  const optionalPlugins = [];
58
58
 
59
59
  if (mediumAccount) {
60
- optionalPlugins.push({
61
- resolve: 'gatsby-source-medium-feed',
62
- options: {
63
- userName: mediumAccount, // Medium user name
64
- name: 'MediumFeed',
65
- },
60
+ const accounts = Array.isArray(mediumAccount)
61
+ ? mediumAccount
62
+ : [mediumAccount];
63
+ accounts.forEach((account) => {
64
+ optionalPlugins.push({
65
+ resolve: 'gatsby-source-medium-feed',
66
+ options: {
67
+ userName: account, // Medium user name
68
+ name: 'MediumFeed',
69
+ },
70
+ });
66
71
  });
67
72
  }
68
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-theme-carbon",
3
- "version": "4.2.12",
3
+ "version": "4.2.14",
4
4
  "main": "index.js",
5
5
  "author": "vpicone <vp@vincepic.one> (@vpicone)",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  "@babel/core": "^7.26.7",
27
27
  "@babel/plugin-proposal-class-properties": "^7.18.6",
28
28
  "@babel/plugin-syntax-jsx": "^7.25.9",
29
- "@carbon/elements": "^11.63.0",
30
- "@carbon/grid": "^11.32.0",
31
- "@carbon/pictograms-react": "^11.74.0",
32
- "@carbon/react": "^1.78.0",
33
- "@carbon/themes": "^11.48.0",
29
+ "@carbon/elements": "^11.65.0",
30
+ "@carbon/grid": "^11.34.0",
31
+ "@carbon/pictograms-react": "^11.75.0",
32
+ "@carbon/react": "^1.80.0",
33
+ "@carbon/themes": "^11.50.0",
34
34
  "@garcia-enterprise/gatsby-plugin-sass-resources": "^4.0.2",
35
35
  "@mdx-js/mdx": "^3.1.0",
36
36
  "@mdx-js/react": "^3.1.0",