Skip to content

Commit

Permalink
chore: build fresh lock file to resolve build failure (#2509)
Browse files Browse the repository at this point in the history
* chore: build fresh lock file

* chore: remove gatsby v2 flags

* chore: fix node engine syntax

* fix: component index query

* fix: husky warning
  • Loading branch information
vpicone authored Aug 24, 2021
1 parent 971c234 commit 93c16b3
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 72 deletions.
5 changes: 0 additions & 5 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ module.exports = {
keywords:
'IBM, design, system, Carbon, design system, Bluemix, styleguide, style, guide, components, library, pattern, kit, component, cloud',
},
flags: {
PRESERVE_WEBPACK_CACHE: true,
FAST_DEV: true,
FAST_REFRESH: true,
},
plugins: [
{
resolve: 'gatsby-source-filesystem',
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"update-browserslist": "npx browserslist-ga"
},
"engines": {
"node": ">=14"
"node": "14.x"
},
"browserslist": [
"last 1 edge version",
Expand All @@ -37,23 +37,23 @@
"/node_modules/*"
],
"resolutions": {
"carbon-components": "^10.37.0",
"carbon-components-react": "^7.37.1",
"@carbon/elements": "^10.36.0",
"@carbon/icons": "^10.33.0",
"@carbon/icons-react": "^10.33.0"
"carbon-components": "^10.42.0",
"carbon-components-react": "^7.42.0",
"@carbon/elements": "^10.41.0",
"@carbon/icons": "^10.38.0",
"@carbon/icons-react": "^10.38.0"
},
"dependencies": {
"@carbon/charts-react": "0.42.1",
"@carbon/elements": "^10.41.0",
"@carbon/icons": "^10.38.0",
"@carbon/icons-react": "^10.38.0",
"@carbon/pictograms": "^11.16.0",
"@carbon/pictograms-react": "^11.16.0",
"@loadable/component": "^5.15.0",
"@slack/web-api": "^5.11.0",
"carbon-components": "^10.42.0",
"carbon-components-react": "^7.42.0",
"@carbon/elements": "^10.41.0",
"@carbon/icons": "^10.38.0",
"@carbon/icons-react": "^10.38.0",
"change-case": "^4.1.1",
"classnames": "^2.2.6",
"codesandbox": "^2.1.10",
Expand Down Expand Up @@ -118,7 +118,7 @@
}
},
"lint-staged": {
"*.{js}": [
"*.js": [
"eslint --fix"
],
"*.{css,scss,json,html,yaml,md,mdx}": [
Expand Down
9 changes: 3 additions & 6 deletions src/components/ComponentIndexPage/useComponentIndexData.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const COMPONENT_INDEX_DATA = graphql`
name
relativeDirectory
childImageSharp {
fluid(maxWidth: 640, maxHeight: 480) {
...GatsbyImageSharpFluid
}
gatsbyImageData(width: 640, height: 480)
}
}
}
Expand Down Expand Up @@ -47,9 +45,8 @@ const COMPONENT_INDEX_DATA = graphql`
`;

export function useComponentIndexData() {
const { allComponentIndexEntry, allFile } = useStaticQuery(
COMPONENT_INDEX_DATA
);
const { allComponentIndexEntry, allFile } =
useStaticQuery(COMPONENT_INDEX_DATA);

const images = allFile.nodes;
const components = allComponentIndexEntry.edges.map((edge) => {
Expand Down
84 changes: 33 additions & 51 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1120,33 +1120,25 @@
resolved "https://registry.npmjs.org/@carbon/colors/-/colors-10.31.0.tgz#b5f48cd42daa6cd30c15f295e7a663ab3916b673"
integrity sha512-YoQtyfgOetxyx+Z8Rhyyx0Zc8OulbJzlv+TGE6LgRoklf6wVjAwrivWduaPsBbJs5fjpcweY5kNqTaGWTlJNXA==

"@carbon/elements@^10.36.0", "@carbon/elements@^10.38.0", "@carbon/elements@^10.41.0":
version "10.40.0"
resolved "https://registry.npmjs.org/@carbon/elements/-/elements-10.40.0.tgz#3282a4d0d8c0dc1980a13f55beac5dd760510166"
integrity sha512-BRbbeuSHPGl7oc64rVuoldKO0Sk994CP40NV51kOIfRiiT/SCjntkMlaJbQhZ7FI2tZmpIRyvclCc91oH3voHQ==
"@carbon/elements@^10.38.0", "@carbon/elements@^10.41.0":
version "10.41.0"
resolved "https://registry.npmjs.org/@carbon/elements/-/elements-10.41.0.tgz#e911555445f5db5392265eb18fa3fe49f75ec6e7"
integrity sha512-7+50XooN4RlsvE0bmnbcV7KH0ZDqo9J6XoAInGbISjLz6UZd/5MC38huVopTt3npH5gFwQHdOf7lC5bEwFyOww==
dependencies:
"@carbon/colors" "^10.30.0"
"@carbon/grid" "^10.33.0"
"@carbon/icons" "^10.37.0"
"@carbon/colors" "^10.31.0"
"@carbon/grid" "^10.34.0"
"@carbon/icons" "^10.38.0"
"@carbon/import-once" "^10.6.0"
"@carbon/layout" "^10.29.0"
"@carbon/motion" "^10.22.0"
"@carbon/themes" "^10.40.0"
"@carbon/type" "^10.33.0"
"@carbon/layout" "^10.30.0"
"@carbon/motion" "^10.23.0"
"@carbon/themes" "^10.41.0"
"@carbon/type" "^10.34.0"

"@carbon/feature-flags@^0.6.0":
version "0.6.0"
resolved "https://registry.npmjs.org/@carbon/feature-flags/-/feature-flags-0.6.0.tgz#9452194af71b56dab0f2b9c75db3ddf6196453f1"
integrity sha512-Y1jQC30PBEzfVLoZF6Fj4sTez2XqPCY+kVsaXjYWDysTc64+GFVkfGqvcBS+vZB9QTCSlGouaMKppfakdNwUqw==

"@carbon/grid@^10.33.0":
version "10.33.0"
resolved "https://registry.npmjs.org/@carbon/grid/-/grid-10.33.0.tgz#8e71580b8611f327b2fdcb64d4c782a3904abdbe"
integrity sha512-YUlr5zJowqZcHY4dxziy5hpzpDSKoqEf5ELkV5bDybFTdfB3o6xbvlMTgh2BQc5i42m2WxTmNmI/Q78HqU7dkg==
dependencies:
"@carbon/import-once" "^10.6.0"
"@carbon/layout" "^10.29.0"

"@carbon/grid@^10.34.0":
version "10.34.0"
resolved "https://registry.npmjs.org/@carbon/grid/-/grid-10.34.0.tgz#17cefc3d4f6791b81776f1f726fb859a21ac13f8"
Expand All @@ -1155,29 +1147,24 @@
"@carbon/import-once" "^10.6.0"
"@carbon/layout" "^10.30.0"

"@carbon/icon-helpers@^10.21.0":
version "10.21.0"
resolved "https://registry.npmjs.org/@carbon/icon-helpers/-/icon-helpers-10.21.0.tgz#446223e26afe436455cfffcc4da235e6a23dfe3f"
integrity sha512-axRNtdg5PAIpPFXGYAHRk2JudHhgHlu/o00BkFlsbMhgsLhEgsUddLZoVjCByBCEPxLwt9CSk048VmcKuJzm7w==

"@carbon/icon-helpers@^10.22.0":
version "10.22.0"
resolved "https://registry.npmjs.org/@carbon/icon-helpers/-/icon-helpers-10.22.0.tgz#5992c75850ace09f9cf5015ebec652ccce96c23e"
integrity sha512-00HRYbb0P1v1L3XI+KuBqHoSzbeTZTYMiBWqMvITGm6y2bdE6++Xbp4eIQbZZypEYzuiJ0UmJf+VMx+ypBOjiw==

"@carbon/icons-react@^10.32.0", "@carbon/icons-react@^10.33.0", "@carbon/icons-react@^10.35.0", "@carbon/icons-react@^10.37.0", "@carbon/icons-react@^10.38.0":
version "10.37.0"
resolved "https://registry.npmjs.org/@carbon/icons-react/-/icons-react-10.37.0.tgz#3d4355eb03c2165ddd7705ce977df03d6beaea78"
integrity sha512-13wHwN9BikOj9RhT/m8jeJQ61l5yNXiXQ0KR//9rFnz27gWO0huWb8qiBnHsicbQdl4oe+TVcm/WKF3PcJwUJA==
"@carbon/icons-react@^10.32.0", "@carbon/icons-react@^10.35.0", "@carbon/icons-react@^10.38.0":
version "10.38.0"
resolved "https://registry.npmjs.org/@carbon/icons-react/-/icons-react-10.38.0.tgz#fd5050f3a630a20a2d46a21ba2b141adcd65c548"
integrity sha512-Ww02MHIdA2q5hskZVmzEZQByT8lQ743JGWzIl5oolPp+E38wJopEm3+SZsM1lwDrimP7Nm4+GifOMNddoHmplA==
dependencies:
"@carbon/icon-helpers" "^10.21.0"
"@carbon/icon-helpers" "^10.22.0"
"@carbon/telemetry" "0.0.0-alpha.6"
prop-types "^15.7.2"

"@carbon/icons@^10.33.0", "@carbon/icons@^10.37.0", "@carbon/icons@^10.38.0":
version "10.37.0"
resolved "https://registry.npmjs.org/@carbon/icons/-/icons-10.37.0.tgz#017c6cee1a6c108d3ccc7a00e64261530df72292"
integrity sha512-9dLevNsei6SL0RG5k5P0niOYwFVp3iNSwQ+4MFRitOGSsHUo9Vvxv/fib0ATgK7vu/Wpyiyyn+f6wJYhhzf9Qw==
"@carbon/icons@^10.38.0":
version "10.38.0"
resolved "https://registry.npmjs.org/@carbon/icons/-/icons-10.38.0.tgz#78a192909a7d1000261728ed5c18869bb2e45ede"
integrity sha512-l6LdiWhO5Ye6gaIz8uPsw0phd5vQU43WSVVYTInfx4ihIUP7wCaOtDOQkpEyQKdl0ZOh/k/eRhNt11XvwNPNNg==
dependencies:
svgson "^5.2.1"

Expand All @@ -1196,11 +1183,6 @@
resolved "https://registry.npmjs.org/@carbon/layout/-/layout-10.30.0.tgz#0b160e3c3f9c8cd401062ef4817ea81845a280ee"
integrity sha512-zG4r1z06rj64z1Eg+4L/rRbdxWwkhAkdhy7NegORK+VlNX8naGvz2F7N7v5BVR70EnYVEw8Izd8EsrYMnfM8tQ==

"@carbon/motion@^10.22.0":
version "10.22.0"
resolved "https://registry.npmjs.org/@carbon/motion/-/motion-10.22.0.tgz#a9f3e2a0c89d9b9f6c73c5ba61394c602f9f7acf"
integrity sha512-FoHyioCUkss3yBdxBDXOqSGXag4MeBlPbVgmNyzSWY+ucK/BYum0ZKQjYD8ITQEPWkmJ1Sx7JiELLrO5aa+Ihw==

"@carbon/motion@^10.23.0":
version "10.23.0"
resolved "https://registry.npmjs.org/@carbon/motion/-/motion-10.23.0.tgz#a670dbf56912f28018f8af5ae248be4389ecbf3a"
Expand Down Expand Up @@ -1236,7 +1218,7 @@
winston "^3.3.3"
yargs "^16.1.1"

"@carbon/themes@^10.38.0", "@carbon/themes@^10.40.0":
"@carbon/themes@^10.38.0":
version "10.40.0"
resolved "https://registry.npmjs.org/@carbon/themes/-/themes-10.40.0.tgz#27821aa89d16af4f3f931943ba820669cd201d98"
integrity sha512-aDveeWHibs6VO2pvb9xz3WIPk93TEXG/dyPGtZH9dLP16lBIdlqeMcyw6OUKhmTS4hchtlr47SceTrR0Rr2Bww==
Expand Down Expand Up @@ -2280,9 +2262,9 @@
integrity sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw==

"@types/mdast@^3.0.0":
version "3.0.9"
resolved "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.9.tgz#3f7fa18faf9e567da9aa49e44ecc76ad33c359ce"
integrity sha512-IUlIhG2KNPjOEuXIblTjovD1XW8HPGeulA12nEyc6xhO4Yrrcs+xczAl4ucR3cpwVlE+vb2x9Z7pRmVP4bUHng==
version "3.0.10"
resolved "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.10.tgz#4724244a82a4598884cbbe9bcfd73dff927ee8af"
integrity sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==
dependencies:
"@types/unist" "*"

Expand Down Expand Up @@ -4237,13 +4219,13 @@ capture-stack-trace@^1.0.0:
resolved "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d"
integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==

carbon-components-react@^7.37.1, carbon-components-react@^7.39.0, carbon-components-react@^7.42.0:
version "7.41.0"
resolved "https://registry.npmjs.org/carbon-components-react/-/carbon-components-react-7.41.0.tgz#9e3d0ea9116e2c95380c3ea9fcb0c56ed8e475d0"
integrity sha512-J2Gx4KEVSE9DdilNhjsecbY2R/r9Ldu+XYqsgdRsg6Ar919VQ3JRRmnJfyZyr5dx+iCLm1+y9+M7/sotUBQ88A==
carbon-components-react@^7.39.0, carbon-components-react@^7.42.0:
version "7.42.0"
resolved "https://registry.npmjs.org/carbon-components-react/-/carbon-components-react-7.42.0.tgz#7c93d6fce9bf2e8e0ff27fa2e5ebddc375af27e9"
integrity sha512-vY7xXM76tZW1PxbecMenLdXhNDKdjSPlLXUjlVdrxbZ+c40xIUWRaxk87+31naGPH7gLheuptHRKEQvJc2pL5A==
dependencies:
"@carbon/feature-flags" "^0.6.0"
"@carbon/icons-react" "^10.37.0"
"@carbon/icons-react" "^10.38.0"
"@carbon/telemetry" "0.0.0-alpha.6"
classnames "2.3.1"
copy-to-clipboard "^3.3.1"
Expand All @@ -4259,10 +4241,10 @@ carbon-components-react@^7.37.1, carbon-components-react@^7.39.0, carbon-compone
use-resize-observer "^6.0.0"
window-or-global "^1.0.1"

[email protected], carbon-components@^10.37.0, carbon-components@^10.39.0, carbon-components@^10.42.0:
version "10.41.0"
resolved "https://registry.npmjs.org/carbon-components/-/carbon-components-10.41.0.tgz#9634274b5235b155e0d03c26b932c5563ced82d9"
integrity sha512-aImbbY4EFFxt6uLHEtVaHwA1jTtDFGxkWPijPJpfK89ihKQb1F3nO9lhKnssxb/9943h1/olnwKDseuZy3AuhQ==
[email protected], carbon-components@^10.39.0, carbon-components@^10.42.0:
version "10.42.0"
resolved "https://registry.npmjs.org/carbon-components/-/carbon-components-10.42.0.tgz#8dc059c4e763ba6045c8fa9d8ca77e3f7baf8689"
integrity sha512-xGF6uOLQJX6F6KzVO+ZattWmkje0zlFt/biGSZcquwtT1J2tL3ag+epZlHIzmGp9gW06V1A2X9dBV4G6LbjNaw==
dependencies:
"@carbon/telemetry" "0.0.0-alpha.6"
flatpickr "4.6.1"
Expand Down

1 comment on commit 93c16b3

@vercel
Copy link

@vercel vercel bot commented on 93c16b3 Aug 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.