Skip to content

Commit

Permalink
chore(Portal): update Gatsby
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Feb 23, 2022
1 parent a2ef6fb commit 919cfd2
Show file tree
Hide file tree
Showing 5 changed files with 728 additions and 1,075 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/plugin-ignore-install-options.cjs
spec: packages/dnb-design-system-portal/node_modules/yarn-plugin-ignore-install-options/ignore-install-options-1.0.2.js
spec: node_modules/yarn-plugin-ignore-install-options/ignore-install-options-1.0.2.js

pnpMode: loose

Expand Down
2 changes: 1 addition & 1 deletion packages/dnb-design-system-portal/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const siteMetadata = {
}

const plugins = [
{
process.env.GATSBY_CLOUD === 'true' && {
resolve: 'gatsby-plugin-gatsby-cloud',
options: {},
},
Expand Down
31 changes: 14 additions & 17 deletions packages/dnb-design-system-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "DNB Design System Portal",
"license": "SEE LICENSE IN LICENSE FILE",
"author": "DNB Team & Tobias Høegh",
"main": "index.js",
"main": "src/docs/index.js",
"scripts": {
"build": "NODE_NO_WARNINGS=1 gatsby build --no-uglify",
"build-ci": "yarn build:version && yarn build --prefix-paths",
Expand Down Expand Up @@ -62,7 +62,7 @@
"@babel/eslint-parser": "7.16.0",
"@babel/node": "7.16.0",
"@emotion/cache": "11.5.0",
"babel-preset-gatsby": "2.1.0",
"babel-preset-gatsby": "2.8.0",
"camelcase": "6.2.0",
"cross-env": "7.0.3",
"current-git-branch": "1.1.0",
Expand All @@ -76,24 +76,24 @@
"eslint-plugin-react-hooks": "next",
"front-matter": "4.0.2",
"fs-extra": "10.0.0",
"gatsby": "4.1.2",
"gatsby": "4.8.0",
"gatsby-link": "4.1.0",
"gatsby-plugin-algolia": "0.25.0",
"gatsby-plugin-catch-links": "4.1.0",
"gatsby-plugin-algolia": "0.26.0",
"gatsby-plugin-catch-links": "4.8.0",
"gatsby-plugin-emotion": "7.1.0",
"gatsby-plugin-gatsby-cloud": "4.1.0",
"gatsby-plugin-manifest": "4.1.1",
"gatsby-plugin-gatsby-cloud": "4.8.0",
"gatsby-plugin-manifest": "4.8.0",
"gatsby-plugin-mdx": "3.1.1",
"gatsby-plugin-meta-redirect": "1.1.1",
"gatsby-plugin-offline": "5.1.1",
"gatsby-plugin-page-creator": "4.1.1",
"gatsby-plugin-react-helmet": "5.1.0",
"gatsby-plugin-offline": "5.8.0",
"gatsby-plugin-page-creator": "4.8.0",
"gatsby-plugin-react-helmet": "5.8.0",
"gatsby-plugin-remove-serviceworker": "1.0.0",
"gatsby-plugin-sass": "5.1.1",
"gatsby-plugin-sharp": "4.1.1",
"gatsby-react-router-scroll": "5.1.0",
"gatsby-remark-images": "6.1.1",
"gatsby-source-filesystem": "4.1.0",
"gatsby-plugin-sharp": "4.8.0",
"gatsby-react-router-scroll": "5.8.0",
"gatsby-remark-images": "6.8.0",
"gatsby-source-filesystem": "4.8.0",
"github-slugger": "1.4.0",
"is-absolute-url": "4.0.1",
"jest": "27.3.1",
Expand Down Expand Up @@ -127,9 +127,6 @@
"buildVersion": "[LOCAL BUILD]",
"releaseVersion": "[LOCAL BUILD]",
"changelogVersion": "[LOCAL BUILD]",
"installConfig": {
"hoistingLimits": "dependencies"
},
"volta": {
"extends": "../../package.json"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { P, Anchor, Ul, Li } from '@dnb/eufemia/src/elements'
import AutoLinkHeader from '../tags/AutoLinkHeader'

const ListSummaryFromDocs = ({ slug, useAsIndex = false }) => {
console.log('slug', slug)
const {
allMdx: { edges },
} = useStaticQuery(graphql`
Expand Down
Loading

0 comments on commit 919cfd2

Please sign in to comment.