hash
stringlengths
40
40
date
stringdate
2016-07-06 04:11:39
2024-11-19 20:41:05
author
stringlengths
2
35
commit_message
stringlengths
13
137
is_merge
bool
1 class
masked_commit_message
stringlengths
6
127
type
stringclasses
7 values
git_diff
stringlengths
104
6.64M
36048cfe2831bf0aa2c23b5fa01af3f9cec663de
2020-04-16 15:32:24
Pavel Ermolin
feat(gatsby-source-medium): define types explicitly via createSchemaCustomization (#22377)
false
define types explicitly via createSchemaCustomization (#22377)
feat
diff --git a/packages/gatsby-source-medium/src/gatsby-node.js b/packages/gatsby-source-medium/src/gatsby-node.js index 1ce7658bb58d2..c5b1b39ac246e 100644 --- a/packages/gatsby-source-medium/src/gatsby-node.js +++ b/packages/gatsby-source-medium/src/gatsby-node.js @@ -31,45 +31,43 @@ exports.sourceNodes = async ( const { createNode } = actions try { - const result = await fetch(username, limit) - const json = JSON.parse(strip(result.data)) + const { data } = await fetch(username, limit) + const { payload } = JSON.parse(strip(data)) let importableResources = [] let posts = {} // because `posts` needs to be in a scope accessible by `links` below - const users = Object.keys(json.payload.references.User).map( - key => json.payload.references.User[key] + const users = Object.keys(payload.references.User).map( + key => payload.references.User[key] ) importableResources = importableResources.concat(users) - if (json.payload.posts) { - posts = json.payload.posts + if (payload.posts) { + posts = payload.posts importableResources = importableResources.concat(posts) } - if (json.payload.references.Post) { - posts = Object.keys(json.payload.references.Post).map( - key => json.payload.references.Post[key] + if (payload.references.Post) { + posts = Object.keys(payload.references.Post).map( + key => payload.references.Post[key] ) importableResources = importableResources.concat(posts) } - if (json.payload.references.Collection) { - const collections = Object.keys(json.payload.references.Collection).map( - key => json.payload.references.Collection[key] + if (payload.references.Collection) { + const collections = Object.keys(payload.references.Collection).map( + key => payload.references.Collection[key] ) importableResources = importableResources.concat(collections) } - const resources = Array.prototype - .concat(...importableResources) - .map(resource => { - return { - ...resource, - medium_id: resource.id, - id: createNodeId(resource.id ? resource.id : resource.userId), - } - }) + const resources = [...importableResources].map(resource => { + return { + ...resource, + medium_id: resource.id, + id: createNodeId(resource.id ? resource.id : resource.userId), + } + }) const getID = node => (node ? node.id : null) @@ -78,35 +76,32 @@ exports.sourceNodes = async ( const contentDigest = createContentDigest(resource) - const links = - resource.type === `Post` - ? { - author___NODE: getID( - resources.find(r => r.userId === resource.creatorId) - ), - } - : resource.type === `User` - ? { - posts___NODE: resources - .filter( - r => r.type === `Post` && r.creatorId === resource.userId - ) - .map(r => r.id), - } - : {} - - const node = Object.assign( - resource, - { - parent: null, - children: [], - internal: { - type: `Medium${resource.type}`, - contentDigest, - }, + let links = {} + + if (resource.type === `Post`) { + links = { + author___NODE: getID( + resources.find(r => r.userId === resource.creatorId) + ), + } + } else if (resource.type === `User`) { + links = { + posts___NODE: resources + .filter(r => r.type === `Post` && r.creatorId === resource.userId) + .map(r => r.id), + } + } + + const node = { + ...resource, + ...links, + parent: null, + children: [], + internal: { + type: `Medium${resource.type}`, + contentDigest, }, - links - ) + } createNode(node) }) @@ -115,3 +110,514 @@ exports.sourceNodes = async ( process.exit(1) } } + +exports.createSchemaCustomization = async ({ actions }) => { + const typeDefs = ` + type MediumCollection implements Node { + name: String + slug: String + tags: [String] + creatorId: String + description: String + shortDescription: String + image: MediumCollectionImage + metadata: MediumCollectionMetadata + virtuals: MediumCollectionVirtuals + logo: MediumCollectionLogo + twitterUsername: String + facebookPageName: String + publicEmail: String + domain: String + sections: [MediumCollectionSections] + tintColor: String + lightText: Boolean + favicon: MediumCollectionFavicon + colorPalette: MediumCollectionColorPalette + navItems: [MediumCollectionNavItems] + colorBehavior: Int + instantArticlesState: Int + acceleratedMobilePagesState: Int + ampLogo: MediumCollectionAmpLogo + header: MediumCollectionHeader + paidForDomainAt: Date @dateformat + subscriberCount: Int + tagline: String + type: String + medium_id: String + } + + type MediumCollectionImage { + imageId: String + filter: String + backgroundSize: String + originalWidth: Int + originalHeight: Int + strategy: String + height: Int + width: Int + } + + type MediumCollectionMetadata { + followerCount: Int + activeAt: Date @dateformat + } + + type MediumCollectionVirtuals { + permissions: MediumCollectionVirtualsPermissions + isSubscribed: Boolean + isEnrolledInHightower: Boolean + isEligibleForHightower: Boolean + isSubscribedToCollectionEmails: Boolean + isMuted: Boolean + canToggleEmail: Boolean + } + + type MediumCollectionVirtualsPermissions { + canPublish: Boolean + canPublishAll: Boolean + canRepublish: Boolean + canRemove: Boolean + canManageAll: Boolean + canSubmit: Boolean + canEditPosts: Boolean + canAddWriters: Boolean + canViewStats: Boolean + canSendNewsletter: Boolean + canViewLockedPosts: Boolean + canViewCloaked: Boolean + canEditOwnPosts: Boolean + canBeAssignedAuthor: Boolean + canEnrollInHightower: Boolean + canLockPostsForMediumMembers: Boolean + canLockOwnPostsForMediumMembers: Boolean + canViewNewsletterV2Stats: Boolean + canCreateNewsletterV3: Boolean + } + + type MediumCollectionLogo { + imageId: String + filter: String + backgroundSize: String + originalWidth: Int + originalHeight: Int + strategy: String + height: Int + width: Int + } + + type MediumCollectionSections { + type: Int + collectionHeaderMetadata: MediumCollectionSectionsCollectionHeaderMetadata + postListMetadata: MediumCollectionSectionsPostListMetadata + } + + type MediumCollectionSectionsCollectionHeaderMetadata { + title: String + description: String + backgroundImage: MediumCollectionSectionsCollectionHeaderMetadataBackgroundImage + logoImage: MediumCollectionSectionsCollectionHeaderMetadataLogoImage + alignment: Int + layout: Int + } + + type MediumCollectionSectionsCollectionHeaderMetadataBackgroundImage { + id: String + originalWidth: Int + originalHeight: Int + focusPercentX: Float + focusPercentY: Float + } + + type MediumCollectionSectionsCollectionHeaderMetadataLogoImage { + id: String + originalWidth: Int + originalHeight: Int + alt: String + } + + type MediumCollectionSectionsPostListMetadata { + source: Int + layout: Int + number: Int + } + + type MediumCollectionFavicon { + imageId: String + filter: String + backgroundSize: String + originalWidth: Int + originalHeight: Int + strategy: String + height: Int + width: Int + } + + type MediumCollectionColorPalette { + defaultBackgroundSpectrum: MediumCollectionColorPaletteDefaultBackgroundSpectrum + tintBackgroundSpectrum: MediumCollectionColorPaletteTintBackgroundSpectrum + highlightSpectrum: MediumCollectionColorPaletteHighlightSpectrum + } + + type MediumCollectionColorPaletteDefaultBackgroundSpectrum { + colorPoints: [MediumCollectionColorPaletteDefaultBackgroundSpectrumColorPoints] + backgroundColor: String + } + + type MediumCollectionColorPaletteDefaultBackgroundSpectrumColorPoints { + color: String + point: Float + } + + type MediumCollectionColorPaletteTintBackgroundSpectrum { + colorPoints: [MediumCollectionColorPaletteTintBackgroundSpectrumColorPoints] + backgroundColor: String + } + + type MediumCollectionColorPaletteTintBackgroundSpectrumColorPoints { + color: String + point: Float + } + + type MediumCollectionColorPaletteHighlightSpectrum { + colorPoints: [MediumCollectionColorPaletteHighlightSpectrumColorPoints] + backgroundColor: String + } + + type MediumCollectionColorPaletteHighlightSpectrumColorPoints { + color: String + point: Float + } + + type MediumCollectionNavItems { + type: Int + title: String + url: String + topicId: String + source: String + } + + type MediumCollectionAmpLogo { + imageId: String + filter: String + backgroundSize: String + originalWidth: Int + originalHeight: Int + strategy: String + height: Int + width: Int + } + + type MediumCollectionHeader { + title: String + description: String + backgroundImage: MediumCollectionHeaderBackgroundImage + logoImage: MediumCollectionHeaderLogoImage + alignment: Int + layout: Int + } + + type MediumCollectionHeaderBackgroundImage { + id: String + originalWidth: Int + originalHeight: Int + focusPercentX: Float + focusPercentY: Float + } + + type MediumCollectionHeaderLogoImage { + id: String + originalWidth: Int + originalHeight: Int + alt: String + } + + type MediumUser implements Node { + userId: String + name: String + username: String + mediumMemberAt: Int + createdAt: Date @dateformat + imageId: String + backgroundImageId: String + bio: String + twitterScreenName: String + allowNotes: Int + isWriterProgramEnrolled: Boolean + isSuspended: Boolean + isMembershipTrialEligible: Boolean + type: String + posts: [MediumPost] @link(by: "id", from: "posts___NODE") + } + + type MediumPost implements Node { + versionId: String + creatorId: String + homeCollectionId: String + title: String + detectedLanguage: String + latestVersion: String + latestPublishedVersion: String + hasUnpublishedEdits: Boolean + latestRev: Int + createdAt: Date @dateformat + updatedAt: Date @dateformat + acceptedAt: Int + firstPublishedAt: Date @dateformat + latestPublishedAt: Date @dateformat + vote: Boolean + experimentalCss: String + displayAuthor: String + content: MediumPostContent + virtuals: MediumPostVirtuals + coverless: Boolean + slug: String + translationSourcePostId: String + translationSourceCreatorId: String + isApprovedTranslation: Boolean + inResponseToPostId: String + inResponseToRemovedAt: Int + isTitleSynthesized: Boolean + allowResponses: Boolean + importedUrl: String + importedPublishedAt: Int + visibility: Int + uniqueSlug: String + previewContent: MediumPostPreviewContent + license: Int + inResponseToMediaResourceId: String + canonicalUrl: String + approvedHomeCollectionId: String + newsletterId: String + webCanonicalUrl: String + mediumUrl: String + migrationId: String + notifyFollowers: Boolean + notifyTwitter: Boolean + notifyFacebook: Boolean + responseHiddenOnParentPostAt: Int + isSeries: Boolean + isSubscriptionLocked: Boolean + seriesLastAppendedAt: Date @dateformat + audioVersionDurationSec: Int + sequenceId: String + isEligibleForRevenue: Boolean + isBlockedFromHightower: Boolean + deletedAt: Int + lockedPostSource: Int + hightowerMinimumGuaranteeStartsAt: Int + hightowerMinimumGuaranteeEndsAt: Int + featureLockRequestAcceptedAt: Int + mongerRequestType: Int + layerCake: Int + socialTitle: String + socialDek: String + editorialPreviewTitle: String + editorialPreviewDek: String + isProxyPost: Boolean + proxyPostFaviconUrl: String + proxyPostProviderName: String + proxyPostType: Int + isSuspended: Boolean + isLimitedState: Boolean + seoTitle: String + previewContent2: MediumPostPreviewContent2 + cardType: Int + isDistributionAlertDismissed: Boolean + isShortform: Boolean + shortformType: Int + type: String + medium_id: String + author: MediumUser @link(by: "id", from: "author___NODE") + primaryTopicId: String + } + + type MediumPostContent { + subtitle: String + postDisplay: MediumPostContentPostDisplay + metaDescription: String + } + + type MediumPostContentPostDisplay { + coverless: Boolean + } + + type MediumPostVirtuals { + statusForCollection: String + allowNotes: Boolean + previewImage: MediumPostVirtualsPreviewImage + wordCount: Int + imageCount: Int + readingTime: Float + subtitle: String + publishedInCount: Int + noIndex: Boolean + recommends: Int + isBookmarked: Boolean + tags: [MediumPostVirtualsTags] + socialRecommendsCount: Int + responsesCreatedCount: Int + links: MediumPostVirtualsLinks + isLockedPreviewOnly: Boolean + metaDescription: String + totalClapCount: Int + sectionCount: Int + readingList: Int + topics: [MediumPostVirtualsTopics] + } + + type MediumPostVirtualsPreviewImage { + imageId: String + filter: String + backgroundSize: String + originalWidth: Int + originalHeight: Int + strategy: String + height: Int + width: Int + } + + type MediumPostVirtualsTags { + slug: String + name: String + postCount: Int + metadata: MediumPostVirtualsTagsMetadata + type: String + } + + type MediumPostVirtualsTagsMetadata { + postCount: Int + coverImage: MediumPostVirtualsTagsMetadataCoverImage + } + + type MediumPostVirtualsTagsMetadataCoverImage { + id: String + originalWidth: Int + originalHeight: Int + isFeatured: Boolean + unsplashPhotoId: String + alt: String + } + + type MediumPostVirtualsLinks { + entries: [MediumPostVirtualsLinksEntries] + version: String + generatedAt: Date @dateformat + } + + type MediumPostVirtualsLinksEntries { + url: String + alts: [MediumPostVirtualsLinksEntriesAlts] + httpStatus: Int + } + + type MediumPostVirtualsLinksEntriesAlts { + type: Int + url: String + } + + type MediumPostVirtualsTopics { + topicId: String + slug: String + createdAt: Date @dateformat + deletedAt: Int + image: MediumPostVirtualsTopicsImage + name: String + description: String + visibility: Int + type: String + } + + type MediumPostVirtualsTopicsImage { + id: String + originalWidth: Int + originalHeight: Int + } + + type MediumPostPreviewContent { + bodyModel: MediumPostPreviewContentBodyModel + isFullContent: Boolean + subtitle: String + } + + type MediumPostPreviewContentBodyModel { + paragraphs: [MediumPostPreviewContentBodyModelParagraphs] + sections: [MediumPostPreviewContentBodyModelSections] + } + + type MediumPostPreviewContentBodyModelParagraphs { + name: String + type: Int + text: String + layout: Int + metadata: MediumPostPreviewContentBodyModelParagraphsMetadata + markups: [MediumPostPreviewContentBodyModelParagraphsMarkups] + alignment: Int + hasDropCap: Boolean + } + + type MediumPostPreviewContentBodyModelParagraphsMetadata { + id: String + originalWidth: Int + originalHeight: Int + isFeatured: Boolean + unsplashPhotoId: String + alt: String + } + + type MediumPostPreviewContentBodyModelParagraphsMarkups { + type: Int + start: Int + end: Int + } + + type MediumPostPreviewContentBodyModelSections { + startIndex: Int + } + + type MediumPostPreviewContent2 { + bodyModel: MediumPostPreviewContent2BodyModel + isFullContent: Boolean + subtitle: String + } + + type MediumPostPreviewContent2BodyModel { + paragraphs: [MediumPostPreviewContent2BodyModelParagraphs] + sections: [MediumPostPreviewContent2BodyModelSections] + } + + type MediumPostPreviewContent2BodyModelParagraphs { + name: String + type: Int + text: String + markups: [MediumPostPreviewContent2BodyModelParagraphsMarkups] + layout: Int + metadata: MediumPostPreviewContent2BodyModelParagraphsMetadata + hasDropCap: Boolean + } + + type MediumPostPreviewContent2BodyModelParagraphsMarkups { + type: Int + start: Int + end: Int + href: String + title: String + rel: String + anchorType: Int + userId: String + } + + type MediumPostPreviewContent2BodyModelParagraphsMetadata { + id: String + originalWidth: Int + originalHeight: Int + isFeatured: Boolean + unsplashPhotoId: String + } + + type MediumPostPreviewContent2BodyModelSections { + startIndex: Int + } + ` + + actions.createTypes(typeDefs) +}
73ac41a6575e033abddd8af7ce6361733241323a
2019-06-10 12:02:30
stefanprobst
fix(gatsby): Dont use createPageDependency from actions (#14665)
false
Dont use createPageDependency from actions (#14665)
fix
diff --git a/packages/gatsby-source-graphql/src/gatsby-node.js b/packages/gatsby-source-graphql/src/gatsby-node.js index a2db3b0587bbf..9f74af17f95c2 100644 --- a/packages/gatsby-source-graphql/src/gatsby-node.js +++ b/packages/gatsby-source-graphql/src/gatsby-node.js @@ -19,7 +19,7 @@ exports.sourceNodes = async ( { actions, createNodeId, cache, createContentDigest }, options ) => { - const { addThirdPartySchema, createPageDependency, createNode } = actions + const { addThirdPartySchema, createNode } = actions const { url, typeName, @@ -89,7 +89,10 @@ exports.sourceNodes = async ( createNode(node) const resolver = (parent, args, context) => { - createPageDependency({ path: context.path, nodeId: nodeId }) + context.nodeModel.createPageDependency({ + path: context.path, + nodeId: nodeId, + }) return {} }
38c087cc28d6132d81376e0e9364e3cfe0b5810d
2019-08-28 00:32:00
Kyle Gill
feat(www): added images and logo banner to homepage (#17098)
false
added images and logo banner to homepage (#17098)
feat
diff --git a/docs/docs/recipes.md b/docs/docs/recipes.md index 454cb81740b9c..2299e9f34446d 100644 --- a/docs/docs/recipes.md +++ b/docs/docs/recipes.md @@ -577,7 +577,7 @@ query MyPokemonQuery { - Understand source plugins by building one in the [Pixabay source plugin tutorial](/docs/pixabay-source-plugin-tutorial/) - The createNode function [documentation](/docs/actions/#createNode) -### Sourcing Markdown data and creating pages with GraphQL +### Sourcing Markdown data for blog posts and pages with GraphQL You can source Markdown data and use Gatsby's [`createPages` API](/docs/actions/#createPage) to create pages dynamically. diff --git a/www/src/assets/used-by-logos/AirBnb.png b/www/src/assets/used-by-logos/AirBnb.png new file mode 100644 index 0000000000000..d79f7a77154bd Binary files /dev/null and b/www/src/assets/used-by-logos/AirBnb.png differ diff --git a/www/src/assets/used-by-logos/Braun.png b/www/src/assets/used-by-logos/Braun.png new file mode 100644 index 0000000000000..3a4cd0c3bf3b8 Binary files /dev/null and b/www/src/assets/used-by-logos/Braun.png differ diff --git a/www/src/assets/used-by-logos/Fabric.png b/www/src/assets/used-by-logos/Fabric.png new file mode 100644 index 0000000000000..60a94edb1a5bc Binary files /dev/null and b/www/src/assets/used-by-logos/Fabric.png differ diff --git a/www/src/assets/used-by-logos/Impossible.png b/www/src/assets/used-by-logos/Impossible.png new file mode 100644 index 0000000000000..aea969b435150 Binary files /dev/null and b/www/src/assets/used-by-logos/Impossible.png differ diff --git a/www/src/assets/used-by-logos/Nike.png b/www/src/assets/used-by-logos/Nike.png new file mode 100644 index 0000000000000..140bff445a1ce Binary files /dev/null and b/www/src/assets/used-by-logos/Nike.png differ diff --git a/www/src/assets/used-by-logos/PayPal.png b/www/src/assets/used-by-logos/PayPal.png new file mode 100644 index 0000000000000..72ef89e694e4f Binary files /dev/null and b/www/src/assets/used-by-logos/PayPal.png differ diff --git a/www/src/assets/used-by-logos/React.png b/www/src/assets/used-by-logos/React.png new file mode 100644 index 0000000000000..301534d7aff4b Binary files /dev/null and b/www/src/assets/used-by-logos/React.png differ diff --git a/www/src/assets/used-by-logos/Segment.png b/www/src/assets/used-by-logos/Segment.png new file mode 100644 index 0000000000000..ea805cd6f1ff2 Binary files /dev/null and b/www/src/assets/used-by-logos/Segment.png differ diff --git a/www/src/assets/used-by-logos/Snap Kit.png b/www/src/assets/used-by-logos/Snap Kit.png new file mode 100644 index 0000000000000..248495b7f37a6 Binary files /dev/null and b/www/src/assets/used-by-logos/Snap Kit.png differ diff --git a/www/src/assets/used-by-logos/figma.png b/www/src/assets/used-by-logos/figma.png new file mode 100644 index 0000000000000..77c9976a2ba39 Binary files /dev/null and b/www/src/assets/used-by-logos/figma.png differ diff --git a/www/src/assets/used-by-logos/flamingo.png b/www/src/assets/used-by-logos/flamingo.png new file mode 100644 index 0000000000000..d5f349bbf1a74 Binary files /dev/null and b/www/src/assets/used-by-logos/flamingo.png differ diff --git a/www/src/assets/used-by-logos/hopper.png b/www/src/assets/used-by-logos/hopper.png new file mode 100644 index 0000000000000..59c3ee93453d7 Binary files /dev/null and b/www/src/assets/used-by-logos/hopper.png differ diff --git a/www/src/assets/used-by-logos/sendgrid.png b/www/src/assets/used-by-logos/sendgrid.png new file mode 100644 index 0000000000000..8f8ed13fee2c3 Binary files /dev/null and b/www/src/assets/used-by-logos/sendgrid.png differ diff --git a/www/src/components/homepage/homepage-logo-banner.js b/www/src/components/homepage/homepage-logo-banner.js new file mode 100644 index 0000000000000..9af673908d51e --- /dev/null +++ b/www/src/components/homepage/homepage-logo-banner.js @@ -0,0 +1,108 @@ +import React from "react" +import { useStaticQuery, graphql } from "gatsby" +import Img from "gatsby-image" +import styled from "@emotion/styled" + +import { colors, space, mediaQueries } from "../../utils/presets" +import { Name } from "./homepage-section" + +const Section = styled(`section`)` + overflow: hidden; + padding: ${space[5]} 0; + width: 100%; + border-bottom: 1px solid ${colors.ui.border.subtle}; + + ${mediaQueries.xl} { + margin: -1px 0; + padding: ${space[5]} 0; + } + + ${mediaQueries.xxl} { + padding: ${space[7]} 0; + } +` + +const Title = styled(`header`)` + padding-right: ${space[6]}; + padding-left: ${space[6]}; + ${mediaQueries.md} { + max-width: 30rem; + } + + ${mediaQueries.lg} { + margin-left: ${space[9]}; + } + + ${mediaQueries.xl} { + padding-right: 5%; + padding-left: 5%; + } + + ${mediaQueries.xxl} { + padding-right: 8%; + padding-left: 8%; + } +` + +const LogoGroup = styled(`div`)` + position: relative; + display: grid; + grid-auto-flow: column; + grid-auto-columns: auto; + grid-gap: ${space[8]}; + align-items: center; + overflow-x: scroll; + padding-left: ${space[3]}; + padding-bottom: ${space[1]}; + ${mediaQueries.xxl} { + padding-bottom: ${space[3]}; + } + &::-webkit-scrollbar { + display: none; + } +` + +const HomepageLogoBanner = () => { + const data = useStaticQuery(graphql` + query { + allFile( + filter: { + extension: { regex: "/(jpg)|(png)|(jpeg)/" } + relativeDirectory: { eq: "used-by-logos" } + } + sort: { fields: publicURL } + ) { + edges { + node { + base + childImageSharp { + fixed(quality: 75, height: 36) { + ...GatsbyImageSharpFixed_tracedSVG + } + } + } + } + } + } + `) + + return ( + <Section> + <Title> + <Name>Trusted by</Name> + </Title> + <LogoGroup> + {data.allFile.edges.map(({ node: image }) => ( + <Img + alt={`${image.base.split(`.`)[0]}`} + fixed={image.childImageSharp.fixed} + key={image.base} + style={{ opacity: 0.5 }} + /> + ))} + </LogoGroup> + </Section> + ) +} + +export default HomepageLogoBanner diff --git a/www/src/pages/index.js b/www/src/pages/index.js index af4f1d6c3df71..d1a558877ea51 100644 --- a/www/src/pages/index.js +++ b/www/src/pages/index.js @@ -10,6 +10,7 @@ import MastheadContent from "../components/masthead" import Diagram from "../components/diagram" import FuturaParagraph from "../components/futura-paragraph" import Button from "../components/button" +import HomepageLogoBanner from "../components/homepage/homepage-logo-banner" import HomepageFeatures from "../components/homepage/homepage-features" import HomepageEcosystem from "../components/homepage/homepage-ecosystem" import HomepageBlog from "../components/homepage/homepage-blog" @@ -117,6 +118,7 @@ class IndexRoute extends React.Component { > <Diagram /> </div> + <HomepageLogoBanner /> <HomepageFeatures /> <div css={{ flex: `1 1 100%` }}> <Container withSidebar={false}>
a8faa479caa3d5e3f1665bf499422e36aa9ae355
2019-07-04 17:16:00
Jerome Dahdah
chore(docs): Update localization-i18n.md (#15353)
false
Update localization-i18n.md (#15353)
chore
diff --git a/docs/docs/localization-i18n.md b/docs/docs/localization-i18n.md index 8d82c458f12a9..876dfe6a8537a 100644 --- a/docs/docs/localization-i18n.md +++ b/docs/docs/localization-i18n.md @@ -14,7 +14,7 @@ There are a few React i18n packages out there. Several options include [react-in ### gatsby-plugin-i18n -This plugin helps you use `react-intl`, `i18next` or and other i18n library with Gatsby. This plugin does not translate or format your content rather it creates routes for each language, allowing Google to more easily find the correct version of your site, and if you need to, designate alternative UI layouts. +This plugin helps you use `react-intl`, `i18next` or any other i18n library with Gatsby. This plugin does not translate or format your content, but rather it creates routes for each language, allowing Google to more easily find the correct version of your site, and if you need to, designate alternative UI layouts. The naming format follows .**languageKey**.js for files and /**languageKey**/path/fileName for URLs.
ba146fd3b7ee1f18c1c695bc654890151d2cc0b3
2022-10-03 20:37:58
Michal Piechowiak
chore(tests): setup circleci to run unit tests againt v5 (#36714)
false
setup circleci to run unit tests againt v5 (#36714)
chore
diff --git a/.circleci/config.yml b/.circleci/config.yml index 9fdce490bd5c9..3a53d4cdf85cd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,10 +8,14 @@ executors: image: type: string default: "14.15.0" + gatsby_major: + type: string + default: "4" docker: - image: cimg/node:<< parameters.image >> environment: GATSBY_CPU_COUNT: 2 + COMPILER_OPTIONS: GATSBY_MAJOR=<< parameters.gatsby_major >> aliases: e2e-executor-env: &e2e-executor-env @@ -197,6 +201,28 @@ jobs: - "packages/" - "node_modules/" + bootstrap_v5: + executor: + name: node + gatsby_major: "5" + steps: + - checkout + - run: ./scripts/assert-changed-files.sh "packages/*|(e2e|integration)-tests/*|.circleci/*|scripts/e2e-test.sh|yarn.lock" + # python 2 is not built in and node-gyp needs it to build lmdb + - run: sudo apt-get update && sudo apt-get install python -y + - <<: *restore_cache + - <<: *install_node_modules + - <<: *check_lockfile + - <<: *validate_renovate + - <<: *persist_cache + - run: yarn bootstrap -- concurrency=2 + # Persist the workspace again with all packages already built + - persist_to_workspace: + root: ./ + paths: + - "packages/" + - "node_modules/" + lint: executor: node steps: @@ -240,6 +266,13 @@ jobs: image: "18.2.0" <<: *test_template + unit_tests_node18_v5: + executor: + name: node + image: "18.2.0" + gatsby_major: "5" + <<: *test_template + integration_tests_gatsby_source_wordpress: machine: image: "ubuntu-2004:202107-02" @@ -668,3 +701,11 @@ workflows: branches: only: - master + + build-test_v5: + jobs: + - bootstrap_v5 + - unit_tests_node18_v5: + <<: *ignore_docs + requires: + - bootstrap_v5 diff --git a/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js b/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js index 8814eaeefb644..2291667c0e7c2 100644 --- a/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js +++ b/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js @@ -25,6 +25,8 @@ function transform(query, filename) { return code } +const itWhenV4 = _CFLAGS_.GATSBY_MAJOR !== `5` ? it : it.skip + describe(`babel-plugin-remove-graphql-queries`, () => { it.todo( `Works correctly with the kitchen sink` @@ -221,7 +223,7 @@ describe(`babel-plugin-remove-graphql-queries`, () => { `) }) - it(`Transforms queries in <StaticQuery>`, () => { + itWhenV4(`Transforms queries in <StaticQuery>`, () => { matchesSnapshot(` import * as React from 'react' import { graphql, StaticQuery } from 'gatsby' @@ -235,8 +237,10 @@ describe(`babel-plugin-remove-graphql-queries`, () => { `) }) - it(`Transforms queries defined in own variable in <StaticQuery>`, () => { - matchesSnapshot(` + itWhenV4( + `Transforms queries defined in own variable in <StaticQuery>`, + () => { + matchesSnapshot(` import * as React from 'react' import { graphql, StaticQuery } from 'gatsby' @@ -249,9 +253,10 @@ describe(`babel-plugin-remove-graphql-queries`, () => { /> ) `) - }) + } + ) - it(`transforms exported variable queries in <StaticQuery>`, () => { + itWhenV4(`transforms exported variable queries in <StaticQuery>`, () => { matchesSnapshot(` import * as React from 'react' import { graphql, StaticQuery } from 'gatsby' @@ -430,7 +435,7 @@ describe(`babel-plugin-remove-graphql-queries`, () => { ) }) - it(`Handles closing StaticQuery tag`, () => { + itWhenV4(`Handles closing StaticQuery tag`, () => { matchesSnapshot(` import * as React from 'react' import { graphql, StaticQuery } from 'gatsby' @@ -445,7 +450,7 @@ describe(`babel-plugin-remove-graphql-queries`, () => { `) }) - it(`Doesn't add data import for non static queries`, () => { + itWhenV4(`Doesn't add data import for non static queries`, () => { matchesSnapshot(` import * as React from 'react' import { StaticQuery, graphql } from "gatsby" diff --git a/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap b/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap index c9fe2e0dcee30..94886aa70e5a8 100644 --- a/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap +++ b/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap @@ -77,50 +77,6 @@ Array [ ] `; -exports[`babel-preset-gatsby-package in browser mode specifies the proper plugins 1`] = ` -Array [ - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-optional-chaining", - "@babel/plugin-transform-runtime", - "@babel/plugin-syntax-dynamic-import", - "babel-plugin-dynamic-import-node", - Array [ - "./babel-transform-compiler-flags", - Object { - "availableFlags": Array [ - "GATSBY_MAJOR", - ], - "flags": Object { - "GATSBY_MAJOR": "4", - }, - }, - ], - "babel-plugin-lodash", -] -`; - -exports[`babel-preset-gatsby-package in node mode can enable compilerFlags 1`] = ` -Array [ - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-optional-chaining", - "@babel/plugin-transform-runtime", - "@babel/plugin-syntax-dynamic-import", - "babel-plugin-dynamic-import-node", - Array [ - "./babel-transform-compiler-flags", - Object { - "availableFlags": Array [ - "MAJOR", - ], - "flags": Object { - "GATSBY_MAJOR": "4", - }, - }, - ], - "babel-plugin-lodash", -] -`; - exports[`babel-preset-gatsby-package in node mode specifies proper presets 1`] = ` Array [ Array [ @@ -168,25 +124,3 @@ Array [ "@babel/preset-flow", ] `; - -exports[`babel-preset-gatsby-package in node mode specifies the proper plugins 1`] = ` -Array [ - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-optional-chaining", - "@babel/plugin-transform-runtime", - "@babel/plugin-syntax-dynamic-import", - "babel-plugin-dynamic-import-node", - Array [ - "./babel-transform-compiler-flags", - Object { - "availableFlags": Array [ - "GATSBY_MAJOR", - ], - "flags": Object { - "GATSBY_MAJOR": "4", - }, - }, - ], - "babel-plugin-lodash", -] -`; diff --git a/packages/babel-preset-gatsby-package/lib/__tests__/index.js b/packages/babel-preset-gatsby-package/lib/__tests__/index.js index 6b959547c91fc..3ab2c9c4c6edf 100644 --- a/packages/babel-preset-gatsby-package/lib/__tests__/index.js +++ b/packages/babel-preset-gatsby-package/lib/__tests__/index.js @@ -2,13 +2,15 @@ const preset = require(`../index.js`) jest.mock(`../resolver`, () => jest.fn(moduleName => moduleName)) +const itWhenV4 = _CFLAGS_.GATSBY_MAJOR !== `5` ? it : it.skip +const itWhenV5 = _CFLAGS_.GATSBY_MAJOR === `5` ? it : it.skip describe(`babel-preset-gatsby-package`, () => { - let babelEnv; + let babelEnv beforeEach(() => { babelEnv = process.env.BABEL_ENV - delete process.env.BABEL_ENV; + delete process.env.BABEL_ENV }) afterEach(() => { @@ -16,9 +18,54 @@ describe(`babel-preset-gatsby-package`, () => { }) describe(`in node mode`, () => { - it(`specifies the proper plugins`, () => { + itWhenV4(`specifies the proper plugins (v4)`, () => { const { plugins } = preset() - expect(plugins).toMatchSnapshot() + expect(plugins).toMatchInlineSnapshot(` + Array [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-transform-runtime", + "@babel/plugin-syntax-dynamic-import", + "babel-plugin-dynamic-import-node", + Array [ + "./babel-transform-compiler-flags", + Object { + "availableFlags": Array [ + "GATSBY_MAJOR", + ], + "flags": Object { + "GATSBY_MAJOR": "4", + }, + }, + ], + "babel-plugin-lodash", + ] + `) + }) + + itWhenV5(`specifies the proper plugins (v5)`, () => { + const { plugins } = preset() + expect(plugins).toMatchInlineSnapshot(` + Array [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-transform-runtime", + "@babel/plugin-syntax-dynamic-import", + "babel-plugin-dynamic-import-node", + Array [ + "./babel-transform-compiler-flags", + Object { + "availableFlags": Array [ + "GATSBY_MAJOR", + ], + "flags": Object { + "GATSBY_MAJOR": "5", + }, + }, + ], + "babel-plugin-lodash", + ] + `) }) it(`specifies proper presets`, () => { @@ -37,21 +84,113 @@ describe(`babel-preset-gatsby-package`, () => { nodeVersion, }) - const [, opts] = presets.find(preset => [].concat(preset).includes(`@babel/preset-env`)) + const [, opts] = presets.find(preset => + [].concat(preset).includes(`@babel/preset-env`) + ) expect(opts.targets.node).toBe(nodeVersion) }) - it(`can enable compilerFlags`, () => { + itWhenV4(`can enable compilerFlags (v4)`, () => { const { plugins } = preset(null, { availableCompilerFlags: [`MAJOR`] }) - expect(plugins).toMatchSnapshot() + expect(plugins).toMatchInlineSnapshot(` + Array [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-transform-runtime", + "@babel/plugin-syntax-dynamic-import", + "babel-plugin-dynamic-import-node", + Array [ + "./babel-transform-compiler-flags", + Object { + "availableFlags": Array [ + "MAJOR", + ], + "flags": Object { + "GATSBY_MAJOR": "4", + }, + }, + ], + "babel-plugin-lodash", + ] + `) + }) + + itWhenV5(`can enable compilerFlags (v5)`, () => { + const { plugins } = preset(null, { availableCompilerFlags: [`MAJOR`] }) + expect(plugins).toMatchInlineSnapshot(` + Array [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-transform-runtime", + "@babel/plugin-syntax-dynamic-import", + "babel-plugin-dynamic-import-node", + Array [ + "./babel-transform-compiler-flags", + Object { + "availableFlags": Array [ + "MAJOR", + ], + "flags": Object { + "GATSBY_MAJOR": "5", + }, + }, + ], + "babel-plugin-lodash", + ] + `) }) }) describe(`in browser mode`, () => { - it(`specifies the proper plugins`, () => { + itWhenV4(`specifies the proper plugins (v4)`, () => { + const { plugins } = preset(null, { browser: true }) + expect(plugins).toMatchInlineSnapshot(` + Array [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-transform-runtime", + "@babel/plugin-syntax-dynamic-import", + "babel-plugin-dynamic-import-node", + Array [ + "./babel-transform-compiler-flags", + Object { + "availableFlags": Array [ + "GATSBY_MAJOR", + ], + "flags": Object { + "GATSBY_MAJOR": "4", + }, + }, + ], + "babel-plugin-lodash", + ] + `) + }) + + itWhenV5(`specifies the proper plugins (v5)`, () => { const { plugins } = preset(null, { browser: true }) - expect(plugins).toMatchSnapshot() + expect(plugins).toMatchInlineSnapshot(` + Array [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + "@babel/plugin-transform-runtime", + "@babel/plugin-syntax-dynamic-import", + "babel-plugin-dynamic-import-node", + Array [ + "./babel-transform-compiler-flags", + Object { + "availableFlags": Array [ + "GATSBY_MAJOR", + ], + "flags": Object { + "GATSBY_MAJOR": "5", + }, + }, + ], + "babel-plugin-lodash", + ] + `) }) it(`specifies proper presets`, () => { diff --git a/packages/gatsby-cli/src/__tests__/index.ts b/packages/gatsby-cli/src/__tests__/index.ts index adf7637d75b88..b5e0b9b48fb6b 100644 --- a/packages/gatsby-cli/src/__tests__/index.ts +++ b/packages/gatsby-cli/src/__tests__/index.ts @@ -32,6 +32,9 @@ const getCLI = (): IGetCLI => { } } +const itWhenV4 = _CFLAGS_.GATSBY_MAJOR !== `5` ? it : it.skip +const itWhenV5 = _CFLAGS_.GATSBY_MAJOR === `5` ? it : it.skip + let __process__ beforeAll(() => { __process__ = global.process @@ -52,8 +55,7 @@ const setup = (version?: string): ReturnType<typeof getCLI> => { } describe(`error handling`, () => { - // TODO(v5): Update test to handle Node 18 - it(`panics on Node < 14.15.0`, () => { + itWhenV4(`panics on Node < 14.15.0 (v4)`, () => { ;[`6.0.0`, `8.0.0`, `12.13.0`, `13.0.0`].forEach(version => { const { reporter } = setup(version) @@ -62,6 +64,17 @@ describe(`error handling`, () => { }) }) + itWhenV5(`panics on Node < 18.0.0 (v5)`, () => { + ;[`6.0.0`, `8.0.0`, `12.13.0`, `13.0.0`, `14.15.0`, `17.0.0`].forEach( + version => { + const { reporter } = setup(version) + + expect(reporter.panic).toHaveBeenCalledTimes(1) + reporter.panic.mockClear() + } + ) + }) + it(`shows error with link to more info`, () => { const { reporter } = setup(`v6.0.0`) @@ -71,7 +84,7 @@ describe(`error handling`, () => { }) it(`allows prerelease versions`, () => { - const { reporter } = setup(`v15.0.0-pre`) + const { reporter } = setup(`v19.0.0-pre`) expect(reporter.panic).not.toHaveBeenCalled() }) @@ -96,7 +109,7 @@ describe(`error handling`, () => { // }) describe(`normal behavior`, () => { - it(`does not panic on Node >= 14.15.0`, () => { + itWhenV4(`does not panic on Node >= 14.15.0 (v4)`, () => { ;[`14.15.0`, `15.0.0`, `16.3.0`].forEach(version => { const { reporter } = setup(version) @@ -104,6 +117,14 @@ describe(`normal behavior`, () => { }) }) + itWhenV5(`does not panic on Node >= 18.0.0 (v5)`, () => { + ;[`18.0.0`, `19.0.0`, `20.0.0`].forEach(version => { + const { reporter } = setup(version) + + expect(reporter.panic).not.toHaveBeenCalled() + }) + }) + it(`invokes createCli`, () => { const { createCli } = setup() diff --git a/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap b/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap index 844d791215ddb..7b55ef955af1f 100644 --- a/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap +++ b/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap @@ -1,2560 +1,2556 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`File parser extracts query AST correctly from files: panicOnBuild 1`] = ` -Array [ - Array [ - "Using the global \`graphql\` tag for Gatsby's queries isn't supported as of v3. +exports[`File parser extracts query AST correctly from files 1`] = ` +Object { + "panicOnBuildCalls": Array [ + Array [ + "Using the global \`graphql\` tag for Gatsby's queries isn't supported as of v3. Import it instead like: import { graphql } from 'gatsby' in file: global-query.js", - ], - Array [ - "Using the global \`graphql\` tag for Gatsby's queries isn't supported as of v3. + ], + Array [ + "Using the global \`graphql\` tag for Gatsby's queries isn't supported as of v3. Import it instead like: import { graphql } from 'gatsby' in file: global-static-query-hooks.js", + ], ], -] -`; - -exports[`File parser extracts query AST correctly from files: results 1`] = ` -Array [ - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 30, - "start": 1, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 20, - "start": 7, - }, - "value": "PageQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + "results": Array [ + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 30, - "start": 21, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 28, - "start": 25, - }, - "name": Object { - "kind": "Name", + "start": 1, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 20, + "start": 7, + }, + "value": "PageQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 30, + "start": 21, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 28, "start": 25, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 28, + "start": 25, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 31, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 31, - "start": 0, }, - }, - "filePath": "page-query.js", - "hash": 3530286846, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 97, - "line": 6, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 33, - "index": 66, - "line": 2, + "filePath": "page-query.js", + "hash": 3530286846, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 97, + "line": 6, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 33, + "index": 66, + "line": 2, + }, }, + "text": "query PageQueryName{foo}", }, - "text": "query PageQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 34, - "start": 1, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 24, - "start": 7, - }, - "value": "PageQueryIndirect", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 34, - "start": 25, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 32, - "start": 29, - }, - "name": Object { - "kind": "Name", + "start": 1, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 24, + "start": 7, + }, + "value": "PageQueryIndirect", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 34, + "start": 25, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 32, "start": 29, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 32, + "start": 29, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 35, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 35, - "start": 0, }, - }, - "filePath": "page-query-indirect.js", - "hash": 1314068098, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 94, - "line": 6, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 26, - "index": 59, - "line": 2, + "filePath": "page-query-indirect.js", + "hash": 1314068098, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 94, + "line": 6, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 26, + "index": 59, + "line": 2, + }, }, + "text": "query PageQueryIndirect{foo}", }, - "text": "query PageQueryIndirect{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 35, - "start": 1, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 25, - "start": 7, - }, - "value": "PageQueryIndirect2", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 35, - "start": 26, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 33, - "start": 30, - }, - "name": Object { - "kind": "Name", + "start": 1, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 25, + "start": 7, + }, + "value": "PageQueryIndirect2", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 35, + "start": 26, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 33, "start": 30, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 33, + "start": 30, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 36, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 36, - "start": 0, }, - }, - "filePath": "page-query-indirect-2.js", - "hash": 1258001265, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 95, - "line": 6, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 26, - "index": 59, - "line": 2, + "filePath": "page-query-indirect-2.js", + "hash": 1258001265, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 95, + "line": 6, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 26, + "index": 59, + "line": 2, + }, }, + "text": "query PageQueryIndirect2{foo}", }, - "text": "query PageQueryIndirect2{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 16, - "start": 1, - }, - "name": Object { - "kind": "Name", - "value": "pagePageQueryNoNameJs1125018085", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 16, - "start": 7, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 14, - "start": 11, - }, - "name": Object { - "kind": "Name", + "start": 1, + }, + "name": Object { + "kind": "Name", + "value": "pagePageQueryNoNameJs1125018085", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 16, + "start": 7, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 14, "start": 11, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 14, + "start": 11, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 17, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 17, - "start": 0, - }, - }, - "filePath": "page-query-no-name.js", - "hash": 1125018085, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 81, - "line": 6, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 31, - "index": 64, - "line": 2, + "filePath": "page-query-no-name.js", + "hash": 1125018085, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 81, + "line": 6, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 31, + "index": 64, + "line": 2, + }, }, + "text": "query{foo}", }, - "text": "query{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, - }, - }, - "filePath": "static-query.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 48, - "index": 121, - "line": 4, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 19, - "index": 92, - "line": 4, + "filePath": "static-query.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 48, + "index": 121, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 19, + "index": 92, + "line": 4, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 7, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticStaticQueryNoNameJs3221935794", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 7, "start": 0, }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 5, - "start": 2, - }, - "name": Object { - "kind": "Name", + "name": Object { + "kind": "Name", + "value": "staticStaticQueryNoNameJs3221935794", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 7, + "start": 0, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 5, "start": 2, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 5, + "start": 2, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 7, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 7, - "start": 0, - }, - }, - "filePath": "static-query-no-name.js", - "hash": 3221935794, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 26, - "index": 99, - "line": 4, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 19, - "index": 92, - "line": 4, + "filePath": "static-query-no-name.js", + "hash": 3221935794, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 26, + "index": 99, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 19, + "index": 92, + "line": 4, + }, }, + "text": "{foo}", }, - "text": "{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, - }, - }, - "filePath": "static-query-named-export.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 48, - "index": 131, - "line": 4, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 19, - "index": 102, - "line": 4, + "filePath": "static-query-named-export.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 48, + "index": 131, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 19, + "index": 102, + "line": 4, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 7, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticStaticQueryClosingTagJs3221935794", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 7, "start": 0, }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 5, - "start": 2, - }, - "name": Object { - "kind": "Name", + "name": Object { + "kind": "Name", + "value": "staticStaticQueryClosingTagJs3221935794", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 7, + "start": 0, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 5, "start": 2, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 5, + "start": 2, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 7, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 7, - "start": 0, }, - }, - "filePath": "static-query-closing-tag.js", - "hash": 3221935794, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 26, - "index": 99, - "line": 4, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 19, - "index": 92, - "line": 4, + "filePath": "static-query-closing-tag.js", + "hash": 3221935794, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 26, + "index": 99, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 19, + "index": 92, + "line": 4, + }, }, + "text": "{foo}", }, - "text": "{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, }, - }, - "filePath": "page-query-and-static-query-named-export.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 48, - "index": 131, - "line": 4, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 19, - "index": 102, - "line": 4, + "filePath": "page-query-and-static-query-named-export.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 48, + "index": 131, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 19, + "index": 102, + "line": 4, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 27, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 19, - "start": 6, - }, - "value": "PageQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 27, - "start": 20, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 25, - "start": 22, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 19, + "start": 6, + }, + "value": "PageQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 27, + "start": 20, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 25, "start": 22, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 25, + "start": 22, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 27, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 27, - "start": 0, - }, - }, - "filePath": "page-query-and-static-query-named-export.js", - "hash": 3530286846, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 60, - "index": 244, - "line": 8, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 33, - "index": 217, - "line": 8, + "filePath": "page-query-and-static-query-named-export.js", + "hash": 3530286846, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 60, + "index": 244, + "line": 8, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 33, + "index": 217, + "line": 8, + }, }, + "text": "query PageQueryName{foo}", }, - "text": "query PageQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "FragmentDefinition", - "loc": Object { - "end": 53, - "start": 3, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 12, - }, - "value": "Fragment1", - }, - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "FragmentDefinition", "loc": Object { "end": 53, - "start": 40, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 49, - "start": 46, - }, - "name": Object { - "kind": "Name", + "start": 3, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 12, + }, + "value": "Fragment1", + }, + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 53, + "start": 40, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 49, "start": 46, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 49, + "start": 46, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], - }, - "typeCondition": Object { - "kind": "NamedType", - "loc": Object { - "end": 39, - "start": 25, + ], }, - "name": Object { - "kind": "Name", + "typeCondition": Object { + "kind": "NamedType", "loc": Object { "end": 39, "start": 25, }, - "value": "RootQueryField", - }, - }, - }, - Object { - "directives": Array [], - "kind": "FragmentDefinition", - "loc": Object { - "end": 106, - "start": 56, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 74, - "start": 65, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 39, + "start": 25, + }, + "value": "RootQueryField", + }, }, - "value": "Fragment2", }, - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "directives": Array [], + "kind": "FragmentDefinition", "loc": Object { "end": 106, - "start": 93, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 102, - "start": 99, - }, - "name": Object { - "kind": "Name", + "start": 56, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 74, + "start": 65, + }, + "value": "Fragment2", + }, + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 106, + "start": 93, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 102, "start": 99, }, - "value": "bar", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 102, + "start": 99, + }, + "value": "bar", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], - }, - "typeCondition": Object { - "kind": "NamedType", - "loc": Object { - "end": 92, - "start": 78, + ], }, - "name": Object { - "kind": "Name", + "typeCondition": Object { + "kind": "NamedType", "loc": Object { "end": 92, "start": 78, }, - "value": "RootQueryField", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 92, + "start": 78, + }, + "value": "RootQueryField", + }, }, }, + ], + "kind": "Document", + "loc": Object { + "end": 107, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 107, - "start": 0, }, - }, - "filePath": "multiple-fragment-exports.js", - "hash": 1171727280, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 175, - "line": 9, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 35, - "index": 68, - "line": 2, + "filePath": "multiple-fragment-exports.js", + "hash": 1171727280, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 175, + "line": 9, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 35, + "index": 68, + "line": 2, + }, }, + "text": "fragment Fragment1 on RootQueryField{foo}fragment Fragment2 on RootQueryField{bar}", }, - "text": "fragment Fragment1 on RootQueryField{foo}fragment Fragment2 on RootQueryField{bar}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "FragmentDefinition", - "loc": Object { - "end": 53, - "start": 3, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 12, - }, - "value": "Fragment3", - }, - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "FragmentDefinition", "loc": Object { "end": 53, - "start": 40, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 49, - "start": 46, - }, - "name": Object { - "kind": "Name", + "start": 3, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 12, + }, + "value": "Fragment3", + }, + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 53, + "start": 40, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 49, "start": 46, }, - "value": "baz", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 49, + "start": 46, + }, + "value": "baz", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], - }, - "typeCondition": Object { - "kind": "NamedType", - "loc": Object { - "end": 39, - "start": 25, + ], }, - "name": Object { - "kind": "Name", + "typeCondition": Object { + "kind": "NamedType", "loc": Object { "end": 39, "start": 25, }, - "value": "RootQueryField", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 39, + "start": 25, + }, + "value": "RootQueryField", + }, }, }, + ], + "kind": "Document", + "loc": Object { + "end": 54, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 54, - "start": 0, - }, - }, - "filePath": "multiple-fragment-exports.js", - "hash": 3923246124, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 264, - "line": 14, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 33, - "index": 210, - "line": 10, + "filePath": "multiple-fragment-exports.js", + "hash": 3923246124, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 264, + "line": 14, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 33, + "index": 210, + "line": 10, + }, }, + "text": "fragment Fragment3 on RootQueryField{baz}", }, - "text": "fragment Fragment3 on RootQueryField{baz}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 74, - "start": 3, - }, - "name": Object { - "kind": "Name", - "value": "staticFragmentShorthandJs3159585216", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 74, - "start": 9, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 70, - "start": 15, - }, - "name": Object { - "kind": "Name", + "start": 3, + }, + "name": Object { + "kind": "Name", + "value": "staticFragmentShorthandJs3159585216", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 74, + "start": 9, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 19, + "end": 70, "start": 15, }, - "value": "site", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 70, - "start": 20, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 19, + "start": 15, + }, + "value": "site", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 64, - "start": 28, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 70, + "start": 20, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 40, + "end": 64, "start": 28, }, - "value": "siteMetadata", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 64, - "start": 41, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 40, + "start": 28, + }, + "value": "siteMetadata", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 56, - "start": 51, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 64, + "start": 41, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 56, "start": 51, }, - "value": "title", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 56, + "start": 51, + }, + "value": "title", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 75, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 75, - "start": 0, - }, - }, - "filePath": "fragment-shorthand.js", - "hash": 3159585216, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 170, - "line": 12, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 22, - "index": 95, - "line": 4, + "filePath": "fragment-shorthand.js", + "hash": 3159585216, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 170, + "line": 12, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 22, + "index": 95, + "line": 4, + }, }, + "text": "query{site{siteMetadata{title}}}", }, - "text": "query{site{siteMetadata{title}}}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 47, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticQueryInSeparateVariableJs1528532020", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 47, "start": 0, }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 46, - "start": 2, - }, - "name": Object { - "kind": "Name", + "name": Object { + "kind": "Name", + "value": "staticQueryInSeparateVariableJs1528532020", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 47, + "start": 0, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 19, + "end": 46, "start": 2, }, - "value": "allMarkdownRemark", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 46, - "start": 20, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 19, + "start": 2, + }, + "value": "allMarkdownRemark", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 45, - "start": 22, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 46, + "start": 20, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 26, + "end": 45, "start": 22, }, - "value": "blah", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 45, - "start": 27, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 26, + "start": 22, + }, + "value": "blah", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 44, - "start": 29, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 45, + "start": 27, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 33, + "end": 44, "start": 29, }, - "value": "node", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 44, - "start": 34, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 33, + "start": 29, + }, + "value": "node", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 42, - "start": 36, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 44, + "start": 34, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 42, "start": 36, }, - "value": "cheese", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 42, + "start": 36, + }, + "value": "cheese", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 47, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 47, - "start": 0, - }, - }, - "filePath": "query-in-separate-variable.js", - "hash": 1528532020, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 69, - "index": 142, - "line": 4, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 22, - "index": 95, - "line": 4, + "filePath": "query-in-separate-variable.js", + "hash": 1528532020, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 69, + "index": 142, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 22, + "index": 95, + "line": 4, + }, }, + "text": "{allMarkdownRemark{blah{node{cheese}}}}", }, - "text": "{allMarkdownRemark{blah{node{cheese}}}}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 49, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticQueryInSeparateVariable2Js278713111", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 49, "start": 0, }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 48, - "start": 2, - }, - "name": Object { - "kind": "Name", + "name": Object { + "kind": "Name", + "value": "staticQueryInSeparateVariable2Js278713111", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 49, + "start": 0, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 21, + "end": 48, "start": 2, }, - "value": "allStrangeQueryName", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 48, - "start": 22, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 2, + }, + "value": "allStrangeQueryName", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 47, - "start": 24, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 48, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 28, + "end": 47, "start": 24, }, - "value": "blah", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 47, - "start": 29, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 28, + "start": 24, + }, + "value": "blah", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 46, - "start": 31, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 47, + "start": 29, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 35, + "end": 46, "start": 31, }, - "value": "node", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 46, - "start": 36, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 35, + "start": 31, + }, + "value": "node", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 44, - "start": 38, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 46, + "start": 36, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 44, "start": 38, }, - "value": "cheese", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 44, + "start": 38, + }, + "value": "cheese", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 49, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 49, - "start": 0, }, - }, - "filePath": "query-in-separate-variable-2.js", - "hash": 278713111, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 82, - "index": 216, - "line": 5, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 33, - "index": 167, - "line": 5, + "filePath": "query-in-separate-variable-2.js", + "hash": 278713111, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 82, + "index": 216, + "line": 5, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 33, + "index": 167, + "line": 5, + }, }, + "text": "{allStrangeQueryName{blah{node{cheese}}}}", }, - "text": "{allStrangeQueryName{blah{node{cheese}}}}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, }, - }, - "filePath": "static-query-hooks.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 67, - "index": 139, - "line": 3, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 38, - "index": 110, - "line": 3, + "filePath": "static-query-hooks.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 67, + "index": 139, + "line": 3, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 38, + "index": 110, + "line": 3, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, - }, - }, - "filePath": "static-query-hooks-with-other-export.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 67, - "index": 165, - "line": 4, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 38, - "index": 136, - "line": 4, + "filePath": "static-query-hooks-with-other-export.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 67, + "index": 165, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 38, + "index": 136, + "line": 4, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, - }, - }, - "filePath": "static-query-hooks-alternative-import.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 81, - "index": 137, - "line": 3, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 52, - "index": 108, - "line": 3, + "filePath": "static-query-hooks-alternative-import.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 81, + "index": 137, + "line": 3, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 52, + "index": 108, + "line": 3, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, }, - }, - "filePath": "static-query-hooks-with-type-parameter.ts", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 82, - "index": 154, - "line": 3, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 53, - "index": 125, - "line": 3, + "filePath": "static-query-hooks-with-type-parameter.ts", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 82, + "index": 154, + "line": 3, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 53, + "index": 125, + "line": 3, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 47, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticStaticQueryHooksInSeparateVariableJs1528532020", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 47, "start": 0, }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 46, - "start": 2, - }, - "name": Object { - "kind": "Name", + "name": Object { + "kind": "Name", + "value": "staticStaticQueryHooksInSeparateVariableJs1528532020", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 47, + "start": 0, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 19, + "end": 46, "start": 2, }, - "value": "allMarkdownRemark", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 46, - "start": 20, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 19, + "start": 2, + }, + "value": "allMarkdownRemark", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 45, - "start": 22, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 46, + "start": 20, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 26, + "end": 45, "start": 22, }, - "value": "blah", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 45, - "start": 27, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 26, + "start": 22, + }, + "value": "blah", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 44, - "start": 29, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 45, + "start": 27, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { - "end": 33, + "end": 44, "start": 29, }, - "value": "node", - }, - "selectionSet": Object { - "kind": "SelectionSet", - "loc": Object { - "end": 44, - "start": 34, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 33, + "start": 29, + }, + "value": "node", }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 42, - "start": 36, - }, - "name": Object { - "kind": "Name", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 44, + "start": 34, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 42, "start": 36, }, - "value": "cheese", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 42, + "start": 36, + }, + "value": "cheese", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, }, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 47, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 47, - "start": 0, }, - }, - "filePath": "static-query-hooks-in-separate-variable.js", - "hash": 1528532020, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 69, - "index": 145, - "line": 4, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 22, - "index": 98, - "line": 4, + "filePath": "static-query-hooks-in-separate-variable.js", + "hash": 1528532020, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 69, + "index": 145, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 22, + "index": 98, + "line": 4, + }, }, + "text": "{allMarkdownRemark{blah{node{cheese}}}}", }, - "text": "{allMarkdownRemark{blah{node{cheese}}}}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 13, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticZhADollarpercentandJs1125018085", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 13, - "start": 6, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 11, - "start": 8, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "value": "staticZhADollarpercentandJs1125018085", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 13, + "start": 6, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 11, "start": 8, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 11, + "start": 8, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 13, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 13, - "start": 0, - }, - }, - "filePath": "ж-ä-!@#$%^&*()_-=+:;'\\"?,~\`.js", - "hash": 1125018085, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 51, - "index": 123, - "line": 3, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 38, - "index": 110, - "line": 3, + "filePath": "ж-ä-!@#$%^&*()_-=+:;'\\"?,~\`.js", + "hash": 1125018085, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 51, + "index": 123, + "line": 3, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 38, + "index": 110, + "line": 3, + }, }, + "text": "query{foo}", }, - "text": "query{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 13, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "staticStaticZhADollarpercentandJs1125018085", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 13, - "start": 6, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 11, - "start": 8, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "value": "staticStaticZhADollarpercentandJs1125018085", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 13, + "start": 6, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 11, "start": 8, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 11, + "start": 8, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 13, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 13, - "start": 0, - }, - }, - "filePath": "static-ж-ä-!@#$%^&*()_-=+:;'\\"?,~\`.js", - "hash": 1125018085, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 32, - "index": 105, - "line": 4, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 19, - "index": 92, - "line": 4, + "filePath": "static-ж-ä-!@#$%^&*()_-=+:;'\\"?,~\`.js", + "hash": 1125018085, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 32, + "index": 105, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 19, + "index": 92, + "line": 4, + }, }, + "text": "query{foo}", }, - "text": "query{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 29, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 21, - "start": 6, - }, - "value": "StaticQueryName", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 29, - "start": 22, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 27, - "start": 24, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 27, "start": 24, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 29, - "start": 0, - }, - }, - "filePath": "static-query-hooks-commonjs.js", - "hash": 2687344169, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 67, - "index": 146, - "line": 3, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 38, - "index": 117, - "line": 3, + "filePath": "static-query-hooks-commonjs.js", + "hash": 2687344169, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 67, + "index": 146, + "line": 3, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 38, + "index": 117, + "line": 3, + }, }, + "text": "query StaticQueryName{foo}", }, - "text": "query StaticQueryName{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 44, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 36, - "start": 6, - }, - "value": "StaticQueryNameNoDestructuring", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 44, - "start": 37, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 42, - "start": 39, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 36, + "start": 6, + }, + "value": "StaticQueryNameNoDestructuring", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 44, + "start": 37, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 42, "start": 39, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 42, + "start": 39, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 44, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 44, - "start": 0, }, - }, - "filePath": "static-query-hooks-commonjs-no-destructuring.js", - "hash": 2462364336, - "isConfigQuery": false, - "isHook": true, - "isStaticQuery": true, - "templateLoc": SourceLocation { - "end": Position { - "column": 89, - "index": 183, - "line": 4, - }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 45, - "index": 139, - "line": 4, + "filePath": "static-query-hooks-commonjs-no-destructuring.js", + "hash": 2462364336, + "isConfigQuery": false, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 89, + "index": 183, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 45, + "index": 139, + "line": 4, + }, }, + "text": "query StaticQueryNameNoDestructuring{foo}", }, - "text": "query StaticQueryNameNoDestructuring{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 26, - "start": 1, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 16, - "start": 7, - }, - "value": "PageQuery", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 26, - "start": 17, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 24, - "start": 21, - }, - "name": Object { - "kind": "Name", + "start": 1, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 16, + "start": 7, + }, + "value": "PageQuery", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 26, + "start": 17, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 24, "start": 21, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 24, + "start": 21, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 27, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 27, - "start": 0, - }, - }, - "filePath": "page-with-config.js", - "hash": 3463071779, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 89, - "line": 6, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 29, - "index": 62, - "line": 2, + "filePath": "page-with-config.js", + "hash": 3463071779, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 89, + "line": 6, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 29, + "index": 62, + "line": 2, + }, }, + "text": "query PageQuery{foo}", }, - "text": "query PageQuery{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 32, - "start": 0, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 17, - "start": 6, - }, - "value": "ConfigQuery", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 32, - "start": 18, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 30, - "start": 20, - }, - "name": Object { - "kind": "Name", + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 17, + "start": 6, + }, + "value": "ConfigQuery", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 32, + "start": 18, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 30, "start": 20, }, - "value": "__typename", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 30, + "start": 20, + }, + "value": "__typename", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 32, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 32, - "start": 0, - }, - }, - "filePath": "page-with-config.js", - "hash": 3646331219, - "isConfigQuery": true, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 56, - "index": 180, - "line": 8, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 24, - "index": 148, - "line": 8, + "filePath": "page-with-config.js", + "hash": 3646331219, + "isConfigQuery": true, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 56, + "index": 180, + "line": 8, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 24, + "index": 148, + "line": 8, + }, }, + "text": "query ConfigQuery{__typename}", }, - "text": "query ConfigQuery{__typename}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 26, - "start": 1, - }, - "name": Object { - "kind": "Name", - "loc": Object { - "end": 16, - "start": 7, - }, - "value": "PageQuery", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 26, - "start": 17, - }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 24, - "start": 21, - }, - "name": Object { - "kind": "Name", + "start": 1, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 16, + "start": 7, + }, + "value": "PageQuery", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 26, + "start": 17, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 24, "start": 21, }, - "value": "foo", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 24, + "start": 21, + }, + "value": "foo", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 27, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 27, - "start": 0, - }, - }, - "filePath": "page-with-config-no-name.js", - "hash": 3463071779, - "isConfigQuery": false, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 0, - "index": 89, - "line": 6, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 29, - "index": 62, - "line": 2, + "filePath": "page-with-config-no-name.js", + "hash": 3463071779, + "isConfigQuery": false, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 0, + "index": 89, + "line": 6, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 29, + "index": 62, + "line": 2, + }, }, + "text": "query PageQuery{foo}", }, - "text": "query PageQuery{foo}", - }, - Object { - "doc": Object { - "definitions": Array [ - Object { - "directives": Array [], - "kind": "OperationDefinition", - "loc": Object { - "end": 14, - "start": 0, - }, - "name": Object { - "kind": "Name", - "value": "configPageWithConfigNoNameJs4128538483", - }, - "operation": "query", - "selectionSet": Object { - "kind": "SelectionSet", + Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", "loc": Object { "end": 14, "start": 0, }, - "selections": Array [ - Object { - "alias": undefined, - "arguments": Array [], - "directives": Array [], - "kind": "Field", - "loc": Object { - "end": 12, - "start": 2, - }, - "name": Object { - "kind": "Name", + "name": Object { + "kind": "Name", + "value": "configPageWithConfigNoNameJs4128538483", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 14, + "start": 0, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", "loc": Object { "end": 12, "start": 2, }, - "value": "__typename", + "name": Object { + "kind": "Name", + "loc": Object { + "end": 12, + "start": 2, + }, + "value": "__typename", + }, + "selectionSet": undefined, }, - "selectionSet": undefined, - }, - ], + ], + }, + "variableDefinitions": Array [], }, - "variableDefinitions": Array [], + ], + "kind": "Document", + "loc": Object { + "end": 14, + "start": 0, }, - ], - "kind": "Document", - "loc": Object { - "end": 14, - "start": 0, - }, - }, - "filePath": "page-with-config-no-name.js", - "hash": 4128538483, - "isConfigQuery": true, - "isHook": false, - "isStaticQuery": false, - "templateLoc": SourceLocation { - "end": Position { - "column": 38, - "index": 165, - "line": 8, }, - "filename": undefined, - "identifierName": undefined, - "start": Position { - "column": 24, - "index": 151, - "line": 8, + "filePath": "page-with-config-no-name.js", + "hash": 4128538483, + "isConfigQuery": true, + "isHook": false, + "isStaticQuery": false, + "templateLoc": SourceLocation { + "end": Position { + "column": 38, + "index": 165, + "line": 8, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 24, + "index": 151, + "line": 8, + }, }, + "text": "{__typename}", }, - "text": "{__typename}", - }, -] -`; - -exports[`File parser extracts query AST correctly from files: warn 1`] = ` -Array [ - Array [ - " + ], + "warnCalls": Array [ + Array [ + " We were unable to find the declaration of variable \\"strangeQueryName\\", which you passed as the \\"query\\" prop into the <StaticQuery> declaration in \\"query-not-defined.js\\". Perhaps the variable name has a typo? Also note that we are currently unable to use queries defined in files other than the file where the <StaticQuery> is defined. If you're attempting to import the query, please move it into \\"query-not-defined.js\\". If being able to import queries from another file is an important capability for you, we invite your help fixing it. ", - ], - Array [ - " + ], + Array [ + " We were unable to find the declaration of variable \\"strangeQueryName\\", which you passed as the \\"query\\" prop into the <StaticQuery> declaration in \\"query-imported.js\\". Perhaps the variable name has a typo? Also note that we are currently unable to use queries defined in files other than the file where the <StaticQuery> is defined. If you're attempting to import the query, please move it into \\"query-imported.js\\". If being able to import queries from another file is an important capability for you, we invite your help fixing it. ", - ], - Array [ - " + ], + Array [ + " We were unable to find the declaration of variable \\"strangeQueryName\\", which you passed as the \\"query\\" prop into the useStaticQuery declaration in \\"static-query-hooks-not-defined.js\\". Perhaps the variable name has a typo? Also note that we are currently unable to use queries defined in files other than the file where the useStaticQuery is defined. If you're attempting to import the query, please move it into \\"static-query-hooks-not-defined.js\\". If being able to import queries from another file is an important capability for you, we invite your help fixing it. ", - ], - Array [ - " + ], + Array [ + " We were unable to find the declaration of variable \\"strangeQueryName\\", which you passed as the \\"query\\" prop into the useStaticQuery declaration in \\"static-query-hooks-imported.js\\". Perhaps the variable name has a typo? Also note that we are currently unable to use queries defined in files other than the file where the useStaticQuery is defined. If you're attempting to import the query, please move it into \\"static-query-hooks-imported.js\\". If being able to import queries from another file is an important capability for you, we invite your help fixing it. ", + ], ], -] +} `; diff --git a/packages/gatsby/src/query/__tests__/file-parser.js b/packages/gatsby/src/query/__tests__/file-parser.js index 01a9883943a0b..2f1056717167d 100644 --- a/packages/gatsby/src/query/__tests__/file-parser.js +++ b/packages/gatsby/src/query/__tests__/file-parser.js @@ -14,6 +14,8 @@ const FileParser = require(`../file-parser`).default const specialChars = `ж-ä-!@#$%^&*()_-=+:;'"?,~\`` +const itWhenV4 = _CFLAGS_.GATSBY_MAJOR !== `5` ? it : it.skip + describe(`File parser`, () => { const MOCK_FILE_INFO = { "no-query.js": `import React from "react"`, @@ -282,7 +284,8 @@ export const config = async () => { ) }) - it(`extracts query AST correctly from files`, async () => { + // this will need snapshot update once v5 becomes default, this should not be removed + itWhenV4(`extracts query AST correctly from files`, async () => { const errors = [] const addError = errors.push.bind(errors) const results = await parser.parseFiles( @@ -303,10 +306,11 @@ export const config = async () => { ]) ) - // The second param is a "hint", see: https://jestjs.io/docs/en/expect#tomatchsnapshotpropertymatchers-hint - expect(results).toMatchSnapshot({}, `results`) - expect(reporter.warn.mock.calls).toMatchSnapshot({}, `warn`) - expect(reporter.panicOnBuild.mock.calls).toMatchSnapshot({}, `panicOnBuild`) + expect({ + results, + warnCalls: reporter.warn.mock.calls, + panicOnBuildCalls: reporter.panicOnBuild.mock.calls, + }).toMatchSnapshot() expect(errors.length).toEqual(1) }) @@ -318,11 +322,17 @@ export const config = async () => { value: `staticZhADollarpercentandJs1125018085`, }) - const ast2 = await parser.parseFile(`static-${specialChars}.js`, jest.fn()) - const nameNode2 = ast2[0].doc.definitions[0].name - expect(nameNode2).toEqual({ - kind: `Name`, - value: `staticStaticZhADollarpercentandJs1125018085`, - }) + if (_CFLAGS_.GATSBY_MAJOR !== `5`) { + // this is testing StaticQuery which is being removed in v5 + const ast2 = await parser.parseFile( + `static-${specialChars}.js`, + jest.fn() + ) + const nameNode2 = ast2[0].doc.definitions[0].name + expect(nameNode2).toEqual({ + kind: `Name`, + value: `staticStaticZhADollarpercentandJs1125018085`, + }) + } }) }) diff --git a/packages/gatsby/src/schema/__tests__/__snapshots__/build-schema.js.snap b/packages/gatsby/src/schema/__tests__/__snapshots__/build-schema.js.snap index ddc3774f5200f..78c09a5c5af40 100644 --- a/packages/gatsby/src/schema/__tests__/__snapshots__/build-schema.js.snap +++ b/packages/gatsby/src/schema/__tests__/__snapshots__/build-schema.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Built-in types includes built-in types 1`] = ` +exports[`Built-in types includes built-in types (v4) 1`] = ` "\\"\\"\\"Add date formatting options.\\"\\"\\" directive @dateformat(formatString: String, locale: String, fromNow: Boolean, difference: String) on FIELD_DEFINITION @@ -1800,3 +1800,1285 @@ input SiteBuildMetadataSortInput { } " `; + +exports[`Built-in types includes built-in types (v5) 1`] = ` +"\\"\\"\\"Add date formatting options.\\"\\"\\" +directive @dateformat(formatString: String, locale: String, fromNow: Boolean, difference: String) on FIELD_DEFINITION + +\\"\\"\\"Link to node by foreign-key relation.\\"\\"\\" +directive @link(by: String! = \\"id\\", from: String, on: String) on FIELD_DEFINITION + +\\"\\"\\"Link to File node by relative path.\\"\\"\\" +directive @fileByRelativePath(from: String) on FIELD_DEFINITION + +\\"\\"\\"Proxy resolver from another field.\\"\\"\\" +directive @proxy(from: String!, fromNode: Boolean! = false) on FIELD_DEFINITION + +\\"\\"\\"Infer field types from field values.\\"\\"\\" +directive @infer on OBJECT + +\\"\\"\\"Do not infer field types from field values.\\"\\"\\" +directive @dontInfer on OBJECT + +\\"\\"\\"Define the mime-types handled by this type.\\"\\"\\" +directive @mimeTypes( + \\"\\"\\"The mime-types handled by this type.\\"\\"\\" + types: [String!]! = [] +) on OBJECT + +\\"\\"\\" +Define parent-child relations between types. This is used to add \`child*\` and \`children*\` convenience fields like \`childImageSharp\`. +\\"\\"\\" +directive @childOf( + \\"\\"\\" + A list of mime-types this type is a child of. Usually these are the mime-types handled by a transformer plugin. + \\"\\"\\" + mimeTypes: [String!]! = [] + + \\"\\"\\" + A list of types this type is a child of. Usually these are the types handled by a transformer plugin. + \\"\\"\\" + types: [String!]! = [] +) on OBJECT + +\\"\\"\\" +DEPRECATED: Use interface inheritance instead, i.e. \\"interface Foo implements Node\\". + +Adds root query fields for an interface. All implementing types must also implement the Node interface. +\\"\\"\\" +directive @nodeInterface on INTERFACE + +type File implements Node { + sourceInstanceName: String! + absolutePath: String! + relativePath: String! + extension: String! + size: Int! + prettySize: String! + modifiedTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + accessTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + changeTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + birthTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + root: String! + dir: String! + base: String! + ext: String! + name: String! + relativeDirectory: String! + dev: Int! + mode: Int! + nlink: Int! + uid: Int! + gid: Int! + rdev: Int! + ino: Float! + atimeMs: Float! + mtimeMs: Float! + ctimeMs: Float! + atime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + mtime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + ctime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + birthtime: Date @deprecated(reason: \\"Use \`birthTime\` instead\\") + birthtimeMs: Float @deprecated(reason: \\"Use \`birthTime\` instead\\") + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +\\"\\"\\"Node Interface\\"\\"\\" +interface Node { + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +type Internal { + content: String + contentDigest: String! + description: String + fieldOwners: [String] + ignoreType: Boolean + mediaType: String + owner: String! + type: String! + contentFilePath: String +} + +\\"\\"\\" +A date string, such as 2007-12-03, compliant with the ISO 8601 standard for representation of dates and times using the Gregorian calendar. +\\"\\"\\" +scalar Date + +type Directory implements Node { + sourceInstanceName: String! + absolutePath: String! + relativePath: String! + extension: String! + size: Int! + prettySize: String! + modifiedTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + accessTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + changeTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + birthTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + root: String! + dir: String! + base: String! + ext: String! + name: String! + relativeDirectory: String! + dev: Int! + mode: Int! + nlink: Int! + uid: Int! + gid: Int! + rdev: Int! + ino: Float! + atimeMs: Float! + mtimeMs: Float! + ctimeMs: Float! + atime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + mtime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + ctime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date! + birthtime: Date @deprecated(reason: \\"Use \`birthTime\` instead\\") + birthtimeMs: Float @deprecated(reason: \\"Use \`birthTime\` instead\\") + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +type Site implements Node { + buildTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date + siteMetadata: SiteSiteMetadata + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +type SiteSiteMetadata { + title: String + description: String +} + +type SiteFunction implements Node { + functionRoute: String! + pluginName: String! + originalAbsoluteFilePath: String! + originalRelativeFilePath: String! + relativeCompiledFilePath: String! + absoluteCompiledFilePath: String! + matchPath: String + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +type SitePage implements Node { + path: String! + component: String! + internalComponentName: String! + componentChunkName: String! + matchPath: String + pageContext: JSON + pluginCreator: SitePlugin + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +\\"\\"\\" +The \`JSON\` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). +\\"\\"\\" +scalar JSON @specifiedBy(url: \\"http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf\\") + +type SitePlugin implements Node { + resolve: String + name: String + version: String + nodeAPIs: [String] + browserAPIs: [String] + ssrAPIs: [String] + pluginFilepath: String + pluginOptions: JSON + packageJson: JSON + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +type SiteBuildMetadata implements Node { + buildTime( + \\"\\"\\" + Format the date using Moment.js' date tokens, e.g. \`date(formatString: \\"YYYY MMMM DD\\")\`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens. + \\"\\"\\" + formatString: String + + \\"\\"\\"Returns a string generated with Moment.js' \`fromNow\` function\\"\\"\\" + fromNow: Boolean + + \\"\\"\\" + Returns the difference between this date and the current time. Defaults to \\"milliseconds\\" but you can also pass in as the measurement \\"years\\", \\"months\\", \\"weeks\\", \\"days\\", \\"hours\\", \\"minutes\\", and \\"seconds\\". + \\"\\"\\" + difference: String + + \\"\\"\\"Configures the locale Moment.js will use to format the date.\\"\\"\\" + locale: String + ): Date + id: ID! + parent: Node + children: [Node!]! + internal: Internal! +} + +type Query { + file(sourceInstanceName: StringQueryOperatorInput, absolutePath: StringQueryOperatorInput, relativePath: StringQueryOperatorInput, extension: StringQueryOperatorInput, size: IntQueryOperatorInput, prettySize: StringQueryOperatorInput, modifiedTime: DateQueryOperatorInput, accessTime: DateQueryOperatorInput, changeTime: DateQueryOperatorInput, birthTime: DateQueryOperatorInput, root: StringQueryOperatorInput, dir: StringQueryOperatorInput, base: StringQueryOperatorInput, ext: StringQueryOperatorInput, name: StringQueryOperatorInput, relativeDirectory: StringQueryOperatorInput, dev: IntQueryOperatorInput, mode: IntQueryOperatorInput, nlink: IntQueryOperatorInput, uid: IntQueryOperatorInput, gid: IntQueryOperatorInput, rdev: IntQueryOperatorInput, ino: FloatQueryOperatorInput, atimeMs: FloatQueryOperatorInput, mtimeMs: FloatQueryOperatorInput, ctimeMs: FloatQueryOperatorInput, atime: DateQueryOperatorInput, mtime: DateQueryOperatorInput, ctime: DateQueryOperatorInput, birthtime: DateQueryOperatorInput, birthtimeMs: FloatQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): File + allFile(filter: FileFilterInput, sort: [FileSortInput], skip: Int, limit: Int): FileConnection! + directory(sourceInstanceName: StringQueryOperatorInput, absolutePath: StringQueryOperatorInput, relativePath: StringQueryOperatorInput, extension: StringQueryOperatorInput, size: IntQueryOperatorInput, prettySize: StringQueryOperatorInput, modifiedTime: DateQueryOperatorInput, accessTime: DateQueryOperatorInput, changeTime: DateQueryOperatorInput, birthTime: DateQueryOperatorInput, root: StringQueryOperatorInput, dir: StringQueryOperatorInput, base: StringQueryOperatorInput, ext: StringQueryOperatorInput, name: StringQueryOperatorInput, relativeDirectory: StringQueryOperatorInput, dev: IntQueryOperatorInput, mode: IntQueryOperatorInput, nlink: IntQueryOperatorInput, uid: IntQueryOperatorInput, gid: IntQueryOperatorInput, rdev: IntQueryOperatorInput, ino: FloatQueryOperatorInput, atimeMs: FloatQueryOperatorInput, mtimeMs: FloatQueryOperatorInput, ctimeMs: FloatQueryOperatorInput, atime: DateQueryOperatorInput, mtime: DateQueryOperatorInput, ctime: DateQueryOperatorInput, birthtime: DateQueryOperatorInput, birthtimeMs: FloatQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): Directory + allDirectory(filter: DirectoryFilterInput, sort: [DirectorySortInput], skip: Int, limit: Int): DirectoryConnection! + site(buildTime: DateQueryOperatorInput, siteMetadata: SiteSiteMetadataFilterInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): Site + allSite(filter: SiteFilterInput, sort: [SiteSortInput], skip: Int, limit: Int): SiteConnection! + siteFunction(functionRoute: StringQueryOperatorInput, pluginName: StringQueryOperatorInput, originalAbsoluteFilePath: StringQueryOperatorInput, originalRelativeFilePath: StringQueryOperatorInput, relativeCompiledFilePath: StringQueryOperatorInput, absoluteCompiledFilePath: StringQueryOperatorInput, matchPath: StringQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SiteFunction + allSiteFunction(filter: SiteFunctionFilterInput, sort: [SiteFunctionSortInput], skip: Int, limit: Int): SiteFunctionConnection! + sitePage(path: StringQueryOperatorInput, component: StringQueryOperatorInput, internalComponentName: StringQueryOperatorInput, componentChunkName: StringQueryOperatorInput, matchPath: StringQueryOperatorInput, pageContext: JSONQueryOperatorInput, pluginCreator: SitePluginFilterInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SitePage + allSitePage(filter: SitePageFilterInput, sort: [SitePageSortInput], skip: Int, limit: Int): SitePageConnection! + sitePlugin(resolve: StringQueryOperatorInput, name: StringQueryOperatorInput, version: StringQueryOperatorInput, nodeAPIs: StringQueryOperatorInput, browserAPIs: StringQueryOperatorInput, ssrAPIs: StringQueryOperatorInput, pluginFilepath: StringQueryOperatorInput, pluginOptions: JSONQueryOperatorInput, packageJson: JSONQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SitePlugin + allSitePlugin(filter: SitePluginFilterInput, sort: [SitePluginSortInput], skip: Int, limit: Int): SitePluginConnection! + siteBuildMetadata(buildTime: DateQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SiteBuildMetadata + allSiteBuildMetadata(filter: SiteBuildMetadataFilterInput, sort: [SiteBuildMetadataSortInput], skip: Int, limit: Int): SiteBuildMetadataConnection! +} + +input StringQueryOperatorInput { + eq: String + ne: String + in: [String] + nin: [String] + regex: String + glob: String +} + +input IntQueryOperatorInput { + eq: Int + ne: Int + gt: Int + gte: Int + lt: Int + lte: Int + in: [Int] + nin: [Int] +} + +input DateQueryOperatorInput { + eq: Date + ne: Date + gt: Date + gte: Date + lt: Date + lte: Date + in: [Date] + nin: [Date] +} + +input FloatQueryOperatorInput { + eq: Float + ne: Float + gt: Float + gte: Float + lt: Float + lte: Float + in: [Float] + nin: [Float] +} + +input NodeFilterInput { + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input NodeFilterListInput { + elemMatch: NodeFilterInput +} + +input InternalFilterInput { + content: StringQueryOperatorInput + contentDigest: StringQueryOperatorInput + description: StringQueryOperatorInput + fieldOwners: StringQueryOperatorInput + ignoreType: BooleanQueryOperatorInput + mediaType: StringQueryOperatorInput + owner: StringQueryOperatorInput + type: StringQueryOperatorInput + contentFilePath: StringQueryOperatorInput +} + +input BooleanQueryOperatorInput { + eq: Boolean + ne: Boolean + in: [Boolean] + nin: [Boolean] +} + +type FileConnection { + totalCount: Int! + edges: [FileEdge!]! + nodes: [File!]! + pageInfo: PageInfo! + distinct(field: FileFieldSelector!): [String!]! + max(field: FileFieldSelector!): Float + min(field: FileFieldSelector!): Float + sum(field: FileFieldSelector!): Float + group(skip: Int, limit: Int, field: FileFieldSelector!): [FileGroupConnection!]! +} + +type FileEdge { + next: File + node: File! + previous: File +} + +type PageInfo { + currentPage: Int! + hasPreviousPage: Boolean! + hasNextPage: Boolean! + itemCount: Int! + pageCount: Int! + perPage: Int + totalCount: Int! +} + +input FileFieldSelector { + sourceInstanceName: FieldSelectorEnum + absolutePath: FieldSelectorEnum + relativePath: FieldSelectorEnum + extension: FieldSelectorEnum + size: FieldSelectorEnum + prettySize: FieldSelectorEnum + modifiedTime: FieldSelectorEnum + accessTime: FieldSelectorEnum + changeTime: FieldSelectorEnum + birthTime: FieldSelectorEnum + root: FieldSelectorEnum + dir: FieldSelectorEnum + base: FieldSelectorEnum + ext: FieldSelectorEnum + name: FieldSelectorEnum + relativeDirectory: FieldSelectorEnum + dev: FieldSelectorEnum + mode: FieldSelectorEnum + nlink: FieldSelectorEnum + uid: FieldSelectorEnum + gid: FieldSelectorEnum + rdev: FieldSelectorEnum + ino: FieldSelectorEnum + atimeMs: FieldSelectorEnum + mtimeMs: FieldSelectorEnum + ctimeMs: FieldSelectorEnum + atime: FieldSelectorEnum + mtime: FieldSelectorEnum + ctime: FieldSelectorEnum + birthtime: FieldSelectorEnum + birthtimeMs: FieldSelectorEnum + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +enum FieldSelectorEnum { + SELECT +} + +input NodeFieldSelector { + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +input InternalFieldSelector { + content: FieldSelectorEnum + contentDigest: FieldSelectorEnum + description: FieldSelectorEnum + fieldOwners: FieldSelectorEnum + ignoreType: FieldSelectorEnum + mediaType: FieldSelectorEnum + owner: FieldSelectorEnum + type: FieldSelectorEnum + contentFilePath: FieldSelectorEnum +} + +type FileGroupConnection { + totalCount: Int! + edges: [FileEdge!]! + nodes: [File!]! + pageInfo: PageInfo! + distinct(field: FileFieldSelector!): [String!]! + max(field: FileFieldSelector!): Float + min(field: FileFieldSelector!): Float + sum(field: FileFieldSelector!): Float + group(skip: Int, limit: Int, field: FileFieldSelector!): [FileGroupConnection!]! + field: String! + fieldValue: String +} + +input FileFilterInput { + sourceInstanceName: StringQueryOperatorInput + absolutePath: StringQueryOperatorInput + relativePath: StringQueryOperatorInput + extension: StringQueryOperatorInput + size: IntQueryOperatorInput + prettySize: StringQueryOperatorInput + modifiedTime: DateQueryOperatorInput + accessTime: DateQueryOperatorInput + changeTime: DateQueryOperatorInput + birthTime: DateQueryOperatorInput + root: StringQueryOperatorInput + dir: StringQueryOperatorInput + base: StringQueryOperatorInput + ext: StringQueryOperatorInput + name: StringQueryOperatorInput + relativeDirectory: StringQueryOperatorInput + dev: IntQueryOperatorInput + mode: IntQueryOperatorInput + nlink: IntQueryOperatorInput + uid: IntQueryOperatorInput + gid: IntQueryOperatorInput + rdev: IntQueryOperatorInput + ino: FloatQueryOperatorInput + atimeMs: FloatQueryOperatorInput + mtimeMs: FloatQueryOperatorInput + ctimeMs: FloatQueryOperatorInput + atime: DateQueryOperatorInput + mtime: DateQueryOperatorInput + ctime: DateQueryOperatorInput + birthtime: DateQueryOperatorInput + birthtimeMs: FloatQueryOperatorInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input FileSortInput { + sourceInstanceName: SortOrderEnum + absolutePath: SortOrderEnum + relativePath: SortOrderEnum + extension: SortOrderEnum + size: SortOrderEnum + prettySize: SortOrderEnum + modifiedTime: SortOrderEnum + accessTime: SortOrderEnum + changeTime: SortOrderEnum + birthTime: SortOrderEnum + root: SortOrderEnum + dir: SortOrderEnum + base: SortOrderEnum + ext: SortOrderEnum + name: SortOrderEnum + relativeDirectory: SortOrderEnum + dev: SortOrderEnum + mode: SortOrderEnum + nlink: SortOrderEnum + uid: SortOrderEnum + gid: SortOrderEnum + rdev: SortOrderEnum + ino: SortOrderEnum + atimeMs: SortOrderEnum + mtimeMs: SortOrderEnum + ctimeMs: SortOrderEnum + atime: SortOrderEnum + mtime: SortOrderEnum + ctime: SortOrderEnum + birthtime: SortOrderEnum + birthtimeMs: SortOrderEnum + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +enum SortOrderEnum { + ASC + DESC +} + +input NodeSortInput { + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +input InternalSortInput { + content: SortOrderEnum + contentDigest: SortOrderEnum + description: SortOrderEnum + fieldOwners: SortOrderEnum + ignoreType: SortOrderEnum + mediaType: SortOrderEnum + owner: SortOrderEnum + type: SortOrderEnum + contentFilePath: SortOrderEnum +} + +type DirectoryConnection { + totalCount: Int! + edges: [DirectoryEdge!]! + nodes: [Directory!]! + pageInfo: PageInfo! + distinct(field: DirectoryFieldSelector!): [String!]! + max(field: DirectoryFieldSelector!): Float + min(field: DirectoryFieldSelector!): Float + sum(field: DirectoryFieldSelector!): Float + group(skip: Int, limit: Int, field: DirectoryFieldSelector!): [DirectoryGroupConnection!]! +} + +type DirectoryEdge { + next: Directory + node: Directory! + previous: Directory +} + +input DirectoryFieldSelector { + sourceInstanceName: FieldSelectorEnum + absolutePath: FieldSelectorEnum + relativePath: FieldSelectorEnum + extension: FieldSelectorEnum + size: FieldSelectorEnum + prettySize: FieldSelectorEnum + modifiedTime: FieldSelectorEnum + accessTime: FieldSelectorEnum + changeTime: FieldSelectorEnum + birthTime: FieldSelectorEnum + root: FieldSelectorEnum + dir: FieldSelectorEnum + base: FieldSelectorEnum + ext: FieldSelectorEnum + name: FieldSelectorEnum + relativeDirectory: FieldSelectorEnum + dev: FieldSelectorEnum + mode: FieldSelectorEnum + nlink: FieldSelectorEnum + uid: FieldSelectorEnum + gid: FieldSelectorEnum + rdev: FieldSelectorEnum + ino: FieldSelectorEnum + atimeMs: FieldSelectorEnum + mtimeMs: FieldSelectorEnum + ctimeMs: FieldSelectorEnum + atime: FieldSelectorEnum + mtime: FieldSelectorEnum + ctime: FieldSelectorEnum + birthtime: FieldSelectorEnum + birthtimeMs: FieldSelectorEnum + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +type DirectoryGroupConnection { + totalCount: Int! + edges: [DirectoryEdge!]! + nodes: [Directory!]! + pageInfo: PageInfo! + distinct(field: DirectoryFieldSelector!): [String!]! + max(field: DirectoryFieldSelector!): Float + min(field: DirectoryFieldSelector!): Float + sum(field: DirectoryFieldSelector!): Float + group(skip: Int, limit: Int, field: DirectoryFieldSelector!): [DirectoryGroupConnection!]! + field: String! + fieldValue: String +} + +input DirectoryFilterInput { + sourceInstanceName: StringQueryOperatorInput + absolutePath: StringQueryOperatorInput + relativePath: StringQueryOperatorInput + extension: StringQueryOperatorInput + size: IntQueryOperatorInput + prettySize: StringQueryOperatorInput + modifiedTime: DateQueryOperatorInput + accessTime: DateQueryOperatorInput + changeTime: DateQueryOperatorInput + birthTime: DateQueryOperatorInput + root: StringQueryOperatorInput + dir: StringQueryOperatorInput + base: StringQueryOperatorInput + ext: StringQueryOperatorInput + name: StringQueryOperatorInput + relativeDirectory: StringQueryOperatorInput + dev: IntQueryOperatorInput + mode: IntQueryOperatorInput + nlink: IntQueryOperatorInput + uid: IntQueryOperatorInput + gid: IntQueryOperatorInput + rdev: IntQueryOperatorInput + ino: FloatQueryOperatorInput + atimeMs: FloatQueryOperatorInput + mtimeMs: FloatQueryOperatorInput + ctimeMs: FloatQueryOperatorInput + atime: DateQueryOperatorInput + mtime: DateQueryOperatorInput + ctime: DateQueryOperatorInput + birthtime: DateQueryOperatorInput + birthtimeMs: FloatQueryOperatorInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input DirectorySortInput { + sourceInstanceName: SortOrderEnum + absolutePath: SortOrderEnum + relativePath: SortOrderEnum + extension: SortOrderEnum + size: SortOrderEnum + prettySize: SortOrderEnum + modifiedTime: SortOrderEnum + accessTime: SortOrderEnum + changeTime: SortOrderEnum + birthTime: SortOrderEnum + root: SortOrderEnum + dir: SortOrderEnum + base: SortOrderEnum + ext: SortOrderEnum + name: SortOrderEnum + relativeDirectory: SortOrderEnum + dev: SortOrderEnum + mode: SortOrderEnum + nlink: SortOrderEnum + uid: SortOrderEnum + gid: SortOrderEnum + rdev: SortOrderEnum + ino: SortOrderEnum + atimeMs: SortOrderEnum + mtimeMs: SortOrderEnum + ctimeMs: SortOrderEnum + atime: SortOrderEnum + mtime: SortOrderEnum + ctime: SortOrderEnum + birthtime: SortOrderEnum + birthtimeMs: SortOrderEnum + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +input SiteSiteMetadataFilterInput { + title: StringQueryOperatorInput + description: StringQueryOperatorInput +} + +type SiteConnection { + totalCount: Int! + edges: [SiteEdge!]! + nodes: [Site!]! + pageInfo: PageInfo! + distinct(field: SiteFieldSelector!): [String!]! + max(field: SiteFieldSelector!): Float + min(field: SiteFieldSelector!): Float + sum(field: SiteFieldSelector!): Float + group(skip: Int, limit: Int, field: SiteFieldSelector!): [SiteGroupConnection!]! +} + +type SiteEdge { + next: Site + node: Site! + previous: Site +} + +input SiteFieldSelector { + buildTime: FieldSelectorEnum + siteMetadata: SiteSiteMetadataFieldSelector + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +input SiteSiteMetadataFieldSelector { + title: FieldSelectorEnum + description: FieldSelectorEnum +} + +type SiteGroupConnection { + totalCount: Int! + edges: [SiteEdge!]! + nodes: [Site!]! + pageInfo: PageInfo! + distinct(field: SiteFieldSelector!): [String!]! + max(field: SiteFieldSelector!): Float + min(field: SiteFieldSelector!): Float + sum(field: SiteFieldSelector!): Float + group(skip: Int, limit: Int, field: SiteFieldSelector!): [SiteGroupConnection!]! + field: String! + fieldValue: String +} + +input SiteFilterInput { + buildTime: DateQueryOperatorInput + siteMetadata: SiteSiteMetadataFilterInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input SiteSortInput { + buildTime: SortOrderEnum + siteMetadata: SiteSiteMetadataSortInput + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +input SiteSiteMetadataSortInput { + title: SortOrderEnum + description: SortOrderEnum +} + +type SiteFunctionConnection { + totalCount: Int! + edges: [SiteFunctionEdge!]! + nodes: [SiteFunction!]! + pageInfo: PageInfo! + distinct(field: SiteFunctionFieldSelector!): [String!]! + max(field: SiteFunctionFieldSelector!): Float + min(field: SiteFunctionFieldSelector!): Float + sum(field: SiteFunctionFieldSelector!): Float + group(skip: Int, limit: Int, field: SiteFunctionFieldSelector!): [SiteFunctionGroupConnection!]! +} + +type SiteFunctionEdge { + next: SiteFunction + node: SiteFunction! + previous: SiteFunction +} + +input SiteFunctionFieldSelector { + functionRoute: FieldSelectorEnum + pluginName: FieldSelectorEnum + originalAbsoluteFilePath: FieldSelectorEnum + originalRelativeFilePath: FieldSelectorEnum + relativeCompiledFilePath: FieldSelectorEnum + absoluteCompiledFilePath: FieldSelectorEnum + matchPath: FieldSelectorEnum + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +type SiteFunctionGroupConnection { + totalCount: Int! + edges: [SiteFunctionEdge!]! + nodes: [SiteFunction!]! + pageInfo: PageInfo! + distinct(field: SiteFunctionFieldSelector!): [String!]! + max(field: SiteFunctionFieldSelector!): Float + min(field: SiteFunctionFieldSelector!): Float + sum(field: SiteFunctionFieldSelector!): Float + group(skip: Int, limit: Int, field: SiteFunctionFieldSelector!): [SiteFunctionGroupConnection!]! + field: String! + fieldValue: String +} + +input SiteFunctionFilterInput { + functionRoute: StringQueryOperatorInput + pluginName: StringQueryOperatorInput + originalAbsoluteFilePath: StringQueryOperatorInput + originalRelativeFilePath: StringQueryOperatorInput + relativeCompiledFilePath: StringQueryOperatorInput + absoluteCompiledFilePath: StringQueryOperatorInput + matchPath: StringQueryOperatorInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input SiteFunctionSortInput { + functionRoute: SortOrderEnum + pluginName: SortOrderEnum + originalAbsoluteFilePath: SortOrderEnum + originalRelativeFilePath: SortOrderEnum + relativeCompiledFilePath: SortOrderEnum + absoluteCompiledFilePath: SortOrderEnum + matchPath: SortOrderEnum + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +input JSONQueryOperatorInput { + eq: JSON + ne: JSON + in: [JSON] + nin: [JSON] + regex: JSON + glob: JSON +} + +input SitePluginFilterInput { + resolve: StringQueryOperatorInput + name: StringQueryOperatorInput + version: StringQueryOperatorInput + nodeAPIs: StringQueryOperatorInput + browserAPIs: StringQueryOperatorInput + ssrAPIs: StringQueryOperatorInput + pluginFilepath: StringQueryOperatorInput + pluginOptions: JSONQueryOperatorInput + packageJson: JSONQueryOperatorInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +type SitePageConnection { + totalCount: Int! + edges: [SitePageEdge!]! + nodes: [SitePage!]! + pageInfo: PageInfo! + distinct(field: SitePageFieldSelector!): [String!]! + max(field: SitePageFieldSelector!): Float + min(field: SitePageFieldSelector!): Float + sum(field: SitePageFieldSelector!): Float + group(skip: Int, limit: Int, field: SitePageFieldSelector!): [SitePageGroupConnection!]! +} + +type SitePageEdge { + next: SitePage + node: SitePage! + previous: SitePage +} + +input SitePageFieldSelector { + path: FieldSelectorEnum + component: FieldSelectorEnum + internalComponentName: FieldSelectorEnum + componentChunkName: FieldSelectorEnum + matchPath: FieldSelectorEnum + pageContext: FieldSelectorEnum + pluginCreator: SitePluginFieldSelector + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +input SitePluginFieldSelector { + resolve: FieldSelectorEnum + name: FieldSelectorEnum + version: FieldSelectorEnum + nodeAPIs: FieldSelectorEnum + browserAPIs: FieldSelectorEnum + ssrAPIs: FieldSelectorEnum + pluginFilepath: FieldSelectorEnum + pluginOptions: FieldSelectorEnum + packageJson: FieldSelectorEnum + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +type SitePageGroupConnection { + totalCount: Int! + edges: [SitePageEdge!]! + nodes: [SitePage!]! + pageInfo: PageInfo! + distinct(field: SitePageFieldSelector!): [String!]! + max(field: SitePageFieldSelector!): Float + min(field: SitePageFieldSelector!): Float + sum(field: SitePageFieldSelector!): Float + group(skip: Int, limit: Int, field: SitePageFieldSelector!): [SitePageGroupConnection!]! + field: String! + fieldValue: String +} + +input SitePageFilterInput { + path: StringQueryOperatorInput + component: StringQueryOperatorInput + internalComponentName: StringQueryOperatorInput + componentChunkName: StringQueryOperatorInput + matchPath: StringQueryOperatorInput + pageContext: JSONQueryOperatorInput + pluginCreator: SitePluginFilterInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input SitePageSortInput { + path: SortOrderEnum + component: SortOrderEnum + internalComponentName: SortOrderEnum + componentChunkName: SortOrderEnum + matchPath: SortOrderEnum + pageContext: SortOrderEnum + pluginCreator: SitePluginSortInput + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +input SitePluginSortInput { + resolve: SortOrderEnum + name: SortOrderEnum + version: SortOrderEnum + nodeAPIs: SortOrderEnum + browserAPIs: SortOrderEnum + ssrAPIs: SortOrderEnum + pluginFilepath: SortOrderEnum + pluginOptions: SortOrderEnum + packageJson: SortOrderEnum + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} + +type SitePluginConnection { + totalCount: Int! + edges: [SitePluginEdge!]! + nodes: [SitePlugin!]! + pageInfo: PageInfo! + distinct(field: SitePluginFieldSelector!): [String!]! + max(field: SitePluginFieldSelector!): Float + min(field: SitePluginFieldSelector!): Float + sum(field: SitePluginFieldSelector!): Float + group(skip: Int, limit: Int, field: SitePluginFieldSelector!): [SitePluginGroupConnection!]! +} + +type SitePluginEdge { + next: SitePlugin + node: SitePlugin! + previous: SitePlugin +} + +type SitePluginGroupConnection { + totalCount: Int! + edges: [SitePluginEdge!]! + nodes: [SitePlugin!]! + pageInfo: PageInfo! + distinct(field: SitePluginFieldSelector!): [String!]! + max(field: SitePluginFieldSelector!): Float + min(field: SitePluginFieldSelector!): Float + sum(field: SitePluginFieldSelector!): Float + group(skip: Int, limit: Int, field: SitePluginFieldSelector!): [SitePluginGroupConnection!]! + field: String! + fieldValue: String +} + +type SiteBuildMetadataConnection { + totalCount: Int! + edges: [SiteBuildMetadataEdge!]! + nodes: [SiteBuildMetadata!]! + pageInfo: PageInfo! + distinct(field: SiteBuildMetadataFieldSelector!): [String!]! + max(field: SiteBuildMetadataFieldSelector!): Float + min(field: SiteBuildMetadataFieldSelector!): Float + sum(field: SiteBuildMetadataFieldSelector!): Float + group(skip: Int, limit: Int, field: SiteBuildMetadataFieldSelector!): [SiteBuildMetadataGroupConnection!]! +} + +type SiteBuildMetadataEdge { + next: SiteBuildMetadata + node: SiteBuildMetadata! + previous: SiteBuildMetadata +} + +input SiteBuildMetadataFieldSelector { + buildTime: FieldSelectorEnum + id: FieldSelectorEnum + parent: NodeFieldSelector + children: NodeFieldSelector + internal: InternalFieldSelector +} + +type SiteBuildMetadataGroupConnection { + totalCount: Int! + edges: [SiteBuildMetadataEdge!]! + nodes: [SiteBuildMetadata!]! + pageInfo: PageInfo! + distinct(field: SiteBuildMetadataFieldSelector!): [String!]! + max(field: SiteBuildMetadataFieldSelector!): Float + min(field: SiteBuildMetadataFieldSelector!): Float + sum(field: SiteBuildMetadataFieldSelector!): Float + group(skip: Int, limit: Int, field: SiteBuildMetadataFieldSelector!): [SiteBuildMetadataGroupConnection!]! + field: String! + fieldValue: String +} + +input SiteBuildMetadataFilterInput { + buildTime: DateQueryOperatorInput + id: StringQueryOperatorInput + parent: NodeFilterInput + children: NodeFilterListInput + internal: InternalFilterInput +} + +input SiteBuildMetadataSortInput { + buildTime: SortOrderEnum + id: SortOrderEnum + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput +} +" +`; diff --git a/packages/gatsby/src/schema/__tests__/build-schema.js b/packages/gatsby/src/schema/__tests__/build-schema.js index 808b2ec6b2223..d13f55ecce222 100644 --- a/packages/gatsby/src/schema/__tests__/build-schema.js +++ b/packages/gatsby/src/schema/__tests__/build-schema.js @@ -20,6 +20,9 @@ import { } from "../types/type-builders" const withResolverContext = require(`../context`) +const itWhenV4 = _CFLAGS_.GATSBY_MAJOR !== `5` ? it : it.skip +const itWhenV5 = _CFLAGS_.GATSBY_MAJOR === `5` ? it : it.skip + /** * Helper identity function to trigger syntax highlighting in code editors. * (`gql` name serve as a hint) @@ -61,7 +64,12 @@ describe(`Built-in types`, () => { store.dispatch({ type: `DELETE_CACHE` }) }) - it(`includes built-in types`, async () => { + itWhenV4(`includes built-in types (v4)`, async () => { + const schema = await buildSchema() + expect(printSchema(schema)).toMatchSnapshot() + }) + + itWhenV5(`includes built-in types (v5)`, async () => { const schema = await buildSchema() expect(printSchema(schema)).toMatchSnapshot() }) @@ -1397,67 +1405,138 @@ describe(`Build schema`, () => { `) }) - it(`Can reference derived types when merging types`, async () => { - createTypes(gql` - # create initial type composer - type TypeCreatedBySourcePlugin implements Node { - id: ID! - someField: String - } - `) - createTypes([ - buildInterfaceType({ - name: `SharedInterface`, - fields: { - id: `ID!`, - child_items: { - type: `[SharedInterface]`, - args: { - // referencing derived type - sort: `SharedInterfaceSortInput`, + itWhenV4( + `Can reference derived types when merging types (v4)`, + async () => { + createTypes(gql` + # create initial type composer + type TypeCreatedBySourcePlugin implements Node { + id: ID! + someField: String + } + `) + createTypes([ + buildInterfaceType({ + name: `SharedInterface`, + fields: { + id: `ID!`, + child_items: { + type: `[SharedInterface]`, + args: { + // referencing derived type + sort: `SharedInterfaceSortInput`, + }, }, }, - }, - interfaces: [`Node`], - }), - buildObjectType({ - name: `TypeCreatedBySourcePlugin`, - fields: { - id: `ID!`, - child_items: { - type: `[SharedInterface]`, - args: { - sort: `SharedInterfaceSortInput`, + interfaces: [`Node`], + }), + buildObjectType({ + name: `TypeCreatedBySourcePlugin`, + fields: { + id: `ID!`, + child_items: { + type: `[SharedInterface]`, + args: { + sort: `SharedInterfaceSortInput`, + }, + resolve: (_, args) => [], }, - resolve: (_, args) => [], }, - }, - interfaces: [`Node`, `SharedInterface`], - }), - ]) - - // implicit assertion is that building schema doesn't throw in the process - const schema = await buildSchema() - expect(printType(schema.getType(`TypeCreatedBySourcePlugin`))) - .toMatchInlineSnapshot(` - "type TypeCreatedBySourcePlugin implements Node & SharedInterface { - id: ID! - someField: String - child_items(sort: SharedInterfaceSortInput): [SharedInterface] - parent: Node - children: [Node!]! - internal: Internal! - }" - `) + interfaces: [`Node`, `SharedInterface`], + }), + ]) + + // implicit assertion is that building schema doesn't throw in the process + const schema = await buildSchema() + expect(printType(schema.getType(`TypeCreatedBySourcePlugin`))) + .toMatchInlineSnapshot(` + "type TypeCreatedBySourcePlugin implements Node & SharedInterface { + id: ID! + someField: String + child_items(sort: SharedInterfaceSortInput): [SharedInterface] + parent: Node + children: [Node!]! + internal: Internal! + }" + `) + + expect(printType(schema.getType(`SharedInterfaceSortInput`))) + .toMatchInlineSnapshot(` + "input SharedInterfaceSortInput { + fields: [SharedInterfaceFieldsEnum] + order: [SortOrderEnum] = [ASC] + }" + `) + } + ) - expect(printType(schema.getType(`SharedInterfaceSortInput`))) - .toMatchInlineSnapshot(` - "input SharedInterfaceSortInput { - fields: [SharedInterfaceFieldsEnum] - order: [SortOrderEnum] = [ASC] - }" - `) - }) + itWhenV5( + `Can reference derived types when merging types (v5)`, + async () => { + createTypes(gql` + # create initial type composer + type TypeCreatedBySourcePlugin implements Node { + id: ID! + someField: String + } + `) + createTypes([ + buildInterfaceType({ + name: `SharedInterface`, + fields: { + id: `ID!`, + child_items: { + type: `[SharedInterface]`, + args: { + // referencing derived type + sort: `SharedInterfaceSortInput`, + }, + }, + }, + interfaces: [`Node`], + }), + buildObjectType({ + name: `TypeCreatedBySourcePlugin`, + fields: { + id: `ID!`, + child_items: { + type: `[SharedInterface]`, + args: { + sort: `SharedInterfaceSortInput`, + }, + resolve: (_, args) => [], + }, + }, + interfaces: [`Node`, `SharedInterface`], + }), + ]) + + // implicit assertion is that building schema doesn't throw in the process + const schema = await buildSchema() + expect(printType(schema.getType(`TypeCreatedBySourcePlugin`))) + .toMatchInlineSnapshot(` + "type TypeCreatedBySourcePlugin implements Node & SharedInterface { + id: ID! + someField: String + child_items(sort: SharedInterfaceSortInput): [SharedInterface] + parent: Node + children: [Node!]! + internal: Internal! + }" + `) + + expect(printType(schema.getType(`SharedInterfaceSortInput`))) + .toMatchInlineSnapshot(` + "input SharedInterfaceSortInput { + id: SortOrderEnum + child_items: SharedInterfaceSortInput + parent: NodeSortInput + children: NodeSortInput + internal: InternalSortInput + }" + `) + } + ) }) it(`allows renaming and merging nested types`, async () => { diff --git a/packages/gatsby/src/schema/__tests__/kitchen-sink.js b/packages/gatsby/src/schema/__tests__/kitchen-sink.js index 123cbcada26b4..c6ac7dc2fdebf 100644 --- a/packages/gatsby/src/schema/__tests__/kitchen-sink.js +++ b/packages/gatsby/src/schema/__tests__/kitchen-sink.js @@ -8,6 +8,8 @@ const { GraphQLList, GraphQLObjectType, getNamedType, + parse, + print, } = require(`graphql`) const { store } = require(`../../redux`) const { actions } = require(`../../redux/actions`) @@ -16,6 +18,7 @@ const fs = require(`fs-extra`) const path = require(`path`) const { slash } = require(`gatsby-core-utils`) const withResolverContext = require(`../context`) +const { tranformDocument } = require(`../../query/transform-document`) jest.mock(`../../utils/api-runner-node`) const apiRunnerNode = require(`../../utils/api-runner-node`) @@ -47,8 +50,14 @@ describe(`Kitchen sink schema test`, () => { let schema let schemaComposer - const runQuery = query => - graphql( + const runQuery = query => { + if (_CFLAGS_.GATSBY_MAJOR === `5`) { + const inputAst = typeof query === `string` ? parse(query) : query + const { ast } = tranformDocument(inputAst) + query = print(ast) + } + + return graphql( schema, query, undefined, @@ -59,6 +68,7 @@ describe(`Kitchen sink schema test`, () => { customContext: {}, }) ) + } beforeAll(async () => { apiRunnerNode.mockImplementation((api, ...args) => { diff --git a/packages/gatsby/src/schema/__tests__/queries.js b/packages/gatsby/src/schema/__tests__/queries.js index 5894a92be2ddd..692d0f4ac3687 100644 --- a/packages/gatsby/src/schema/__tests__/queries.js +++ b/packages/gatsby/src/schema/__tests__/queries.js @@ -1,8 +1,9 @@ -const { graphql } = require(`graphql`) +const { graphql, parse, print } = require(`graphql`) const { store } = require(`../../redux`) const { actions } = require(`../../redux/actions`) const { build } = require(`..`) const withResolverContext = require(`../context`) +const { tranformDocument } = require(`../../query/transform-document`) jest.mock(`../../utils/api-runner-node`) const apiRunnerNode = require(`../../utils/api-runner-node`) @@ -46,8 +47,14 @@ describe(`Query schema`, () => { let schema let schemaComposer - const runQuery = (query, variables) => - graphql( + const runQuery = (query, variables) => { + if (_CFLAGS_.GATSBY_MAJOR === `5`) { + const inputAst = typeof query === `string` ? parse(query) : query + const { ast } = tranformDocument(inputAst) + query = print(ast) + } + + return graphql( schema, query, undefined, @@ -57,6 +64,7 @@ describe(`Query schema`, () => { }), variables ) + } beforeAll(async () => { apiRunnerNode.mockImplementation(async (api, ...args) => { diff --git a/packages/gatsby/src/schema/types/sort.ts b/packages/gatsby/src/schema/types/sort.ts index 988f807211edf..7c3401fe2a581 100644 --- a/packages/gatsby/src/schema/types/sort.ts +++ b/packages/gatsby/src/schema/types/sort.ts @@ -193,7 +193,7 @@ export const getSortInputNestedObjects = ({ const itc = convertToNestedInputType({ schemaComposer, typeComposer, - postfix: `SortInputProp2`, + postfix: `SortInput`, onEnter: ({ fieldName, typeComposer }): IVisitContext => { const sortable = typeComposer instanceof UnionTypeComposer || diff --git a/packages/gatsby/src/utils/__tests__/browserslist.js b/packages/gatsby/src/utils/__tests__/browserslist.js index 0014f4003cff3..479772edb53f7 100644 --- a/packages/gatsby/src/utils/__tests__/browserslist.js +++ b/packages/gatsby/src/utils/__tests__/browserslist.js @@ -11,6 +11,8 @@ const { findConfig: mockedFindConfig } = require(`browserslist/node`) const BASE = path.resolve(`.`) +const itWhenV4 = _CFLAGS_.GATSBY_MAJOR !== `5` ? it : it.skip + describe(`browserslist`, () => { it(`prefers returned browserslist results`, () => { const defaults = [`IE 11`] @@ -47,13 +49,16 @@ describe(`browserslist`, () => { expect(hasES6ModuleSupport(BASE)).toBe(true) }) - it(`hasES6ModuleSupport returns false if any browser does not support es6 modules`, () => { - const defaults = [`IE 11`] - mockedFindConfig.mockReturnValueOnce({ - defaults, - }) - getBrowsersList(BASE) + itWhenV4( + `hasES6ModuleSupport returns false if any browser does not support es6 modules`, + () => { + const defaults = [`IE 11`] + mockedFindConfig.mockReturnValueOnce({ + defaults, + }) + getBrowsersList(BASE) - expect(hasES6ModuleSupport(BASE)).toBe(false) - }) + expect(hasES6ModuleSupport(BASE)).toBe(false) + } + ) }) diff --git a/packages/gatsby/src/utils/parcel/__tests__/__snapshots__/compile-gatsby-files.ts.snap b/packages/gatsby/src/utils/parcel/__tests__/__snapshots__/compile-gatsby-files.ts.snap deleted file mode 100644 index 28b4507270d94..0000000000000 --- a/packages/gatsby/src/utils/parcel/__tests__/__snapshots__/compile-gatsby-files.ts.snap +++ /dev/null @@ -1,25 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`gatsby file compilation constructBundler should construct Parcel relative to passed directory 1`] = ` -Object { - "cache": undefined, - "cacheDir": "<PROJECT_ROOT>/packages/gatsby/src/utils/parcel/__tests__/fixtures/js/.cache/.parcel-cache", - "defaultConfig": "<PROJECT_ROOT>/packages/gatsby-parcel-config/lib/index.json", - "entries": Array [ - "<PROJECT_ROOT>/packages/gatsby/src/utils/parcel/__tests__/fixtures/js/gatsby-+(node|config).ts", - "<PROJECT_ROOT>/packages/gatsby/src/utils/parcel/__tests__/fixtures/js/plugins/**/gatsby-+(node|config).ts", - ], - "mode": "production", - "targets": Object { - "root": Object { - "distDir": "<PROJECT_ROOT>/packages/gatsby/src/utils/parcel/__tests__/fixtures/js/.cache/compiled", - "engines": Object { - "node": ">= 14.15.0", - }, - "includeNodeModules": false, - "outputFormat": "commonjs", - "sourceMap": false, - }, - }, -} -`; diff --git a/packages/gatsby/src/utils/parcel/__tests__/compile-gatsby-files.ts b/packages/gatsby/src/utils/parcel/__tests__/compile-gatsby-files.ts index 3f2e0f10298d4..845360af684eb 100644 --- a/packages/gatsby/src/utils/parcel/__tests__/compile-gatsby-files.ts +++ b/packages/gatsby/src/utils/parcel/__tests__/compile-gatsby-files.ts @@ -67,7 +67,7 @@ describe(`gatsby file compilation`, () => { it(`should construct Parcel relative to passed directory`, () => { const { options } = constructParcel(dir.js) as IMockedParcel - expect(options).toMatchSnapshot({ + expect(options).toMatchObject({ entries: [ `${dir.js}/${gatsbyFileRegex}`, `${dir.js}/plugins/**/${gatsbyFileRegex}`, @@ -75,6 +75,9 @@ describe(`gatsby file compilation`, () => { targets: { root: { distDir: `${dir.js}/${COMPILED_CACHE_DIR}`, + engines: { + node: _CFLAGS_.GATSBY_MAJOR !== `5` ? `>= 14.15.0` : `>= 18.0.0`, + }, }, }, cacheDir: `${dir.js}/${PARCEL_CACHE_DIR}`,
7a2778b2a7c142c7602704c852685338c6c8839e
2023-07-21 16:20:49
Derry Sucari
fix(gatsby-source-contentful): handle nullable fields (#38358)
false
handle nullable fields (#38358)
fix
diff --git a/packages/gatsby-source-contentful/rich-text.d.ts b/packages/gatsby-source-contentful/rich-text.d.ts index fb43b376ecbcd..03ec178b54811 100644 --- a/packages/gatsby-source-contentful/rich-text.d.ts +++ b/packages/gatsby-source-contentful/rich-text.d.ts @@ -10,8 +10,8 @@ interface ContentfulRichTextGatsbyReference { } interface RenderRichTextData<T extends ContentfulRichTextGatsbyReference> { - raw: string - references: T[] + raw?: string | null + references?: T[] | null } export function renderRichText< diff --git a/packages/gatsby-source-contentful/src/rich-text.js b/packages/gatsby-source-contentful/src/rich-text.js index bed7d4ca7b6fd..052b8ada4304e 100644 --- a/packages/gatsby-source-contentful/src/rich-text.js +++ b/packages/gatsby-source-contentful/src/rich-text.js @@ -3,7 +3,7 @@ import { documentToReactComponents } from "@contentful/rich-text-react-renderer" import resolveResponse from "contentful-resolve-response" export function renderRichText({ raw, references }, options = {}) { - const richText = JSON.parse(raw) + const richText = JSON.parse(raw || null) // If no references are given, there is no need to resolve them if (!references || !references.length) {
7486b8bfdfb32bbcce67385e922ffd6c9bc98d43
2020-07-29 13:46:33
Michal Piechowiak
chore(gatsby): fix typegen for publishing (#26078)
false
fix typegen for publishing (#26078)
chore
diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 1732259fe0d11..4d0eae6ad3839 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -173,6 +173,7 @@ "react": "^16.12.0", "react-dom": "^16.12.0", "rimraf": "^3.0.2", + "typescript": "^3.9.5", "xhr-mock": "^2.5.1", "zipkin": "^0.19.2", "zipkin-javascript-opentracing": "^2.1.0", @@ -220,17 +221,17 @@ "graphql": "^14.6.0" }, "scripts": { - "build": "npm run build:src && npm run build:internal-plugins && npm run build:rawfiles && npm run build:cjs", + "build": "npm run build:types && npm run build:src && npm run build:internal-plugins && npm run build:rawfiles && npm run build:cjs", "postbuild": "node scripts/output-api-file.js && yarn workspace gatsby-admin build", "build:internal-plugins": "copyfiles -u 1 src/internal-plugins/**/package.json dist", "build:rawfiles": "copyfiles -u 1 src/internal-plugins/**/raw_* dist", "build:cjs": "babel cache-dir --out-dir cache-dir/commonjs --ignore \"**/__tests__\"", "build:src": "babel src --out-dir dist --source-maps --verbose --ignore \"**/gatsby-cli.js,src/internal-plugins/dev-404-page/raw_dev-404-page.js,**/__tests__\" --extensions \".ts,.js\"", + "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist", "clean-test-bundles": "find test/ -type f -name bundle.js* -exec rm -rf {} +", "prebuild": "rimraf dist && rimraf cache-dir/commonjs", "postinstall": "node scripts/postinstall.js", - "prepare": "npm run typegen && cross-env NODE_ENV=production npm run build", - "typegen": "tsc --emitDeclarationOnly --declaration --declarationDir dist", + "prepare": "cross-env NODE_ENV=production npm run build", "watch": "rimraf dist && mkdir dist && npm run build:internal-plugins && npm run build:rawfiles && npm run build:src -- --watch" }, "types": "index.d.ts",
9f70506a62dce995c797270a337e1e6d371486ca
2018-12-28 16:44:56
Jeff Held
fix(www): title and thumbnail of Starter card route to same place (#10665)
false
title and thumbnail of Starter card route to same place (#10665)
fix
diff --git a/www/src/views/starter-library/starter-list.js b/www/src/views/starter-library/starter-list.js index 0df6eeb17baea..b25a0155036d9 100644 --- a/www/src/views/starter-library/starter-list.js +++ b/www/src/views/starter-library/starter-list.js @@ -62,7 +62,6 @@ const StartersList = ({ urlState, starters, count, sortRecent }) => { owner, slug, stars, - stub, } = starter.fields.starterShowcase const { url: demoUrl } = starter @@ -109,7 +108,7 @@ const StartersList = ({ urlState, starters, count, sortRecent }) => { </span> </div> <div> - <Link to={`/starters/${stub}`}> + <Link to={`/starters${slug}`}> <h5 css={{ margin: 0 }}> <strong className="title">{name}</strong> </h5>
d1a40b085d4fd38d58f4dd823fc03a9feb9d049f
2019-02-18 21:18:58
Lionel
docs(gatsby-source-shopify): Add missing `s` into `edges` string (#11865)
false
Add missing `s` into `edges` string (#11865)
docs
diff --git a/packages/gatsby-source-shopify/README.md b/packages/gatsby-source-shopify/README.md index 1ac757fd90a87..62daca939939a 100644 --- a/packages/gatsby-source-shopify/README.md +++ b/packages/gatsby-source-shopify/README.md @@ -113,7 +113,7 @@ provided on the `comments` field. ```graphql { allShopifyArticle { - edge { + edges { node { id author { @@ -147,7 +147,7 @@ directly like the following: ```graphql { allShopifyBlog { - edge { + edges { node { id title @@ -166,7 +166,7 @@ queried directly like the following: ```graphql { allShopifyComment { - edge { + edges { node { id author { @@ -187,7 +187,7 @@ Products in the collection are provided on the `products` field. ```graphql { allShopifyCollection { - edge { + edges { node { id descriptionHtml @@ -216,7 +216,7 @@ fields. ```graphql { allShopifyProduct { - edge { + edges { node { id descriptionHtml @@ -253,7 +253,7 @@ be queried directly like the following: ```graphql { allShopifyProductOption { - edge { + edges { node { id name @@ -272,7 +272,7 @@ can be queried directly like the following: ```graphql { allShopifyProductVariant { - edge { + edges { node { id availableForSale @@ -306,7 +306,7 @@ like the following: ```graphql { allShopifyShopPolicy { - edge { + edges { node { body title
b7b3f31a1587d9702f85eadca2f3a30f93c804d0
2022-07-14 11:07:26
renovate[bot]
fix(deps): update starters and examples gatsby packages to ^4.18.2 (#36122)
false
update starters and examples gatsby packages to ^4.18.2 (#36122)
fix
diff --git a/starters/blog/package-lock.json b/starters/blog/package-lock.json index dc4736aad94da..55774ffa6b47e 100644 --- a/starters/blog/package-lock.json +++ b/starters/blog/package-lock.json @@ -1317,13 +1317,239 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, + "lmdb": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + }, + "node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" + }, + "node-gyp-build-optional-packages": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", + "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } } }, "@gatsbyjs/potrace": { @@ -2987,9 +3213,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -3299,9 +3525,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -3738,9 +3967,9 @@ } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -4149,13 +4378,13 @@ } }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, @@ -4303,9 +4532,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "capital-case": { "version": "1.0.4", @@ -5594,9 +5823,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" }, "emoji-regex": { "version": "8.0.0", @@ -6975,9 +7204,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -7063,7 +7292,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -7278,11 +7507,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -13198,9 +13427,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/blog/package.json b/starters/blog/package.json index 7e25897bf4c6a..ae844a2114990 100644 --- a/starters/blog/package.json +++ b/starters/blog/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-plugin-feed": "^4.18.1", "gatsby-plugin-gatsby-cloud": "^4.18.1", "gatsby-plugin-google-analytics": "^4.18.0", diff --git a/starters/default/package-lock.json b/starters/default/package-lock.json index 5d997bc809f68..0b525d0e1b7ba 100644 --- a/starters/default/package-lock.json +++ b/starters/default/package-lock.json @@ -1317,13 +1317,239 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, + "lmdb": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + }, + "node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" + }, + "node-gyp-build-optional-packages": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", + "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } } }, "@gatsbyjs/potrace": { @@ -2987,9 +3213,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -3273,9 +3499,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -3707,9 +3936,9 @@ } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -4113,13 +4342,13 @@ } }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, @@ -4267,9 +4496,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "capital-case": { "version": "1.0.4", @@ -5523,9 +5752,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" }, "emoji-regex": { "version": "8.0.0", @@ -6891,9 +7120,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -6979,7 +7208,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -7194,11 +7423,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -12250,9 +12479,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/default/package.json b/starters/default/package.json index 37fc6126e3583..9b8ce7babcd5d 100644 --- a/starters/default/package.json +++ b/starters/default/package.json @@ -5,7 +5,7 @@ "version": "0.1.0", "author": "Kyle Mathews <[email protected]>", "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-plugin-gatsby-cloud": "^4.18.1", "gatsby-plugin-image": "^2.18.1", "gatsby-plugin-manifest": "^4.18.1", diff --git a/starters/gatsby-starter-blog-theme-core/package-lock.json b/starters/gatsby-starter-blog-theme-core/package-lock.json index 3a23a1a138420..3bc77f2a18bdc 100644 --- a/starters/gatsby-starter-blog-theme-core/package-lock.json +++ b/starters/gatsby-starter-blog-theme-core/package-lock.json @@ -1545,15 +1545,206 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" }, "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, "gatsby-core-utils": { "version": "3.18.1", "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-3.18.1.tgz", @@ -1574,6 +1765,62 @@ "resolve-from": "^5.0.0", "tmp": "^0.2.1", "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.3.tgz", + "integrity": "sha512-RXwGZ/0eCqtCY8FLTM/koR60w+MXyvBUpToXiIyjOcBnC81tAlTUHrRUavCEWPI9zc9VgvpK3+cbumPyR8BSuA==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.3.tgz", + "integrity": "sha512-337dNzh5yCdNCTk8kPfoU7jR3otibSlPDGW0vKZT97rKnQMb9tNdto3RtWoGPsQ8hKmlRZpojOJtmwjncq1MoA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.3.tgz", + "integrity": "sha512-mU2HFJDGwECkoD9dHQEfeTG5mp8hNS2BCfwoiOpVPMeapjYpQz9Uw3FkUjRZ4dGHWKbin40oWHuL0bk2bCx+Sg==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.3.tgz", + "integrity": "sha512-VJw60Mdgb4n+L0fO1PqfB0C7TyEQolJAC8qpqvG3JoQwvyOv6LH7Ib/WE3wxEW9nuHmVz9jkK7lk5HfWWgoO1Q==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.3.tgz", + "integrity": "sha512-qaReO5aV8griBDsBr8uBF/faO3ieGjY1RY4p8JvTL6Mu1ylLrTVvOONqKFlNaCwrmUjWw5jnf7VafxDAeQHTow==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.3.tgz", + "integrity": "sha512-cK+Elf3RjEzrm3SerAhrFWL5oQAsZSJ/LmjL1joIpTfEP1etJJ9CTRvdaV6XLYAxaEkfdhk/9hOvHLbR9yIhCA==", + "optional": true + }, + "lmdb": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", + "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.3", + "@lmdb/lmdb-darwin-x64": "2.5.3", + "@lmdb/lmdb-linux-arm": "2.5.3", + "@lmdb/lmdb-linux-arm64": "2.5.3", + "@lmdb/lmdb-linux-x64": "2.5.3", + "@lmdb/lmdb-win32-x64": "2.5.3", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + } } }, "got": { @@ -1595,16 +1842,16 @@ } }, "lmdb": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", - "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", - "requires": { - "@lmdb/lmdb-darwin-arm64": "2.5.3", - "@lmdb/lmdb-darwin-x64": "2.5.3", - "@lmdb/lmdb-linux-arm": "2.5.3", - "@lmdb/lmdb-linux-arm64": "2.5.3", - "@lmdb/lmdb-linux-x64": "2.5.3", - "@lmdb/lmdb-win32-x64": "2.5.3", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", "msgpackr": "^1.5.4", "node-addon-api": "^4.3.0", "node-gyp-build-optional-packages": "5.0.3", @@ -1621,6 +1868,11 @@ "version": "5.0.3", "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" } } }, @@ -3716,9 +3968,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -4041,9 +4293,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -4511,32 +4766,32 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -8101,9 +8356,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -8189,7 +8444,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -8716,11 +8971,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -12708,25 +12963,25 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, @@ -15128,9 +15383,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-blog-theme-core/package.json b/starters/gatsby-starter-blog-theme-core/package.json index 2021fbe7cf3b4..9f0a623046ff4 100644 --- a/starters/gatsby-starter-blog-theme-core/package.json +++ b/starters/gatsby-starter-blog-theme-core/package.json @@ -11,7 +11,7 @@ "license": "0BSD", "dependencies": { "@mdx-js/react": "^1.6.22", - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-theme-blog-core": "^4.0.0", "react": "^18.1.0", "react-dom": "^18.1.0" diff --git a/starters/gatsby-starter-blog-theme/package-lock.json b/starters/gatsby-starter-blog-theme/package-lock.json index d1cc6e0842689..c92f5408b13fc 100644 --- a/starters/gatsby-starter-blog-theme/package-lock.json +++ b/starters/gatsby-starter-blog-theme/package-lock.json @@ -1711,15 +1711,206 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" }, "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, "gatsby-core-utils": { "version": "3.18.1", "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-3.18.1.tgz", @@ -1740,6 +1931,62 @@ "resolve-from": "^5.0.0", "tmp": "^0.2.1", "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.3.tgz", + "integrity": "sha512-RXwGZ/0eCqtCY8FLTM/koR60w+MXyvBUpToXiIyjOcBnC81tAlTUHrRUavCEWPI9zc9VgvpK3+cbumPyR8BSuA==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.3.tgz", + "integrity": "sha512-337dNzh5yCdNCTk8kPfoU7jR3otibSlPDGW0vKZT97rKnQMb9tNdto3RtWoGPsQ8hKmlRZpojOJtmwjncq1MoA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.3.tgz", + "integrity": "sha512-mU2HFJDGwECkoD9dHQEfeTG5mp8hNS2BCfwoiOpVPMeapjYpQz9Uw3FkUjRZ4dGHWKbin40oWHuL0bk2bCx+Sg==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.3.tgz", + "integrity": "sha512-VJw60Mdgb4n+L0fO1PqfB0C7TyEQolJAC8qpqvG3JoQwvyOv6LH7Ib/WE3wxEW9nuHmVz9jkK7lk5HfWWgoO1Q==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.3.tgz", + "integrity": "sha512-qaReO5aV8griBDsBr8uBF/faO3ieGjY1RY4p8JvTL6Mu1ylLrTVvOONqKFlNaCwrmUjWw5jnf7VafxDAeQHTow==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.3.tgz", + "integrity": "sha512-cK+Elf3RjEzrm3SerAhrFWL5oQAsZSJ/LmjL1joIpTfEP1etJJ9CTRvdaV6XLYAxaEkfdhk/9hOvHLbR9yIhCA==", + "optional": true + }, + "lmdb": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", + "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.3", + "@lmdb/lmdb-darwin-x64": "2.5.3", + "@lmdb/lmdb-linux-arm": "2.5.3", + "@lmdb/lmdb-linux-arm64": "2.5.3", + "@lmdb/lmdb-linux-x64": "2.5.3", + "@lmdb/lmdb-win32-x64": "2.5.3", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + } } }, "got": { @@ -1761,16 +2008,16 @@ } }, "lmdb": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", - "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", - "requires": { - "@lmdb/lmdb-darwin-arm64": "2.5.3", - "@lmdb/lmdb-darwin-x64": "2.5.3", - "@lmdb/lmdb-linux-arm": "2.5.3", - "@lmdb/lmdb-linux-arm64": "2.5.3", - "@lmdb/lmdb-linux-x64": "2.5.3", - "@lmdb/lmdb-win32-x64": "2.5.3", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", "msgpackr": "^1.5.4", "node-addon-api": "^4.3.0", "node-gyp-build-optional-packages": "5.0.3", @@ -1792,6 +2039,11 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" } } }, @@ -4088,9 +4340,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -4421,9 +4673,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -4891,32 +5146,32 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -8496,9 +8751,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -8584,7 +8839,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -9126,11 +9381,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -13241,25 +13496,25 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, @@ -15907,9 +16162,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-blog-theme/package.json b/starters/gatsby-starter-blog-theme/package.json index cc6622ee46d5a..7107e4b33ace5 100644 --- a/starters/gatsby-starter-blog-theme/package.json +++ b/starters/gatsby-starter-blog-theme/package.json @@ -13,7 +13,7 @@ "@emotion/react": "^11.9.3", "@emotion/styled": "^11.9.3", "@mdx-js/react": "^1.6.22", - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-theme-blog": "^4.0.0", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/starters/gatsby-starter-minimal-ts/package-lock.json b/starters/gatsby-starter-minimal-ts/package-lock.json index 8a05e3b620909..f7520b4f9b205 100644 --- a/starters/gatsby-starter-minimal-ts/package-lock.json +++ b/starters/gatsby-starter-minimal-ts/package-lock.json @@ -1317,13 +1317,239 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, + "lmdb": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + }, + "node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" + }, + "node-gyp-build-optional-packages": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", + "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } } }, "@gatsbyjs/potrace": { @@ -2951,9 +3177,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -3241,9 +3467,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -3663,9 +3892,9 @@ } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -4016,13 +4245,13 @@ } }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, @@ -4170,9 +4399,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "capital-case": { "version": "1.0.4", @@ -5279,9 +5508,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" }, "emoji-regex": { "version": "8.0.0", @@ -6627,9 +6856,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -6715,7 +6944,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -6930,11 +7159,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -11393,9 +11622,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-minimal-ts/package.json b/starters/gatsby-starter-minimal-ts/package.json index 5122f3f2cc224..b22a7c972d46d 100644 --- a/starters/gatsby-starter-minimal-ts/package.json +++ b/starters/gatsby-starter-minimal-ts/package.json @@ -17,7 +17,7 @@ }, "license": "0BSD", "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "react": "^18.1.0", "react-dom": "^18.1.0" }, diff --git a/starters/gatsby-starter-minimal/package-lock.json b/starters/gatsby-starter-minimal/package-lock.json index 244499ddf8300..5f5d9376ae4d4 100644 --- a/starters/gatsby-starter-minimal/package-lock.json +++ b/starters/gatsby-starter-minimal/package-lock.json @@ -1317,13 +1317,239 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, + "lmdb": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + }, + "node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" + }, + "node-gyp-build-optional-packages": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", + "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } } }, "@gatsbyjs/potrace": { @@ -2951,9 +3177,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -3232,9 +3458,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -3654,9 +3883,9 @@ } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -4007,13 +4236,13 @@ } }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, @@ -4161,9 +4390,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "capital-case": { "version": "1.0.4", @@ -5270,9 +5499,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" }, "emoji-regex": { "version": "8.0.0", @@ -6618,9 +6847,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -6706,7 +6935,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -6921,11 +7150,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -11384,9 +11613,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-minimal/package.json b/starters/gatsby-starter-minimal/package.json index 8e0e98f0382d9..ebd2175dcce81 100644 --- a/starters/gatsby-starter-minimal/package.json +++ b/starters/gatsby-starter-minimal/package.json @@ -16,7 +16,7 @@ }, "license": "0BSD", "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "react": "^18.1.0", "react-dom": "^18.1.0" } diff --git a/starters/gatsby-starter-notes-theme/package-lock.json b/starters/gatsby-starter-notes-theme/package-lock.json index 459941552b8e3..dac2d5cdc410d 100644 --- a/starters/gatsby-starter-notes-theme/package-lock.json +++ b/starters/gatsby-starter-notes-theme/package-lock.json @@ -1687,11 +1687,12 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" }, @@ -1704,6 +1705,196 @@ "regenerator-runtime": "^0.13.4" } }, + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, "fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -1734,6 +1925,62 @@ "resolve-from": "^5.0.0", "tmp": "^0.2.1", "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.3.tgz", + "integrity": "sha512-RXwGZ/0eCqtCY8FLTM/koR60w+MXyvBUpToXiIyjOcBnC81tAlTUHrRUavCEWPI9zc9VgvpK3+cbumPyR8BSuA==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.3.tgz", + "integrity": "sha512-337dNzh5yCdNCTk8kPfoU7jR3otibSlPDGW0vKZT97rKnQMb9tNdto3RtWoGPsQ8hKmlRZpojOJtmwjncq1MoA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.3.tgz", + "integrity": "sha512-mU2HFJDGwECkoD9dHQEfeTG5mp8hNS2BCfwoiOpVPMeapjYpQz9Uw3FkUjRZ4dGHWKbin40oWHuL0bk2bCx+Sg==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.3.tgz", + "integrity": "sha512-VJw60Mdgb4n+L0fO1PqfB0C7TyEQolJAC8qpqvG3JoQwvyOv6LH7Ib/WE3wxEW9nuHmVz9jkK7lk5HfWWgoO1Q==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.3.tgz", + "integrity": "sha512-qaReO5aV8griBDsBr8uBF/faO3ieGjY1RY4p8JvTL6Mu1ylLrTVvOONqKFlNaCwrmUjWw5jnf7VafxDAeQHTow==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.3.tgz", + "integrity": "sha512-cK+Elf3RjEzrm3SerAhrFWL5oQAsZSJ/LmjL1joIpTfEP1etJJ9CTRvdaV6XLYAxaEkfdhk/9hOvHLbR9yIhCA==", + "optional": true + }, + "lmdb": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", + "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.3", + "@lmdb/lmdb-darwin-x64": "2.5.3", + "@lmdb/lmdb-linux-arm": "2.5.3", + "@lmdb/lmdb-linux-arm64": "2.5.3", + "@lmdb/lmdb-linux-x64": "2.5.3", + "@lmdb/lmdb-win32-x64": "2.5.3", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + } } }, "got": { @@ -1764,16 +2011,16 @@ } }, "lmdb": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", - "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", - "requires": { - "@lmdb/lmdb-darwin-arm64": "2.5.3", - "@lmdb/lmdb-darwin-x64": "2.5.3", - "@lmdb/lmdb-linux-arm": "2.5.3", - "@lmdb/lmdb-linux-arm64": "2.5.3", - "@lmdb/lmdb-linux-x64": "2.5.3", - "@lmdb/lmdb-win32-x64": "2.5.3", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", "msgpackr": "^1.5.4", "node-addon-api": "^4.3.0", "node-gyp-build-optional-packages": "5.0.3", @@ -1796,6 +2043,11 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -3792,9 +4044,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -4120,9 +4372,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -4558,32 +4813,32 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -8314,9 +8569,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -8402,7 +8657,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -8883,11 +9138,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -12684,25 +12939,25 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, @@ -14864,9 +15119,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-notes-theme/package.json b/starters/gatsby-starter-notes-theme/package.json index 3dfecf066200f..14dd354e691a9 100644 --- a/starters/gatsby-starter-notes-theme/package.json +++ b/starters/gatsby-starter-notes-theme/package.json @@ -10,7 +10,7 @@ }, "license": "0BSD", "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-theme-notes": "^4.0.0", "react": "^17.0.2", "react-dom": "^17.0.2" diff --git a/starters/gatsby-starter-theme-workspace/example/package.json b/starters/gatsby-starter-theme-workspace/example/package.json index 347b6f18f9bb4..3c1d225fb54ae 100644 --- a/starters/gatsby-starter-theme-workspace/example/package.json +++ b/starters/gatsby-starter-theme-workspace/example/package.json @@ -8,7 +8,7 @@ "build": "gatsby build" }, "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-theme-minimal": "^1.0.0", "react": "^18.1.0", "react-dom": "^18.1.0" diff --git a/starters/gatsby-starter-theme/package-lock.json b/starters/gatsby-starter-theme/package-lock.json index 1669c0557f610..b7c408f078da3 100644 --- a/starters/gatsby-starter-theme/package-lock.json +++ b/starters/gatsby-starter-theme/package-lock.json @@ -1692,11 +1692,12 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" }, @@ -1709,6 +1710,196 @@ "regenerator-runtime": "^0.13.4" } }, + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, "fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -1739,6 +1930,62 @@ "resolve-from": "^5.0.0", "tmp": "^0.2.1", "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.3.tgz", + "integrity": "sha512-RXwGZ/0eCqtCY8FLTM/koR60w+MXyvBUpToXiIyjOcBnC81tAlTUHrRUavCEWPI9zc9VgvpK3+cbumPyR8BSuA==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.3.tgz", + "integrity": "sha512-337dNzh5yCdNCTk8kPfoU7jR3otibSlPDGW0vKZT97rKnQMb9tNdto3RtWoGPsQ8hKmlRZpojOJtmwjncq1MoA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.3.tgz", + "integrity": "sha512-mU2HFJDGwECkoD9dHQEfeTG5mp8hNS2BCfwoiOpVPMeapjYpQz9Uw3FkUjRZ4dGHWKbin40oWHuL0bk2bCx+Sg==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.3.tgz", + "integrity": "sha512-VJw60Mdgb4n+L0fO1PqfB0C7TyEQolJAC8qpqvG3JoQwvyOv6LH7Ib/WE3wxEW9nuHmVz9jkK7lk5HfWWgoO1Q==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.3.tgz", + "integrity": "sha512-qaReO5aV8griBDsBr8uBF/faO3ieGjY1RY4p8JvTL6Mu1ylLrTVvOONqKFlNaCwrmUjWw5jnf7VafxDAeQHTow==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.3.tgz", + "integrity": "sha512-cK+Elf3RjEzrm3SerAhrFWL5oQAsZSJ/LmjL1joIpTfEP1etJJ9CTRvdaV6XLYAxaEkfdhk/9hOvHLbR9yIhCA==", + "optional": true + }, + "lmdb": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", + "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.3", + "@lmdb/lmdb-darwin-x64": "2.5.3", + "@lmdb/lmdb-linux-arm": "2.5.3", + "@lmdb/lmdb-linux-arm64": "2.5.3", + "@lmdb/lmdb-linux-x64": "2.5.3", + "@lmdb/lmdb-win32-x64": "2.5.3", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + } } }, "got": { @@ -1769,16 +2016,16 @@ } }, "lmdb": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.3.tgz", - "integrity": "sha512-iBA0cb13CobBSoGJLfZgnrykLlfJipDAnvtf+YwIqqzBEsTeQYsXrHaSBkaHd5wCWeabwrNvhjZoFMUrlo+eLw==", - "requires": { - "@lmdb/lmdb-darwin-arm64": "2.5.3", - "@lmdb/lmdb-darwin-x64": "2.5.3", - "@lmdb/lmdb-linux-arm": "2.5.3", - "@lmdb/lmdb-linux-arm64": "2.5.3", - "@lmdb/lmdb-linux-x64": "2.5.3", - "@lmdb/lmdb-win32-x64": "2.5.3", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", "msgpackr": "^1.5.4", "node-addon-api": "^4.3.0", "node-gyp-build-optional-packages": "5.0.3", @@ -1801,6 +2048,11 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -4215,9 +4467,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -4548,9 +4800,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -5353,32 +5608,32 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -9047,9 +9302,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -9135,7 +9390,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -9776,11 +10031,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -14072,25 +14327,25 @@ }, "dependencies": { "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" } } }, @@ -16594,9 +16849,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-theme/package.json b/starters/gatsby-starter-theme/package.json index 3d119ad99ecb8..420e44434c12a 100644 --- a/starters/gatsby-starter-theme/package.json +++ b/starters/gatsby-starter-theme/package.json @@ -10,7 +10,7 @@ }, "license": "0BSD", "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-theme-blog": "^4.0.0", "gatsby-theme-notes": "^4.0.0", "react": "^17.0.2", diff --git a/starters/gatsby-starter-wordpress-blog/package-lock.json b/starters/gatsby-starter-wordpress-blog/package-lock.json index 8908919f6da2f..24d1bdba22d2d 100644 --- a/starters/gatsby-starter-wordpress-blog/package-lock.json +++ b/starters/gatsby-starter-wordpress-blog/package-lock.json @@ -1957,13 +1957,239 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, + "lmdb": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + }, + "node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" + }, + "node-gyp-build-optional-packages": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", + "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } } }, "@gatsbyjs/potrace": { @@ -3720,9 +3946,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -4046,9 +4272,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -6224,9 +6453,9 @@ "integrity": "sha512-5yxLQ22O0fCRGoxGfeLSNt3J8LB1v+umtpMnPW6XjkTWXKoN0AmXAIhelJcDtFT/Y/wYWmfE+oqU10Q0b8FhaQ==" }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -6713,13 +6942,13 @@ "integrity": "sha512-Tfn5JSE7hrUlFcOoaLzVvkbgIemIorMIyoMr3TgvszWW7jFt2C9PdeMLtysYD9RU0MmU17b69+XJG1eRY2OBRg==" }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, @@ -6888,9 +7117,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "capital-case": { "version": "1.0.4", @@ -8286,9 +8515,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" }, "emoji-regex": { "version": "8.0.0", @@ -9712,9 +9941,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -9800,7 +10029,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -10038,11 +10267,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -15998,9 +16227,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/gatsby-starter-wordpress-blog/package.json b/starters/gatsby-starter-wordpress-blog/package.json index 44863a22da591..b0ca7d221ce22 100644 --- a/starters/gatsby-starter-wordpress-blog/package.json +++ b/starters/gatsby-starter-wordpress-blog/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@wordpress/block-library": "^2.29.3", - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "gatsby-image": "^3.11.0", "gatsby-plugin-image": "^2.18.1", "gatsby-plugin-manifest": "^4.18.1", diff --git a/starters/hello-world/package-lock.json b/starters/hello-world/package-lock.json index 9a19bf1576469..452e7a6e06906 100644 --- a/starters/hello-world/package-lock.json +++ b/starters/hello-world/package-lock.json @@ -1317,13 +1317,239 @@ } }, "@gatsbyjs/parcel-namer-relative-to-cwd": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.1.tgz", - "integrity": "sha512-wN4iU1CWumvhcuzMBKdDikZ5xgo81Ias09bKyjE36DgNxTzAhT2fXZIBAAEUlv/GBQqFe6Eas83gGGtXf31hiw==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@gatsbyjs/parcel-namer-relative-to-cwd/-/parcel-namer-relative-to-cwd-1.3.2.tgz", + "integrity": "sha512-jiYGiq8Zk21x2IIWbsLQ0GqgGJyKjj+/4jYwr5msD5ORB/JAZLk4IDrMKZ9rFXkNPq/bRV57ub0k/NvRMELfLQ==", "requires": { "@babel/runtime": "^7.18.0", + "@parcel/namer-default": "2.6.2", "@parcel/plugin": "2.6.0", "gatsby-core-utils": "^3.18.1" + }, + "dependencies": { + "@lmdb/lmdb-darwin-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.5.2.tgz", + "integrity": "sha512-+F8ioQIUN68B4UFiIBYu0QQvgb9FmlKw2ctQMSBfW2QBrZIxz9vD9jCGqTCPqZBRbPHAS/vG1zSXnKqnS2ch/A==", + "optional": true + }, + "@lmdb/lmdb-darwin-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-2.5.2.tgz", + "integrity": "sha512-KvPH56KRLLx4KSfKBx0m1r7GGGUMXm0jrKmNE7plbHlesZMuPJICtn07HYgQhj1LNsK7Yqwuvnqh1QxhJnF1EA==", + "optional": true + }, + "@lmdb/lmdb-linux-arm": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-2.5.2.tgz", + "integrity": "sha512-5kQAP21hAkfW5Bl+e0P57dV4dGYnkNIpR7f/GAh6QHlgXx+vp/teVj4PGRZaKAvt0GX6++N6hF8NnGElLDuIDw==", + "optional": true + }, + "@lmdb/lmdb-linux-arm64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-2.5.2.tgz", + "integrity": "sha512-aLl89VHL/wjhievEOlPocoefUyWdvzVrcQ/MHQYZm2JfV1jUsrbr/ZfkPPUFvZBf+VSE+Q0clWs9l29PCX1hTQ==", + "optional": true + }, + "@lmdb/lmdb-linux-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-2.5.2.tgz", + "integrity": "sha512-xUdUfwDJLGjOUPH3BuPBt0NlIrR7f/QHKgu3GZIXswMMIihAekj2i97oI0iWG5Bok/b+OBjHPfa8IU9velnP/Q==", + "optional": true + }, + "@lmdb/lmdb-win32-x64": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-2.5.2.tgz", + "integrity": "sha512-zrBczSbXKxEyK2ijtbRdICDygRqWSRPpZMN5dD1T8VMEW5RIhIbwFWw2phDRXuBQdVDpSjalCIUMWMV2h3JaZA==", + "optional": true + }, + "@parcel/cache": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.6.2.tgz", + "integrity": "sha512-hhJ6AsEGybeQZd9c/GYqfcKTgZKQXu3Xih6TlnP3gdR3KZoJOnb40ovHD1yYg4COvfcXThKP1cVJ18J6rcv3IA==", + "requires": { + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/utils": "2.6.2", + "lmdb": "2.5.2" + } + }, + "@parcel/codeframe": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.6.2.tgz", + "integrity": "sha512-oFlHr6HCaYYsB4SHkU+gn9DKtbzvv3/4NdwMX0/6NAKyYVI7inEsXyPGw2Bbd2ZCFatW9QJZUETF0etvh5AEfQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/diagnostic": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.6.2.tgz", + "integrity": "sha512-3ODSBkKVihENU763z1/1DhGAWFhYWRxOCOShC72KXp+GFnSgGiBsxclu8NBa/N948Rzp8lqQI8U1nLcKkh0O/w==", + "requires": { + "@mischnic/json-sourcemap": "^0.1.0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/events": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.6.2.tgz", + "integrity": "sha512-IaCjOeA5ercdFVi1EZOmUHhGfIysmCUgc2Th9hMugSFO0I3GzRsBcAdP6XPfWm+TV6sQ/qZRfdk/drUxoAupnw==" + }, + "@parcel/fs": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.6.2.tgz", + "integrity": "sha512-mIhqdF3tjgeoIGqW7Nc/xfM2ClID7o8livwUe5lpQEP+ZaIBiMigXs6ckv3WToCACK+3uylrSD2A/HmlhrxMqQ==", + "requires": { + "@parcel/fs-search": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/watcher": "^2.0.0", + "@parcel/workers": "2.6.2" + } + }, + "@parcel/fs-search": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.6.2.tgz", + "integrity": "sha512-4STid1zqtGnmGjHD/2TG2g/zPDiCTtE3IAS24QYH3eiUAz2uoKGgEqd2tZbZ2yI96jtCuIhC1bzVu8Hbykls7w==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "@parcel/hash": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.6.2.tgz", + "integrity": "sha512-tFB+cJU1Wqag6WyJgsmx3nx+xhmjcNZqtWh/MtK1lHNnZdDRk6bjr7SapnygBwruz+SmSt5bbdVThcpk2dRCcA==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.2" + } + }, + "@parcel/logger": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.6.2.tgz", + "integrity": "sha512-Sz5YGCj1DbEiX0/G8Uw97LLZ0uEK+qtWcRAkHNpJpeMiSqDiRNevxXltz42EcLo+oCh4d4wyiVzwi9mNwzhS/Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/events": "2.6.2" + } + }, + "@parcel/markdown-ansi": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.6.2.tgz", + "integrity": "sha512-N/h9J4eibhc+B+krzvPMzFUWL37GudBIZBa7XSLkcuH6MnYYfh6rrMvhIyyESwk6VkcZNVzAeZrGQqxEs0dHDQ==", + "requires": { + "chalk": "^4.1.0" + } + }, + "@parcel/namer-default": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.6.2.tgz", + "integrity": "sha512-mp7bx/BQaIuohmZP0uE+gAmDBzzH0Yu8F4yCtE611lc6i0mou+nWRhzyKLNC/ieuI8DB3BFh2QQKeTxJn4W0qg==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/plugin": "2.6.2", + "nullthrows": "^1.1.1" + }, + "dependencies": { + "@parcel/plugin": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.6.2.tgz", + "integrity": "sha512-wbbWsM23Pr+8xtLSvf+UopXdVYlpKCCx6PuuZaZcKo+9IcDCWoGXD4M8Kkz14qBmkFn5uM00mULUqmVdSibB2w==", + "requires": { + "@parcel/types": "2.6.2" + } + } + } + }, + "@parcel/package-manager": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.6.2.tgz", + "integrity": "sha512-xGMqTgnwTE3rgzYwUZMKxR8fzmP5iSYz/gj2H8FR3pEmwh/8xCMtNjTSth+hPVGuqgRZ6JxwpfdY/fXdZ61ViQ==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "@parcel/workers": "2.6.2", + "semver": "^5.7.1" + } + }, + "@parcel/types": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.6.2.tgz", + "integrity": "sha512-MV8BFpCIs2jMUvK2RHqzkoiuOQ//JIbrD1zocA2YRW3zuPL/iABvbAABJoXpoPCKikVWOoCWASgBfWQo26VvJQ==", + "requires": { + "@parcel/cache": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/fs": "2.6.2", + "@parcel/package-manager": "2.6.2", + "@parcel/source-map": "^2.0.0", + "@parcel/workers": "2.6.2", + "utility-types": "^3.10.0" + } + }, + "@parcel/utils": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.6.2.tgz", + "integrity": "sha512-Ug7hpRxjgbY5AopW55nY7MmGMVmwmN+ihfCmxJkBUoESTG/3iq8uME7GjyOgW5DkQc2K7q62i8y8N0wCJT1u4Q==", + "requires": { + "@parcel/codeframe": "2.6.2", + "@parcel/diagnostic": "2.6.2", + "@parcel/hash": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/markdown-ansi": "2.6.2", + "@parcel/source-map": "^2.0.0", + "chalk": "^4.1.0" + } + }, + "@parcel/workers": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.6.2.tgz", + "integrity": "sha512-wBgUjJQm+lDd12fPRUmk09+ujTA9DgwPdqylSFK0OtI/yT6A+2kArUqjp8IwWo2tCJXoMzXBne2XQIWKqMiN4Q==", + "requires": { + "@parcel/diagnostic": "2.6.2", + "@parcel/logger": "2.6.2", + "@parcel/types": "2.6.2", + "@parcel/utils": "2.6.2", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" + } + }, + "lmdb": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.5.2.tgz", + "integrity": "sha512-V5V5Xa2Hp9i2XsbDALkBTeHXnBXh/lEmk9p22zdr7jtuOIY9TGhjK6vAvTpOOx9IKU4hJkRWZxn/HsvR1ELLtA==", + "requires": { + "@lmdb/lmdb-darwin-arm64": "2.5.2", + "@lmdb/lmdb-darwin-x64": "2.5.2", + "@lmdb/lmdb-linux-arm": "2.5.2", + "@lmdb/lmdb-linux-arm64": "2.5.2", + "@lmdb/lmdb-linux-x64": "2.5.2", + "@lmdb/lmdb-win32-x64": "2.5.2", + "msgpackr": "^1.5.4", + "node-addon-api": "^4.3.0", + "node-gyp-build-optional-packages": "5.0.3", + "ordered-binary": "^1.2.4", + "weak-lru-cache": "^1.2.2" + } + }, + "node-addon-api": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-4.3.0.tgz", + "integrity": "sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==" + }, + "node-gyp-build-optional-packages": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", + "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } } }, "@gatsbyjs/potrace": { @@ -2951,9 +3177,9 @@ } }, "@types/estree": { - "version": "0.0.52", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", - "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" }, "@types/get-port": { "version": "3.2.0", @@ -3232,9 +3458,12 @@ } }, "@vercel/webpack-asset-relocator-loader": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.2.tgz", - "integrity": "sha512-pdMwUawmAtH/LScbjKJq/y2+gZFggFMc2tlJrlPSrgKajvYPEis3L9QKcMyC9RN1Xos4ezAP5AJfRCNN6RMKCQ==" + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.7.3.tgz", + "integrity": "sha512-vizrI18v8Lcb1PmNNUBz7yxPxxXoOeuaVEjTG9MjvDrphjiSxFZrRJ5tIghk+qdLFRCXI5HBCshgobftbmrC5g==", + "requires": { + "resolve": "^1.10.0" + } }, "@webassemblyjs/ast": { "version": "1.11.1", @@ -3654,9 +3883,9 @@ } }, "axe-core": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", - "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.3.tgz", + "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { "version": "0.21.4", @@ -4007,13 +4236,13 @@ } }, "browserslist": { - "version": "4.21.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", - "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", + "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", "requires": { - "caniuse-lite": "^1.0.30001359", - "electron-to-chromium": "^1.4.172", - "node-releases": "^2.0.5", + "caniuse-lite": "^1.0.30001366", + "electron-to-chromium": "^1.4.188", + "node-releases": "^2.0.6", "update-browserslist-db": "^1.0.4" } }, @@ -4161,9 +4390,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001365", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001365.tgz", - "integrity": "sha512-VDQZ8OtpuIPMBA4YYvZXECtXbddMCUFJk1qu8Mqxfm/SZJNSr1cy4IuLCOL7RJ/YASrvJcYg1Zh+UEUQ5m6z8Q==" + "version": "1.0.30001366", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", + "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==" }, "capital-case": { "version": "1.0.4", @@ -5270,9 +5499,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "electron-to-chromium": { - "version": "1.4.186", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.186.tgz", - "integrity": "sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==" + "version": "1.4.188", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.188.tgz", + "integrity": "sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==" }, "emoji-regex": { "version": "8.0.0", @@ -6618,9 +6847,9 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" }, "gatsby": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.1.tgz", - "integrity": "sha512-frMFAWOmMl/CtqBZ3aZXlysicQQa8C+yfMdjnjx81f7E5xoL20klk1j4UYj1kUnGgBMSuVehU8M+bE0kT02zoQ==", + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-4.18.2.tgz", + "integrity": "sha512-ZWdo0TXsSRmwlmOeeuoWwXKQNteHm9VxJWF9Ud+c33r7ZXQgTA5WtRYjiBpjZuNAUwsiONNAe+wKK5jVY8B4LQ==", "requires": { "@babel/code-frame": "^7.14.0", "@babel/core": "^7.15.5", @@ -6706,7 +6935,7 @@ "gatsby-legacy-polyfills": "^2.18.0", "gatsby-link": "^4.18.1", "gatsby-page-utils": "^2.18.1", - "gatsby-parcel-config": "^0.9.1", + "gatsby-parcel-config": "^0.9.2", "gatsby-plugin-page-creator": "^4.18.1", "gatsby-plugin-typescript": "^4.18.1", "gatsby-plugin-utils": "^3.12.1", @@ -6921,11 +7150,11 @@ } }, "gatsby-parcel-config": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.1.tgz", - "integrity": "sha512-ZtVntsQYs0xhy1hvWUMeSLc4a+DvxtTf+NUrPF4rvBjOW/LPMx2eYDzPddKvqWmiUaT1+Ki9S9bwCuOp5muawg==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gatsby-parcel-config/-/gatsby-parcel-config-0.9.2.tgz", + "integrity": "sha512-ONykPoYCoFs89M8Hio0TSrUQEpwXwbSiV8aCcPH9L6w3eros9RlWrwAwnWb+lPDNJT5BsereBjefoS9cC6mpVA==", "requires": { - "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.1", + "@gatsbyjs/parcel-namer-relative-to-cwd": "^1.3.2", "@parcel/bundler-default": "2.6.0", "@parcel/compressor-raw": "2.6.0", "@parcel/namer-default": "2.6.0", @@ -11390,9 +11619,9 @@ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "5.14.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", - "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "requires": { "@jridgewell/source-map": "^0.3.2", "acorn": "^8.5.0", diff --git a/starters/hello-world/package.json b/starters/hello-world/package.json index 4a624bbd8bede..4ca018b1c9827 100644 --- a/starters/hello-world/package.json +++ b/starters/hello-world/package.json @@ -14,7 +14,7 @@ "test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1" }, "dependencies": { - "gatsby": "^4.18.1", + "gatsby": "^4.18.2", "react": "^18.1.0", "react-dom": "^18.1.0" },
f7d2f035ed604d085789c20704f4b968e56f94d5
2020-02-02 16:21:40
Sidhartha Chatterjee
fix(gatsby): Pin reach since they do not pass in location.href… (#21144)
false
Pin reach since they do not pass in location.href… (#21144)
fix
diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index dfb4b4014d680..e5c13edd11a6b 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -19,7 +19,7 @@ "@hapi/joi": "^15.1.1", "@mikaelkristiansson/domready": "^1.0.10", "@pieh/friendly-errors-webpack-plugin": "1.7.0-chalk-2", - "@reach/router": "^1.2.1", + "@reach/router": "1.2.1", "@typescript-eslint/eslint-plugin": "^2.11.0", "@typescript-eslint/parser": "^2.11.0", "address": "1.1.2", diff --git a/yarn.lock b/yarn.lock index cdf46796e9f37..ed0298f2a48b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3673,7 +3673,7 @@ string-width "^2.0.0" strip-ansi "^3" -"@reach/router@^1.2.1": +"@reach/[email protected]": version "1.2.1" resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.2.1.tgz#34ae3541a5ac44fa7796e5506a5d7274a162be4e" integrity sha512-kTaX08X4g27tzIFQGRukaHmNbtMYDS3LEWIS8+l6OayGIw6Oyo1HIF/JzeuR2FoF9z6oV+x/wJSVSq4v8tcUGQ==
88b9dc5243999e7d817292647216ca20e529db07
2022-11-15 04:23:02
Tyler Barnes
chore(gatsby-source-wordpress): remove runApisInSteps and call runApiSteps for each gatsby-node api (#37039)
false
remove runApisInSteps and call runApiSteps for each gatsby-node api (#37039)
chore
diff --git a/packages/gatsby-source-wordpress/ARCHITECTURE.md b/packages/gatsby-source-wordpress/ARCHITECTURE.md index 373e08c63bbab..4895d47f72095 100644 --- a/packages/gatsby-source-wordpress/ARCHITECTURE.md +++ b/packages/gatsby-source-wordpress/ARCHITECTURE.md @@ -41,8 +41,6 @@ The file you're reading was created many months after the first stable version o ## `gatsby-node.ts` Steps -In `src/gatsby-node.ts` a helper (`runApisInSteps`) is being used to run different "steps" of the codebase one after another for each Gatsby Node API. Many parts of the codebase count on something else happening at an earlier point, so `runApisInSteps` is an easy way to visualize that. - `src/gatsby-node.ts` is the entry point for 99.999% of the plugin (`src/gatsby-browser.ts` only imports 1 css file) so it's a good jumping off point for looking at different areas of the plugin. Each "step" is in it's own file in `src/steps`. diff --git a/packages/gatsby-source-wordpress/src/gatsby-node.ts b/packages/gatsby-source-wordpress/src/gatsby-node.ts index c9ace78fa169b..9c06eb65040db 100644 --- a/packages/gatsby-source-wordpress/src/gatsby-node.ts +++ b/packages/gatsby-source-wordpress/src/gatsby-node.ts @@ -1,46 +1,64 @@ -import { runApisInSteps } from "./utils/run-steps" +import { runApiSteps, findApiName } from "./utils/run-steps" import * as steps from "./steps" -module.exports = runApisInSteps({ - // eslint-disable-next-line @typescript-eslint/naming-convention - "onPluginInit|unstable_onPluginInit": [ +const pluginInitApiName = findApiName(`onPluginInit|unstable_onPluginInit`) + +exports[pluginInitApiName] = runApiSteps( + [ steps.setGatsbyApiToState, steps.setErrorMap, steps.tempPreventMultipleInstances, steps.setRequestHeaders, ], + pluginInitApiName +) - pluginOptionsSchema: steps.pluginOptionsSchema, +exports.pluginOptionsSchema = steps.pluginOptionsSchema - createSchemaCustomization: [ +exports.createSchemaCustomization = runApiSteps( + [ steps.setGatsbyApiToState, steps.ensurePluginRequirementsAreMet, steps.ingestRemoteSchema, steps.createSchemaCustomization, ], + `createSchemaCustomization` +) - sourceNodes: [ +exports.sourceNodes = runApiSteps( + [ steps.setGatsbyApiToState, steps.persistPreviouslyCachedImages, steps.sourceNodes, steps.setImageNodeIdCache, ], + `sourceNodes` +) - onPreExtractQueries: [ - steps.onPreExtractQueriesInvokeLeftoverPreviewCallbacks, - ], +exports.onPreExtractQueries = runApiSteps( + [steps.onPreExtractQueriesInvokeLeftoverPreviewCallbacks], + `onPreExtractQueries` +) - onPostBuild: [steps.setImageNodeIdCache, steps.logPostBuildWarnings], +exports.onPostBuild = runApiSteps( + [steps.setImageNodeIdCache, steps.logPostBuildWarnings], + `onPostBuild` +) - onCreatePage: [ +exports.onCreatePage = runApiSteps( + [ steps.onCreatepageSavePreviewNodeIdToPageDependency, steps.onCreatePageRespondToPreviewStatusQuery, ], + `onCreatePage` +) - onCreateDevServer: [ +exports.onCreateDevServer = runApiSteps( + [ steps.imageRoutes, steps.setImageNodeIdCache, steps.logPostBuildWarnings, steps.startPollingForContentUpdates, ], -}) + `onCreateDevServer` +) diff --git a/packages/gatsby-source-wordpress/src/utils/run-steps.ts b/packages/gatsby-source-wordpress/src/utils/run-steps.ts index 84ac24f280536..071dce3e015a8 100644 --- a/packages/gatsby-source-wordpress/src/utils/run-steps.ts +++ b/packages/gatsby-source-wordpress/src/utils/run-steps.ts @@ -116,22 +116,4 @@ const runApiSteps = ): Promise<void> => runSteps(steps, helpers, pluginOptions, apiName) -const runApisInSteps = (nodeApis: { - [apiName: string]: Array<Step> | Step -}): { [apiName: string]: Promise<void> | void } => - Object.entries(nodeApis).reduce( - (gatsbyNodeExportObject, [apiName, apiSteps]) => { - const normalizedApiName = findApiName(apiName) - - return { - ...gatsbyNodeExportObject, - [normalizedApiName]: - typeof apiSteps === `function` - ? apiSteps - : runApiSteps(apiSteps, normalizedApiName), - } - }, - {} - ) - -export { runSteps, runApisInSteps } +export { runSteps, runApiSteps, findApiName }
617a3d4e87c1ec061bc877173b158cdcb64f367d
2023-04-03 14:57:46
renovate[bot]
chore(deps): update dependency rimraf to v4 for gatsby-telemetry (#37900)
false
update dependency rimraf to v4 for gatsby-telemetry (#37900)
chore
diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 0e43c90de0460..8123956b60822 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -25,7 +25,7 @@ "@babel/core": "^7.20.12", "babel-preset-gatsby-package": "^3.9.0-next.0", "cross-env": "^7.0.3", - "rimraf": "^3.0.2", + "rimraf": "^4.4.1", "typescript": "^5.0.2" }, "files": [ @@ -47,7 +47,7 @@ "build": "babel src --out-dir lib --ignore \"**/__tests__\",\"**/__mocks__\" --extensions \".ts,.js\"", "prepare": "cross-env NODE_ENV=production npm run build && npm run typegen", "postinstall": "node src/postinstall.js || true", - "typegen": "rimraf \"lib/**/*.d.ts\" && tsc --emitDeclarationOnly --declaration --declarationDir lib/", + "typegen": "rimraf --glob \"lib/**/*.d.ts\" && tsc --emitDeclarationOnly --declaration --declarationDir lib/", "watch": "babel -w src --out-dir lib --ignore \"**/__tests__\",\"**/__mocks__\" --extensions \".ts,.js\"" }, "yargs": { diff --git a/yarn.lock b/yarn.lock index e9188feb0c870..f836716a417fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11700,6 +11700,16 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, gl once "^1.3.0" path-is-absolute "^1.0.0" +glob@^9.2.0: + version "9.3.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-9.3.2.tgz#8528522e003819e63d11c979b30896e0eaf52eda" + integrity sha512-BTv/JhKXFEHsErMte/AnfiSv8yYOLLiyH2lTg8vn02O21zWFgHPTfxtgn1QRe7NRgggUhC8hacR2Re94svHqeA== + dependencies: + fs.realpath "^1.0.0" + minimatch "^7.4.1" + minipass "^4.2.4" + path-scurry "^1.6.1" + global-dirs@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" @@ -15381,6 +15391,11 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lru-cache@^7.14.1: + version "7.18.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" + integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== + lru-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" @@ -16575,6 +16590,13 @@ [email protected]: dependencies: brace-expansion "^2.0.1" +minimatch@^7.4.1: + version "7.4.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.3.tgz#012cbf110a65134bb354ae9773b55256cdb045a2" + integrity sha512-5UB4yYusDtkRPbRiy1cqZ1IpGNcJCGlEMG17RKzPddpyiPKoCdwohbED8g4QXT0ewCt8LTkQXuljsUfQ3FKM4A== + dependencies: + brace-expansion "^2.0.1" + [email protected], minimist-options@^4.0.2: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -16604,6 +16626,11 @@ minipass@^2.3.5, minipass@^2.6.0, minipass@^2.9.0: safe-buffer "^5.1.2" yallist "^3.0.0" +minipass@^4.0.2, minipass@^4.2.4: + version "4.2.5" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.5.tgz#9e0e5256f1e3513f8c34691dd68549e85b2c8ceb" + integrity sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q== + minizlib@^1.3.3: version "1.3.3" resolved "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" @@ -18093,6 +18120,14 @@ path-root@^0.1.1: dependencies: path-root-regex "^0.1.0" +path-scurry@^1.6.1: + version "1.6.3" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.6.3.tgz#4eba7183d64ef88b63c7d330bddc3ba279dc6c40" + integrity sha512-RAmB+n30SlN+HnNx6EbcpoDy9nwdpcGPnEKrJnu6GZoDWBdIjo1UQMVtW2ybtC7LC2oKLcMq8y5g8WnKLiod9g== + dependencies: + lru-cache "^7.14.1" + minipass "^4.0.2" + [email protected]: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -20667,6 +20702,13 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" +rimraf@^4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.4.1.tgz#bd33364f67021c5b79e93d7f4fa0568c7c21b755" + integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og== + dependencies: + glob "^9.2.0" + rimraf@~2.4.0: version "2.4.5" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.4.5.tgz#ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da"
c7274a276d275ae4dfb062cc415531a742c39821
2021-07-02 15:06:15
Ward Peeters
chore(release): Publish next
false
Publish next
chore
diff --git a/packages/gatsby-admin/CHANGELOG.md b/packages/gatsby-admin/CHANGELOG.md index 5c3add39c4509..6f683023834a6 100644 --- a/packages/gatsby-admin/CHANGELOG.md +++ b/packages/gatsby-admin/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.20.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.20.0-next.1) (2021-07-02) + +**Note:** Version bump only for package gatsby-admin + # [0.20.0-next.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.20.0-next.0) (2021-07-01) **Note:** Version bump only for package gatsby-admin diff --git a/packages/gatsby-admin/package.json b/packages/gatsby-admin/package.json index 99bceb7599359..cfd7ddd0a89bc 100644 --- a/packages/gatsby-admin/package.json +++ b/packages/gatsby-admin/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-admin", - "version": "0.20.0-next.0", + "version": "0.20.0-next.1", "main": "index.js", "author": "Max Stoiber", "license": "MIT", @@ -20,7 +20,7 @@ "@typescript-eslint/parser": "^4.14.2", "csstype": "^2.6.14", "formik": "^2.2.6", - "gatsby": "^3.10.0-next.0", + "gatsby": "^3.10.0-next.1", "gatsby-interface": "^0.0.244", "gatsby-plugin-typescript": "^3.10.0-next.0", "gatsby-plugin-webfonts": "^1.1.4", diff --git a/packages/gatsby-worker/CHANGELOG.md b/packages/gatsby-worker/CHANGELOG.md index a31f74ed240ee..bf758495ae085 100644 --- a/packages/gatsby-worker/CHANGELOG.md +++ b/packages/gatsby-worker/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.1.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.1.0-next.1) (2021-07-02) + +### Features + +- **gatsby-worker:** add messaging api ([#32159](https://github.com/gatsbyjs/gatsby/issues/32159)) ([5a93e74](https://github.com/gatsbyjs/gatsby/commit/5a93e7485b2718b44a59e595c5b1e896fe9802cb)) + # 0.1.0-next.0 (2021-07-01) ### Features diff --git a/packages/gatsby-worker/package.json b/packages/gatsby-worker/package.json index 073644c66819c..94e670cf263ad 100644 --- a/packages/gatsby-worker/package.json +++ b/packages/gatsby-worker/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-worker", "description": "Utility to create worker pools", - "version": "0.1.0-next.0", + "version": "0.1.0-next.1", "author": "Michal Piechowiak<[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 704a161cdb2a4..39dd483b161eb 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.10.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.10.0-next.1) (2021-07-02) + +### Bug Fixes + +- **gatsby:** add fallback for resolveType ([#32195](https://github.com/gatsbyjs/gatsby/issues/32195)) ([dfef2fb](https://github.com/gatsbyjs/gatsby/commit/dfef2fbeb49b8ad5a7a7a178f28d9b1ce358d757)) + # [3.10.0-next.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.10.0-next.0) (2021-07-01) ### Bug Fixes diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 8f9b0bddab29d..251ff07b4ffe2 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "3.10.0-next.0", + "version": "3.10.0-next.1", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./cli.js" @@ -85,7 +85,7 @@ "gatsby-plugin-utils": "^1.10.0-next.0", "gatsby-react-router-scroll": "^4.10.0-next.0", "gatsby-telemetry": "^2.10.0-next.0", - "gatsby-worker": "^0.1.0-next.0", + "gatsby-worker": "^0.1.0-next.1", "glob": "^7.1.6", "got": "8.3.2", "graphql": "^15.4.0",
6ce8705843e8337fcfcb4cdecafd9f6d0c57a5cb
2020-03-23 23:39:12
Michael
fix(blog): netlify functions 404, code block language and more (#22498)
false
netlify functions 404, code block language and more (#22498)
fix
diff --git a/docs/blog/2020-03-11-netlify-functions-and-gatsby-cloud/index.md b/docs/blog/2020-03-11-netlify-functions-and-gatsby-cloud/index.md index 5de59af9fb378..f4fbd3c231803 100644 --- a/docs/blog/2020-03-11-netlify-functions-and-gatsby-cloud/index.md +++ b/docs/blog/2020-03-11-netlify-functions-and-gatsby-cloud/index.md @@ -4,7 +4,7 @@ date: 2020-03-25 author: "Josh Comeau" excerpt: "An article detailing how to use Netlify Functions and Gatsby Cloud together, to tremendous effect!" tags: ["netlify", "serverless", "lambda", "gatsby cloud"] -canonicalLink: https://joshwcomeau.com/gatsby/using-netlify-functions-with-gatsby-cloud/ +canonicalLink: https://joshwcomeau.com/gatsby/netlify-functions-and-gatsby-cloud/ --- import netlifyFunctions from "./gatsby-cloud.png" @@ -15,7 +15,7 @@ Case in point: when I was rebuilding my [personal blog](https://joshwcomeau.com/ For these kinds of situations, _serverless functions_ are perfect. They let us write small bits of Node.js code without worrying about where that code will run. -My personal blog is built and deployed with [Gatsby Cloud](https://www.gatsbyjs.com/), a CI service for Gatsby sites, and it's hosted by [Netlify](https://www.netlify.com/). I'm a very happy Netlify customer, and [Netlify Functions](https://www.netlify.com/products/functions/) seemed like the perfect service for my needs! +My personal blog is built and deployed with [Gatsby Cloud](https://www.gatsbyjs.com/cloud), a CI service for Gatsby sites, and it's hosted by [Netlify](https://www.netlify.com/). I'm a very happy Netlify customer, and [Netlify Functions](https://www.netlify.com/products/functions/) seemed like the perfect service for my needs! Getting Gatsby Cloud and Netlify Functions to cooperate took a bit of tinkering, but happily it can be done! The solution I discovered feels robust and reliable, and my blog has been powered by these two services for several weeks now, without any issues. @@ -60,7 +60,7 @@ exports.handler = async (event, context, callback) => { } ``` -When using Netlify for CI _and_ deployments, you can pop this code in a `/functions` directory and the functions will get built and shipped whenever you push to Github. No manual steps needed 💯 +When using Netlify for CI _and_ deployments, you can pop this code in a `/functions` directory and the functions will get built and shipped whenever you push to Github. No manual steps needed 💯. Learn more about Netlify Functions in [their documentation](https://docs.netlify.com/functions/overview/). @@ -107,7 +107,7 @@ In my opinion, one of the coolest things about Gatsby.js is that you can "hook i `onPostBuild` runs right after the build completes. We can use it to prepare and copy the functions over to the right place, before it's handed off to Netlify. -Learn more about Gatsby build hooks in [our documentation](https://www.gatsbyjs.org/docs/node-apis/). +Learn more about Gatsby build hooks in [our documentation](/docs/node-apis/). ### Zip It and Ship It @@ -115,7 +115,7 @@ Remember when I mentioned that Netlify brushes away the thorns of working with A Let's say we have two functions, `track-hit.js` and `like-content.js`. And let's assume that they both use `faunadb`, a Node module. We need to produce two `.zip` files, with the following contents: -``` +```text . └── functions ├── track-hit.zip diff --git a/www/src/data/tags-docs.js b/www/src/data/tags-docs.js index b196e6ae2f691..db612e7588f47 100644 --- a/www/src/data/tags-docs.js +++ b/www/src/data/tags-docs.js @@ -94,4 +94,5 @@ export const TAGS_AND_DOCS = new Map([ ], [`wordpress`, `/docs/sourcing-from-wordpress/`], [`100-Days-of-Gatsby`, ``], + [`lambda`, ``], ])
3e1648e7e93c05daa35288c17d9eb276e6842d3d
2020-06-02 22:15:53
Nagarjun Palavalli
chore(showcase): Add nagarjun.co to showcase (#24688)
false
Add nagarjun.co to showcase (#24688)
chore
diff --git a/docs/sites.yml b/docs/sites.yml index 7225011664439..1f8cc835f4c60 100644 --- a/docs/sites.yml +++ b/docs/sites.yml @@ -10920,3 +10920,14 @@ built_by: Simon Halimonov built_by_url: https://simonhalimonov.com/ featured: false +- title: Nagarjun Palavalli + main_url: https://nagarjun.co/ + url: https://nagarjun.co/ + description: > + My personal website built with Gatsby. I am a full-stack web developer and designer based in Bangalore, India. + categories: + - Portfolio + - Blog + built_by: Nagarjun Palavalli + built_by_url: https://twitter.com/palavalli + featured: false
1d4e0574c300dc0d0bb93e7bcd0dd9453a2cef9e
2018-12-06 20:53:17
Brock McElroy
fix(gatsby-source-filesystem): allow empty password for basic auth in createRemoteFileNode (#10280)
false
allow empty password for basic auth in createRemoteFileNode (#10280)
fix
diff --git a/packages/gatsby-source-filesystem/src/create-remote-file-node.js b/packages/gatsby-source-filesystem/src/create-remote-file-node.js index ecd46827215dd..eead158c02100 100644 --- a/packages/gatsby-source-filesystem/src/create-remote-file-node.js +++ b/packages/gatsby-source-filesystem/src/create-remote-file-node.js @@ -188,7 +188,7 @@ async function processRemoteNode({ // Add htaccess authentication if passed in. This isn't particularly // extensible. We should define a proper API that we validate. - if (auth && auth.htaccess_pass && auth.htaccess_user) { + if (auth && (auth.htaccess_pass || auth.htaccess_user)) { headers.auth = `${auth.htaccess_user}:${auth.htaccess_pass}` }
554d8ec74cf94ca189b34ca0d1a5b74e810090e9
2018-07-11 18:52:08
Mike Allanson
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index ab20216e8faba..d18ecc1bd113c 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0-beta.24"></a> + +# [2.0.0-beta.24](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.24) (2018-07-11) + +**Note:** Version bump only for package gatsby + <a name="2.0.0-beta.23"></a> # [2.0.0-beta.23](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.23) (2018-07-11) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 04a4fea0d298d..a6b90cb7bc327 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "React.js Static Site Generator", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
6771f0fc377017cc479f8416d38650bf3ba2c89c
2019-05-14 18:25:14
Ward Peeters
chore(www): add cross-env to develop for windows users (#14023)
false
add cross-env to develop for windows users (#14023)
chore
diff --git a/www/package.json b/www/package.json index 9f38b288138a1..57330634f3fbe 100644 --- a/www/package.json +++ b/www/package.json @@ -93,7 +93,7 @@ "scripts": { "build": "gatsby build", "deploy": "gatsby build --prefix-paths && gh-pages -d public", - "develop": "GATSBY_GRAPHQL_IDE=playground gatsby develop", + "develop": "cross-env GATSBY_GRAPHQL_IDE=playground gatsby develop", "start": "npm run develop", "serve": "gatsby serve", "test": "jest", @@ -104,6 +104,7 @@ "devDependencies": { "babel-jest": "^24.3.1", "babel-preset-gatsby": "^0.1.8", + "cross-env": "^5.2.0", "front-matter": "^2.3.0", "get-package-json-from-github": "^1.2.1", "github-api": "^3.0.0",
acfc455fa924af76ec5e875f34b557dd4dd7a268
2020-05-19 15:04:45
Peter van der Zee
perf(gatsby): Enable fast filters for $regex/$glob (#24188)
false
Enable fast filters for $regex/$glob (#24188)
perf
diff --git a/packages/gatsby/src/redux/nodes.ts b/packages/gatsby/src/redux/nodes.ts index 001d76b04cab8..51567fed9dffa 100644 --- a/packages/gatsby/src/redux/nodes.ts +++ b/packages/gatsby/src/redux/nodes.ts @@ -4,7 +4,16 @@ import { createPageDependency } from "./actions/add-page-dependency" import { IDbQueryElemMatch } from "../db/common/query" // Only list supported ops here. "CacheableFilterOp" -type FilterOp = "$eq" | "$ne" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" +type FilterOp = + | "$eq" + | "$ne" + | "$lt" + | "$lte" + | "$gt" + | "$gte" + | "$in" + | "$nin" + | "$regex" // Note: this includes $glob // Note: `undefined` is an encoding for a property that does not exist type FilterValueNullable = | string @@ -12,9 +21,15 @@ type FilterValueNullable = | boolean | null | undefined + | RegExp // Only valid for $regex | Array<string | number | boolean | null | undefined> // This is filter value in most cases -type FilterValue = string | number | boolean | Array<string | number | boolean> +type FilterValue = + | string + | number + | boolean + | RegExp // Only valid for $regex + | Array<string | number | boolean> export type FilterCacheKey = string export interface IFilterCache { op: FilterOp @@ -697,6 +712,33 @@ export const getNodesFromCacheByValue = ( return set } + if (op === `$regex`) { + // Note: $glob is converted to $regex so $glob filters go through here, too + // Aside from the input pattern format, further behavior is exactly the same. + + // The input to the filter must be a string (including leading/trailing slash and regex flags) + // By the time the filter reaches this point, the filterValue has to be a regex. + + if (!(filterValue instanceof RegExp)) { + throw new Error( + `The value for the $regex comparator must be an instance of RegExp` + ) + } + const regex = filterValue + + const result = new Set<IGatsbyNode>() + filterCache.byValue.forEach((nodes, value) => { + // TODO: does the value have to be a string for $regex? Can we auto-ignore any non-strings? Or does it coerce. + // Note: partial paths should also be included for regex (matching Sift behavior) + if (value !== undefined && regex.test(String(value))) { + nodes.forEach(node => result.add(node)) + } + }) + + // TODO: we _can_ cache this set as well. Might make sense if it turns out that $regex is mostly used with literals + return result + } + if (filterValue == null) { if (op === `$lt` || op === `$gt`) { // Nothing is lt/gt null @@ -714,6 +756,14 @@ export const getNodesFromCacheByValue = ( ) } + if (filterValue instanceof RegExp) { + // This is most likely an internal error, although it is possible for + // users to talk to this API more directly. + throw new Error( + `A RegExp instance is only valid for $regex and $glob comparators` + ) + } + if (op === `$lt`) { // First try a direct approach. If a value is queried that also exists then // we can prevent a binary search through the whole set, O(1) vs O(log n) diff --git a/packages/gatsby/src/redux/run-sift.js b/packages/gatsby/src/redux/run-sift.js index 52b7bc9797fa0..50859bac6873c 100644 --- a/packages/gatsby/src/redux/run-sift.js +++ b/packages/gatsby/src/redux/run-sift.js @@ -19,7 +19,17 @@ const { getNode: siftGetNode, } = require(`./nodes`) -const FAST_OPS = [`$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$nin`] +const FAST_OPS = [ + `$eq`, + `$ne`, + `$lt`, + `$lte`, + `$gt`, + `$gte`, + `$in`, + `$nin`, + `$regex`, // Note: this includes $glob +] // More of a testing mechanic, to verify whether last runSift call used Sift let lastFilterUsedSift = false diff --git a/packages/gatsby/src/schema/__tests__/run-query.js b/packages/gatsby/src/schema/__tests__/run-query.js index 90c67e17ba18c..887ed66da060b 100644 --- a/packages/gatsby/src/schema/__tests__/run-query.js +++ b/packages/gatsby/src/schema/__tests__/run-query.js @@ -1119,7 +1119,7 @@ it(`should use the cache argument`, async () => { it(`handles the regex operator without flags`, async () => { const needleStr = `/^The.*Wax/` const needleRex = /^The.*Wax/ - const [result, allNodes] = await runSlowFilter({ + const [result, allNodes] = await runFastFilter({ name: { regex: needleStr }, }) @@ -1136,7 +1136,46 @@ it(`should use the cache argument`, async () => { // Note: needle is different from checked because `new RegExp('/a/i')` does _not_ work const needleRex = /^the.*wax/i const needleStr = `/^the.*wax/i` - const [result, allNodes] = await runSlowFilter({ + const [result, allNodes] = await runFastFilter({ + name: { regex: needleStr }, + }) + + expect(result?.length).toEqual( + allNodes.filter(node => needleRex.test(node.name)).length + ) + expect(result?.length).toBeGreaterThan(0) // Make sure there _are_ results, don't let this be zero + result.forEach(node => + expect(needleRex.test(node.name)).toEqual(true) + ) + }) + + it(`rejects strings without forward slashes`, async () => { + await expect( + runFastFilter({ + name: { regex: `^The.*Wax` }, + }) + ).rejects.toThrow() + }) + + it(`rejects strings without trailing slash`, async () => { + await expect( + runFastFilter({ + name: { regex: `/^The.*Wax` }, + }) + ).rejects.toThrow() + }) + + it(`accepts strings without leading slash`, async () => { + // If this test starts failing, that might be okay and it should be dropped. + // At the time of writing it, this was a status quo edge case for Sift + + // Passes because the requirement is mostly about a .split() failing + // for the other fail cases. As long as it passes a regex ultimately + // we don't really have to care / validate. + + const needleRex = /(?:)/i // This was what it turned into + const needleStr = `^the.*wax/i` + const [result, allNodes] = await runFastFilter({ name: { regex: needleStr }, }) @@ -1149,22 +1188,34 @@ it(`should use the cache argument`, async () => { ) }) - it(`handles the nested regex operator`, async () => { + it(`rejects actual regex`, async () => { + await expect( + runFastFilter({ + name: { regex: /^The.*Wax/ }, + }) + ).rejects.toThrow() + }) + + it(`handles the nested regex operator and ignores partial paths`, async () => { const needleStr = `/.*/` const needleRex = /.*/ - const [result, allNodes] = await runSlowFilter({ + const [result, allNodes] = await runFastFilter({ nestedRegex: { field: { regex: needleStr } }, }) expect(result?.length).toEqual( allNodes.filter( - node => node.nestedRegex && needleRex.test(node.nestedRegex.field) + node => + node.nestedRegex !== undefined && + node.nestedRegex.field !== undefined && + needleRex.test(node.nestedRegex.field) ).length ) expect(result?.length).toBeGreaterThan(0) // Make sure there _are_ results, don't let this be zero result.forEach(node => expect( - node.nestedRegex && needleRex.test(node.nestedRegex.field) + node.nestedRegex === undefined || + needleRex.test(node.nestedRegex.field) ).toEqual(true) ) }) @@ -1726,8 +1777,10 @@ it(`should use the cache argument`, async () => { }) describe(`$glob`, () => { + // Note: glob internally uses $regex + it(`handles the glob operator`, async () => { - const [result] = await runSlowFilter({ name: { glob: `*Wax` } }) + const [result] = await runFastFilter({ name: { glob: `*Wax` } }) expect(result.length).toEqual(2) expect(result[0].name).toEqual(`The Mad Wax`)
9abf681d6d3ba7cfa9bc357764f09c944afc21ef
2023-01-03 15:04:38
renovate[bot]
fix(deps): update dependency sharp to ^0.31.3 (#37375)
false
update dependency sharp to ^0.31.3 (#37375)
fix
diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index 235cf5c18efe1..d5d5b2a0ed541 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -11,7 +11,7 @@ "gatsby-core-utils": "^4.4.0-next.1", "gatsby-plugin-utils": "^4.4.0-next.1", "semver": "^7.3.8", - "sharp": "^0.31.2" + "sharp": "^0.31.3" }, "devDependencies": { "@babel/cli": "^7.15.4", diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index e3791cedfc583..09cc23b33dfce 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -18,7 +18,7 @@ "lodash": "^4.17.21", "probe-image-size": "^7.2.3", "semver": "^7.3.8", - "sharp": "^0.31.2" + "sharp": "^0.31.3" }, "devDependencies": { "@babel/cli": "^7.15.4", diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index ed054258395ea..4feaae0b99a5e 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -22,7 +22,7 @@ "is-relative-url": "^3.0.0", "lodash": "^4.17.21", "semver": "^7.3.8", - "sharp": "^0.31.2", + "sharp": "^0.31.3", "unist-util-select": "^3.0.4" }, "devDependencies": { diff --git a/packages/gatsby-sharp/package.json b/packages/gatsby-sharp/package.json index 7099440e89498..6e783638db62f 100644 --- a/packages/gatsby-sharp/package.json +++ b/packages/gatsby-sharp/package.json @@ -15,7 +15,7 @@ "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-sharp#readme", "dependencies": { "@types/sharp": "^0.31.0", - "sharp": "^0.31.2" + "sharp": "^0.31.3" }, "devDependencies": { "@babel/cli": "^7.15.5", diff --git a/packages/gatsby-source-shopify/package.json b/packages/gatsby-source-shopify/package.json index 97b6ff2b75932..fe88b69554d30 100644 --- a/packages/gatsby-source-shopify/package.json +++ b/packages/gatsby-source-shopify/package.json @@ -28,7 +28,7 @@ "gatsby-plugin-utils": "^4.4.0-next.1", "gatsby-source-filesystem": "^5.4.0-next.1", "node-fetch": "^2.6.7", - "sharp": "^0.31.2", + "sharp": "^0.31.3", "shift-left": "^0.1.5" }, "devDependencies": { diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index a0094ef7be766..8d8ac1a191ff2 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -40,7 +40,7 @@ "read-chunk": "^3.2.0", "replaceall": "^0.1.6", "semver": "^7.3.8", - "sharp": "^0.31.2", + "sharp": "^0.31.3", "valid-url": "^1.0.9" }, "devDependencies": { diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 1105033a558f0..dfced085fa8d7 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -14,7 +14,7 @@ "gatsby-plugin-utils": "^4.4.0-next.1", "probe-image-size": "^7.2.3", "semver": "^7.3.8", - "sharp": "^0.31.2" + "sharp": "^0.31.3" }, "devDependencies": { "@babel/cli": "^7.15.4", diff --git a/yarn.lock b/yarn.lock index fdbb51858cd30..d398a45b17eff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21350,10 +21350,10 @@ shallow-copy@~0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/shallow-copy/-/shallow-copy-0.0.1.tgz#415f42702d73d810330292cc5ee86eae1a11a170" -sharp@^0.31.2: - version "0.31.2" - resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.31.2.tgz#a8411c80512027f5a452b76d599268760c4e5dfa" - integrity sha512-DUdNVEXgS5A97cTagSLIIp8dUZ/lZtk78iNVZgHdHbx1qnQR7JAHY0BnXnwwH39Iw+VKhO08CTYhIg0p98vQ5Q== +sharp@^0.31.3: + version "0.31.3" + resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.31.3.tgz#60227edc5c2be90e7378a210466c99aefcf32688" + integrity sha512-XcR4+FCLBFKw1bdB+GEhnUNXNXvnt0tDo4WsBsraKymuo/IAuPuCBVAL2wIkUw2r/dwFW5Q5+g66Kwl2dgDFVg== dependencies: color "^4.2.3" detect-libc "^2.0.1"
fdbe6aed2f6f1f9cff2d27377bfd12dcc6f7be2d
2020-06-30 01:42:33
renovate[bot]
fix: update www (#25392)
false
update www (#25392)
fix
diff --git a/www/package.json b/www/package.json index 4d6527fe388a5..83f3bc55b0235 100644 --- a/www/package.json +++ b/www/package.json @@ -21,10 +21,10 @@ "dotenv": "^8.2.0", "email-validator": "^1.2.3", "fuse.js": "^3.6.1", - "gatsby": "^2.23.11", + "gatsby": "^2.23.12", "gatsby-alias-imports": "^1.0.4", "gatsby-core-utils": "^1.3.8", - "gatsby-design-tokens": "^2.0.8", + "gatsby-design-tokens": "^2.0.9", "gatsby-image": "^2.4.9", "gatsby-plugin-canonical-urls": "^2.3.6", "gatsby-plugin-catch-links": "^2.3.7", @@ -36,7 +36,7 @@ "gatsby-plugin-layout": "^1.3.6", "gatsby-plugin-mailchimp": "^2.2.3", "gatsby-plugin-manifest": "^2.4.14", - "gatsby-plugin-mdx": "1.2.18", + "gatsby-plugin-mdx": "1.2.19", "gatsby-plugin-netlify": "^2.3.7", "gatsby-plugin-netlify-cache": "^0.1.0", "gatsby-plugin-nprogress": "^2.3.6", @@ -54,7 +54,7 @@ "gatsby-remark-embedder": "^1.16.0", "gatsby-remark-graphviz": "^1.3.6", "gatsby-remark-http-to-https": "^1.0.2", - "gatsby-remark-images": "^3.3.13", + "gatsby-remark-images": "^3.3.14", "gatsby-remark-normalize-paths": "^1.0.0", "gatsby-remark-prismjs": "^3.5.6", "gatsby-remark-responsive-iframe": "^2.4.7", @@ -64,9 +64,9 @@ "gatsby-source-git": "^1.1.0", "gatsby-source-npm-package-search": "^2.3.8", "gatsby-transformer-csv": "^2.3.6", - "gatsby-transformer-documentationjs": "^4.3.6", + "gatsby-transformer-documentationjs": "^4.3.7", "gatsby-transformer-gitinfo": "^1.1.0", - "gatsby-transformer-remark": "^2.8.19", + "gatsby-transformer-remark": "^2.8.20", "gatsby-transformer-screenshot": "^2.3.12", "gatsby-transformer-sharp": "^2.5.7", "gatsby-transformer-yaml": "^2.4.6",
0d23703c104c3557a77cfbc0e98d5dc9f947c909
2021-04-21 02:17:17
Kyle Mathews
fix(gatsby): add support for useStaticQuery with commonjs/require (#30941)
false
add support for useStaticQuery with commonjs/require (#30941)
fix
diff --git a/packages/babel-plugin-remove-graphql-queries/src/__tests__/__snapshots__/index.js.snap b/packages/babel-plugin-remove-graphql-queries/src/__tests__/__snapshots__/index.js.snap index 0ebefbc8bc45f..4d8912bf9ad22 100644 --- a/packages/babel-plugin-remove-graphql-queries/src/__tests__/__snapshots__/index.js.snap +++ b/packages/babel-plugin-remove-graphql-queries/src/__tests__/__snapshots__/index.js.snap @@ -526,6 +526,34 @@ var _default = () => { exports.default = _default;" `; +exports[`babel-plugin-remove-graphql-queries Transforms queries in useStaticQuery that use commonjs 1`] = ` +"const React = require(\\"react\\"); + +const { + useStaticQuery +} = require(\\"gatsby\\"); + +module.exports = () => { + const siteTitle = useStaticQuery(\\"426988268\\"); + return /*#__PURE__*/React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title); +};" +`; + +exports[`babel-plugin-remove-graphql-queries Transforms queries in useStaticQuery that use commonjs 2`] = ` +"\\"use strict\\"; + +const React = require(\\"react\\"); + +const { + useStaticQuery +} = require(\\"gatsby\\"); + +module.exports = () => { + const siteTitle = useStaticQuery(\\"426988268\\"); + return /*#__PURE__*/React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title); +};" +`; + exports[`babel-plugin-remove-graphql-queries allows the global tag 1`] = `"const query = \\"426988268\\";"`; exports[`babel-plugin-remove-graphql-queries allows the global tag 2`] = ` diff --git a/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js b/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js index eef65b7e40706..388ad3349742c 100644 --- a/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js +++ b/packages/babel-plugin-remove-graphql-queries/src/__tests__/index.js @@ -11,6 +11,7 @@ function matchesSnapshot(query) { plugins: [plugin], filename: `src/components/test.js`, }) + expect(codeWithoutFileName).toMatchSnapshot() expect(codeWithFileName).toMatchSnapshot() } @@ -58,6 +59,21 @@ describe(`babel-plugin-remove-graphql-queries`, () => { `) }) + it(`Transforms queries in useStaticQuery that use commonjs`, () => { + matchesSnapshot(` + const React = require("react") + const { graphql, useStaticQuery } = require("gatsby") + + module.exports = () => { + const siteTitle = useStaticQuery(graphql\`{site { siteMetadata { title }}}\`) + + return ( + <h1>{siteTitle.site.siteMetadata.title}</h1> + ) + } + `) + }) + it(`Transforms exported queries in useStaticQuery`, () => { matchesSnapshot(` import * as React from 'react' diff --git a/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap b/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap index f5192ead5a1ee..007d91697ca73 100644 --- a/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap +++ b/packages/gatsby/src/query/__tests__/__snapshots__/file-parser.js.snap @@ -1497,6 +1497,154 @@ Object { }, "text": "query{foo}", }, + "22": Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", + "loc": Object { + "end": 29, + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 21, + "start": 6, + }, + "value": "StaticQueryName", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 29, + "start": 22, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", + "loc": Object { + "end": 27, + "start": 24, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 27, + "start": 24, + }, + "value": "foo", + }, + "selectionSet": undefined, + }, + ], + }, + "variableDefinitions": Array [], + }, + ], + "kind": "Document", + "loc": Object { + "end": 29, + "start": 0, + }, + }, + "filePath": "static-query-hooks-commonjs.js", + "hash": 2687344169, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 67, + "line": 3, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 38, + "line": 3, + }, + }, + "text": "query StaticQueryName{foo}", + }, + "23": Object { + "doc": Object { + "definitions": Array [ + Object { + "directives": Array [], + "kind": "OperationDefinition", + "loc": Object { + "end": 44, + "start": 0, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 36, + "start": 6, + }, + "value": "StaticQueryNameNoDestructuring", + }, + "operation": "query", + "selectionSet": Object { + "kind": "SelectionSet", + "loc": Object { + "end": 44, + "start": 37, + }, + "selections": Array [ + Object { + "alias": undefined, + "arguments": Array [], + "directives": Array [], + "kind": "Field", + "loc": Object { + "end": 42, + "start": 39, + }, + "name": Object { + "kind": "Name", + "loc": Object { + "end": 42, + "start": 39, + }, + "value": "foo", + }, + "selectionSet": undefined, + }, + ], + }, + "variableDefinitions": Array [], + }, + ], + "kind": "Document", + "loc": Object { + "end": 44, + "start": 0, + }, + }, + "filePath": "static-query-hooks-commonjs-no-destructuring.js", + "hash": 2462364336, + "isHook": true, + "isStaticQuery": true, + "templateLoc": SourceLocation { + "end": Position { + "column": 89, + "line": 4, + }, + "filename": undefined, + "identifierName": undefined, + "start": Position { + "column": 45, + "line": 4, + }, + }, + "text": "query StaticQueryNameNoDestructuring{foo}", + }, "3": Object { "doc": Object { "definitions": Array [ diff --git a/packages/gatsby/src/query/__tests__/file-parser.js b/packages/gatsby/src/query/__tests__/file-parser.js index 4a07b7a5cbd8c..b6cad082ec38a 100644 --- a/packages/gatsby/src/query/__tests__/file-parser.js +++ b/packages/gatsby/src/query/__tests__/file-parser.js @@ -241,6 +241,17 @@ export default () => { render={data => <div>{data.doo}</div>} /> )`, + "static-query-hooks-commonjs.js": `const { graphql, useStaticQuery } = require('gatsby') +module.exports = () => { + const data = useStaticQuery(graphql\`query StaticQueryName { foo }\`); + return <div>{data.doo}</div>; +}`, + "static-query-hooks-commonjs-no-destructuring.js": `const gatsby = require('gatsby') +const {graphql} = require('gatsby') +module.exports = () => { + const data = gatsby.useStaticQuery(graphql\`query StaticQueryNameNoDestructuring { foo }\`); + return <div>{data.doo}</div>; +}`, } const parser = new FileParser() @@ -262,6 +273,7 @@ export default () => { // Check that invalid entries are not in the results and thus haven't been extracted expect(results).toEqual( expect.arrayContaining([ + expect.objectContaining({ filePath: `static-query-hooks-commonjs.js` }), expect.not.objectContaining({ filePath: `no-query.js` }), expect.not.objectContaining({ filePath: `other-graphql-tag.js` }), expect.not.objectContaining({ filePath: `global-query.js` }), diff --git a/packages/gatsby/src/query/file-parser.js b/packages/gatsby/src/query/file-parser.js index 60c2d785c92e0..e459d255a052a 100644 --- a/packages/gatsby/src/query/file-parser.js +++ b/packages/gatsby/src/query/file-parser.js @@ -57,14 +57,43 @@ function followVariableDeclarations(binding) { return binding } +function referencesGatsby(path, callee, calleeName) { + // This works for es6 imports + if (callee.referencesImport(`gatsby`, ``)) { + return true + } else { + // This finds where userStaticQuery was declared and then checks + // if it is a "require" and "gatsby" is the argument. + const declaration = path.scope.getBinding(calleeName) + if ( + declaration && + declaration.path.node.init?.callee.name === `require` && + declaration.path.node.init.arguments[0].value === `gatsby` + ) { + return true + } else { + return false + } + } +} + function isUseStaticQuery(path) { - return ( - (path.node.callee.type === `MemberExpression` && - path.node.callee.property.name === `useStaticQuery` && - path.get(`callee`).get(`object`).referencesImport(`gatsby`)) || - (path.node.callee.name === `useStaticQuery` && - path.get(`callee`).referencesImport(`gatsby`)) - ) + const callee = path.node.callee + if (callee.type === `MemberExpression`) { + const property = callee.property + if (property.name === `useStaticQuery`) { + return referencesGatsby( + path, + path.get(`callee`).get(`object`), + path.node?.callee.object.name + ) + } + return false + } + if (callee.name === `useStaticQuery`) { + return referencesGatsby(path, path.get(`callee`), path.node?.callee.name) + } + return false } const warnForUnknownQueryVariable = (varName, file, usageFunction) =>
ad945ec8a8428ed4a53614e2e646ca5a68c79d82
2020-04-06 16:11:42
Vladimir Razuvaev
fix(gatsby-source-graphql): Convert ts to plain js until better times (#22848)
false
Convert ts to plain js until better times (#22848)
fix
diff --git a/packages/gatsby-source-graphql/src/batching/__tests__/dataloader-link.ts b/packages/gatsby-source-graphql/src/batching/__tests__/dataloader-link.js similarity index 89% rename from packages/gatsby-source-graphql/src/batching/__tests__/dataloader-link.ts rename to packages/gatsby-source-graphql/src/batching/__tests__/dataloader-link.js index fa025e36c09fb..a60879a366ee4 100644 --- a/packages/gatsby-source-graphql/src/batching/__tests__/dataloader-link.ts +++ b/packages/gatsby-source-graphql/src/batching/__tests__/dataloader-link.js @@ -1,14 +1,13 @@ -import { parse } from "graphql" -import { execute } from "apollo-link" -import { createDataloaderLink } from "../dataloader-link" +const { parse } = require(`graphql`) +const { execute } = require(`apollo-link`) +const { createDataloaderLink } = require(`../dataloader-link`) const sampleQuery = parse(`{ foo }`) const expectedSampleQueryResult = { data: { foo: `bar` } } -// eslint-disable-next-line @typescript-eslint/camelcase const fetchResult = { data: { gatsby0_foo: `bar` } } -const makeFetch = (expectedResult: any = fetchResult): jest.Mock<any> => +const makeFetch = (expectedResult = fetchResult) => jest.fn(() => Promise.resolve({ json: () => Promise.resolve(expectedResult), @@ -23,7 +22,7 @@ describe(`createDataloaderLink`, () => { }) const observable = execute(link, { query: sampleQuery }) observable.subscribe({ - next: (result: any) => { + next: result => { expect(result).toEqual(expectedSampleQueryResult) done() }, diff --git a/packages/gatsby-source-graphql/src/batching/__tests__/merge-queries.ts b/packages/gatsby-source-graphql/src/batching/__tests__/merge-queries.js similarity index 95% rename from packages/gatsby-source-graphql/src/batching/__tests__/merge-queries.ts rename to packages/gatsby-source-graphql/src/batching/__tests__/merge-queries.js index bcf6654c849f0..faa52143c0ebf 100644 --- a/packages/gatsby-source-graphql/src/batching/__tests__/merge-queries.ts +++ b/packages/gatsby-source-graphql/src/batching/__tests__/merge-queries.js @@ -1,5 +1,5 @@ -import { print, parse } from "graphql" -import { IQuery, merge, resolveResult } from "../merge-queries" +const { print, parse } = require(`graphql`) +const { merge, resolveResult } = require(`../merge-queries`) describe(`Query merging`, () => { it(`merges simple queries`, () => { @@ -213,7 +213,7 @@ describe(`Resolving merged query results`, () => { }) it(`throws on unexpected results`, () => { - const shouldThrow = (): void => { + const shouldThrow = () => { resolveResult({ data: { gatsby0_foo: `foo`, @@ -225,10 +225,8 @@ describe(`Resolving merged query results`, () => { }) }) -type QueryFixture = [string, object] - -function fromFixtures(fixtures: QueryFixture[]): IQuery[] { - return fixtures.map(([query, variables]: QueryFixture) => { +function fromFixtures(fixtures) { + return fixtures.map(([query, variables]) => { return { query: parse(query), variables, diff --git a/packages/gatsby-source-graphql/src/batching/dataloader-link.ts b/packages/gatsby-source-graphql/src/batching/dataloader-link.js similarity index 67% rename from packages/gatsby-source-graphql/src/batching/dataloader-link.ts rename to packages/gatsby-source-graphql/src/batching/dataloader-link.js index 87895e3ace8df..8967befce06ae 100644 --- a/packages/gatsby-source-graphql/src/batching/dataloader-link.ts +++ b/packages/gatsby-source-graphql/src/batching/dataloader-link.js @@ -1,22 +1,14 @@ -import DataLoader from "dataloader" -import { ApolloLink, Observable, Operation, FetchResult } from "apollo-link" -import { print } from "graphql" -import { IQuery, IQueryResult, merge, resolveResult } from "./merge-queries" +const DataLoader = require(`dataloader`) +const { ApolloLink, Observable } = require(`apollo-link`) +const { print } = require(`graphql`) +const { merge, resolveResult } = require(`./merge-queries`) -interface IOptions { - uri: string - fetch: Function - fetchOptions?: object - dataLoaderOptions?: object - headers?: object -} - -export function createDataloaderLink(options: IOptions): ApolloLink { - const load = async (keys: ReadonlyArray<IQuery>): Promise<IQueryResult[]> => { +export function createDataloaderLink(options) { + const load = async keys => { const query = merge(keys) - const result: object = await request(query, options) + const result = await request(query, options) if (!isValidGraphQLResult(result)) { - const error: any = new Error( + const error = new Error( `Failed to load query batch:\n${formatErrors(result)}` ) error.name = `GraphQLError` @@ -34,12 +26,12 @@ export function createDataloaderLink(options: IOptions): ApolloLink { const dataloader = new DataLoader(load, { cache: false, maxBatchSize, - batchScheduleFn: (callback): any => setTimeout(callback, 50), + batchScheduleFn: callback => setTimeout(callback, 50), ...options.dataLoaderOptions, }) return new ApolloLink( - (operation: Operation): Observable<FetchResult> => + operation => new Observable(observer => { const { query, variables } = operation @@ -61,7 +53,7 @@ export function createDataloaderLink(options: IOptions): ApolloLink { ) } -function formatErrors(result: any): string { +function formatErrors(result) { if (result?.errors?.length > 0) { return result.errors .map(error => { @@ -75,7 +67,7 @@ function formatErrors(result: any): string { return `Unexpected GraphQL result` } -function isValidGraphQLResult(response): response is IQueryResult { +function isValidGraphQLResult(response) { return ( response && response.data && @@ -83,7 +75,7 @@ function isValidGraphQLResult(response): response is IQueryResult { ) } -async function request(query: IQuery, options: IOptions): Promise<object> { +async function request(query, options) { const { uri, headers = {}, fetch, fetchOptions } = options const body = JSON.stringify({ diff --git a/packages/gatsby-source-graphql/src/batching/merge-queries.ts b/packages/gatsby-source-graphql/src/batching/merge-queries.js similarity index 68% rename from packages/gatsby-source-graphql/src/batching/merge-queries.ts rename to packages/gatsby-source-graphql/src/batching/merge-queries.js index 3f1229b836792..85474b9cbf2e1 100644 --- a/packages/gatsby-source-graphql/src/batching/merge-queries.ts +++ b/packages/gatsby-source-graphql/src/batching/merge-queries.js @@ -1,35 +1,9 @@ -import { - visit, - visitInParallel, - Kind, - DocumentNode, - VariableNode, - SelectionNode, - FragmentSpreadNode, - FragmentDefinitionNode, - InlineFragmentNode, - FieldNode, - NameNode, - OperationDefinitionNode, - Visitor, - ASTKindToNode, - VariableDefinitionNode, - DirectiveNode, -} from "graphql" -import _ from "lodash" - -export interface IQuery { - query: DocumentNode - variables: object -} - -export interface IQueryResult { - data: object -} +const { visit, visitInParallel, Kind } = require(`graphql`) +const _ = require(`lodash`) const Prefix = { - create: (index: number): string => `gatsby${index}_`, - parseKey: (prefixedKey: string): { index: number; originalKey: string } => { + create: index => `gatsby${index}_`, + parseKey: prefixedKey => { const match = /^gatsby([\d]+)_(.*)$/.exec(prefixedKey) if (!match || match.length !== 3 || isNaN(Number(match[1])) || !match[2]) { throw new Error(`Unexpected data key: ${prefixedKey}`) @@ -74,13 +48,13 @@ const Prefix = { * } * fragment FooQuery on Query { baz } */ -export function merge(queries: ReadonlyArray<IQuery>): IQuery { - const mergedVariables: object = {} - const mergedVariableDefinitions: VariableDefinitionNode[] = [] - const mergedSelections: SelectionNode[] = [] - const mergedFragmentMap: Map<string, FragmentDefinitionNode> = new Map() +export function merge(queries) { + const mergedVariables = {} + const mergedVariableDefinitions = [] + const mergedSelections = [] + const mergedFragmentMap = new Map() - queries.forEach((query: IQuery, index: number) => { + queries.forEach((query, index) => { const prefixedQuery = prefixQueryParts(Prefix.create(index), query) prefixedQuery.query.definitions.forEach(def => { @@ -99,7 +73,7 @@ export function merge(queries: ReadonlyArray<IQuery>): IQuery { Object.assign(mergedVariables, prefixedQuery.variables) }) - const mergedQueryDefinition: OperationDefinitionNode = { + const mergedQueryDefinition = { kind: Kind.OPERATION_DEFINITION, operation: `query`, variableDefinitions: mergedVariableDefinitions, @@ -121,72 +95,60 @@ export function merge(queries: ReadonlyArray<IQuery>): IQuery { /** * Split and transform result of the query produced by the `merge` function */ -export function resolveResult(mergedQueryResult: IQueryResult): IQueryResult[] { +export function resolveResult(mergedQueryResult) { const data = mergedQueryResult.data - return Object.keys(data).reduce( - (acc: IQueryResult[], prefixedKey: string): IQueryResult[] => { - const { index, originalKey } = Prefix.parseKey(prefixedKey) - if (!acc[index]) acc[index] = { data: {} } - acc[index].data[originalKey] = data[prefixedKey] - return acc - }, - [] - ) + return Object.keys(data).reduce((acc, prefixedKey) => { + const { index, originalKey } = Prefix.parseKey(prefixedKey) + if (!acc[index]) acc[index] = { data: {} } + acc[index].data[originalKey] = data[prefixedKey] + return acc + }, []) } const Visitors = { - detectFragmentsWithVariables: ( - fragmentsWithVariables: Set<string> - ): Visitor<ASTKindToNode> => { + detectFragmentsWithVariables: fragmentsWithVariables => { let currentFragmentName return { [Kind.FRAGMENT_DEFINITION]: { - enter: (def: FragmentDefinitionNode): void => { + enter: def => { currentFragmentName = def.name.value }, - leave: (): void => { + leave: () => { currentFragmentName = null }, }, - [Kind.VARIABLE]: (): void => { + [Kind.VARIABLE]: () => { if (currentFragmentName) { fragmentsWithVariables.add(currentFragmentName) } }, } }, - prefixVariables: (prefix: string): Visitor<ASTKindToNode> => { + prefixVariables: prefix => { return { - [Kind.VARIABLE]: (variable: VariableNode): VariableNode => - prefixNodeName(variable, prefix), + [Kind.VARIABLE]: variable => prefixNodeName(variable, prefix), } }, - prefixFragmentNames: ( - prefix: string, - fragmentNames: Set<string> - ): Visitor<ASTKindToNode> => { + prefixFragmentNames: (prefix, fragmentNames) => { return { - [Kind.FRAGMENT_DEFINITION]: ( - def: FragmentDefinitionNode - ): FragmentDefinitionNode | void => + [Kind.FRAGMENT_DEFINITION]: def => fragmentNames.has(def.name.value) ? prefixNodeName(def, prefix) : def, - - [Kind.FRAGMENT_SPREAD]: (def: FragmentSpreadNode): FragmentSpreadNode => + [Kind.FRAGMENT_SPREAD]: def => fragmentNames.has(def.name.value) ? prefixNodeName(def, prefix) : def, } }, } -function prefixQueryParts(prefix: string, query: IQuery): IQuery { - let document: DocumentNode = aliasTopLevelFields(prefix, query.query) +function prefixQueryParts(prefix, query) { + let document = aliasTopLevelFields(prefix, query.query) const variableNames = Object.keys(query.variables) if (variableNames.length === 0) { return { ...query, query: document } } - const fragmentsWithVariables: Set<string> = new Set() + const fragmentsWithVariables = new Set() document = visit( document, @@ -211,7 +173,7 @@ function prefixQueryParts(prefix: string, query: IQuery): IQuery { [Kind.INLINE_FRAGMENT]: [`selectionSet`], [Kind.FIELD]: [`selectionSet`], [Kind.SELECTION_SET]: [`selections`], - } as any + } ) } @@ -231,9 +193,9 @@ function prefixQueryParts(prefix: string, query: IQuery): IQuery { * * @see aliasFieldsInSelection for implementation details */ -function aliasTopLevelFields(prefix: string, doc: DocumentNode): DocumentNode { +function aliasTopLevelFields(prefix, doc) { const transformer = { - [Kind.OPERATION_DEFINITION]: (def): OperationDefinitionNode => { + [Kind.OPERATION_DEFINITION]: def => { const { selections } = def.selectionSet return { ...def, @@ -244,7 +206,7 @@ function aliasTopLevelFields(prefix: string, doc: DocumentNode): DocumentNode { } }, } - return visit(doc, transformer, { [Kind.DOCUMENT]: [`definitions`] } as any) + return visit(doc, transformer, { [Kind.DOCUMENT]: [`definitions`] }) } /** @@ -267,26 +229,18 @@ function aliasTopLevelFields(prefix: string, doc: DocumentNode): DocumentNode { * ... on Query { gatsby1_bar: bar } * } */ -function aliasFieldsInSelection( - prefix: string, - selections: ReadonlyArray<SelectionNode>, - document: DocumentNode -): SelectionNode[] { - return _.flatMap(selections, (selection: SelectionNode): SelectionNode[] => { +function aliasFieldsInSelection(prefix, selections, document) { + return _.flatMap(selections, selection => { switch (selection.kind) { case Kind.INLINE_FRAGMENT: return [aliasFieldsInInlineFragment(prefix, selection, document)] - case Kind.FRAGMENT_SPREAD: { const inlineFragment = inlineFragmentSpread(selection, document) return [ addSkipDirective(selection), aliasFieldsInInlineFragment(prefix, inlineFragment, document), - // Keep original spread in selection with @skip(if: true) - // otherwise if this was a single fragment usage the query will fail validation ] } - case Kind.FIELD: default: return [aliasField(selection, prefix)] @@ -294,12 +248,8 @@ function aliasFieldsInSelection( }) } -interface INodeWithDirectives { - readonly directives?: ReadonlyArray<DirectiveNode> -} - -function addSkipDirective<T extends INodeWithDirectives>(node: T): T { - const skipDirective: DirectiveNode = { +function addSkipDirective(node) { + const skipDirective = { kind: Kind.DIRECTIVE, name: { kind: Kind.NAME, value: `skip` }, arguments: [ @@ -325,11 +275,7 @@ function addSkipDirective<T extends INodeWithDirectives>(node: T): T { * To * ... on Query { gatsby1_foo: foo, ... on Query { gatsby1_bar: foo } } */ -function aliasFieldsInInlineFragment( - prefix: string, - fragment: InlineFragmentNode, - document: DocumentNode -): InlineFragmentNode { +function aliasFieldsInInlineFragment(prefix, fragment, document) { const { selections } = fragment.selectionSet return { ...fragment, @@ -350,10 +296,7 @@ function aliasFieldsInInlineFragment( * Transforms to: * query { ... on Query { bar } } */ -function inlineFragmentSpread( - spread: FragmentSpreadNode, - document: DocumentNode -): InlineFragmentNode { +function inlineFragmentSpread(spread, document) { const fragment = document.definitions.find( def => def.kind === Kind.FRAGMENT_DEFINITION && @@ -362,8 +305,7 @@ function inlineFragmentSpread( if (!fragment) { throw new Error(`Fragment ${spread.name.value} does not exist`) } - const { typeCondition, selectionSet } = fragment as FragmentDefinitionNode - + const { typeCondition, selectionSet } = fragment return { kind: Kind.INLINE_FRAGMENT, typeCondition, @@ -372,10 +314,7 @@ function inlineFragmentSpread( } } -function prefixNodeName<T extends { name: NameNode }>( - namedNode: T, - prefix: string -): T { +function prefixNodeName(namedNode, prefix) { return { ...namedNode, name: { @@ -392,7 +331,7 @@ function prefixNodeName<T extends { name: NameNode }>( * { foo } -> { gatsby1_foo: foo } * { foo: bar } -> { gatsby1_foo: bar } */ -function aliasField(field: FieldNode, aliasPrefix: string): FieldNode { +function aliasField(field, aliasPrefix) { const aliasNode = field.alias ? field.alias : field.name return { ...field, @@ -403,10 +342,10 @@ function aliasField(field: FieldNode, aliasPrefix: string): FieldNode { } } -function isQueryDefinition(def): def is OperationDefinitionNode { +function isQueryDefinition(def) { return def.kind === Kind.OPERATION_DEFINITION && def.operation === `query` } -function isFragmentDefinition(def): def is FragmentDefinitionNode { +function isFragmentDefinition(def) { return def.kind === Kind.FRAGMENT_DEFINITION }
a6abb70a0254c2742d539e8a83b2517f3a4d85de
2018-11-08 18:50:42
Ondřej Chrastina
fix(starters): update Kentico Cloud naming conventions (#9813)
false
update Kentico Cloud naming conventions (#9813)
fix
diff --git a/docs/starters.yml b/docs/starters.yml index 69b413726f9c3..27d55732bdf2b 100644 --- a/docs/starters.yml +++ b/docs/starters.yml @@ -1132,8 +1132,8 @@ - Gatsby v2 support - Content item <-> content type relationships - Language variants relationships - - Modular content elements relationships - - Modular content relationships in rich text + - Linked items elements relationships + - Content items in Rich text elements relationships - Reverse link relationships - url: https://gatsby-starter-storybook.netlify.com/ repo: https://github.com/markoradak/gatsby-starter-storybook
d58b3a464f35cfd37628f7a29edaf9fb9e567669
2019-07-03 21:11:50
Benjamin Lannon
feat(docs): Adding more podcasts to Awesome Gatsby page (#15095)
false
Adding more podcasts to Awesome Gatsby page (#15095)
feat
diff --git a/docs/docs/awesome-gatsby.md b/docs/docs/awesome-gatsby.md index d9f0ef0207bce..e1dbf3a4b735d 100644 --- a/docs/docs/awesome-gatsby.md +++ b/docs/docs/awesome-gatsby.md @@ -23,6 +23,9 @@ See the [library of official and community plugins](/plugins/) ## Podcasts +- [2019-06-05: Jason Lengstorf on Syntax #150: Gatsby Themes](https://syntax.fm/show/150/gatsby-themes) +- [2019-05-22: Jason Lengstorf on Full Stack Radio #115: Gatsby for Skeptics](http://www.fullstackradio.com/115) +- [2019-04-12: Jason Lengstorf on JS Party #71](https://changelog.com/jsparty/71) - [2018-11-30: Kyle Mathews on Founders Talk #59](https://changelog.com/founderstalk/59) - [2018-11-14: Jason Lengstorf on React Podcast](https://reactpodcast.simplecast.fm/28) - [2018-07-18: The Great GatsbyJS w/ Jason Lengstorf on The Changelog #306](https://changelog.com/podcast/306)
188206757db9f8dbe402f97092da58009db9b82a
2019-09-06 04:39:29
Kevin Miller
docs: Added content to SaaS services stub (#17349)
false
Added content to SaaS services stub (#17349)
docs
diff --git a/docs/docs/sourcing-from-saas-services.md b/docs/docs/sourcing-from-saas-services.md index c0077dad88d8f..1e2edbfa9fb59 100644 --- a/docs/docs/sourcing-from-saas-services.md +++ b/docs/docs/sourcing-from-saas-services.md @@ -2,7 +2,16 @@ title: Sourcing from SaaS Services --- -This is a stub. Help our community expand it. +There are many Gatsby plugins that integrate with SaaS (Software as a Service). You can search for [Gatsby plugins](/plugins/) as well as [Gatsby starters](/starters/) that integrate with hosted services to source content and functionality. Some examples include: -Please use the [Gatsby Style Guide](/contributing/gatsby-style-guide/) to ensure your -pull request gets accepted. +- [Airtable](/packages/gatsby-source-airtable) +- [AWS DynamoDB](/packages/gatsby-source-dynamodb) +- [Contentful](/packages/gatsby-source-contentful/) +- [Firebase](/packages/gatsby-source-firebase) +- [Google Docs](/packages/gatsby-source-google-docs) +- [Prismic](/packages/gatsby-source-prismic-graphql) +- [Shopify](/packages/gatsby-source-shopify) + +These plugins will pull data from a hosted service and make it available to your Gatsby site via GraphQL. + +You can also [write your own source plugin](/docs/creating-a-source-plugin/) to integrate with a service that isn't already represented. diff --git a/www/src/data/sidebars/doc-links.yaml b/www/src/data/sidebars/doc-links.yaml index cf0d69a932069..c2a3ca07d7eec 100644 --- a/www/src/data/sidebars/doc-links.yaml +++ b/www/src/data/sidebars/doc-links.yaml @@ -128,7 +128,7 @@ - title: Sourcing From Databases link: /docs/sourcing-from-databases/ breadcrumbTitle: From Databases - - title: Sourcing from SaaS Services* + - title: Sourcing from SaaS Services link: /docs/sourcing-from-saas-services/ breadcrumbTitle: From SaaS Services - title: Sourcing from Private APIs
779274cc3fabb692b33f927a096594af708f5869
2018-10-17 22:55:01
Lennart
fix(docs): Typos in SEO doc (#9178)
false
Typos in SEO doc (#9178)
fix
diff --git a/docs/docs/add-seo-component.md b/docs/docs/add-seo-component.md index 59b081dd42248..160ff8d0ad6a4 100644 --- a/docs/docs/add-seo-component.md +++ b/docs/docs/add-seo-component.md @@ -32,7 +32,7 @@ Create a new component with this initial boilerplate: import React from "react" import Helmet from "react-helmet" import PropTypes from "prop-types" -import { StaticQuery } from "gatsby" +import { StaticQuery, graphql } from "gatsby" const SEO = ({ title, description, image, pathname, article }) => () @@ -126,7 +126,7 @@ The last step is to return this data with the help of `Helmet`. Your complete SE import React from "react" import Helmet from "react-helmet" import PropTypes from "prop-types" -import { StaticQuery } from "gatsby" +import { StaticQuery, graphql } from "gatsby" const SEO = ({ title, description, image, pathname, article }) => ( <StaticQuery @@ -152,7 +152,7 @@ const SEO = ({ title, description, image, pathname, article }) => ( return ( <> - <Helmet> + <Helmet title={seo.title} titleTemplate={titleTemplate}> <meta name="description" content={seo.description} /> <meta name="image" content={seo.image} /> {seo.url && <meta property="og:url" content={seo.url} />} @@ -197,6 +197,21 @@ SEO.defaultProps = { pathname: null, article: false, } + +const query = graphql` + query SEO { + site { + siteMetadata { + defaultTitle: title + titleTemplate + defaultDescription: description + siteUrl: url + defaultImage: image + twitterUsername + } + } + } +`; ``` ## Examples
320efb77079f7adf4c89b885a7f34e4cc3951906
2022-08-26 18:48:41
Ty Hopp
feat(gatsby-link,gatsby-plugin-image,gatsby-script): Client export directive (#36470)
false
Client export directive (#36470)
feat
diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index daf519ca0a205..88a80a878d849 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -16,6 +16,7 @@ "sideEffects": false, "scripts": { "build": "npm-run-all --npm-path npm -s build:cjs build:esm", + "postbuild": "prepend-directive --files=dist/index.js,dist/index.modern.mjs --directive=\"client export\"", "build:cjs": "microbundle -f cjs --jsx React.createElement --generateTypes false -i src/index-cjs.js -o dist/index.js", "build:esm": "microbundle -f modern --jsx React.createElement --generateTypes false -o dist/index.mjs", "watch": "npm-run-all --npm-path npm -p watch:cjs watch:esm", @@ -34,7 +35,8 @@ "cross-env": "^7.0.3", "del-cli": "^5.0.0", "microbundle": "^0.15.0", - "npm-run-all": "^4.1.5" + "npm-run-all": "^4.1.5", + "prepend-directive": "^1.0.3" }, "peerDependencies": { "@gatsbyjs/reach-router": "^1.3.5", diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index 71ca5f246c21c..f8839bc171a0c 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -3,6 +3,7 @@ "version": "2.23.0-next.0", "scripts": { "build": "npm-run-all --npm-path npm -s clean -p build:*", + "postbuild": "prepend-directive --files=dist/gatsby-image.browser.js,dist/gatsby-image.browser.modern.js --directive=\"client export\"", "build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src", "build:gatsby-ssr": "microbundle -i src/gatsby-ssr.tsx -f cjs -o ./[name].js --no-pkg-main --jsx React.createElement --jsxFragment React.Fragment --no-compress --external=common-tags,react --no-sourcemap", "build:server": "microbundle -f cjs,es --jsx React.createElement --jsxFragment React.Fragment --define SERVER=true", @@ -59,6 +60,7 @@ "microbundle": "^0.15.0", "npm-run-all": "^4.1.5", "postcss": "^8.2.9", + "prepend-directive": "^1.0.3", "semver": "^7.3.7", "terser": "^5.3.8", "typescript": "^4.7.4" diff --git a/packages/gatsby-script/package.json b/packages/gatsby-script/package.json index b877a7c9c23c2..e8755789f8542 100644 --- a/packages/gatsby-script/package.json +++ b/packages/gatsby-script/package.json @@ -16,6 +16,7 @@ "sideEffects": false, "scripts": { "build": "microbundle -f cjs,modern --jsx React.createElement", + "postbuild": "prepend-directive --files=dist/index.js,dist/index.modern.mjs --directive=\"client export\"", "watch": "microbundle watch -f cjs,modern --jsx React.createElement --no-compress", "prepare": "cross-env NODE_ENV=production npm run clean && npm run build", "clean": "del-cli dist/*" @@ -25,6 +26,7 @@ "cross-env": "^7.0.3", "del-cli": "^5.0.0", "microbundle": "^0.15.0", + "prepend-directive": "^1.0.3", "typescript": "^4.7.4" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 0a71c69d7bd54..0e8cc49b68a04 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19553,6 +19553,13 @@ prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" +prepend-directive@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/prepend-directive/-/prepend-directive-1.0.3.tgz#c4efc08b65f9245c66d35d223be16e1945b0e36c" + integrity sha512-2z115QLE7yxRp172Vv9hM2fWhtI5UtaQFDj+JnyzQxIZ7Wj/7ohrtriEIqXqgLOHsXUf08rjLd+kFUVCUJskPg== + dependencies: + fs-extra "^10.1.0" + prepend-http@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
ac5e5fbb0e86273a3ef91091b97138b7bb3e60b6
2022-05-30 08:41:45
renovate[bot]
chore(deps): update starters and examples (#35773)
false
update starters and examples (#35773)
chore
diff --git a/starters/gatsby-starter-minimal-ts/package-lock.json b/starters/gatsby-starter-minimal-ts/package-lock.json index 5b9cec260ce7e..7afdbb689363e 100644 --- a/starters/gatsby-starter-minimal-ts/package-lock.json +++ b/starters/gatsby-starter-minimal-ts/package-lock.json @@ -3013,9 +3013,9 @@ } }, "@types/node": { - "version": "17.0.35", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.35.tgz", - "integrity": "sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==" + "version": "17.0.36", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.36.tgz", + "integrity": "sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA==" }, "@types/node-fetch": { "version": "2.6.1", @@ -11822,9 +11822,9 @@ } }, "typescript": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", - "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", + "version": "4.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.2.tgz", + "integrity": "sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==", "dev": true }, "ua-parser-js": { diff --git a/starters/gatsby-starter-minimal-ts/package.json b/starters/gatsby-starter-minimal-ts/package.json index 33cc27df5a5ec..b0e9ef297b0c6 100644 --- a/starters/gatsby-starter-minimal-ts/package.json +++ b/starters/gatsby-starter-minimal-ts/package.json @@ -22,9 +22,9 @@ "react-dom": "^17.0.1" }, "devDependencies": { - "@types/node": "^17.0.35", + "@types/node": "^17.0.36", "@types/react": "^17.0.45", "@types/react-dom": "^17.0.17", - "typescript": "^4.6.4" + "typescript": "^4.7.2" } }
a7405f19c3ee85aab3d2051c6d4535fce166d993
2020-02-17 20:20:14
Peter van der Zee
feat(gatsby-plugin-benchmark-reporting): Submit commit time of current git hash, too (#21521)
false
Submit commit time of current git hash, too (#21521)
feat
diff --git a/packages/gatsby-plugin-benchmark-reporting/src/gatsby-node.js b/packages/gatsby-plugin-benchmark-reporting/src/gatsby-node.js index 30ab3cb2f8c7a..e0a092d8bb981 100644 --- a/packages/gatsby-plugin-benchmark-reporting/src/gatsby-node.js +++ b/packages/gatsby-plugin-benchmark-reporting/src/gatsby-node.js @@ -71,7 +71,11 @@ class BenchMeta { // For the time being, our target benchmarks are part of the main repo // And we will want to know what version of the repo we're testing with + // This won't work as intended when running a site not in our repo (!) const gitHash = execToStr(`git rev-parse HEAD`) + // Git only supports UTC tz through env var, but the unix time stamp is UTC + const unixStamp = execToStr(`git show --quiet --date=unix --format="%cd"`) + const commitTime = new Date(parseInt(unixStamp, 10) * 1000).toISOString() const nodejsVersion = process.version @@ -130,6 +134,7 @@ class BenchMeta { cwd: process.cwd() ?? ``, timestamps: this.timestamps, gitHash, + commitTime, ci: process.env.CI || false, ciName: process.env.CI_NAME || `local`, versions: {
8bcd19bae6b69bf36df407f5c649b1d4ca9a1ed9
2019-02-01 23:37:56
rotexhawk
feat(gatsby-source-wordpress): add jwt_base_path option (#11425)
false
add jwt_base_path option (#11425)
feat
diff --git a/packages/gatsby-source-wordpress/README.md b/packages/gatsby-source-wordpress/README.md index c0ae5ed862c7b..981b0af58efbf 100644 --- a/packages/gatsby-source-wordpress/README.md +++ b/packages/gatsby-source-wordpress/README.md @@ -91,9 +91,11 @@ module.exports = { wpcom_pass: process.env.WORDPRESS_PASSWORD, // If you use "JWT Authentication for WP REST API" (https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/) + // or (https://github.com/jonathan-dejong/simple-jwt-authentication) requires jwt_base_path, path can be found in wordpress wp-api. // plugin, you can specify user and password to obtain access token and use authenticated requests against wordpress REST API. jwt_user: process.env.JWT_USER, jwt_pass: process.env.JWT_PASSWORD, + jwt_base_path: "/jwt-auth/v1/token" # Default - can skip if you are using https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/ }, // Set verboseOutput to true to display a verbose output on `npm run develop` or `npm run build` // It can help you debug specific API Endpoints problems. diff --git a/packages/gatsby-source-wordpress/src/fetch.js b/packages/gatsby-source-wordpress/src/fetch.js index b77af79cadd29..0b312deaf95da 100644 --- a/packages/gatsby-source-wordpress/src/fetch.js +++ b/packages/gatsby-source-wordpress/src/fetch.js @@ -212,7 +212,7 @@ async function getWPCOMAccessToken(_auth) { */ async function getJWToken(_auth, url) { let result - let authUrl = `${url}/jwt-auth/v1/token` + let authUrl = `${url}${_auth.jwt_base_path || `/jwt-auth/v1/token`}` try { const options = { url: authUrl,
f13a3a2738d35647c8f21bdf50844d001b4d0f6a
2023-01-31 17:35:47
LekoArts
chore: Update starter
false
Update starter
chore
diff --git a/starters/blog/src/pages/using-typescript.tsx b/starters/blog/src/pages/using-typescript.tsx index 108c7f80da4eb..ef6d7372774b5 100644 --- a/starters/blog/src/pages/using-typescript.tsx +++ b/starters/blog/src/pages/using-typescript.tsx @@ -19,9 +19,9 @@ const UsingTypescript: React.FC<PageProps<DataProps>> = ({ <Layout title="Using TypeScript" location={location}> <h1>Gatsby supports TypeScript by default!</h1> <p> - This means that you can create and write <em>.ts/.tsx</em> files for your - pages, components etc. Please note that the <em>gatsby-*.js</em> files - (like gatsby-node.js) currently don't support TypeScript yet. + This means that you can create and write <code>.ts/.tsx</code> files for + your pages, components, and <code>gatsby-*</code> configuration files (for + example <code>gatsby-config.ts</code>). </p> <p> For type checking you'll want to install <em>typescript</em> via npm and
803179b7636cd4be22e70db4d86525f531918bdc
2018-10-02 00:20:34
Dustin Schau
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 6c3d360122111..3a8bb1efacc63 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.14"></a> + +## [2.0.14](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.14) (2018-10-01) + +**Note:** Version bump only for package gatsby + <a name="2.0.13"></a> ## [2.0.13](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.13) (2018-10-01) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index a121c76ea19ad..653ac32e212e3 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.0.13", + "version": "2.0.14", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
231c7ef16db9e5845e013d9dad54ad42c76b9971
2020-04-02 03:47:46
Blaine Kasten
chore(gatsby-cli): use `gatsby clean` in tests to test `gatsby clean` (#22739)
false
use `gatsby clean` in tests to test `gatsby clean` (#22739)
chore
diff --git a/integration-tests/gatsby-cli/__tests__/build.js b/integration-tests/gatsby-cli/__tests__/build.js index f33b4c551fad9..770b017d8fe7d 100644 --- a/integration-tests/gatsby-cli/__tests__/build.js +++ b/integration-tests/gatsby-cli/__tests__/build.js @@ -1,4 +1,4 @@ -import { GatsbyCLI, removeFolder } from "../test-helpers" +import { GatsbyCLI } from "../test-helpers" const MAX_TIMEOUT = 2147483647 jest.setTimeout(MAX_TIMEOUT) @@ -6,10 +6,8 @@ jest.setTimeout(MAX_TIMEOUT) describe(`gatsby build`, () => { const cwd = `gatsby-sites/gatsby-build` - beforeAll(() => removeFolder(`${cwd}/.cache`)) - beforeAll(() => removeFolder(`${cwd}/public`)) - afterAll(() => removeFolder(`${cwd}/.cache`)) - afterAll(() => removeFolder(`${cwd}/public`)) + beforeAll(() => GatsbyCLI.from(cwd).invoke(`clean`)) + afterAll(() => GatsbyCLI.from(cwd).invoke(`clean`)) it(`creates a built gatsby site`, () => { const [code, logs] = GatsbyCLI.from(cwd).invoke(`build`) diff --git a/integration-tests/gatsby-cli/__tests__/develop.js b/integration-tests/gatsby-cli/__tests__/develop.js index b3c74b0931474..864a7f6568440 100644 --- a/integration-tests/gatsby-cli/__tests__/develop.js +++ b/integration-tests/gatsby-cli/__tests__/develop.js @@ -1,6 +1,5 @@ import spawn from "cross-spawn" -import { GatsbyCLI, removeFolder } from "../test-helpers" -import strip from "strip-ansi" +import { GatsbyCLI } from "../test-helpers" const timeout = seconds => new Promise(resolve => { @@ -13,17 +12,15 @@ jest.setTimeout(MAX_TIMEOUT) describe(`gatsby develop`, () => { const cwd = `gatsby-sites/gatsby-develop` - beforeAll(() => removeFolder(`${cwd}/.cache`)) - beforeAll(() => removeFolder(`${cwd}/public`)) - afterAll(() => removeFolder(`${cwd}/.cache`)) - afterAll(() => removeFolder(`${cwd}/public`)) + beforeAll(() => GatsbyCLI.from(cwd).invoke(`clean`)) + afterAll(() => GatsbyCLI.from(cwd).invoke(`clean`)) it(`starts a gatsby site on port 8000`, async () => { // 1. Start the `gatsby develop` command const [childProcess, getLogs] = GatsbyCLI.from(cwd).invokeAsync(`develop`) // 2. Wait for the build process to finish - await timeout(30) + await timeout(10) // 3. kill the `gatsby develop` command so we can get logs spawn.sync("kill", [childProcess.pid])
72a7e3cf753fadd9248bf3a3b9e16fbf6fa77ab7
2022-04-08 17:36:57
Le Ding
chore(docs): Update `.gitlab-ci.yml` deploy (#35371)
false
Update `.gitlab-ci.yml` deploy (#35371)
chore
diff --git a/docs/docs/deploying-to-gitlab-pages.md b/docs/docs/deploying-to-gitlab-pages.md index 8ff4f744c9eec..9540a696d3a3e 100644 --- a/docs/docs/deploying-to-gitlab-pages.md +++ b/docs/docs/deploying-to-gitlab-pages.md @@ -50,6 +50,7 @@ cache: - public/ pages: + stage: deploy script: - npm install - ./node_modules/.bin/gatsby build --prefix-paths
ae7572cd1680e38053593a07eee84ed38bc2e1ca
2018-06-21 23:24:37
Kyle Mathews
chore(release): Publish
false
Publish
chore
diff --git a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md index c83fe703fb811..fe4ffba45b480 100644 --- a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md +++ b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.2-beta.3"></a> +## [2.0.2-beta.3](https://github.com/gatsbyjs/gatsby/compare/babel-plugin-remove-graphql-queries@[email protected]) (2018-06-21) + +**Note:** Version bump only for package babel-plugin-remove-graphql-queries + + + + + <a name="2.0.2-beta.2"></a> ## [2.0.2-beta.2](https://github.com/gatsbyjs/gatsby/compare/babel-plugin-remove-graphql-queries@[email protected]) (2018-06-20) diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index ec1ee70056513..9ec6b0874bb3d 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-remove-graphql-queries", - "version": "2.0.2-beta.2", + "version": "2.0.2-beta.3", "author": "Jason Quense <[email protected]>", "devDependencies": { "@babel/cli": "7.0.0-beta.51", diff --git a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md index 4214c856e98c2..25393097cb526 100644 --- a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md +++ b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0-beta.3"></a> +# [2.0.0-beta.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules/compare/gatsby-plugin-react-css-modules@[email protected]) (2018-06-21) + +**Note:** Version bump only for package gatsby-plugin-react-css-modules + + + + + <a name="2.0.0-beta.2"></a> # [2.0.0-beta.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules/compare/gatsby-plugin-react-css-modules@[email protected]) (2018-06-20) diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index e3852dea3ba3f..782c77e204b39 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-css-modules", "description": "Gatsby plugin that transforms styleName to className using compile time CSS module resolution", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "author": "Ming Aldrich-Gan <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-typescript/CHANGELOG.md b/packages/gatsby-plugin-typescript/CHANGELOG.md index 0e7f2bdaf8386..063309b7af0a7 100644 --- a/packages/gatsby-plugin-typescript/CHANGELOG.md +++ b/packages/gatsby-plugin-typescript/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0-beta.3"></a> +# [2.0.0-beta.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript/compare/[email protected]@2.0.0-beta.3) (2018-06-21) + +**Note:** Version bump only for package gatsby-plugin-typescript + + + + + <a name="2.0.0-beta.2"></a> # [2.0.0-beta.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript/compare/[email protected]@2.0.0-beta.2) (2018-06-20) diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index e73d9efc13296..2be30b756d032 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typescript", "description": "Adds TypeScript support to Gatsby", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "dependencies": { "@babel/preset-typescript": "7.0.0-beta.51", "@babel/runtime": "7.0.0-beta.51", - "babel-plugin-remove-graphql-queries": "^2.0.2-beta.2" + "babel-plugin-remove-graphql-queries": "^2.0.2-beta.3" }, "devDependencies": { "@babel/cli": "7.0.0-beta.51", diff --git a/packages/gatsby-source-contentful/CHANGELOG.md b/packages/gatsby-source-contentful/CHANGELOG.md index 064dcbb67341a..462b9d8fdfdd6 100644 --- a/packages/gatsby-source-contentful/CHANGELOG.md +++ b/packages/gatsby-source-contentful/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1-beta.5"></a> +## [2.0.1-beta.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-contentful/compare/[email protected]@2.0.1-beta.5) (2018-06-21) + +**Note:** Version bump only for package gatsby-source-contentful + + + + + <a name="2.0.1-beta.4"></a> ## [2.0.1-beta.4](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-contentful/compare/[email protected]@2.0.1-beta.4) (2018-06-20) diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index c2ae08f43189f..c2af7b1bfe2e1 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-contentful", "description": "Gatsby source plugin for building websites using the Contentful CMS as a data source", - "version": "2.0.1-beta.4", + "version": "2.0.1-beta.5", "author": "Marcus Ericsson <[email protected]> (mericsson.com)", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,8 +14,8 @@ "contentful": "^6.1.0", "deep-map": "^1.5.0", "fs-extra": "^4.0.2", - "is-online": "^7.0.0", "gatsby-plugin-sharp": "^2.0.0-beta.2", + "is-online": "^7.0.0", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.4", "qs": "^6.4.0" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 6700087b7742f..cec2a84b62cd8 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0-beta.6"></a> +# [2.0.0-beta.6](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.6) (2018-06-21) + +**Note:** Version bump only for package gatsby + + + + + <a name="2.0.0-beta.5"></a> # [2.0.0-beta.5](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.5) (2018-06-21) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 56bd48b3a9688..7e7c93de29656 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "React.js Static Site Generator", - "version": "2.0.0-beta.5", + "version": "2.0.0-beta.6", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js" @@ -29,7 +29,7 @@ "babel-loader": "8.0.0-beta.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dynamic-import-node": "^1.2.0", - "babel-plugin-remove-graphql-queries": "^2.0.2-beta.2", + "babel-plugin-remove-graphql-queries": "^2.0.2-beta.3", "better-queue": "^3.8.6", "bluebird": "^3.5.0", "chalk": "^2.3.2",
30789d95e44d7abd74a717a765abc357bd259668
2021-04-06 01:53:31
Kyle Mathews
fix(docs): edit copy for gatsby cli docs (#30692)
false
edit copy for gatsby cli docs (#30692)
fix
diff --git a/docs/docs/reference/gatsby-cli.md b/docs/docs/reference/gatsby-cli.md index cb648390bfb28..f37fc65825650 100644 --- a/docs/docs/reference/gatsby-cli.md +++ b/docs/docs/reference/gatsby-cli.md @@ -3,15 +3,13 @@ title: Commands (Gatsby CLI) tableOfContentsDepth: 2 --- -The Gatsby command line tool (CLI) is the main entry point for getting up and running with a Gatsby application and for using functionality including like running a development server and building out your Gatsby application for deployment. +The Gatsby command line tool (CLI) is the main entry point for getting up and running with a Gatsby application and for using functionality including running a development server and building out your Gatsby application for deployment. -_We provide similar documentation available with the gatsby-cli [README](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-cli/README.md), and our [cheat sheet](/docs/cheat-sheet/) has all the top CLI commands ready to print out._ +_This page provides similar documentation as the gatsby-cli [README](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-cli/README.md). The [Gatsby cheat sheet](/docs/cheat-sheet/) has docs for top CLI commands & APIs all ready to print out._ ## How to use gatsby-cli -The Gatsby CLI (`gatsby-cli`) is packaged as an executable that can be used globally. The Gatsby CLI is available via [npm](https://www.npmjs.com/) and should be installed globally by running `npm install -g gatsby-cli` to use it locally. - -Run `gatsby --help` for full help. +The Gatsby CLI is available via [npm](https://www.npmjs.com/) and is installed globally by running `npm install -g gatsby-cli`. You can also use the `package.json` script variant of these commands, typically exposed _for you_ with most [starters](/docs/starters/). For example, if you want to make the [`gatsby develop`](#develop) command available in your application, open up `package.json` and add a script like so: @@ -25,6 +23,8 @@ You can also use the `package.json` script variant of these commands, typically ## API commands +All the following documentation is available in the tool by running `gatsby --help`. + ### `new` #### Usage @@ -72,7 +72,7 @@ Would you like to install additional features with other plugins? (multiple choi #### Creating a site from a starter -To create a site from a starter instead, run the command while immediately specifying your site name and starter URL: +To create a site from a starter instead, run the command with your site name and starter URL: ```shell gatsby new [<site-name> [<starter-url>]] diff --git a/packages/gatsby-cli/README.md b/packages/gatsby-cli/README.md index 292575dfa0e17..5010b610ba401 100644 --- a/packages/gatsby-cli/README.md +++ b/packages/gatsby-cli/README.md @@ -5,9 +5,7 @@ The Gatsby command line interface (CLI). It is used to perform common functional Lets you create new Gatsby apps using [Gatsby starters](https://www.gatsbyjs.org/docs/gatsby-starters/). It also lets you run commands on sites. The tool runs code from the `gatsby` package installed locally. -The Gatsby CLI (`gatsby-cli`) is packaged as an executable that can be used globally. The Gatsby CLI is available via [npm](https://www.npmjs.com/) and should be installed globally by running `npm install -g gatsby-cli` to use it locally. - -Run `gatsby --help` for full help. +The Gatsby CLI (`gatsby-cli`) is packaged as an executable that can be used globally. The Gatsby CLI is available via [npm](https://www.npmjs.com/) and is installed globally by running `npm install -g gatsby-cli`. You can also use the `package.json` script variant of these commands, typically exposed _for you_ with most [starters](https://www.gatsbyjs.org/docs/starters/). For example, if we want to make the [`gatsby develop`](#develop) command available in our application, we would open up `package.json` and add a script like so: @@ -21,6 +19,8 @@ You can also use the `package.json` script variant of these commands, typically ## CLI Commands +All the following documentation is available in the tool by running `gatsby --help`. + 1. [new](#new) 2. [develop](#develop) 3. [build](#build)
50e124a2d49133f074f03ed5e3bcac3643f2f92e
2020-04-22 20:34:35
Amruth Pillai
chore(creator): add Amruth Pillai (#23370)
false
add Amruth Pillai (#23370)
chore
diff --git a/docs/creators/creators.yml b/docs/creators/creators.yml index cd63fc29dc2e0..fca5d37f924d7 100644 --- a/docs/creators/creators.yml +++ b/docs/creators/creators.yml @@ -520,3 +520,14 @@ website: https://softblues.io/ for_hire: true portfolio: true +- name: Amruth Pillai + type: individual + description: >- + I build beautiful websites and applications that help people around the world. Some of my open source works include Reactive Resume, a resume builder that has over 1k+ starts, and Be Thrifty Today, a money management app that has about 1000+ downloads on Google Play Store. + location: Bangalore, India + website: https://amruthpillai.com + github: https://github.com/AmruthPillai + image: images/amruth-pillai.jpg + for_hire: true + hiring: false + portfolio: true diff --git a/docs/creators/images/amruth-pillai.png b/docs/creators/images/amruth-pillai.png new file mode 100644 index 0000000000000..77937fa6b0179 Binary files /dev/null and b/docs/creators/images/amruth-pillai.png differ
6fd8bf7abba95ae4d7d6bfdadd93e45f2cd67e49
2022-05-13 04:02:48
Tyler Barnes
fix(gatsby-source-drupal): add placeholder style name plugin option to the options schema (#35644)
false
add placeholder style name plugin option to the options schema (#35644)
fix
diff --git a/packages/gatsby-source-drupal/src/gatsby-node.js b/packages/gatsby-source-drupal/src/gatsby-node.js index 1327da92378c0..36867578415ee 100644 --- a/packages/gatsby-source-drupal/src/gatsby-node.js +++ b/packages/gatsby-source-drupal/src/gatsby-node.js @@ -847,6 +847,9 @@ exports.pluginOptionsSchema = ({ Joi }) => translatableEntities: Joi.array().items(Joi.string()).required(), nonTranslatableEntities: Joi.array().items(Joi.string()).required(), }), + placeholderStyleName: Joi.string().description( + `The machine name of the Gatsby Image CDN placeholder style in Drupal. The default is "placeholder".` + ), }) exports.onCreateDevServer = async ({ app }) => {
7bf2bdbf0de545db7c8a1b540cfffb0641a7137a
2020-10-05 15:57:30
Benedikt Rötsch
perf(gatsby-source-contentful): fix API, execute deprecations, improve performance (#27244)
false
fix API, execute deprecations, improve performance (#27244)
perf
diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index 7736a6f2fca71..8e79245344ec3 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -8,21 +8,20 @@ }, "dependencies": { "@babel/runtime": "^7.11.2", - "@contentful/rich-text-types": "^13.4.0", + "@contentful/rich-text-types": "^14.1.1", "@hapi/joi": "^15.1.1", "axios": "^0.20.0", "base64-img": "^1.0.4", "bluebird": "^3.7.2", - "chalk": "^2.4.2", + "chalk": "^4.1.0", "contentful": "^7.14.6", - "deep-map": "^1.5.0", - "fs-extra": "^8.1.0", + "fs-extra": "^9.0.1", "gatsby-core-utils": "^1.3.22", - "gatsby-plugin-sharp": "^2.6.38", "gatsby-source-filesystem": "^2.3.32", "is-online": "^8.4.0", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.20", + "progress": "^2.0.3", "qs": "^6.9.4" }, "devDependencies": { @@ -39,7 +38,8 @@ ], "license": "MIT", "peerDependencies": { - "gatsby": "^2.12.1" + "gatsby": "^2.12.1", + "gatsby-plugin-sharp": "^2.6.14" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-contentful/src/__fixtures__/starter-blog-data.js b/packages/gatsby-source-contentful/src/__fixtures__/starter-blog-data.js index eb5aeeffae201..d094eaa401c73 100644 --- a/packages/gatsby-source-contentful/src/__fixtures__/starter-blog-data.js +++ b/packages/gatsby-source-contentful/src/__fixtures__/starter-blog-data.js @@ -1,882 +1,434 @@ -exports.initialSync = { - currentSyncData: { - entries: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c15jwOBqpxqSAOy2eOO4S0m`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.487Z`, - updatedAt: `2020-04-09T10:55:54.432Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, +exports.initialSync = () => { + return { + currentSyncData: { + entries: [ + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, }, - }, - revision: 2, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `person`, - contentful_id: `person`, + id: `c31TNnjHlfaGUoMOwU0M2og`, + type: `Entry`, + createdAt: `2020-06-03T14:17:32.667Z`, + updatedAt: `2020-06-03T14:17:32.667Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, }, - }, - contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, - }, - fields: { - name: { - "en-US": `John Doe`, - }, - title: { - "en-US": `Web Developer`, - nl: `Web developer`, - }, - company: { - "en-US": `ACME`, - }, - shortBio: { - "en-US": `Research and recommendations for modern stack websites.`, - nl: `Onderzoek en aanbevelingen voor moderne stapelwebsites.`, - }, - email: { - "en-US": `[email protected]`, - }, - phone: { - "en-US": `0176 / 1234567`, - }, - facebook: { - "en-US": `johndoe`, - }, - twitter: { - "en-US": `johndoe`, - }, - github: { - "en-US": `johndoe`, - }, - image: { - "en-US": { + revision: 1, + contentType: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c7orLdboQQowIUs22KAW4U`, - type: `Asset`, - createdAt: `2020-04-09T10:53:02.132Z`, - updatedAt: `2020-04-09T10:53:02.132Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `7orLdboQQowIUs22KAW4U`, + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + contentful_id: `blogPost`, }, - fields: { - title: { - "en-US": `Sparkler`, - }, - description: { - "en-US": `John with Sparkler`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/7orLdboQQowIUs22KAW4U/d6906da78e61909fc5ad673d00da68e1/matt-palmer-254999.jpg`, - details: { - size: 2293094, - image: { - width: 3000, - height: 2000, - }, - }, - fileName: `matt-palmer-254999.jpg`, - contentType: `image/jpeg`, - }, + }, + contentful_id: `31TNnjHlfaGUoMOwU0M2og`, + }, + fields: { + title: { "en-US": `Automate with webhooks` }, + slug: { "en-US": `automate-with-webhooks` }, + heroImage: { + "en-US": { + sys: { + type: `Link`, + linkType: `Asset`, + id: `c4shwYI3POEGkw0Eg6kcyaQ`, + contentful_id: `4shwYI3POEGkw0Eg6kcyaQ`, }, }, }, - }, - }, - }, - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + description: { + "en-US": `Webhooks notify you, another person or system when resources have changed by calling a given HTTP endpoint.`, }, - }, - id: `c31TNnjHlfaGUoMOwU0M2og`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.488Z`, - updatedAt: `2020-04-09T10:53:01.488Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + body: { + "en-US": `## What are webhooks?\n\nThe webhooks are used to notify you when content has been changed. Specify a URL, configure your webhook, and we will send an HTTP POST request whenever something happens to your content.\n\n## How do I configure a webhook?\n\nGo to Settings → Webhooks from the navigation bar at the top. From there, hit Add webhook, and you will be directed to your new webhook. Then choose a name, put in the information of your HTTP endpoint (URL and authentication), specify any custom headers and select the types of events that should trigger the webhook.\n\n## Why do I get an old version in the CDA?\n\nAs the delivery API is powered by a CDN network consisting of hundreds of servers distributed across continents, it takes some time (up to a few minutes) to reflect the changes to the published content. This must be taken into consideration when reacting to webhooks. In normal conditions, there could be a reasonable delay of 2 to 5 minutes.\n\nExtracted from the [Webhooks FAQ](https://www.contentful.com/faq/webhooks/ "Webhooks FAQ").`, }, - }, - revision: 1, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `blogPost`, - contentful_id: `blogPost`, + author: { + "en-US": { + sys: { + type: `Link`, + linkType: `Entry`, + id: `c15jwOBqpxqSAOy2eOO4S0m`, + contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + }, + }, }, + publishDate: { "en-US": `2017-05-12T00:00+02:00` }, + tags: { "en-US": [`javascript`] }, }, - contentful_id: `31TNnjHlfaGUoMOwU0M2og`, }, - fields: { - title: { - "en-US": `Automate with webhooks`, - }, - slug: { - "en-US": `automate-with-webhooks`, - }, - heroImage: { - "en-US": { + { + sys: { + space: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c4shwYI3POEGkw0Eg6kcyaQ`, - type: `Asset`, - createdAt: `2020-04-09T10:53:03.759Z`, - updatedAt: `2020-04-09T10:53:03.759Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `4shwYI3POEGkw0Eg6kcyaQ`, + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, }, - fields: { - title: { - "en-US": `Man in the fields`, - }, - description: { - "en-US": `Tattooed man walking in a field`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/4shwYI3POEGkw0Eg6kcyaQ/c4cb544901e8c454265d7350c9fa565d/felix-russell-saw-112140.jpg`, - details: { - size: 4539181, - image: { - width: 2500, - height: 1667, - }, - }, - fileName: `felix-russell-saw-112140.jpg`, - contentType: `image/jpeg`, - }, - }, + }, + id: `c3K9b0esdy0q0yGqgW2g6Ke`, + type: `Entry`, + createdAt: `2020-06-03T14:17:32.289Z`, + updatedAt: `2020-06-03T14:17:32.289Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, }, }, - }, - description: { - "en-US": `Webhooks notify you, another person or system when resources have changed by calling a given HTTP endpoint.`, - }, - body: { - "en-US": `## What are webhooks?\n\nThe webhooks are used to notify you when content has been changed. Specify a URL, configure your webhook, and we will send an HTTP POST request whenever something happens to your content.\n\n## How do I configure a webhook?\n\nGo to Settings ÔåÆ Webhooks from the navigation bar at the top. From there, hit Add webhook, and you will be directed to your new webhook. Then choose a name, put in the information of your HTTP endpoint (URL and authentication), specify any custom headers and select the types of events that should trigger the webhook.\n\n## Why do I get an old version in the CDA?\n\nAs the delivery API is powered by a CDN network consisting of hundreds of servers distributed across continents, it takes some time (up to a few minutes) to reflect the changes to the published content. This must be taken into consideration when reacting to webhooks. In normal conditions, there could be a reasonable delay of 2 to 5 minutes.\n\nExtracted from the [Webhooks FAQ](https://www.contentful.com/faq/webhooks/ "Webhooks FAQ").`, - }, - author: { - "en-US": { + revision: 1, + contentType: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c15jwOBqpxqSAOy2eOO4S0m`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.487Z`, - updatedAt: `2020-04-09T10:55:54.432Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 2, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `person`, - contentful_id: `person`, - }, - }, - contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + contentful_id: `blogPost`, }, - fields: { - name: { - "en-US": `John Doe`, - }, - title: { - "en-US": `Web Developer`, - nl: `Web developer`, - }, - company: { - "en-US": `ACME`, - }, - shortBio: { - "en-US": `Research and recommendations for modern stack websites.`, - nl: `Onderzoek en aanbevelingen voor moderne stapelwebsites.`, - }, - email: { - "en-US": `[email protected]`, - }, - phone: { - "en-US": `0176 / 1234567`, - }, - facebook: { - "en-US": `johndoe`, - }, - twitter: { - "en-US": `johndoe`, - }, - github: { - "en-US": `johndoe`, - }, - image: { - "en-US": { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c7orLdboQQowIUs22KAW4U`, - type: `Asset`, - createdAt: `2020-04-09T10:53:02.132Z`, - updatedAt: `2020-04-09T10:53:02.132Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `7orLdboQQowIUs22KAW4U`, - }, - fields: { - title: { - "en-US": `Sparkler`, - }, - description: { - "en-US": `John with Sparkler`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/7orLdboQQowIUs22KAW4U/d6906da78e61909fc5ad673d00da68e1/matt-palmer-254999.jpg`, - details: { - size: 2293094, - image: { - width: 3000, - height: 2000, - }, - }, - fileName: `matt-palmer-254999.jpg`, - contentType: `image/jpeg`, - }, - }, - }, - }, + }, + contentful_id: `3K9b0esdy0q0yGqgW2g6Ke`, + }, + fields: { + title: { "en-US": `Hello world` }, + slug: { "en-US": `hello-world` }, + heroImage: { + "en-US": { + sys: { + type: `Link`, + linkType: `Asset`, + id: `c6Od9v3wzLOysiMum0Wkmme`, + contentful_id: `6Od9v3wzLOysiMum0Wkmme`, }, }, }, - }, - publishDate: { - "en-US": `2017-05-12T00:00+02:00`, - }, - tags: { - "en-US": [`javascript`], - }, - }, - }, - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + description: { + "en-US": `Your very first content with Contentful, pulled in JSON format using the Content Delivery API.`, }, - }, - id: `c3K9b0esdy0q0yGqgW2g6Ke`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.485Z`, - updatedAt: `2020-04-09T10:53:01.485Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + body: { + "en-US": `These is your very first content with Contentful, pulled in JSON format using the [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API"). Content and presentation are now decoupled, allowing you to focus your efforts in building the perfect app.\n\n## Your first steps\n\nBuilding with Contentful is easy. First take a moment to get [the basics of content modelling](https://www.contentful.com/r/knowledgebase/content-modelling-basics/ "the basics of content modelling"), which you can set up in the [Contentful Web app](https://app.contentful.com/ "Contentful Web app"). Once you get that, feel free to drop by the [Documentation](https://www.contentful.com/developers/docs/ "Documentation") to learn a bit more about how to build your app with Contentful, in particular the [API basics](https://www.contentful.com/developers/docs/concepts/apis/ "API basics") and each one of our four APIs, as shown below.\n\n### Content Delivery API\n\nThe [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API") (CDA), available at \`cdn.contentful.com\`, is a read-only API for delivering content from Contentful to apps, websites and other media. Content is delivered as JSON data, and images, videos and other media as files.\nThe API is available via a globally distributed content delivery network. The server closest to the user serves all content, both JSON and binary. This minimizes latency, which especially benefits mobile apps. Hosting content in multiple global data centers also greatly improves the availability of content.\n\n### Content Management API\n\nThe [Content Management API](https://www.contentful.com/developers/docs/references/content-management-api/ "Content Management API") (CMA), available at \`api.contentful.com\`, is a read-write API for managing content. Unlike the Content Delivery API, the management API requires you to authenticate as a Contentful user. You could use the CMA for several use cases, such as:\n* Automatic imports from different CMSes like WordPress or Drupal.\n* Integration with other backend systems, such as an e-commerce shop.\n* Building custom editing experiences. We built the [Contentful Web app](https://app.contentful.com/ "Contentful Web app") on top of this API.\n\n### Preview API\n\nThe [Content Preview API](https://www.contentful.com/developers/docs/concepts/apis/#content-preview-api "Content Preview API"), available at \`preview.contentful.com\`, is a variant of the CDA for previewing your content before delivering it to your customers. You use the Content Preview API in combination with a "preview" deployment of your website (or a "preview" build of your mobile app) that allows content managers and authors to view their work in-context, as if it were published, using a "preview" access token as though it were delivered by the CDA.\n\n### Images API\n\nThe [Images API](https://www.contentful.com/developers/docs/concepts/apis/#images-api "Images API"), available at \`images.contentful.com\`, allows you to resize and crop images, change their background color and convert them to different formats. Using our API for these transformations lets you upload high-quality assets, deliver exactly what your app needs, and still get all the benefits of our caching CDN.`, }, - }, - revision: 1, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `blogPost`, - contentful_id: `blogPost`, + author: { + "en-US": { + sys: { + type: `Link`, + linkType: `Entry`, + id: `c15jwOBqpxqSAOy2eOO4S0m`, + contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + }, + }, }, + publishDate: { "en-US": `2017-05-15T00:00+02:00` }, + tags: { "en-US": [`general`] }, }, - contentful_id: `3K9b0esdy0q0yGqgW2g6Ke`, }, - fields: { - title: { - "en-US": `Hello world`, - }, - slug: { - "en-US": `hello-world`, - }, - heroImage: { - "en-US": { + { + sys: { + space: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c6Od9v3wzLOysiMum0Wkmme`, - type: `Asset`, - createdAt: `2020-04-09T10:53:01.953Z`, - updatedAt: `2020-04-09T10:53:01.953Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `6Od9v3wzLOysiMum0Wkmme`, + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, }, - fields: { - title: { - "en-US": `Woman with black hat`, - }, - description: { - "en-US": `Woman wearing a black hat`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/6Od9v3wzLOysiMum0Wkmme/6617fbe227b7362b236fc6777c0a67bf/cameron-kirby-88711.jpg`, - details: { - size: 7316629, - image: { - width: 3000, - height: 2000, - }, - }, - fileName: `cameron-kirby-88711.jpg`, - contentType: `image/jpeg`, - }, - }, + }, + id: `c2PtC9h1YqIA6kaUaIsWEQ0`, + type: `Entry`, + createdAt: `2020-06-03T14:17:31.852Z`, + updatedAt: `2020-06-03T14:17:31.852Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, }, }, - }, - description: { - "en-US": `Your very first content with Contentful, pulled in JSON format using the Content Delivery API.`, - }, - body: { - "en-US": `These is your very first content with Contentful, pulled in JSON format using the [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API"). Content and presentation are now decoupled, allowing you to focus your efforts in building the perfect app.\n\n## Your first steps\n\nBuilding with Contentful is easy. First take a moment to get [the basics of content modelling](https://www.contentful.com/r/knowledgebase/content-modelling-basics/ "the basics of content modelling"), which you can set up in the [Contentful Web app](https://app.contentful.com/ "Contentful Web app"). Once you get that, feel free to drop by the [Documentation](https://www.contentful.com/developers/docs/ "Documentation") to learn a bit more about how to build your app with Contentful, in particular the [API basics](https://www.contentful.com/developers/docs/concepts/apis/ "API basics") and each one of our four APIs, as shown below.\n\n### Content Delivery API\n\nThe [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API") (CDA), available at \`cdn.contentful.com\`, is a read-only API for delivering content from Contentful to apps, websites and other media. Content is delivered as JSON data, and images, videos and other media as files.\nThe API is available via a globally distributed content delivery network. The server closest to the user serves all content, both JSON and binary. This minimizes latency, which especially benefits mobile apps. Hosting content in multiple global data centers also greatly improves the availability of content.\n\n### Content Management API\n\nThe [Content Management API](https://www.contentful.com/developers/docs/references/content-management-api/ "Content Management API") (CMA), available at \`api.contentful.com\`, is a read-write API for managing content. Unlike the Content Delivery API, the management API requires you to authenticate as a Contentful user. You could use the CMA for several use cases, such as:\n* Automatic imports from different CMSes like WordPress or Drupal.\n* Integration with other backend systems, such as an e-commerce shop.\n* Building custom editing experiences. We built the [Contentful Web app](https://app.contentful.com/ "Contentful Web app") on top of this API.\n\n### Preview API\n\nThe [Content Preview API](https://www.contentful.com/developers/docs/concepts/apis/#content-preview-api "Content Preview API"), available at \`preview.contentful.com\`, is a variant of the CDA for previewing your content before delivering it to your customers. You use the Content Preview API in combination with a "preview" deployment of your website (or a "preview" build of your mobile app) that allows content managers and authors to view their work in-context, as if it were published, using a "preview" access token as though it were delivered by the CDA.\n\n### Images API\n\nThe [Images API](https://www.contentful.com/developers/docs/concepts/apis/#images-api "Images API"), available at \`images.contentful.com\`, allows you to resize and crop images, change their background color and convert them to different formats. Using our API for these transformations lets you upload high-quality assets, deliver exactly what your app needs, and still get all the benefits of our caching CDN.`, - }, - author: { - "en-US": { + revision: 1, + contentType: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c15jwOBqpxqSAOy2eOO4S0m`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.487Z`, - updatedAt: `2020-04-09T10:55:54.432Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 2, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `person`, - contentful_id: `person`, - }, - }, - contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + contentful_id: `blogPost`, }, - fields: { - name: { - "en-US": `John Doe`, - }, - title: { - "en-US": `Web Developer`, - nl: `Web developer`, - }, - company: { - "en-US": `ACME`, - }, - shortBio: { - "en-US": `Research and recommendations for modern stack websites.`, - nl: `Onderzoek en aanbevelingen voor moderne stapelwebsites.`, - }, - email: { - "en-US": `[email protected]`, - }, - phone: { - "en-US": `0176 / 1234567`, - }, - facebook: { - "en-US": `johndoe`, - }, - twitter: { - "en-US": `johndoe`, - }, - github: { - "en-US": `johndoe`, - }, - image: { - "en-US": { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c7orLdboQQowIUs22KAW4U`, - type: `Asset`, - createdAt: `2020-04-09T10:53:02.132Z`, - updatedAt: `2020-04-09T10:53:02.132Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `7orLdboQQowIUs22KAW4U`, - }, - fields: { - title: { - "en-US": `Sparkler`, - }, - description: { - "en-US": `John with Sparkler`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/7orLdboQQowIUs22KAW4U/d6906da78e61909fc5ad673d00da68e1/matt-palmer-254999.jpg`, - details: { - size: 2293094, - image: { - width: 3000, - height: 2000, - }, - }, - fileName: `matt-palmer-254999.jpg`, - contentType: `image/jpeg`, - }, - }, - }, - }, + }, + contentful_id: `2PtC9h1YqIA6kaUaIsWEQ0`, + }, + fields: { + title: { "en-US": `Static sites are great` }, + slug: { "en-US": `static-sites-are-great` }, + heroImage: { + "en-US": { + sys: { + type: `Link`, + linkType: `Asset`, + id: `c4NzwDSDlGECGIiokKomsyI`, + contentful_id: `4NzwDSDlGECGIiokKomsyI`, }, }, }, - }, - publishDate: { - "en-US": `2017-05-15T00:00+02:00`, - }, - tags: { - "en-US": [`general`], - }, - }, - }, - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + description: { + "en-US": `Worry less about security, caching, and talking to the server. Static sites are the new thing.`, }, - }, - id: `c2PtC9h1YqIA6kaUaIsWEQ0`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.483Z`, - updatedAt: `2020-04-09T10:53:01.483Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + body: { + "en-US": `## The case for the static site generator\n\nMore and more developers are jumping on the "go static train", and rightfully so. Static pages are fast, lightweight, they scale well. They are more secure, and simple to maintain and they allow you to focus all your time and effort on the user interface. Often times, this dedication really shows.\n\nIt just so happens that static site generators are mostly loved by developers, but not by the average Joe. They do not offer WYSIWYG, previewing on demo sites may take an update cycle, they are often based on markdown text files, and they require some knowledge of modern day repositories.\n\nMoreover, when teams are collaborating, it can get complicated quickly. Has this article already been proof-read or reviewed? Is this input valid? Are user permissions available, e.g. for administering adding and removing team members? Can this article be published at a future date? How can a large repository of content be categorized, organized, and searched? All these requirements have previously been more or less solved within the admin area of your CMS. But of course with all the baggage that made you leave the appserver-app-database-in-one-big-blob stack in the first place.\n\n## Content APIs to the rescue\n\nAn alternative is decoupling the content management aspect from the system. And then replacing the maintenance prone server with a cloud based web service offering. Effectively, instead of your CMS of old, you move to a [Content Management as a Service (CMaaS)](https://www.contentful.com/r/knowledgebase/content-as-a-service/ "Content Management as a Service (CMaaS)") world, with a content API to deliver all your content. That way, you get the all the [benefits of content management features](http://www.digett.com/blog/01/16/2014/pairing-static-websites-cms "benefits of content management features") while still being able to embrace the static site generator mantra.\n\nIt so happens that Contentful is offering just that kind of content API. A service that\n\n* from the ground up has been designed to be fast, scalable, secure, and offer high uptime, so that you don’t have to worry about maintenance ever again.\n* offers a powerful editor and lots of flexibility in creating templates for your documents that your editors can reuse and combine, so that no developers resources are required in everyday writing and updating tasks.\n* separates content from presentation, so you can reuse your content repository for any device platform your heart desires. That way, you can COPE ("create once, publish everywhere").\n* offers webhooks that you can use to rebuild your static site in a fully automated fashion every time your content is modified.\n\nExtracted from the article [CMS-functionality for static site generators](https://www.contentful.com/r/knowledgebase/contentful-api-cms-static-site-generators/ "CMS-functionality for static site generators"). Read more about the [static site generators supported by Contentful](https://www.contentful.com/developers/docs/tools/staticsitegenerators/ "static site generators supported by Contentful").`, }, - }, - revision: 1, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `blogPost`, - contentful_id: `blogPost`, + author: { + "en-US": { + sys: { + type: `Link`, + linkType: `Entry`, + id: `c15jwOBqpxqSAOy2eOO4S0m`, + contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + }, + }, }, + publishDate: { "en-US": `2017-05-16T00:00+02:00` }, + tags: { "en-US": [`javascript`, `static-sites`] }, }, - contentful_id: `2PtC9h1YqIA6kaUaIsWEQ0`, }, - fields: { - title: { - "en-US": `Static sites are great`, - }, - slug: { - "en-US": `static-sites-are-great`, - }, - heroImage: { - "en-US": { + { + sys: { + space: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c4NzwDSDlGECGIiokKomsyI`, - type: `Asset`, - createdAt: `2020-04-09T10:53:01.941Z`, - updatedAt: `2020-04-09T10:53:01.941Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `4NzwDSDlGECGIiokKomsyI`, + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, }, - fields: { - title: { - "en-US": `City`, - }, - description: { - "en-US": `City pictured from the sky`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/4NzwDSDlGECGIiokKomsyI/c3745babd5d75655d1ce71d8a79b5986/denys-nevozhai-100695.jpg`, - details: { - size: 15736986, - image: { - width: 3992, - height: 2992, - }, - }, - fileName: `denys-nevozhai-100695.jpg`, - contentType: `image/jpeg`, - }, - }, + }, + id: `c15jwOBqpxqSAOy2eOO4S0m`, + type: `Entry`, + createdAt: `2020-06-03T14:17:31.246Z`, + updatedAt: `2020-06-03T14:17:31.246Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, }, }, - }, - description: { - "en-US": `Worry less about security, caching, and talking to the server. Static sites are the new thing.`, - }, - body: { - "en-US": `## The case for the static site generator\n\nMore and more developers are jumping on the "go static train", and rightfully so. Static pages are fast, lightweight, they scale well. They are more secure, and simple to maintain and they allow you to focus all your time and effort on the user interface. Often times, this dedication really shows.\n\nIt just so happens that static site generators are mostly loved by developers, but not by the average Joe. They do not offer WYSIWYG, previewing on demo sites may take an update cycle, they are often based on markdown text files, and they require some knowledge of modern day repositories.\n\nMoreover, when teams are collaborating, it can get complicated quickly. Has this article already been proof-read or reviewed? Is this input valid? Are user permissions available, e.g. for administering adding and removing team members? Can this article be published at a future date? How can a large repository of content be categorized, organized, and searched? All these requirements have previously been more or less solved within the admin area of your CMS. But of course with all the baggage that made you leave the appserver-app-database-in-one-big-blob stack in the first place.\n\n## Content APIs to the rescue\n\nAn alternative is decoupling the content management aspect from the system. And then replacing the maintenance prone server with a cloud based web service offering. Effectively, instead of your CMS of old, you move to a [Content Management as a Service (CMaaS)](https://www.contentful.com/r/knowledgebase/content-as-a-service/ "Content Management as a Service (CMaaS)") world, with a content API to deliver all your content. That way, you get the all the [benefits of content management features](http://www.digett.com/blog/01/16/2014/pairing-static-websites-cms "benefits of content management features") while still being able to embrace the static site generator mantra.\n\nIt so happens that Contentful is offering just that kind of content API. A service that\n\n* from the ground up has been designed to be fast, scalable, secure, and offer high uptime, so that you donÔÇÖt have to worry about maintenance ever again.\n* offers a powerful editor and lots of flexibility in creating templates for your documents that your editors can reuse and combine, so that no developers resources are required in everyday writing and updating tasks.\n* separates content from presentation, so you can reuse your content repository for any device platform your heart desires. That way, you can COPE ("create once, publish everywhere").\n* offers webhooks that you can use to rebuild your static site in a fully automated fashion every time your content is modified.\n\nExtracted from the article [CMS-functionality for static site generators](https://www.contentful.com/r/knowledgebase/contentful-api-cms-static-site-generators/ "CMS-functionality for static site generators"). Read more about the [static site generators supported by Contentful](https://www.contentful.com/developers/docs/tools/staticsitegenerators/ "static site generators supported by Contentful").`, - }, - author: { - "en-US": { + revision: 1, + contentType: { sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c15jwOBqpxqSAOy2eOO4S0m`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.487Z`, - updatedAt: `2020-04-09T10:55:54.432Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 2, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `person`, - contentful_id: `person`, - }, - }, - contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + type: `Link`, + linkType: `ContentType`, + id: `person`, + contentful_id: `person`, }, - fields: { - name: { - "en-US": `John Doe`, - }, - title: { - "en-US": `Web Developer`, - nl: `Web developer`, - }, - company: { - "en-US": `ACME`, - }, - shortBio: { - "en-US": `Research and recommendations for modern stack websites.`, - nl: `Onderzoek en aanbevelingen voor moderne stapelwebsites.`, - }, - email: { - "en-US": `[email protected]`, - }, - phone: { - "en-US": `0176 / 1234567`, - }, - facebook: { - "en-US": `johndoe`, - }, - twitter: { - "en-US": `johndoe`, - }, - github: { - "en-US": `johndoe`, - }, - image: { - "en-US": { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c7orLdboQQowIUs22KAW4U`, - type: `Asset`, - createdAt: `2020-04-09T10:53:02.132Z`, - updatedAt: `2020-04-09T10:53:02.132Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `7orLdboQQowIUs22KAW4U`, - }, - fields: { - title: { - "en-US": `Sparkler`, - }, - description: { - "en-US": `John with Sparkler`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/7orLdboQQowIUs22KAW4U/d6906da78e61909fc5ad673d00da68e1/matt-palmer-254999.jpg`, - details: { - size: 2293094, - image: { - width: 3000, - height: 2000, - }, - }, - fileName: `matt-palmer-254999.jpg`, - contentType: `image/jpeg`, - }, - }, - }, - }, + }, + contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + }, + fields: { + name: { "en-US": `John Doe` }, + title: { "en-US": `Web Developer` }, + company: { "en-US": `ACME` }, + shortBio: { + "en-US": `Research and recommendations for modern stack websites.`, + }, + email: { "en-US": `[email protected]` }, + phone: { "en-US": `0176 / 1234567` }, + facebook: { "en-US": `johndoe` }, + twitter: { "en-US": `johndoe` }, + github: { "en-US": `johndoe` }, + image: { + "en-US": { + sys: { + type: `Link`, + linkType: `Asset`, + id: `c7orLdboQQowIUs22KAW4U`, + contentful_id: `7orLdboQQowIUs22KAW4U`, }, }, }, }, - publishDate: { - "en-US": `2017-05-16T00:00+02:00`, - }, - tags: { - "en-US": [`javascript`, `static-sites`], - }, }, - }, - ], - assets: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + ], + assets: [ + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, }, - }, - id: `c4shwYI3POEGkw0Eg6kcyaQ`, - type: `Asset`, - createdAt: `2020-04-09T10:53:03.759Z`, - updatedAt: `2020-04-09T10:53:03.759Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + id: `c6Od9v3wzLOysiMum0Wkmme`, + type: `Asset`, + createdAt: `2020-06-03T14:17:27.525Z`, + updatedAt: `2020-06-03T14:17:27.525Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + contentful_id: `6Od9v3wzLOysiMum0Wkmme`, + }, + fields: { + title: { "en-US": `Woman with black hat` }, + description: { "en-US": `Woman wearing a black hat` }, + file: { + "en-US": { + url: `//images.ctfassets.net/uzfinxahlog0/6Od9v3wzLOysiMum0Wkmme/d261929fcaffdd2e676d450fc519decf/cameron-kirby-88711.jpg`, + details: { + size: 7316629, + image: { width: 3000, height: 2000 }, + }, + fileName: `cameron-kirby-88711.jpg`, + contentType: `image/jpeg`, + }, }, }, - revision: 1, - contentful_id: `4shwYI3POEGkw0Eg6kcyaQ`, }, - fields: { - title: { - "en-US": `Man in the fields`, - }, - description: { - "en-US": `Tattooed man walking in a field`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/4shwYI3POEGkw0Eg6kcyaQ/c4cb544901e8c454265d7350c9fa565d/felix-russell-saw-112140.jpg`, - details: { - size: 4539181, - image: { - width: 2500, - height: 1667, - }, + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + id: `c4NzwDSDlGECGIiokKomsyI`, + type: `Asset`, + createdAt: `2020-06-03T14:17:27.247Z`, + updatedAt: `2020-06-03T14:17:27.247Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + contentful_id: `4NzwDSDlGECGIiokKomsyI`, + }, + fields: { + title: { "en-US": `City` }, + description: { "en-US": `City pictured from the sky` }, + file: { + "en-US": { + url: `//images.ctfassets.net/uzfinxahlog0/4NzwDSDlGECGIiokKomsyI/f763654f90472d84e928b653a6741c05/denys-nevozhai-100695.jpg`, + details: { + size: 15736986, + image: { width: 3992, height: 2992 }, + }, + fileName: `denys-nevozhai-100695.jpg`, + contentType: `image/jpeg`, }, - fileName: `felix-russell-saw-112140.jpg`, - contentType: `image/jpeg`, }, }, }, - }, - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, }, - }, - id: `c7orLdboQQowIUs22KAW4U`, - type: `Asset`, - createdAt: `2020-04-09T10:53:02.132Z`, - updatedAt: `2020-04-09T10:53:02.132Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + id: `c4shwYI3POEGkw0Eg6kcyaQ`, + type: `Asset`, + createdAt: `2020-06-03T14:17:26.971Z`, + updatedAt: `2020-06-03T14:17:26.971Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + contentful_id: `4shwYI3POEGkw0Eg6kcyaQ`, + }, + fields: { + title: { "en-US": `Man in the fields` }, + description: { "en-US": `Tattooed man walking in a field` }, + file: { + "en-US": { + url: `//images.ctfassets.net/uzfinxahlog0/4shwYI3POEGkw0Eg6kcyaQ/48c44bb6ebb52013dd14addd25725a76/felix-russell-saw-112140.jpg`, + details: { + size: 4539181, + image: { width: 2500, height: 1667 }, + }, + fileName: `felix-russell-saw-112140.jpg`, + contentType: `image/jpeg`, + }, }, }, - revision: 1, - contentful_id: `7orLdboQQowIUs22KAW4U`, }, - fields: { - title: { - "en-US": `Sparkler`, - }, - description: { - "en-US": `John with Sparkler`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/7orLdboQQowIUs22KAW4U/d6906da78e61909fc5ad673d00da68e1/matt-palmer-254999.jpg`, - details: { - size: 2293094, - image: { - width: 3000, - height: 2000, - }, + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + id: `c7orLdboQQowIUs22KAW4U`, + type: `Asset`, + createdAt: `2020-06-03T14:17:26.685Z`, + updatedAt: `2020-06-03T14:17:26.685Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + contentful_id: `7orLdboQQowIUs22KAW4U`, + }, + fields: { + title: { "en-US": `Sparkler` }, + description: { "en-US": `John with Sparkler` }, + file: { + "en-US": { + url: `//images.ctfassets.net/uzfinxahlog0/7orLdboQQowIUs22KAW4U/c0f07c92d9eb36b73c883681e639441c/matt-palmer-254999.jpg`, + details: { + size: 2293094, + image: { width: 3000, height: 2000 }, + }, + fileName: `matt-palmer-254999.jpg`, + contentType: `image/jpeg`, }, - fileName: `matt-palmer-254999.jpg`, - contentType: `image/jpeg`, }, }, }, - }, + ], + deletedEntries: [], + deletedAssets: [], + nextSyncToken: `FEnChMOBwr1Yw 4TCqsK2LcKpCH3CjsORIyLDrGbDtgozw6xreMKCwpjCtlxATw3CswoUY34WECLCh152KsOLQcKwH8Kfw4kOQcOlw6TCr8OmEcKiwrhBZ8KhwrLCrcOsA8KYAMOFwo1kBMOZwrHDgCbDllcXVA`, + }, + contentTypeItems: [ { sys: { space: { @@ -887,10 +439,10 @@ exports.initialSync = { contentful_id: `uzfinxahlog0`, }, }, - id: `c6Od9v3wzLOysiMum0Wkmme`, - type: `Asset`, - createdAt: `2020-04-09T10:53:01.953Z`, - updatedAt: `2020-04-09T10:53:01.953Z`, + id: `person`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:18.696Z`, + updatedAt: `2020-06-03T14:17:18.696Z`, environment: { sys: { id: `master`, @@ -900,30 +452,104 @@ exports.initialSync = { }, }, revision: 1, - contentful_id: `6Od9v3wzLOysiMum0Wkmme`, - }, - fields: { - title: { - "en-US": `Woman with black hat`, - }, - description: { - "en-US": `Woman wearing a black hat`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/6Od9v3wzLOysiMum0Wkmme/6617fbe227b7362b236fc6777c0a67bf/cameron-kirby-88711.jpg`, - details: { - size: 7316629, - image: { - width: 3000, - height: 2000, - }, - }, - fileName: `cameron-kirby-88711.jpg`, - contentType: `image/jpeg`, - }, + contentful_id: `person`, + }, + displayField: `name`, + name: `Person`, + description: ``, + fields: [ + { + id: `name`, + name: `Name`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `company`, + name: `Company`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `shortBio`, + name: `Short Bio`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `email`, + name: `Email`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `phone`, + name: `Phone`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `facebook`, + name: `Facebook`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `twitter`, + name: `Twitter`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `github`, + name: `Github`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `image`, + name: `Image`, + type: `Link`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Asset`, }, - }, + ], }, { sys: { @@ -935,10 +561,10 @@ exports.initialSync = { contentful_id: `uzfinxahlog0`, }, }, - id: `c4NzwDSDlGECGIiokKomsyI`, - type: `Asset`, - createdAt: `2020-04-09T10:53:01.941Z`, - updatedAt: `2020-04-09T10:53:01.941Z`, + id: `blogPost`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:19.068Z`, + updatedAt: `2020-06-03T14:17:19.068Z`, environment: { sys: { id: `master`, @@ -948,324 +574,254 @@ exports.initialSync = { }, }, revision: 1, - contentful_id: `4NzwDSDlGECGIiokKomsyI`, - }, - fields: { - title: { - "en-US": `City`, - }, - description: { - "en-US": `City pictured from the sky`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/4NzwDSDlGECGIiokKomsyI/c3745babd5d75655d1ce71d8a79b5986/denys-nevozhai-100695.jpg`, - details: { - size: 15736986, - image: { - width: 3992, - height: 2992, - }, - }, - fileName: `denys-nevozhai-100695.jpg`, - contentType: `image/jpeg`, - }, - }, - }, - }, - ], - deletedEntries: [], - deletedAssets: [], - nextSyncToken: `wrXDkijCgsOuTgwXKDbCk8KiwqbCjmTDo0zCn0zCjMKdFsO5w5zCmFIhwpdnSGJFWl_Cn0DCvsKOSlzDqMKIC8KpwqPDucOKw43CmVbDvsKtPGdXw40MwqNccVvCscOkwqPDssOMAsKKwpxqM3cZBHBew7XDtMO5UQ`, - }, - contentTypeItems: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `blogPost`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.586Z`, - updatedAt: `2020-04-09T10:52:57.586Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `blogPost`, - }, - displayField: `title`, - name: `Blog Post`, - description: null, - fields: [ - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `slug`, - name: `Slug`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `heroImage`, - name: `Hero Image`, - type: `Link`, - localized: false, - required: true, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - { - id: `description`, - name: `Description`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `body`, - name: `Body`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `author`, - name: `Author`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Entry`, - }, - { - id: `publishDate`, - name: `Publish Date`, - type: `Date`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `tags`, - name: `Tags`, - type: `Array`, - localized: false, - required: false, - disabled: false, - omitted: false, - items: { + contentful_id: `blogPost`, + }, + displayField: `title`, + name: `Blog Post`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, type: `Symbol`, - validations: [ - { - in: [`general`, `javascript`, `static-sites`], - }, - ], - }, - }, - ], - }, - { - sys: { - space: { - sys: { + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `heroImage`, + name: `Hero Image`, type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `person`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.596Z`, - updatedAt: `2020-04-09T10:54:43.408Z`, - environment: { - sys: { - id: `master`, + localized: false, + required: true, + disabled: false, + omitted: false, + linkType: `Asset`, + }, + { + id: `description`, + name: `Description`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `body`, + name: `Body`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `author`, + name: `Author`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Entry`, + }, + { + id: `publishDate`, + name: `Publish Date`, + type: `Date`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `tags`, + name: `Tags`, + type: `Array`, + localized: false, + required: false, + disabled: false, + omitted: false, + items: { + type: `Symbol`, + validations: [{ in: [`general`, `javascript`, `static-sites`] }], + }, }, - }, - revision: 2, - contentful_id: `person`, + ], }, - displayField: `name`, - name: `Person`, - description: null, - fields: [ - { - id: `name`, - name: `Name`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `company`, - name: `Company`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `shortBio`, - name: `Short Bio`, - type: `Text`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `email`, - name: `Email`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `phone`, - name: `Phone`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `facebook`, - name: `Facebook`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `twitter`, - name: `Twitter`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `github`, - name: `Github`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `image`, - name: `Image`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - ], - }, - ], - defaultLocale: `en-US`, - locales: [ - { - code: `en-US`, - name: `English (United States)`, - default: true, - fallbackCode: null, - sys: { - id: `1uSElBQA68GRKF30tpTxxT`, - type: `Locale`, - version: 1, - }, - }, - { - code: `nl`, - name: `Dutch`, - default: false, - fallbackCode: `en-US`, - sys: { - id: `2T7M2OzIrvE8cOCOF1HMuY`, - type: `Locale`, - version: 1, - }, - }, - ], - space: { - sys: { - type: `Space`, - id: `uzfinxahlog0`, - }, - name: `gatsby-test`, + ], + defaultLocale: `en-US`, locales: [ { code: `en-US`, - default: true, name: `English (United States)`, + default: true, fallbackCode: null, + sys: { + id: `1uSElBQA68GRKF30tpTxxT`, + type: `Locale`, + version: 1, + }, }, { code: `nl`, - default: false, name: `Dutch`, + default: false, fallbackCode: `en-US`, + sys: { + id: `2T7M2OzIrvE8cOCOF1HMuY`, + type: `Locale`, + version: 1, + }, }, ], - }, + space: { + sys: { type: `Space`, id: `uzfinxahlog0` }, + name: `Starter Gatsby Blog`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + { + code: `nl`, + default: false, + name: `Dutch`, + fallbackCode: `en-US`, + }, + ], + }, + } } -exports.createBlogPost = { - currentSyncData: { - entries: [ +exports.createBlogPost = () => { + return { + currentSyncData: { + entries: [ + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + id: `c1dHS3UzOqupJZY7AyeDc6s`, + type: `Entry`, + createdAt: `2020-06-03T14:22:37.720Z`, + updatedAt: `2020-06-03T14:22:37.720Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + contentType: { + sys: { + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + contentful_id: `blogPost`, + }, + }, + contentful_id: `1dHS3UzOqupJZY7AyeDc6s`, + }, + fields: { + title: { "en-US": `Integration tests` }, + slug: { "en-US": `integration-tests` }, + heroImage: { + "en-US": { + sys: { + type: `Link`, + linkType: `Asset`, + id: `c1aaRo2sQbdfWnG8iNvnkH3`, + contentful_id: `1aaRo2sQbdfWnG8iNvnkH3`, + }, + }, + }, + description: { + "en-US": `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris et nisl eget dolor consequat vulputate. Duis a turpis sit amet turpis tincidunt imperdiet eget ac magna. Vestibulum aliquam id nisi nec consequat. Maecenas imperdiet sem ut pharetra vehicula. Fusce tristique luctus ex a porttitor. Duis blandit rutrum dui eu finibus. Etiam consequat nec tellus ut lacinia. Morbi a tempor purus. Donec sit amet consequat augue, nec interdum nulla. Vivamus urna sapien, luctus eget lectus non, malesuada dapibus purus. Nulla cursus commodo nunc. Mauris sapien est, pharetra vel fermentum in, pulvinar ut magna. Nunc sapien justo, sollicitudin ac tortor vel, tristique dictum quam.`, + }, + body: { + "en-US": `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris et nisl eget dolor consequat vulputate. Duis a turpis sit amet turpis tincidunt imperdiet eget ac magna. Vestibulum aliquam id nisi nec consequat. Maecenas imperdiet sem ut pharetra vehicula. Fusce tristique luctus ex a porttitor. Duis blandit rutrum dui eu finibus. Etiam consequat nec tellus ut lacinia. Morbi a tempor purus. Donec sit amet consequat augue, nec interdum nulla. Vivamus urna sapien, luctus eget lectus non, malesuada dapibus purus. Nulla cursus commodo nunc. Mauris sapien est, pharetra vel fermentum in, pulvinar ut magna. Nunc sapien justo, sollicitudin ac tortor vel, tristique dictum quam.\n\nEtiam a imperdiet massa, sit amet sodales arcu. In risus ex, venenatis vitae vestibulum at, cursus sed urna. Phasellus cursus finibus suscipit. Fusce scelerisque felis commodo nulla vehicula faucibus. Nullam magna mi, fermentum sed mauris at, condimentum sagittis risus. Maecenas rutrum condimentum nisl. Pellentesque ut tortor tortor. In venenatis congue justo, id condimentum leo. Maecenas sed accumsan magna, ac condimentum dui. Aliquam a dapibus turpis. Etiam laoreet vel dui eget ultricies. Proin nec elit odio.`, + }, + author: { + "en-US": { + sys: { + type: `Link`, + linkType: `Entry`, + id: `c15jwOBqpxqSAOy2eOO4S0m`, + contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + }, + }, + }, + publishDate: { "en-US": `2020-04-01T00:00+02:00` }, + }, + }, + ], + assets: [ + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + id: `c1aaRo2sQbdfWnG8iNvnkH3`, + type: `Asset`, + createdAt: `2020-06-03T14:22:35.102Z`, + updatedAt: `2020-06-03T14:22:35.102Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + contentful_id: `1aaRo2sQbdfWnG8iNvnkH3`, + }, + fields: { + title: { "en-US": `Dummy image` }, + description: { "en-US": `Just a dummy image` }, + file: { + "en-US": { + url: `//images.ctfassets.net/uzfinxahlog0/1aaRo2sQbdfWnG8iNvnkH3/4b70303a3989c92bdc09870a00d294a8/Gatsby_Monogram.png`, + details: { size: 77907, image: { width: 2000, height: 2000 } }, + fileName: `Gatsby_Monogram.png`, + contentType: `image/png`, + }, + }, + }, + }, + ], + deletedEntries: [], + deletedAssets: [], + nextSyncToken: `FEnChMOBwr1Yw4TCqsK2LcKpCH3CjsORIyLDrGbDtgozw6xreMKCwpjCtlxATw0YQMOfwrtZBsOQw41ww7xhJj8Ew4TChcOow6ZPPVVZaMOfOlFEwp7CpcOxwpd_YcKBw5jCkznDgMO6w4lsw73CrcOmwpILwqTClg`, + }, + contentTypeItems: [ { sys: { space: { @@ -1276,10 +832,10 @@ exports.createBlogPost = { contentful_id: `uzfinxahlog0`, }, }, - id: `c2XTZRrfbMRcfdyFSo4mrOR`, - type: `Entry`, - createdAt: `2020-04-09T10:59:16.604Z`, - updatedAt: `2020-04-09T10:59:16.604Z`, + id: `person`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:18.696Z`, + updatedAt: `2020-06-03T14:17:18.696Z`, environment: { sys: { id: `master`, @@ -1289,96 +845,105 @@ exports.createBlogPost = { }, }, revision: 1, - contentType: { - sys: { - type: `Link`, - linkType: `ContentType`, - id: `blogPost`, - contentful_id: `blogPost`, - }, - }, - contentful_id: `2XTZRrfbMRcfdyFSo4mrOR`, - }, - fields: { - title: { - "en-US": `Integration tests`, - }, - slug: { - "en-US": `integration-tests`, - }, - heroImage: { - "en-US": { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `c21xFOvxOk9guLHTakpnezz`, - type: `Asset`, - createdAt: `2020-04-09T10:59:13.259Z`, - updatedAt: `2020-04-09T10:59:13.259Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `21xFOvxOk9guLHTakpnezz`, - }, - fields: { - title: { - "en-US": `Dummy image`, - }, - description: { - "en-US": `Just a dummy image`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/21xFOvxOk9guLHTakpnezz/11442938f3ed3db99680c78d69e256c4/dummy.jpg`, - details: { - size: 617491, - image: { - width: 2133, - height: 1200, - }, - }, - fileName: `dummy.jpg`, - contentType: `image/jpeg`, - }, - }, - }, - }, - }, - description: { - "en-US": `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris et nisl eget dolor consequat vulputate. Duis a turpis sit amet turpis tincidunt imperdiet eget ac magna. Vestibulum aliquam id nisi nec consequat. Maecenas imperdiet sem ut pharetra vehicula. Fusce tristique luctus ex a porttitor. Duis blandit rutrum dui eu finibus. Etiam consequat nec tellus ut lacinia. Morbi a tempor purus. Donec sit amet consequat augue, nec interdum nulla. Vivamus urna sapien, luctus eget lectus non, malesuada dapibus purus. Nulla cursus commodo nunc. Mauris sapien est, pharetra vel fermentum in, pulvinar ut magna. Nunc sapien justo, sollicitudin ac tortor vel, tristique dictum quam.`, - }, - body: { - "en-US": `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris et nisl eget dolor consequat vulputate. Duis a turpis sit amet turpis tincidunt imperdiet eget ac magna. Vestibulum aliquam id nisi nec consequat. Maecenas imperdiet sem ut pharetra vehicula. Fusce tristique luctus ex a porttitor. Duis blandit rutrum dui eu finibus. Etiam consequat nec tellus ut lacinia. Morbi a tempor purus. Donec sit amet consequat augue, nec interdum nulla. Vivamus urna sapien, luctus eget lectus non, malesuada dapibus purus. Nulla cursus commodo nunc. Mauris sapien est, pharetra vel fermentum in, pulvinar ut magna. Nunc sapien justo, sollicitudin ac tortor vel, tristique dictum quam.\n\nEtiam a imperdiet massa, sit amet sodales arcu. In risus ex, venenatis vitae vestibulum at, cursus sed urna. Phasellus cursus finibus suscipit. Fusce scelerisque felis commodo nulla vehicula faucibus. Nullam magna mi, fermentum sed mauris at, condimentum sagittis risus. Maecenas rutrum condimentum nisl. Pellentesque ut tortor tortor. In venenatis congue justo, id condimentum leo. Maecenas sed accumsan magna, ac condimentum dui. Aliquam a dapibus turpis. Etiam laoreet vel dui eget ultricies. Proin nec elit odio.`, - }, - author: { - "en-US": { - sys: { - type: `Link`, - linkType: `Entry`, - id: `c15jwOBqpxqSAOy2eOO4S0m`, - contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, - }, - }, - }, - publishDate: { - "en-US": `2020-04-01T00:00+00:00`, + contentful_id: `person`, + }, + displayField: `name`, + name: `Person`, + description: ``, + fields: [ + { + id: `name`, + name: `Name`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `company`, + name: `Company`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `shortBio`, + name: `Short Bio`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `email`, + name: `Email`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `phone`, + name: `Phone`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `facebook`, + name: `Facebook`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `twitter`, + name: `Twitter`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `github`, + name: `Github`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `image`, + name: `Image`, + type: `Link`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Asset`, }, - }, + ], }, - ], - assets: [ { sys: { space: { @@ -1389,10 +954,10 @@ exports.createBlogPost = { contentful_id: `uzfinxahlog0`, }, }, - id: `c21xFOvxOk9guLHTakpnezz`, - type: `Asset`, - createdAt: `2020-04-09T10:59:13.259Z`, - updatedAt: `2020-04-09T10:59:13.259Z`, + id: `blogPost`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:19.068Z`, + updatedAt: `2020-06-03T14:17:19.068Z`, environment: { sys: { id: `master`, @@ -1402,324 +967,215 @@ exports.createBlogPost = { }, }, revision: 1, - contentful_id: `21xFOvxOk9guLHTakpnezz`, - }, - fields: { - title: { - "en-US": `Dummy image`, - }, - description: { - "en-US": `Just a dummy image`, - }, - file: { - "en-US": { - url: `//images.ctfassets.net/uzfinxahlog0/21xFOvxOk9guLHTakpnezz/11442938f3ed3db99680c78d69e256c4/dummy.jpg`, - details: { - size: 617491, - image: { - width: 2133, - height: 1200, - }, - }, - fileName: `dummy.jpg`, - contentType: `image/jpeg`, - }, - }, - }, - }, - ], - deletedEntries: [], - deletedAssets: [], - nextSyncToken: `wrXDkijCgsOuTgwXKDbCk8KiwqbCjmTDo0zCn0zCjMKdFsO5w5zCmFIhwpdnSGJFBhDDtTrCs8KPw6bCrQ3CssKIwo0Gw7BNN13DsMKYw4zDuUrClcOGb8Ouw4nDjGJAMRbDihVjTEgub8OpUMO2dR8Pc8O0wpw`, - }, - contentTypeItems: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `blogPost`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.586Z`, - updatedAt: `2020-04-09T10:52:57.586Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `blogPost`, - }, - displayField: `title`, - name: `Blog Post`, - description: null, - fields: [ - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `slug`, - name: `Slug`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `heroImage`, - name: `Hero Image`, - type: `Link`, - localized: false, - required: true, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - { - id: `description`, - name: `Description`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `body`, - name: `Body`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `author`, - name: `Author`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Entry`, - }, - { - id: `publishDate`, - name: `Publish Date`, - type: `Date`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `tags`, - name: `Tags`, - type: `Array`, - localized: false, - required: false, - disabled: false, - omitted: false, - items: { + contentful_id: `blogPost`, + }, + displayField: `title`, + name: `Blog Post`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, type: `Symbol`, - validations: [ - { - in: [`general`, `javascript`, `static-sites`], - }, - ], - }, - }, - ], - }, - { - sys: { - space: { - sys: { + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `heroImage`, + name: `Hero Image`, type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `person`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.596Z`, - updatedAt: `2020-04-09T10:54:43.408Z`, - environment: { - sys: { - id: `master`, + localized: false, + required: true, + disabled: false, + omitted: false, + linkType: `Asset`, + }, + { + id: `description`, + name: `Description`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `body`, + name: `Body`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `author`, + name: `Author`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Entry`, + }, + { + id: `publishDate`, + name: `Publish Date`, + type: `Date`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `tags`, + name: `Tags`, + type: `Array`, + localized: false, + required: false, + disabled: false, + omitted: false, + items: { + type: `Symbol`, + validations: [{ in: [`general`, `javascript`, `static-sites`] }], + }, }, - }, - revision: 2, - contentful_id: `person`, - }, - displayField: `name`, - name: `Person`, - description: null, - fields: [ - { - id: `name`, - name: `Name`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `company`, - name: `Company`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `shortBio`, - name: `Short Bio`, - type: `Text`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `email`, - name: `Email`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `phone`, - name: `Phone`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `facebook`, - name: `Facebook`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `twitter`, - name: `Twitter`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `github`, - name: `Github`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `image`, - name: `Image`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - ], - }, - ], - defaultLocale: `en-US`, - locales: [ - { - code: `en-US`, - name: `English (United States)`, - default: true, - fallbackCode: null, - sys: { - id: `1uSElBQA68GRKF30tpTxxT`, - type: `Locale`, - version: 1, - }, - }, - { - code: `nl`, - name: `Dutch`, - default: false, - fallbackCode: `en-US`, - sys: { - id: `2T7M2OzIrvE8cOCOF1HMuY`, - type: `Locale`, - version: 1, + ], }, - }, - ], - space: { - sys: { - type: `Space`, - id: `uzfinxahlog0`, - }, - name: `gatsby-test`, + ], + defaultLocale: `en-US`, locales: [ { code: `en-US`, - default: true, name: `English (United States)`, + default: true, fallbackCode: null, + sys: { + id: `1uSElBQA68GRKF30tpTxxT`, + type: `Locale`, + version: 1, + }, }, { code: `nl`, - default: false, name: `Dutch`, + default: false, fallbackCode: `en-US`, + sys: { + id: `2T7M2OzIrvE8cOCOF1HMuY`, + type: `Locale`, + version: 1, + }, }, ], - }, + space: { + sys: { type: `Space`, id: `uzfinxahlog0` }, + name: `Starter Gatsby Blog`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + { + code: `nl`, + default: false, + name: `Dutch`, + fallbackCode: `en-US`, + }, + ], + }, + } } -exports.updateBlogPost = { - currentSyncData: { - entries: [ +exports.updateBlogPost = () => { + return { + currentSyncData: { + entries: [ + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + id: `c1dHS3UzOqupJZY7AyeDc6s`, + type: `Entry`, + createdAt: `2020-06-03T14:22:37.720Z`, + updatedAt: `2020-06-03T14:27:24.359Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 2, + contentType: { + sys: { + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + contentful_id: `blogPost`, + }, + }, + contentful_id: `1dHS3UzOqupJZY7AyeDc6s`, + }, + fields: { + title: { "en-US": `Hello world 1234` }, + slug: { "en-US": `hello-world-1234` }, + heroImage: { + "en-US": { + sys: { + type: `Link`, + linkType: `Asset`, + id: `c1aaRo2sQbdfWnG8iNvnkH3`, + contentful_id: `1aaRo2sQbdfWnG8iNvnkH3`, + }, + }, + }, + description: { + "en-US": `Your very first content with Contentful, pulled in JSON format using the Content Delivery API.`, + }, + body: { + "en-US": `These is your very first content with Contentful, pulled in JSON format using the [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API"). Content and presentation are now decoupled, allowing you to focus your efforts in building the perfect app.\n\n## Your first steps\n\nBuilding with Contentful is easy. First take a moment to get [the basics of content modelling](https://www.contentful.com/r/knowledgebase/content-modelling-basics/ "the basics of content modelling"), which you can set up in the [Contentful Web app](https://app.contentful.com/ "Contentful Web app"). Once you get that, feel free to drop by the [Documentation](https://www.contentful.com/developers/docs/ "Documentation") to learn a bit more about how to build your app with Contentful, in particular the [API basics](https://www.contentful.com/developers/docs/concepts/apis/ "API basics") and each one of our four APIs, as shown below.\n\n### Content Delivery API\n\nThe [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API") (CDA), available at \\\`cdn.contentful.com\\\`, is a read-only API for delivering content from Contentful to apps, websites and other media. Content is delivered as JSON data, and images, videos and other media as files.\nThe API is available via a globally distributed content delivery network. The server closest to the user serves all content, both JSON and binary. This minimizes latency, which especially benefits mobile apps. Hosting content in multiple global data centers also greatly improves the availability of content.\n\n### Content Management API\n\nThe [Content Management API](https://www.contentful.com/developers/docs/references/content-management-api/ "Content Management API") (CMA), available at \\\`api.contentful.com\\\`, is a read-write API for managing content. Unlike the Content Delivery API, the management API requires you to authenticate as a Contentful user. You could use the CMA for several use cases, such as:\n* Automatic imports from different CMSes like WordPress or Drupal.\n* Integration with other backend systems, such as an e-commerce shop.\n* Building custom editing experiences. We built the [Contentful Web app](https://app.contentful.com/ "Contentful Web app") on top of this API.\n\n### Preview API\n\nThe [Content Preview API](https://www.contentful.com/developers/docs/concepts/apis/#content-preview-api "Content Preview API"), available at \\\`preview.contentful.com\\\`, is a variant of the CDA for previewing your content before delivering it to your customers. You use the Content Preview API in combination with a "preview" deployment of your website (or a "preview" build of your mobile app) that allows content managers and authors to view their work in-context, as if it were published, using a "preview" access token as though it were delivered by the CDA.\n\n### Images API\n\nThe [Images API](https://www.contentful.com/developers/docs/concepts/apis/#images-api "Images API"), available at \\\`images.contentful.com\\\`, allows you to resize and crop images, change their background color and convert them to different formats. Using our API for these transformations lets you upload high-quality assets, deliver exactly what your app needs, and still get all the benefits of our caching CDN.`, + }, + author: { + "en-US": { + sys: { + type: `Link`, + linkType: `Entry`, + id: `c15jwOBqpxqSAOy2eOO4S0m`, + contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, + }, + }, + }, + publishDate: { "en-US": `2020-05-15T00:00+02:00` }, + }, + }, + ], + assets: [], + deletedEntries: [], + deletedAssets: [], + nextSyncToken: `FEnChMOBwr1Yw4TCqsK2LcKpCH3CjsORIyLDrGbDtgozw6xreMKCwpjCtlxATw0OwpjDkMOywrZewqlOAMK_wp_DmcOzLRXDmlJ3wp5VextfJMKtw43CngvCrw7Cn07CgnNJw4XDscOsw5zCuXbDrMKnw7rCsTPCpxE`, + }, + contentTypeItems: [ { sys: { space: { @@ -1730,10 +1186,10 @@ exports.updateBlogPost = { contentful_id: `uzfinxahlog0`, }, }, - id: `c3K9b0esdy0q0yGqgW2g6Ke`, - type: `Entry`, - createdAt: `2020-04-09T10:53:01.485Z`, - updatedAt: `2020-04-09T11:01:27.357Z`, + id: `person`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:18.696Z`, + updatedAt: `2020-06-03T14:17:18.696Z`, environment: { sys: { id: `master`, @@ -1742,358 +1198,302 @@ exports.updateBlogPost = { contentful_id: `master`, }, }, - revision: 2, - contentType: { + revision: 1, + contentful_id: `person`, + }, + displayField: `name`, + name: `Person`, + description: ``, + fields: [ + { + id: `name`, + name: `Name`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `company`, + name: `Company`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `shortBio`, + name: `Short Bio`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `email`, + name: `Email`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `phone`, + name: `Phone`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `facebook`, + name: `Facebook`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `twitter`, + name: `Twitter`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `github`, + name: `Github`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `image`, + name: `Image`, + type: `Link`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Asset`, + }, + ], + }, + { + sys: { + space: { sys: { type: `Link`, - linkType: `ContentType`, - id: `blogPost`, - contentful_id: `blogPost`, - }, - }, - contentful_id: `3K9b0esdy0q0yGqgW2g6Ke`, - }, - fields: { - title: { - "en-US": `Hello world 1234`, - }, - slug: { - "en-US": `hello-world`, - }, - heroImage: { - "en-US": { - sys: { - type: `Link`, - linkType: `Asset`, - id: `c6Od9v3wzLOysiMum0Wkmme`, - contentful_id: `6Od9v3wzLOysiMum0Wkmme`, - }, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, }, }, - description: { - "en-US": `Your very first content with Contentful, pulled in JSON format using the Content Delivery API.`, - }, - body: { - "en-US": `These is your very first content with Contentful, pulled in JSON format using the [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API"). Content and presentation are now decoupled, allowing you to focus your efforts in building the perfect app.\n\n## Your first steps\n\nBuilding with Contentful is easy. First take a moment to get [the basics of content modelling](https://www.contentful.com/r/knowledgebase/content-modelling-basics/ "the basics of content modelling"), which you can set up in the [Contentful Web app](https://app.contentful.com/ "Contentful Web app"). Once you get that, feel free to drop by the [Documentation](https://www.contentful.com/developers/docs/ "Documentation") to learn a bit more about how to build your app with Contentful, in particular the [API basics](https://www.contentful.com/developers/docs/concepts/apis/ "API basics") and each one of our four APIs, as shown below.\n\n### Content Delivery API\n\nThe [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/ "Content Delivery API") (CDA), available at \`cdn.contentful.com\`, is a read-only API for delivering content from Contentful to apps, websites and other media. Content is delivered as JSON data, and images, videos and other media as files.\nThe API is available via a globally distributed content delivery network. The server closest to the user serves all content, both JSON and binary. This minimizes latency, which especially benefits mobile apps. Hosting content in multiple global data centers also greatly improves the availability of content.\n\n### Content Management API\n\nThe [Content Management API](https://www.contentful.com/developers/docs/references/content-management-api/ "Content Management API") (CMA), available at \`api.contentful.com\`, is a read-write API for managing content. Unlike the Content Delivery API, the management API requires you to authenticate as a Contentful user. You could use the CMA for several use cases, such as:\n* Automatic imports from different CMSes like WordPress or Drupal.\n* Integration with other backend systems, such as an e-commerce shop.\n* Building custom editing experiences. We built the [Contentful Web app](https://app.contentful.com/ "Contentful Web app") on top of this API.\n\n### Preview API\n\nThe [Content Preview API](https://www.contentful.com/developers/docs/concepts/apis/#content-preview-api "Content Preview API"), available at \`preview.contentful.com\`, is a variant of the CDA for previewing your content before delivering it to your customers. You use the Content Preview API in combination with a "preview" deployment of your website (or a "preview" build of your mobile app) that allows content managers and authors to view their work in-context, as if it were published, using a "preview" access token as though it were delivered by the CDA.\n\n### Images API\n\nThe [Images API](https://www.contentful.com/developers/docs/concepts/apis/#images-api "Images API"), available at \`images.contentful.com\`, allows you to resize and crop images, change their background color and convert them to different formats. Using our API for these transformations lets you upload high-quality assets, deliver exactly what your app needs, and still get all the benefits of our caching CDN.`, - }, - author: { - "en-US": { - sys: { - type: `Link`, - linkType: `Entry`, - id: `c15jwOBqpxqSAOy2eOO4S0m`, - contentful_id: `15jwOBqpxqSAOy2eOO4S0m`, - }, + id: `blogPost`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:19.068Z`, + updatedAt: `2020-06-03T14:17:19.068Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, }, }, - publishDate: { - "en-US": `2017-05-15T00:00+02:00`, - }, - tags: { - "en-US": [`general`], - }, - }, - }, - ], - assets: [], - deletedEntries: [], - deletedAssets: [], - nextSyncToken: `wrXDkijCgsOuTgwXKDbCk8KiwqbCjmTDo0zCn0zCjMKdFsO5w5zCmFIhwpdnSGJFwrxIOXrCkMKJw5_CkcKrVjhQwq_DucKOLcKTwrNNHiIvOzfDi8KBXjHDtikNwobDksKhwp8_TcOgLjjCtMO7O25Mw7smwos`, - }, - contentTypeItems: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `blogPost`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.586Z`, - updatedAt: `2020-04-09T10:52:57.586Z`, - environment: { - sys: { - id: `master`, - type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 1, - contentful_id: `blogPost`, - }, - displayField: `title`, - name: `Blog Post`, - description: null, - fields: [ - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `slug`, - name: `Slug`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `heroImage`, - name: `Hero Image`, - type: `Link`, - localized: false, - required: true, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - { - id: `description`, - name: `Description`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `body`, - name: `Body`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `author`, - name: `Author`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Entry`, - }, - { - id: `publishDate`, - name: `Publish Date`, - type: `Date`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `tags`, - name: `Tags`, - type: `Array`, - localized: false, - required: false, - disabled: false, - omitted: false, - items: { + revision: 1, + contentful_id: `blogPost`, + }, + displayField: `title`, + name: `Blog Post`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, type: `Symbol`, - validations: [ - { - in: [`general`, `javascript`, `static-sites`], - }, - ], - }, - }, - ], - }, - { - sys: { - space: { - sys: { + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `heroImage`, + name: `Hero Image`, type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `person`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.596Z`, - updatedAt: `2020-04-09T10:54:43.408Z`, - environment: { - sys: { - id: `master`, + localized: false, + required: true, + disabled: false, + omitted: false, + linkType: `Asset`, + }, + { + id: `description`, + name: `Description`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `body`, + name: `Body`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `author`, + name: `Author`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, - }, - }, - revision: 2, - contentful_id: `person`, - }, - displayField: `name`, - name: `Person`, - description: null, - fields: [ - { - id: `name`, - name: `Name`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `company`, - name: `Company`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `shortBio`, - name: `Short Bio`, - type: `Text`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `email`, - name: `Email`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `phone`, - name: `Phone`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `facebook`, - name: `Facebook`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `twitter`, - name: `Twitter`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `github`, - name: `Github`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `image`, - name: `Image`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - ], - }, - ], - defaultLocale: `en-US`, - locales: [ - { - code: `en-US`, - name: `English (United States)`, - default: true, - fallbackCode: null, - sys: { - id: `1uSElBQA68GRKF30tpTxxT`, - type: `Locale`, - version: 1, - }, - }, - { - code: `nl`, - name: `Dutch`, - default: false, - fallbackCode: `en-US`, - sys: { - id: `2T7M2OzIrvE8cOCOF1HMuY`, - type: `Locale`, - version: 1, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Entry`, + }, + { + id: `publishDate`, + name: `Publish Date`, + type: `Date`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `tags`, + name: `Tags`, + type: `Array`, + localized: false, + required: false, + disabled: false, + omitted: false, + items: { + type: `Symbol`, + validations: [{ in: [`general`, `javascript`, `static-sites`] }], + }, + }, + ], }, - }, - ], - space: { - sys: { - type: `Space`, - id: `uzfinxahlog0`, - }, - name: `gatsby-test`, + ], + defaultLocale: `en-US`, locales: [ { code: `en-US`, - default: true, name: `English (United States)`, + default: true, fallbackCode: null, + sys: { + id: `1uSElBQA68GRKF30tpTxxT`, + type: `Locale`, + version: 1, + }, }, { code: `nl`, - default: false, name: `Dutch`, + default: false, fallbackCode: `en-US`, + sys: { + id: `2T7M2OzIrvE8cOCOF1HMuY`, + type: `Locale`, + version: 1, + }, }, ], - }, + space: { + sys: { type: `Space`, id: `uzfinxahlog0` }, + name: `Starter Gatsby Blog`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + { + code: `nl`, + default: false, + name: `Dutch`, + fallbackCode: `en-US`, + }, + ], + }, + } } -exports.removeBlogPost = { - currentSyncData: { - entries: [], - assets: [], - deletedEntries: [ +exports.removeBlogPost = () => { + return { + currentSyncData: { + entries: [], + assets: [], + deletedEntries: [ + { + sys: { + type: `DeletedEntry`, + id: `c1dHS3UzOqupJZY7AyeDc6s`, + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 2, + createdAt: `2020-06-03T14:28:24.828Z`, + updatedAt: `2020-06-03T14:28:24.828Z`, + deletedAt: `2020-06-03T14:28:24.828Z`, + contentful_id: `1dHS3UzOqupJZY7AyeDc6s`, + }, + }, + ], + deletedAssets: [], + nextSyncToken: `FEnChMOBwr1Yw4TCqsK2LcKpCH3CjsORIyLDrGbDtgozw6xreMKCwpjCtlxATw13woJkDMK6fDpuN014SMKXw4MowpNDLcKVGQlXJiNSw53DlcKow4Fjw5HDqjthfQQrwo5MBlfDr3UfZjjCiMKi`, + }, + contentTypeItems: [ { sys: { - type: `DeletedEntry`, - id: `c2XTZRrfbMRcfdyFSo4mrOR`, space: { sys: { type: `Link`, @@ -2102,6 +1502,10 @@ exports.removeBlogPost = { contentful_id: `uzfinxahlog0`, }, }, + id: `person`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:18.696Z`, + updatedAt: `2020-06-03T14:17:18.696Z`, environment: { sys: { id: `master`, @@ -2111,311 +1515,301 @@ exports.removeBlogPost = { }, }, revision: 1, - createdAt: `2020-04-09T11:02:59.504Z`, - updatedAt: `2020-04-09T11:02:59.504Z`, - deletedAt: `2020-04-09T11:02:59.504Z`, - contentful_id: `2XTZRrfbMRcfdyFSo4mrOR`, - }, - }, - ], - deletedAssets: [], - nextSyncToken: `wrXDkijCgsOuTgwXKDbCk8KiwqbCjmTDo0zCn0zCjMKdFsO5w5zCmFIhwpdnSGJFbHrCtg_Cix3DmMO6FMKsGsK1QHUmLwdHw5nDmMO4CMK1w4nCvsK_fMOOwpg2w4bCksOGwrfClsKYw5tXw5rDoMOHwrPChMKKwp3CtTzCkg`, - }, - contentTypeItems: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `blogPost`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.586Z`, - updatedAt: `2020-04-09T10:52:57.586Z`, - environment: { - sys: { - id: `master`, + contentful_id: `person`, + }, + displayField: `name`, + name: `Person`, + description: ``, + fields: [ + { + id: `name`, + name: `Name`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `company`, + name: `Company`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `shortBio`, + name: `Short Bio`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `email`, + name: `Email`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `phone`, + name: `Phone`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `facebook`, + name: `Facebook`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `twitter`, + name: `Twitter`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `github`, + name: `Github`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `image`, + name: `Image`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Asset`, }, - }, - revision: 1, - contentful_id: `blogPost`, + ], }, - displayField: `title`, - name: `Blog Post`, - description: null, - fields: [ - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `slug`, - name: `Slug`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `heroImage`, - name: `Hero Image`, - type: `Link`, - localized: false, - required: true, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - { - id: `description`, - name: `Description`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `body`, - name: `Body`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `author`, - name: `Author`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Entry`, - }, - { - id: `publishDate`, - name: `Publish Date`, - type: `Date`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `tags`, - name: `Tags`, - type: `Array`, - localized: false, - required: false, - disabled: false, - omitted: false, - items: { - type: `Symbol`, - validations: [ - { - in: [`general`, `javascript`, `static-sites`], - }, - ], + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, }, - }, - ], - }, - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + id: `blogPost`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:19.068Z`, + updatedAt: `2020-06-03T14:17:19.068Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, }, - }, - id: `person`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.596Z`, - updatedAt: `2020-04-09T10:54:43.408Z`, - environment: { - sys: { - id: `master`, + revision: 1, + contentful_id: `blogPost`, + }, + displayField: `title`, + name: `Blog Post`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `heroImage`, + name: `Hero Image`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + localized: false, + required: true, + disabled: false, + omitted: false, + linkType: `Asset`, + }, + { + id: `description`, + name: `Description`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `body`, + name: `Body`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `author`, + name: `Author`, + type: `Link`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Entry`, + }, + { + id: `publishDate`, + name: `Publish Date`, + type: `Date`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `tags`, + name: `Tags`, + type: `Array`, + localized: false, + required: false, + disabled: false, + omitted: false, + items: { + type: `Symbol`, + validations: [{ in: [`general`, `javascript`, `static-sites`] }], + }, }, - }, - revision: 2, - contentful_id: `person`, - }, - displayField: `name`, - name: `Person`, - description: null, - fields: [ - { - id: `name`, - name: `Name`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `company`, - name: `Company`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `shortBio`, - name: `Short Bio`, - type: `Text`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `email`, - name: `Email`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `phone`, - name: `Phone`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `facebook`, - name: `Facebook`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `twitter`, - name: `Twitter`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `github`, - name: `Github`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `image`, - name: `Image`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - ], - }, - ], - defaultLocale: `en-US`, - locales: [ - { - code: `en-US`, - name: `English (United States)`, - default: true, - fallbackCode: null, - sys: { - id: `1uSElBQA68GRKF30tpTxxT`, - type: `Locale`, - version: 1, - }, - }, - { - code: `nl`, - name: `Dutch`, - default: false, - fallbackCode: `en-US`, - sys: { - id: `2T7M2OzIrvE8cOCOF1HMuY`, - type: `Locale`, - version: 1, + ], }, - }, - ], - space: { - sys: { - type: `Space`, - id: `uzfinxahlog0`, - }, - name: `gatsby-test`, + ], + defaultLocale: `en-US`, locales: [ { code: `en-US`, - default: true, name: `English (United States)`, + default: true, fallbackCode: null, + sys: { + id: `1uSElBQA68GRKF30tpTxxT`, + type: `Locale`, + version: 1, + }, }, { code: `nl`, - default: false, name: `Dutch`, + default: false, fallbackCode: `en-US`, + sys: { + id: `2T7M2OzIrvE8cOCOF1HMuY`, + type: `Locale`, + version: 1, + }, }, ], - }, + space: { + sys: { type: `Space`, id: `uzfinxahlog0` }, + name: `Starter Gatsby Blog`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + { + code: `nl`, + default: false, + name: `Dutch`, + fallbackCode: `en-US`, + }, + ], + }, + } } -exports.removeAsset = { - currentSyncData: { - entries: [], - assets: [], - deletedEntries: [], - deletedAssets: [ +exports.removeAsset = () => { + return { + currentSyncData: { + entries: [], + assets: [], + deletedEntries: [], + deletedAssets: [ + { + sys: { + type: `DeletedAsset`, + id: `c1aaRo2sQbdfWnG8iNvnkH3`, + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, + }, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, + }, + revision: 1, + createdAt: `2020-06-03T14:28:57.237Z`, + updatedAt: `2020-06-03T14:28:57.237Z`, + deletedAt: `2020-06-03T14:28:57.237Z`, + contentful_id: `1aaRo2sQbdfWnG8iNvnkH3`, + }, + }, + ], + nextSyncToken: `FEnChMOBwr1Yw4TCqsK2LcKpCH3CjsORIyLDrGbDtgozw6xreMKCwpjCtlxATw0LNMOLwow1KMKwAW_Ci8OIwoPDgcK-Hn5Rw5XDvwXCsMK7wpPDk2jDtywiw6lyU8KEwprCojzDscOMwollMCbCicK_XTUEw7wZ`, + }, + contentTypeItems: [ { sys: { - type: `DeletedAsset`, - id: `c21xFOvxOk9guLHTakpnezz`, space: { sys: { type: `Link`, @@ -2424,6 +1818,10 @@ exports.removeAsset = { contentful_id: `uzfinxahlog0`, }, }, + id: `person`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:18.696Z`, + updatedAt: `2020-06-03T14:17:18.696Z`, environment: { sys: { id: `master`, @@ -2433,296 +1831,257 @@ exports.removeAsset = { }, }, revision: 1, - createdAt: `2020-04-09T11:03:48.457Z`, - updatedAt: `2020-04-09T11:03:48.457Z`, - deletedAt: `2020-04-09T11:03:48.457Z`, - contentful_id: `21xFOvxOk9guLHTakpnezz`, - }, - }, - ], - nextSyncToken: `wrXDkijCgsOuTgwXKDbCk8KiwqbCjmTDo0zCn0zCjMKdFsO5w5zCmFIhwpdnSGJFaERvTsKwI8K0w69BSCfChsO3wqbDnMKwaxcKFMOIw4DDkcKYw7fCuHnCmV1MQcKtw79DwokewrvCscOcwpgFd3R_T0TDpxU`, - }, - contentTypeItems: [ - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, - }, - }, - id: `blogPost`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.586Z`, - updatedAt: `2020-04-09T10:52:57.586Z`, - environment: { - sys: { - id: `master`, + contentful_id: `person`, + }, + displayField: `name`, + name: `Person`, + description: ``, + fields: [ + { + id: `name`, + name: `Name`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `company`, + name: `Company`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `shortBio`, + name: `Short Bio`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `email`, + name: `Email`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `phone`, + name: `Phone`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `facebook`, + name: `Facebook`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `twitter`, + name: `Twitter`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `github`, + name: `Github`, + type: `Symbol`, + localized: false, + required: false, + disabled: false, + omitted: false, + }, + { + id: `image`, + name: `Image`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Asset`, }, - }, - revision: 1, - contentful_id: `blogPost`, + ], }, - displayField: `title`, - name: `Blog Post`, - description: null, - fields: [ - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `slug`, - name: `Slug`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `heroImage`, - name: `Hero Image`, - type: `Link`, - localized: false, - required: true, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - { - id: `description`, - name: `Description`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `body`, - name: `Body`, - type: `Text`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `author`, - name: `Author`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Entry`, - }, - { - id: `publishDate`, - name: `Publish Date`, - type: `Date`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `tags`, - name: `Tags`, - type: `Array`, - localized: false, - required: false, - disabled: false, - omitted: false, - items: { - type: `Symbol`, - validations: [ - { - in: [`general`, `javascript`, `static-sites`], - }, - ], + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `uzfinxahlog0`, + contentful_id: `uzfinxahlog0`, + }, }, - }, - ], - }, - { - sys: { - space: { - sys: { - type: `Link`, - linkType: `Space`, - id: `uzfinxahlog0`, - contentful_id: `uzfinxahlog0`, + id: `blogPost`, + type: `ContentType`, + createdAt: `2020-06-03T14:17:19.068Z`, + updatedAt: `2020-06-03T14:17:19.068Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + contentful_id: `master`, + }, }, - }, - id: `person`, - type: `ContentType`, - createdAt: `2020-04-09T10:52:57.596Z`, - updatedAt: `2020-04-09T10:54:43.408Z`, - environment: { - sys: { - id: `master`, + revision: 1, + contentful_id: `blogPost`, + }, + displayField: `title`, + name: `Blog Post`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `heroImage`, + name: `Hero Image`, + type: `Link`, + localized: false, + required: true, + disabled: false, + omitted: false, + linkType: `Asset`, + }, + { + id: `description`, + name: `Description`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `body`, + name: `Body`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `author`, + name: `Author`, type: `Link`, - linkType: `Environment`, - contentful_id: `master`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Entry`, + }, + { + id: `publishDate`, + name: `Publish Date`, + type: `Date`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `tags`, + name: `Tags`, + type: `Array`, + localized: false, + required: false, + disabled: false, + omitted: false, + items: { + type: `Symbol`, + validations: [{ in: [`general`, `javascript`, `static-sites`] }], + }, }, - }, - revision: 2, - contentful_id: `person`, - }, - displayField: `name`, - name: `Person`, - description: null, - fields: [ - { - id: `name`, - name: `Name`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `title`, - name: `Title`, - type: `Symbol`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `company`, - name: `Company`, - type: `Symbol`, - localized: false, - required: true, - disabled: false, - omitted: false, - }, - { - id: `shortBio`, - name: `Short Bio`, - type: `Text`, - localized: true, - required: true, - disabled: false, - omitted: false, - }, - { - id: `email`, - name: `Email`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `phone`, - name: `Phone`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `facebook`, - name: `Facebook`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `twitter`, - name: `Twitter`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `github`, - name: `Github`, - type: `Symbol`, - localized: false, - required: false, - disabled: false, - omitted: false, - }, - { - id: `image`, - name: `Image`, - type: `Link`, - localized: false, - required: false, - disabled: false, - omitted: false, - linkType: `Asset`, - }, - ], - }, - ], - defaultLocale: `en-US`, - locales: [ - { - code: `en-US`, - name: `English (United States)`, - default: true, - fallbackCode: null, - sys: { - id: `1uSElBQA68GRKF30tpTxxT`, - type: `Locale`, - version: 1, - }, - }, - { - code: `nl`, - name: `Dutch`, - default: false, - fallbackCode: `en-US`, - sys: { - id: `2T7M2OzIrvE8cOCOF1HMuY`, - type: `Locale`, - version: 1, + ], }, - }, - ], - space: { - sys: { - type: `Space`, - id: `uzfinxahlog0`, - }, - name: `gatsby-test`, + ], + defaultLocale: `en-US`, locales: [ { code: `en-US`, - default: true, name: `English (United States)`, + default: true, fallbackCode: null, + sys: { + id: `1uSElBQA68GRKF30tpTxxT`, + type: `Locale`, + version: 1, + }, }, { code: `nl`, - default: false, name: `Dutch`, + default: false, fallbackCode: `en-US`, + sys: { + id: `2T7M2OzIrvE8cOCOF1HMuY`, + type: `Locale`, + version: 1, + }, }, ], - }, + space: { + sys: { type: `Space`, id: `uzfinxahlog0` }, + name: `Starter Gatsby Blog`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + { + code: `nl`, + default: false, + name: `Dutch`, + fallbackCode: `en-US`, + }, + ], + }, + } } diff --git a/packages/gatsby-source-contentful/src/__tests__/__snapshots__/gatsby-node.js.snap b/packages/gatsby-source-contentful/src/__tests__/__snapshots__/gatsby-node.js.snap index 94d6c289fa14a..227f463c32077 100644 --- a/packages/gatsby-source-contentful/src/__tests__/__snapshots__/gatsby-node.js.snap +++ b/packages/gatsby-source-contentful/src/__tests__/__snapshots__/gatsby-node.js.snap @@ -2,17 +2,17 @@ exports[`gatsby-node should add a new blogpost and update linkedNodes 1`] = ` Object { - "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m", - "body___NODE": "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrORbodyTextNode", + "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry", + "body___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrybodyTextNode", "children": Array [ - "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrORdescriptionTextNode", - "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrORbodyTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrydescriptionTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrybodyTextNode", ], - "contentful_id": "2XTZRrfbMRcfdyFSo4mrOR", - "createdAt": "2020-04-09T10:59:16.604Z", - "description___NODE": "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrORdescriptionTextNode", - "heroImage___NODE": "uzfinxahlog0___c21xFOvxOk9guLHTakpnezz", - "id": "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR", + "contentful_id": "1dHS3UzOqupJZY7AyeDc6s", + "createdAt": "2020-06-03T14:22:37.720Z", + "description___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrydescriptionTextNode", + "heroImage___NODE": "uzfinxahlog0___c1aaRo2sQbdfWnG8iNvnkH3___Asset", + "id": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -20,7 +20,7 @@ Object { }, "node_locale": "en-US", "parent": "Blog Post", - "publishDate": "2020-04-01T00:00+00:00", + "publishDate": "2020-04-01T00:00+02:00", "slug": "integration-tests", "spaceId": "uzfinxahlog0", "sys": Object { @@ -33,31 +33,32 @@ Object { }, }, "revision": 1, + "type": "Entry", }, "title": "Integration tests", - "updatedAt": "2020-04-09T10:59:16.604Z", + "updatedAt": "2020-06-03T14:22:37.720Z", } `; exports[`gatsby-node should add a new blogpost and update linkedNodes 2`] = ` Object { "blog post___NODE": Array [ - "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke", - "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0", - "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR", + "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___Entry", + "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___Entry", + "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___Entry", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry", ], "children": Array [ - "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0mshortBioTextNode", + "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___EntryshortBioTextNode", ], "company": "ACME", "contentful_id": "15jwOBqpxqSAOy2eOO4S0m", - "createdAt": "2020-04-09T10:53:01.487Z", + "createdAt": "2020-06-03T14:17:31.246Z", "email": "[email protected]", "facebook": "johndoe", "github": "johndoe", - "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m", - "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U", + "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry", + "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___Asset", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -67,7 +68,7 @@ Object { "node_locale": "en-US", "parent": "Person", "phone": "0176 / 1234567", - "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0mshortBioTextNode", + "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___EntryshortBioTextNode", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -78,27 +79,28 @@ Object { "type": "Link", }, }, - "revision": 2, + "revision": 1, + "type": "Entry", }, "title": "Web Developer", "twitter": "johndoe", - "updatedAt": "2020-04-09T10:55:54.432Z", + "updatedAt": "2020-06-03T14:17:31.246Z", } `; exports[`gatsby-node should add a new blogpost and update linkedNodes 3`] = ` Object { - "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nl", - "body___NODE": "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR___nlbodyTextNode", + "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nl", + "body___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nlbodyTextNode", "children": Array [ - "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR___nldescriptionTextNode", - "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR___nlbodyTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nldescriptionTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nlbodyTextNode", ], - "contentful_id": "2XTZRrfbMRcfdyFSo4mrOR", - "createdAt": "2020-04-09T10:59:16.604Z", - "description___NODE": "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR___nldescriptionTextNode", - "heroImage___NODE": "uzfinxahlog0___c21xFOvxOk9guLHTakpnezz___nl", - "id": "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR___nl", + "contentful_id": "1dHS3UzOqupJZY7AyeDc6s", + "createdAt": "2020-06-03T14:22:37.720Z", + "description___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nldescriptionTextNode", + "heroImage___NODE": "uzfinxahlog0___c1aaRo2sQbdfWnG8iNvnkH3___Asset___nl", + "id": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nl", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -106,7 +108,7 @@ Object { }, "node_locale": "nl", "parent": "Blog Post", - "publishDate": "2020-04-01T00:00+00:00", + "publishDate": "2020-04-01T00:00+02:00", "slug": "integration-tests", "spaceId": "uzfinxahlog0", "sys": Object { @@ -119,31 +121,32 @@ Object { }, }, "revision": 1, + "type": "Entry", }, "title": "Integration tests", - "updatedAt": "2020-04-09T10:59:16.604Z", + "updatedAt": "2020-06-03T14:22:37.720Z", } `; exports[`gatsby-node should add a new blogpost and update linkedNodes 4`] = ` Object { "blog post___NODE": Array [ - "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___nl", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nl", - "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___nl", - "uzfinxahlog0___c2XTZRrfbMRcfdyFSo4mrOR___nl", + "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___Entry___nl", + "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___Entry___nl", + "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___Entry___nl", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nl", ], "children": Array [ - "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nlshortBioTextNode", + "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nlshortBioTextNode", ], "company": "ACME", "contentful_id": "15jwOBqpxqSAOy2eOO4S0m", - "createdAt": "2020-04-09T10:53:01.487Z", + "createdAt": "2020-06-03T14:17:31.246Z", "email": "[email protected]", "facebook": "johndoe", "github": "johndoe", - "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nl", - "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___nl", + "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nl", + "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___Asset___nl", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -153,7 +156,7 @@ Object { "node_locale": "nl", "parent": "Person", "phone": "0176 / 1234567", - "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nlshortBioTextNode", + "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nlshortBioTextNode", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -164,32 +167,33 @@ Object { "type": "Link", }, }, - "revision": 2, + "revision": 1, + "type": "Entry", }, - "title": "Web developer", + "title": "Web Developer", "twitter": "johndoe", - "updatedAt": "2020-04-09T10:55:54.432Z", + "updatedAt": "2020-06-03T14:17:31.246Z", } `; exports[`gatsby-node should remove a blogpost and update linkedNodes 1`] = ` Object { "blog post___NODE": Array [ - "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke", - "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0", + "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___Entry", + "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___Entry", + "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___Entry", ], "children": Array [ - "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0mshortBioTextNode", + "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___EntryshortBioTextNode", ], "company": "ACME", "contentful_id": "15jwOBqpxqSAOy2eOO4S0m", - "createdAt": "2020-04-09T10:53:01.487Z", + "createdAt": "2020-06-03T14:17:31.246Z", "email": "[email protected]", "facebook": "johndoe", "github": "johndoe", - "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m", - "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U", + "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry", + "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___Asset", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -199,7 +203,7 @@ Object { "node_locale": "en-US", "parent": "Person", "phone": "0176 / 1234567", - "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0mshortBioTextNode", + "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___EntryshortBioTextNode", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -210,32 +214,33 @@ Object { "type": "Link", }, }, - "revision": 2, + "revision": 1, + "type": "Entry", }, "title": "Web Developer", "twitter": "johndoe", - "updatedAt": "2020-04-09T10:55:54.432Z", + "updatedAt": "2020-06-03T14:17:31.246Z", } `; exports[`gatsby-node should remove a blogpost and update linkedNodes 2`] = ` Object { "blog post___NODE": Array [ - "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___nl", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nl", - "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___nl", + "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___Entry___nl", + "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___Entry___nl", + "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___Entry___nl", ], "children": Array [ - "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nlshortBioTextNode", + "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nlshortBioTextNode", ], "company": "ACME", "contentful_id": "15jwOBqpxqSAOy2eOO4S0m", - "createdAt": "2020-04-09T10:53:01.487Z", + "createdAt": "2020-06-03T14:17:31.246Z", "email": "[email protected]", "facebook": "johndoe", "github": "johndoe", - "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nl", - "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___nl", + "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nl", + "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___Asset___nl", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -245,7 +250,7 @@ Object { "node_locale": "nl", "parent": "Person", "phone": "0176 / 1234567", - "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nlshortBioTextNode", + "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nlshortBioTextNode", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -256,27 +261,28 @@ Object { "type": "Link", }, }, - "revision": 2, + "revision": 1, + "type": "Entry", }, - "title": "Web developer", + "title": "Web Developer", "twitter": "johndoe", - "updatedAt": "2020-04-09T10:55:54.432Z", + "updatedAt": "2020-06-03T14:17:31.246Z", } `; exports[`gatsby-node should update a blogpost 1`] = ` Object { - "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m", - "body___NODE": "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6KebodyTextNode", + "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry", + "body___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrybodyTextNode", "children": Array [ - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6KedescriptionTextNode", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6KebodyTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrydescriptionTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrybodyTextNode", ], - "contentful_id": "3K9b0esdy0q0yGqgW2g6Ke", - "createdAt": "2020-04-09T10:53:01.485Z", - "description___NODE": "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6KedescriptionTextNode", - "heroImage___NODE": "uzfinxahlog0___c6Od9v3wzLOysiMum0Wkmme", - "id": "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke", + "contentful_id": "1dHS3UzOqupJZY7AyeDc6s", + "createdAt": "2020-06-03T14:22:37.720Z", + "description___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___EntrydescriptionTextNode", + "heroImage___NODE": "uzfinxahlog0___c1aaRo2sQbdfWnG8iNvnkH3___Asset", + "id": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -284,8 +290,8 @@ Object { }, "node_locale": "en-US", "parent": "Blog Post", - "publishDate": "2017-05-15T00:00+02:00", - "slug": "hello-world", + "publishDate": "2020-05-15T00:00+02:00", + "slug": "hello-world-1234", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -297,34 +303,32 @@ Object { }, }, "revision": 2, + "type": "Entry", }, - "tags": Array [ - "general", - ], "title": "Hello world 1234", - "updatedAt": "2020-04-09T11:01:27.357Z", + "updatedAt": "2020-06-03T14:27:24.359Z", } `; exports[`gatsby-node should update a blogpost 2`] = ` Object { "blog post___NODE": Array [ - "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke", - "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke", + "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___Entry", + "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___Entry", + "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___Entry", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry", ], "children": Array [ - "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0mshortBioTextNode", + "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___EntryshortBioTextNode", ], "company": "ACME", "contentful_id": "15jwOBqpxqSAOy2eOO4S0m", - "createdAt": "2020-04-09T10:53:01.487Z", + "createdAt": "2020-06-03T14:17:31.246Z", "email": "[email protected]", "facebook": "johndoe", "github": "johndoe", - "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m", - "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U", + "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry", + "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___Asset", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -334,7 +338,7 @@ Object { "node_locale": "en-US", "parent": "Person", "phone": "0176 / 1234567", - "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0mshortBioTextNode", + "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___EntryshortBioTextNode", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -345,27 +349,28 @@ Object { "type": "Link", }, }, - "revision": 2, + "revision": 1, + "type": "Entry", }, "title": "Web Developer", "twitter": "johndoe", - "updatedAt": "2020-04-09T10:55:54.432Z", + "updatedAt": "2020-06-03T14:17:31.246Z", } `; exports[`gatsby-node should update a blogpost 3`] = ` Object { - "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nl", - "body___NODE": "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nlbodyTextNode", + "author___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nl", + "body___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nlbodyTextNode", "children": Array [ - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nldescriptionTextNode", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nlbodyTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nldescriptionTextNode", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nlbodyTextNode", ], - "contentful_id": "3K9b0esdy0q0yGqgW2g6Ke", - "createdAt": "2020-04-09T10:53:01.485Z", - "description___NODE": "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nldescriptionTextNode", - "heroImage___NODE": "uzfinxahlog0___c6Od9v3wzLOysiMum0Wkmme___nl", - "id": "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nl", + "contentful_id": "1dHS3UzOqupJZY7AyeDc6s", + "createdAt": "2020-06-03T14:22:37.720Z", + "description___NODE": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nldescriptionTextNode", + "heroImage___NODE": "uzfinxahlog0___c1aaRo2sQbdfWnG8iNvnkH3___Asset___nl", + "id": "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nl", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -373,8 +378,8 @@ Object { }, "node_locale": "nl", "parent": "Blog Post", - "publishDate": "2017-05-15T00:00+02:00", - "slug": "hello-world", + "publishDate": "2020-05-15T00:00+02:00", + "slug": "hello-world-1234", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -386,34 +391,32 @@ Object { }, }, "revision": 2, + "type": "Entry", }, - "tags": Array [ - "general", - ], "title": "Hello world 1234", - "updatedAt": "2020-04-09T11:01:27.357Z", + "updatedAt": "2020-06-03T14:27:24.359Z", } `; exports[`gatsby-node should update a blogpost 4`] = ` Object { "blog post___NODE": Array [ - "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___nl", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nl", - "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___nl", - "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___nl", + "uzfinxahlog0___c31TNnjHlfaGUoMOwU0M2og___Entry___nl", + "uzfinxahlog0___c3K9b0esdy0q0yGqgW2g6Ke___Entry___nl", + "uzfinxahlog0___c2PtC9h1YqIA6kaUaIsWEQ0___Entry___nl", + "uzfinxahlog0___c1dHS3UzOqupJZY7AyeDc6s___Entry___nl", ], "children": Array [ - "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nlshortBioTextNode", + "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nlshortBioTextNode", ], "company": "ACME", "contentful_id": "15jwOBqpxqSAOy2eOO4S0m", - "createdAt": "2020-04-09T10:53:01.487Z", + "createdAt": "2020-06-03T14:17:31.246Z", "email": "[email protected]", "facebook": "johndoe", "github": "johndoe", - "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nl", - "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___nl", + "id": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nl", + "image___NODE": "uzfinxahlog0___c7orLdboQQowIUs22KAW4U___Asset___nl", "internal": Object { "contentDigest": "contentDigest", "owner": "gatsby-source-contentful", @@ -423,7 +426,7 @@ Object { "node_locale": "nl", "parent": "Person", "phone": "0176 / 1234567", - "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___nlshortBioTextNode", + "shortBio___NODE": "uzfinxahlog0___c15jwOBqpxqSAOy2eOO4S0m___Entry___nlshortBioTextNode", "spaceId": "uzfinxahlog0", "sys": Object { "contentType": Object { @@ -434,10 +437,11 @@ Object { "type": "Link", }, }, - "revision": 2, + "revision": 1, + "type": "Entry", }, - "title": "Web developer", + "title": "Web Developer", "twitter": "johndoe", - "updatedAt": "2020-04-09T10:55:54.432Z", + "updatedAt": "2020-06-03T14:17:31.246Z", } `; diff --git a/packages/gatsby-source-contentful/src/__tests__/__snapshots__/normalize.js.snap b/packages/gatsby-source-contentful/src/__tests__/__snapshots__/normalize.js.snap index fe1ed7e6306ee..969b383b55639 100644 --- a/packages/gatsby-source-contentful/src/__tests__/__snapshots__/normalize.js.snap +++ b/packages/gatsby-source-contentful/src/__tests__/__snapshots__/normalize.js.snap @@ -2041,117 +2041,134 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te exports[`Process contentful data (by id) builds foreignReferenceMap 1`] = ` Object { - "JrePkDVYomE8AwcuCUyMi": Array [ + "JrePkDVYomE8AwcuCUyMi___Entry": Array [ Object { "id": "c5KsDBWseXY6QegucYAoacS", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "KTRF62Q4gg60q6WCsWKw8": Array [ + "KTRF62Q4gg60q6WCsWKw8___Asset": Array [ Object { "id": "c4BqrajvA8E6qwgkieoqmqO", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "Xc0ny7GWsMEMCeASWO2um": Array [ + "Xc0ny7GWsMEMCeASWO2um___Asset": Array [ Object { "id": "c3DVqIYj4dOwwcKu6sgqOgg", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c10TkaLheGeQG6qQGqWYqUI": Array [ + "c10TkaLheGeQG6qQGqWYqUI___Asset": Array [ Object { "id": "c6dbjWqNd9SqccegcqYq224", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c24DPGBDeGEaYy8ms4Y8QMQ": Array [ + "c24DPGBDeGEaYy8ms4Y8QMQ___Entry": Array [ Object { "id": "c5KsDBWseXY6QegucYAoacS", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c2Y8LhXLnYAYqKCGEWG4EKI": Array [ + "c2Y8LhXLnYAYqKCGEWG4EKI___Asset": Array [ Object { "id": "c4LgMotpNF6W20YKmuemW0a", "name": "sfztzbsum8coewygeuyes___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c3wtvPBbBjiMKqKKga8I2Cu": Array [ + "c3wtvPBbBjiMKqKKga8I2Cu___Asset": Array [ Object { "id": "c651CQ8rLoIYCeY6G0QG22q", "name": "sfztzbsum8coewygeuyes___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c4LgMotpNF6W20YKmuemW0a": Array [ + "c4LgMotpNF6W20YKmuemW0a___Entry": Array [ Object { "id": "c4BqrajvA8E6qwgkieoqmqO", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c4zj1ZOfHgQ8oqgaSKm4Qo2": Array [ + "c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset": Array [ Object { "id": "JrePkDVYomE8AwcuCUyMi", "name": "sfztzbsum8coewygeuyes___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c651CQ8rLoIYCeY6G0QG22q": Array [ + "c651CQ8rLoIYCeY6G0QG22q___Entry": Array [ Object { "id": "c3DVqIYj4dOwwcKu6sgqOgg", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, Object { "id": "c6dbjWqNd9SqccegcqYq224", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c6m5AJ9vMPKc8OUoQeoCS4o": Array [ + "c6m5AJ9vMPKc8OUoQeoCS4o___Asset": Array [ Object { "id": "c7LAnCobuuWYSqks6wAwY2a", "name": "c6xwptasiii2ak2ww0oi6qa___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c6t4HKjytPi0mYgs240wkG": Array [ + "c6t4HKjytPi0mYgs240wkG___Asset": Array [ Object { "id": "c24DPGBDeGEaYy8ms4Y8QMQ", "name": "c6xwptasiii2ak2ww0oi6qa___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c7LAnCobuuWYSqks6wAwY2a": Array [ + "c7LAnCobuuWYSqks6wAwY2a___Entry": Array [ Object { "id": "c3DVqIYj4dOwwcKu6sgqOgg", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, Object { "id": "c6dbjWqNd9SqccegcqYq224", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, Object { "id": "c4BqrajvA8E6qwgkieoqmqO", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "wtrHxeu3zEoEce2MokCSi": Array [ + "wtrHxeu3zEoEce2MokCSi___Asset": Array [ Object { "id": "c5KsDBWseXY6QegucYAoacS", "name": "c2pqfxujwe8qsykum0u6w8m___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], } @@ -2159,28 +2176,28 @@ Object { exports[`Process contentful data (by id) builds list of resolvable data 1`] = ` Set { - "c7LAnCobuuWYSqks6wAwY2a", - "c24DPGBDeGEaYy8ms4Y8QMQ", - "c651CQ8rLoIYCeY6G0QG22q", - "c4LgMotpNF6W20YKmuemW0a", - "JrePkDVYomE8AwcuCUyMi", - "c5KsDBWseXY6QegucYAoacS", - "c3DVqIYj4dOwwcKu6sgqOgg", - "c6dbjWqNd9SqccegcqYq224", - "c4BqrajvA8E6qwgkieoqmqO", - "c71mfnH4QKsSsQmgoaQuq6O", - "c4L2GhTsJtCseMYM8Wia64i", - "c3wtvPBbBjiMKqKKga8I2Cu", - "KTRF62Q4gg60q6WCsWKw8", - "Xc0ny7GWsMEMCeASWO2um", - "c2Y8LhXLnYAYqKCGEWG4EKI", - "c6t4HKjytPi0mYgs240wkG", - "c1MgbdJNTsMWKI0W68oYqkU", - "c6m5AJ9vMPKc8OUoQeoCS4o", - "c4zj1ZOfHgQ8oqgaSKm4Qo2", - "wtrHxeu3zEoEce2MokCSi", - "c10TkaLheGeQG6qQGqWYqUI", - "c6s3iG2OVmoUcosmA8ocqsG", + "c7LAnCobuuWYSqks6wAwY2a___Entry", + "c24DPGBDeGEaYy8ms4Y8QMQ___Entry", + "c651CQ8rLoIYCeY6G0QG22q___Entry", + "c4LgMotpNF6W20YKmuemW0a___Entry", + "JrePkDVYomE8AwcuCUyMi___Entry", + "c5KsDBWseXY6QegucYAoacS___Entry", + "c3DVqIYj4dOwwcKu6sgqOgg___Entry", + "c6dbjWqNd9SqccegcqYq224___Entry", + "c4BqrajvA8E6qwgkieoqmqO___Entry", + "c71mfnH4QKsSsQmgoaQuq6O___Entry", + "c4L2GhTsJtCseMYM8Wia64i___Entry", + "c3wtvPBbBjiMKqKKga8I2Cu___Asset", + "KTRF62Q4gg60q6WCsWKw8___Asset", + "Xc0ny7GWsMEMCeASWO2um___Asset", + "c2Y8LhXLnYAYqKCGEWG4EKI___Asset", + "c6t4HKjytPi0mYgs240wkG___Asset", + "c1MgbdJNTsMWKI0W68oYqkU___Asset", + "c6m5AJ9vMPKc8OUoQeoCS4o___Asset", + "c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset", + "wtrHxeu3zEoEce2MokCSi___Asset", + "c10TkaLheGeQG6qQGqWYqUI___Asset", + "c6s3iG2OVmoUcosmA8ocqsG___Asset", } `; @@ -2204,9 +2221,9 @@ Array [ "fileName": "zJYzDlGk.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/3wtvPBbBjiMKqKKga8I2Cu/c65cb9cce1107c2e7e63c17072fe7932/zJYzDlGk.jpeg", }, - "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu", + "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset", "internal": Object { - "contentDigest": "e08dcc15bd58e68771c6e63244bfda8f", + "contentDigest": "29b0c61953be87f13bc9f653dc32823a", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2214,6 +2231,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Normann Copenhagen", "updatedAt": "2017-06-27T09:35:37.178Z", @@ -2237,9 +2255,9 @@ Array [ "fileName": "zJYzDlGk.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/3wtvPBbBjiMKqKKga8I2Cu/c65cb9cce1107c2e7e63c17072fe7932/zJYzDlGk.jpeg", }, - "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___de", + "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset___de", "internal": Object { - "contentDigest": "40212c47b48143211ebb7ae649b96126", + "contentDigest": "7d02f380b10a37f233f9de38e84daea9", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2247,6 +2265,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Normann Copenhagen", "updatedAt": "2017-06-27T09:35:37.178Z", @@ -2270,9 +2289,9 @@ Array [ "fileName": "soso.clock.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/KTRF62Q4gg60q6WCsWKw8/a8b2e93ac83fbbbb7bf9fba9f92b018e/soso.clock.jpg", }, - "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8", + "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset", "internal": Object { - "contentDigest": "4848c2d670e8daa0cefb673733ed1a72", + "contentDigest": "ffd657c498e24ae9f445bc44bed33e3f", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2280,6 +2299,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "SoSo Wall Clock", "updatedAt": "2017-06-27T09:35:37.064Z", @@ -2303,9 +2323,9 @@ Array [ "fileName": "soso.clock.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/KTRF62Q4gg60q6WCsWKw8/a8b2e93ac83fbbbb7bf9fba9f92b018e/soso.clock.jpg", }, - "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___de", + "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset___de", "internal": Object { - "contentDigest": "0b914482dd7743e6ceb718210d9fd305", + "contentDigest": "102056d575888bcebc34f1a554bfaabc", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2313,6 +2333,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "SoSo Wall Clock", "updatedAt": "2017-06-27T09:35:37.064Z", @@ -2336,9 +2357,9 @@ Array [ "fileName": "jqvtazcyfwseah9fmysz.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg", }, - "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um", + "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset", "internal": Object { - "contentDigest": "ce6936aade311f9952f7e51a1419a114", + "contentDigest": "e7537c3866cb7779ae8f6a463f0b7e8e", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2346,6 +2367,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Hudson Wall Cup ", "updatedAt": "2017-06-27T09:35:37.027Z", @@ -2369,9 +2391,9 @@ Array [ "fileName": "jqvtazcyfwseah9fmysz.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg", }, - "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___de", + "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset___de", "internal": Object { - "contentDigest": "758534e7c2b3897e761b50c3934e5d25", + "contentDigest": "e097ad298d03a4bb0e4d2860422df702", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2379,6 +2401,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Hudson Wall Cup ", "updatedAt": "2017-06-27T09:35:37.027Z", @@ -2402,9 +2425,9 @@ Array [ "fileName": "lemnos-logo.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/2Y8LhXLnYAYqKCGEWG4EKI/eb29ab3c817906993f65e221523ef252/lemnos-logo.jpg", }, - "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI", + "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset", "internal": Object { - "contentDigest": "6da02350b74a5ec73c02e05f4274aa2d", + "contentDigest": "7155fd824e8d1e629e94e19e2bbfddcb", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2412,6 +2435,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Lemnos", "updatedAt": "2017-06-27T09:35:37.012Z", @@ -2435,9 +2459,9 @@ Array [ "fileName": "lemnos-logo.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/2Y8LhXLnYAYqKCGEWG4EKI/eb29ab3c817906993f65e221523ef252/lemnos-logo.jpg", }, - "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___de", + "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset___de", "internal": Object { - "contentDigest": "2684be9e65bea6e0f70702f8f62685f2", + "contentDigest": "c22412ba6731dd5d65f722219697f6b4", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2445,6 +2469,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Lemnos", "updatedAt": "2017-06-27T09:35:37.012Z", @@ -2468,9 +2493,9 @@ Array [ "fileName": "toys_512pxGREY.png", "url": "//images.ctfassets.net/rocybtov1ozk/6t4HKjytPi0mYgs240wkG/6e730b1e6c2a46929239019240c037e6/toys_512pxGREY.png", }, - "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG", + "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset", "internal": Object { - "contentDigest": "0529e3e05d7cd5f19e34caba510485d1", + "contentDigest": "9674f8d88657a9506cbeec22086c3cc4", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2478,6 +2503,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Toys", "updatedAt": "2017-06-27T09:35:36.633Z", @@ -2501,9 +2527,9 @@ Array [ "fileName": "toys_512pxGREY.png", "url": "//images.ctfassets.net/rocybtov1ozk/6t4HKjytPi0mYgs240wkG/6e730b1e6c2a46929239019240c037e6/toys_512pxGREY.png", }, - "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___de", + "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset___de", "internal": Object { - "contentDigest": "f62c8da419321df624add5f941b66059", + "contentDigest": "4bd8fe775341c3af881b50b8946c0bed", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2511,6 +2537,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Toys", "updatedAt": "2017-06-27T09:35:36.633Z", @@ -2534,9 +2561,9 @@ Array [ "fileName": "9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/1MgbdJNTsMWKI0W68oYqkU/ad0200fe320b85ecdd823c711161c2f6/9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", }, - "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU", + "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU___Asset", "internal": Object { - "contentDigest": "3129d66e797ab99f3c2236be39395503", + "contentDigest": "52e5ae7190795bde9593a3af35e29dda", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2544,6 +2571,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Chive logo", "updatedAt": "2017-06-27T09:35:36.182Z", @@ -2567,9 +2595,9 @@ Array [ "fileName": "9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/1MgbdJNTsMWKI0W68oYqkU/ad0200fe320b85ecdd823c711161c2f6/9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", }, - "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU___de", + "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU___Asset___de", "internal": Object { - "contentDigest": "529a5fa3f6b5d2e9a524fa509cbf2123", + "contentDigest": "c1ecab424cc9351b6c34c25204276249", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2577,6 +2605,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Chive logo", "updatedAt": "2017-06-27T09:35:36.182Z", @@ -2600,9 +2629,9 @@ Array [ "fileName": "1418244847_Streamline-18-256.png", "url": "//images.ctfassets.net/rocybtov1ozk/6m5AJ9vMPKc8OUoQeoCS4o/e782e3b291ff2b0287546a563af4683c/1418244847_Streamline-18-256.png", }, - "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o", + "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset", "internal": Object { - "contentDigest": "477159b0f3f036fea7e5c083d06d16f0", + "contentDigest": "738cac15e3bb4c6d4830b3fc0ec45af9", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2610,6 +2639,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Home and Kitchen", "updatedAt": "2017-06-27T09:35:36.172Z", @@ -2633,9 +2663,9 @@ Array [ "fileName": "1418244847_Streamline-18-256.png", "url": "//images.ctfassets.net/rocybtov1ozk/6m5AJ9vMPKc8OUoQeoCS4o/e782e3b291ff2b0287546a563af4683c/1418244847_Streamline-18-256.png", }, - "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___de", + "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset___de", "internal": Object { - "contentDigest": "118db927d63889425a49ef96e6766785", + "contentDigest": "488ace4a8e828d61893bae98001dc1f7", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2643,6 +2673,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Home and Kitchen", "updatedAt": "2017-06-27T09:35:36.172Z", @@ -2666,9 +2697,9 @@ Array [ "fileName": "playsam.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/4zj1ZOfHgQ8oqgaSKm4Qo2/5d967c9c48d67eabff71a9a0232d4378/playsam.jpg", }, - "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2", + "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset", "internal": Object { - "contentDigest": "d0b8d18742550bf065ee92635220fc07", + "contentDigest": "79197acfeddb216cb331db984d5e7b55", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2676,6 +2707,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam", "updatedAt": "2017-06-27T09:35:36.168Z", @@ -2699,9 +2731,9 @@ Array [ "fileName": "playsam.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/4zj1ZOfHgQ8oqgaSKm4Qo2/5d967c9c48d67eabff71a9a0232d4378/playsam.jpg", }, - "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___de", + "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset___de", "internal": Object { - "contentDigest": "0f9ff782ed48545ba0cf89e28bcd54a3", + "contentDigest": "24b59970db0fb066b8b9fad476b0d612", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2709,6 +2741,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam", "updatedAt": "2017-06-27T09:35:36.168Z", @@ -2732,9 +2765,9 @@ Array [ "fileName": "quwowooybuqbl6ntboz3.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/wtrHxeu3zEoEce2MokCSi/73dce36715f16e27cf5ff0d2d97d7dff/quwowooybuqbl6ntboz3.jpg", }, - "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi", + "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset", "internal": Object { - "contentDigest": "e093963d43625696e698d248a13bec40", + "contentDigest": "2f93e0d4f096a0014ac7549f9a92a942", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2742,6 +2775,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam Streamliner", "updatedAt": "2017-06-27T09:35:36.037Z", @@ -2765,9 +2799,9 @@ Array [ "fileName": "quwowooybuqbl6ntboz3.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/wtrHxeu3zEoEce2MokCSi/73dce36715f16e27cf5ff0d2d97d7dff/quwowooybuqbl6ntboz3.jpg", }, - "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___de", + "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset___de", "internal": Object { - "contentDigest": "4b0fd07d3412f5ff2ae2a24984153969", + "contentDigest": "d24ec97c34146fb1391372ba3fdfde8e", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2775,6 +2809,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam Streamliner", "updatedAt": "2017-06-27T09:35:36.037Z", @@ -2798,9 +2833,9 @@ Array [ "fileName": "ryugj83mqwa1asojwtwb.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/10TkaLheGeQG6qQGqWYqUI/f997e8e13c8c83c145e976d0905e64b7/ryugj83mqwa1asojwtwb.jpg", }, - "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI", + "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset", "internal": Object { - "contentDigest": "0ec9573453443afa248884f5476a0303", + "contentDigest": "70a6136d30af841ad78e3dfd65f8edec", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2808,6 +2843,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Whisk beaters", "updatedAt": "2017-06-27T09:35:36.032Z", @@ -2831,9 +2867,9 @@ Array [ "fileName": "ryugj83mqwa1asojwtwb.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/10TkaLheGeQG6qQGqWYqUI/f997e8e13c8c83c145e976d0905e64b7/ryugj83mqwa1asojwtwb.jpg", }, - "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___de", + "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset___de", "internal": Object { - "contentDigest": "bb6a3391ff08c68ca89243efc11c5819", + "contentDigest": "971f33d62c6b0e07c4fb394f73031218", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2841,6 +2877,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Whisk beaters", "updatedAt": "2017-06-27T09:35:36.032Z", @@ -2864,9 +2901,9 @@ Array [ "fileName": "1418244847_Streamline-18-256 (1).png", "url": "//images.ctfassets.net/rocybtov1ozk/6s3iG2OVmoUcosmA8ocqsG/286ac4c1be74e05d2e7e11bc5a55bc83/1418244847_Streamline-18-256__1_.png", }, - "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG", + "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG___Asset", "internal": Object { - "contentDigest": "6254f2c99b32f63f755df68cf1b67dc8", + "contentDigest": "ee684e7781088eb7a1f7e5038e30c6d8", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -2874,6 +2911,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "House icon", "updatedAt": "2017-06-27T09:35:35.994Z", @@ -2897,9 +2935,9 @@ Array [ "fileName": "1418244847_Streamline-18-256 (1).png", "url": "//images.ctfassets.net/rocybtov1ozk/6s3iG2OVmoUcosmA8ocqsG/286ac4c1be74e05d2e7e11bc5a55bc83/1418244847_Streamline-18-256__1_.png", }, - "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG___de", + "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG___Asset___de", "internal": Object { - "contentDigest": "98dd622a65b27085518f161368d982db", + "contentDigest": "3d864d134ad2b975aed2e793545eb9b3", "type": "ContentfulAsset", }, "node_locale": "de", @@ -2907,6 +2945,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "House icon", "updatedAt": "2017-06-27T09:35:35.994Z", @@ -2924,31 +2963,34 @@ Array [ "displayField": "title", "id": "c6XwpTaSiiI2Ak2Ww0oi6qa", "internal": Object { - "contentDigest": "975209d1b77d363e75373ea2b2686884", + "contentDigest": "755626d87af0751f341ff2e4ec082ed9", "type": "ContentfulContentType", }, "name": "Category", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", ], - "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2acategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrycategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2atitleTextNode", - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2acategoryDescriptionTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrytitleTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrycategoryDescriptionTextNode", ], "contentful_id": "7LAnCobuuWYSqks6wAwY2a", "createdAt": "2017-06-27T09:35:44.000Z", - "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o", - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", "internal": Object { - "contentDigest": "e47f3c6073f31c8f9a6c04e401678b48", + "contentDigest": "9b9cac2e295e347a16a950e6f7b15571", "type": "ContentfulC6XwpTaSiiI2Ak2Ww0Oi6Qa", }, "node_locale": "en-US", @@ -2964,27 +3006,28 @@ Array [ }, }, "revision": 4, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2atitleTextNode", + "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrytitleTextNode", "updatedAt": "2020-06-30T11:22:54.201Z", }, ], Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", ], - "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQcategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrycategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQtitleTextNode", - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQcategoryDescriptionTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrytitleTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrycategoryDescriptionTextNode", ], "contentful_id": "24DPGBDeGEaYy8ms4Y8QMQ", "createdAt": "2017-06-27T09:35:44.992Z", - "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG", - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", "internal": Object { - "contentDigest": "952c9b9a636bb013bf778caa860bcc16", + "contentDigest": "643d5e1889f2e9674ab3ea0896323d01", "type": "ContentfulC6XwpTaSiiI2Ak2Ww0Oi6Qa", }, "node_locale": "en-US", @@ -3000,22 +3043,26 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQtitleTextNode", + "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrytitleTextNode", "updatedAt": "2017-06-27T09:46:43.477Z", }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2atitleTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrytitleTextNode", "internal": Object { "content": "Home & Kitchen", "contentDigest": "71520a45fe8b5ecded737e074a6b30a0", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaTitleTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", + "sys": Object { + "type": "Entry", + }, "title": "Home & Kitchen", }, ], @@ -3023,27 +3070,33 @@ Array [ Object { "categoryDescription": "Shop for furniture, bedding, bath, vacuums, kitchen products, and more", "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2acategoryDescriptionTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrycategoryDescriptionTextNode", "internal": Object { "content": "Shop for furniture, bedding, bath, vacuums, kitchen products, and more", "contentDigest": "24709e2bdb88b89104c215e6b5492bf8", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQtitleTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrytitleTextNode", "internal": Object { "content": "Toys", "contentDigest": "66d0af2d5da0109dc2aae67829f7d4d4", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaTitleTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", + "sys": Object { + "type": "Entry", + }, "title": "Toys", }, ], @@ -3051,14 +3104,17 @@ Array [ Object { "categoryDescription": "Shop for toys, games, educational aids", "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQcategoryDescriptionTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrycategoryDescriptionTextNode", "internal": Object { "content": "Shop for toys, games, educational aids", "contentDigest": "c3cd3eaea58a115e968573664df3a603", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -3068,31 +3124,34 @@ Array [ "displayField": "title", "id": "c6XwpTaSiiI2Ak2Ww0oi6qa", "internal": Object { - "contentDigest": "975209d1b77d363e75373ea2b2686884", + "contentDigest": "755626d87af0751f341ff2e4ec082ed9", "type": "ContentfulContentType", }, "name": "Category", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", ], - "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___decategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___decategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___detitleTextNode", - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___decategoryDescriptionTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___detitleTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___decategoryDescriptionTextNode", ], "contentful_id": "7LAnCobuuWYSqks6wAwY2a", "createdAt": "2017-06-27T09:35:44.000Z", - "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___de", - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset___de", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", "internal": Object { - "contentDigest": "0efd375056f4393650d87577303e210e", + "contentDigest": "87cfbb679fd6345cdffa60ad555199c8", "type": "ContentfulC6XwpTaSiiI2Ak2Ww0Oi6Qa", }, "node_locale": "de", @@ -3108,27 +3167,28 @@ Array [ }, }, "revision": 4, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___detitleTextNode", + "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___detitleTextNode", "updatedAt": "2020-06-30T11:22:54.201Z", }, ], Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", ], - "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___decategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___decategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___detitleTextNode", - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___decategoryDescriptionTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___detitleTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___decategoryDescriptionTextNode", ], "contentful_id": "24DPGBDeGEaYy8ms4Y8QMQ", "createdAt": "2017-06-27T09:35:44.992Z", - "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___de", - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset___de", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", "internal": Object { - "contentDigest": "4a48b4b18c1f4c4e30d89bc7dc1fd392", + "contentDigest": "2d069688f658d34a5fd3f2204e730f28", "type": "ContentfulC6XwpTaSiiI2Ak2Ww0Oi6Qa", }, "node_locale": "de", @@ -3144,22 +3204,26 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___detitleTextNode", + "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___detitleTextNode", "updatedAt": "2017-06-27T09:46:43.477Z", }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___detitleTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___detitleTextNode", "internal": Object { "content": "Haus & Küche", "contentDigest": "21786d8d63d043d9cc0f639450bd5b70", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaTitleTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", + "sys": Object { + "type": "Entry", + }, "title": "Haus & Küche", }, ], @@ -3167,27 +3231,33 @@ Array [ Object { "categoryDescription": "Shop für Möbel, Bettwäsche, Bad, Staubsauger, Küchenprodukte und vieles mehr", "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___decategoryDescriptionTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___decategoryDescriptionTextNode", "internal": Object { "content": "Shop für Möbel, Bettwäsche, Bad, Staubsauger, Küchenprodukte und vieles mehr", "contentDigest": "7d7b0c68e20954c3f092bae55ccbdd9f", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___detitleTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___detitleTextNode", "internal": Object { "content": "Spielzeug", "contentDigest": "22658c0cbfd038b32380aa036bff1cfe", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaTitleTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", + "sys": Object { + "type": "Entry", + }, "title": "Spielzeug", }, ], @@ -3195,14 +3265,17 @@ Array [ Object { "categoryDescription": "Spielzeugladen, Spiele, Lernhilfen", "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___decategoryDescriptionTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___decategoryDescriptionTextNode", "internal": Object { "content": "Spielzeugladen, Spiele, Lernhilfen", "contentDigest": "93335f47e41d44163239227427760695", "mediaType": "text/markdown", "type": "contentfulC6XwpTaSiiI2Ak2Ww0Oi6QaCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -3212,34 +3285,37 @@ Array [ "displayField": "companyName", "id": "sFzTZbSuM8coEwygeUYes", "internal": Object { - "contentDigest": "446c52653ee0185a2ffffeda2fc34d0c", + "contentDigest": "f986513dd088530aec0e392f9325ae0d", "type": "ContentfulContentType", }, "name": "Brand", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", ], "children": Array [ - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyNameTextNode", - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyDescriptionTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyNameTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyNameTextNode", "contentful_id": "651CQ8rLoIYCeY6G0QG22q", "createdAt": "2017-06-27T09:35:43.997Z", "email": "[email protected]", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", "internal": Object { - "contentDigest": "b9ed13a0f19d2b78cc4275ec746351a4", + "contentDigest": "580eeb06324c435e82b5c488e75b4118", "type": "ContentfulSFzTZbSuM8CoEwygeUYes", }, - "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu", + "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset", "node_locale": "en-US", "parent": "sFzTZbSuM8coEwygeUYes", "phone": Array [ @@ -3256,6 +3332,7 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, "twitter": "https://twitter.com/NormannCPH", "updatedAt": "2017-06-27T09:55:16.820Z", @@ -3265,23 +3342,23 @@ Array [ Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", ], "children": Array [ - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyNameTextNode", - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyDescriptionTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyNameTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyNameTextNode", "contentful_id": "4LgMotpNF6W20YKmuemW0a", "createdAt": "2017-06-27T09:35:44.396Z", "email": "[email protected]", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", "internal": Object { - "contentDigest": "af09a179de3f6902b736a07de3670997", + "contentDigest": "6f9e853587ae4d1fe21c8c979aa19afc", "type": "ContentfulSFzTZbSuM8CoEwygeUYes", }, - "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI", + "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset", "node_locale": "en-US", "parent": "sFzTZbSuM8coEwygeUYes", "phone": Array [ @@ -3298,6 +3375,7 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:51:15.647Z", "website": "http://www.lemnos.jp/en/", @@ -3306,22 +3384,22 @@ Array [ Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", ], "children": Array [ - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyNameTextNode", - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyDescriptionTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyNameTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyNameTextNode", "contentful_id": "JrePkDVYomE8AwcuCUyMi", "createdAt": "2017-06-27T09:35:44.988Z", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", "internal": Object { - "contentDigest": "b157f7439b170caa217c5069956bf902", + "contentDigest": "19047ee97130b925c6c87ddaf8b692da", "type": "ContentfulSFzTZbSuM8CoEwygeUYes", }, - "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2", + "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset", "node_locale": "en-US", "parent": "sFzTZbSuM8coEwygeUYes", "spaceId": "rocybtov1ozk", @@ -3335,6 +3413,7 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:50:36.937Z", "website": "http://playsam.com/", @@ -3344,42 +3423,51 @@ Array [ Object { "children": Array [], "companyName": "Normann Copenhagen", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyNameTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyNameTextNode", "internal": Object { "content": "Normann Copenhagen", "contentDigest": "5fb9d019c3646f6fee84172952337463", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Normann Copenhagen is a way of living - a mindset. We love to challenge the conventional design rules. This is why you will find traditional materials put into untraditional use such as a Stone Hook made of Icelandic stones, a vase made out of silicon and last but not least a dog made out of plastic.", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyDescriptionTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyDescriptionTextNode", "internal": Object { "content": "Normann Copenhagen is a way of living - a mindset. We love to challenge the conventional design rules. This is why you will find traditional materials put into untraditional use such as a Stone Hook made of Icelandic stones, a vase made out of silicon and last but not least a dog made out of plastic.", "contentDigest": "8010f6e93f3a7dbca56c041a46d4ab77", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Lemnos", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyNameTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyNameTextNode", "internal": Object { "content": "Lemnos", "contentDigest": "7b0e3f7cc613d34aafa689516e96056e", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -3396,7 +3484,7 @@ Lemnos brand products are now highly praised from the design shops and the inter In recent years, we also have been given high priority to develop interior accessories making full use of our traditional techniques by the founding manufacturer and we always focus our minds on the development for the new Lemnos products in the new market. Our Lemnos products are made carefully by our craftsmen finely honed skillful techniques in Japan. They surely bring out the attractiveness of the materials to the maximum and create fine products not being influenced on the fashion trend accordingly. TAKATA Lemnos Inc. definitely would like to be innovative and continuously propose the beauty lasts forever.", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyDescriptionTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyDescriptionTextNode", "internal": Object { "content": "TAKATA Lemnos Inc. was founded in 1947 as a brass casting manufacturing industry in Takaoka-city, Toyama Prefecture, Japan and we launched out into the full-scale business trade with Seiko Clock Co., Ltd. since 1966. @@ -3413,35 +3501,44 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Playsam", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyNameTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyNameTextNode", "internal": Object { "content": "Playsam", "contentDigest": "1d2de5c3096635ca01f6ab4131252039", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyNameTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Playsam is the leading Scandinavian design company for executive wooden toy gift. Scandinavian design playful creativity, integrity and sophistication are Playsam. Scandinavian design and wooden toy makes Playsam gift lovely to the world of design since 1984.", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyDescriptionTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyDescriptionTextNode", "internal": Object { "content": "Playsam is the leading Scandinavian design company for executive wooden toy gift. Scandinavian design playful creativity, integrity and sophistication are Playsam. Scandinavian design and wooden toy makes Playsam gift lovely to the world of design since 1984.", "contentDigest": "f27a71b7f2ee9eabad3335e0c03da951", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -3451,34 +3548,37 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te "displayField": "companyName", "id": "sFzTZbSuM8coEwygeUYes", "internal": Object { - "contentDigest": "446c52653ee0185a2ffffeda2fc34d0c", + "contentDigest": "f986513dd088530aec0e392f9325ae0d", "type": "ContentfulContentType", }, "name": "Brand", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", ], "children": Array [ - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyNameTextNode", - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyDescriptionTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyNameTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyNameTextNode", "contentful_id": "651CQ8rLoIYCeY6G0QG22q", "createdAt": "2017-06-27T09:35:43.997Z", "email": "[email protected]", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", "internal": Object { - "contentDigest": "64e6a055aab51f3290798314daef7d54", + "contentDigest": "6be037832d8ca29f0767fbf415c5aa81", "type": "ContentfulSFzTZbSuM8CoEwygeUYes", }, - "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___de", + "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset___de", "node_locale": "de", "parent": "sFzTZbSuM8coEwygeUYes", "phone": Array [ @@ -3495,6 +3595,7 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te }, }, "revision": 2, + "type": "Entry", }, "twitter": "https://twitter.com/NormannCPH", "updatedAt": "2017-06-27T09:55:16.820Z", @@ -3504,23 +3605,23 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", ], "children": Array [ - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyNameTextNode", - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyDescriptionTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyNameTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyNameTextNode", "contentful_id": "4LgMotpNF6W20YKmuemW0a", "createdAt": "2017-06-27T09:35:44.396Z", "email": "[email protected]", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", "internal": Object { - "contentDigest": "390cbe381210d148974ac24a3f9a23ea", + "contentDigest": "67903b8a2e453f00e4ccba1fa56df9aa", "type": "ContentfulSFzTZbSuM8CoEwygeUYes", }, - "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___de", + "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset___de", "node_locale": "de", "parent": "sFzTZbSuM8coEwygeUYes", "phone": Array [ @@ -3537,6 +3638,7 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:51:15.647Z", "website": "http://www.lemnos.jp/en/", @@ -3545,22 +3647,22 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te Array [ Object { "c2pqfxujwe8qsykum0u6w8m___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", ], "children": Array [ - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyNameTextNode", - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyDescriptionTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyNameTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyNameTextNode", "contentful_id": "JrePkDVYomE8AwcuCUyMi", "createdAt": "2017-06-27T09:35:44.988Z", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", "internal": Object { - "contentDigest": "af9f3050fc3e080c50607dbaf4595ee1", + "contentDigest": "27e36dc4c56ff1856e5366231e6749a6", "type": "ContentfulSFzTZbSuM8CoEwygeUYes", }, - "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___de", + "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset___de", "node_locale": "de", "parent": "sFzTZbSuM8coEwygeUYes", "spaceId": "rocybtov1ozk", @@ -3574,6 +3676,7 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:50:36.937Z", "website": "http://playsam.com/", @@ -3583,42 +3686,51 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te Object { "children": Array [], "companyName": "Normann Copenhagen", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyNameTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyNameTextNode", "internal": Object { "content": "Normann Copenhagen", "contentDigest": "5fb9d019c3646f6fee84172952337463", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Normann Kopenhagen ist eine Art zu leben - eine Denkweise. Wir lieben es, die konventionellen Designregeln herauszufordern. Aus diesem Grund finden Sie traditionelle Materialien, die in untraditionelle Verwendung wie ein Steinhaken aus isländischen Steinen, eine Vase aus Silizium und last but not least ein Hund aus Kunststoff.", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyDescriptionTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyDescriptionTextNode", "internal": Object { "content": "Normann Kopenhagen ist eine Art zu leben - eine Denkweise. Wir lieben es, die konventionellen Designregeln herauszufordern. Aus diesem Grund finden Sie traditionelle Materialien, die in untraditionelle Verwendung wie ein Steinhaken aus isländischen Steinen, eine Vase aus Silizium und last but not least ein Hund aus Kunststoff.", "contentDigest": "0a7c7553a38bb0a62a22c20deb99a93f", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Lemnos", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyNameTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyNameTextNode", "internal": Object { "content": "Lemnos", "contentDigest": "7b0e3f7cc613d34aafa689516e96056e", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -3635,7 +3747,7 @@ Lemnos Markenprodukte werden nun von den Designläden und den Innenhandelsgesch In den vergangenen Jahren haben wir auch eine hohe Priorität für die Entwicklung von Innenausstattung, die den traditionellen Techniken des Gründungsherstellers voll ausnutzt, und wir konzentrieren uns immer auf die Entwicklung der neuen Lemnos-Produkte im neuen Markt. Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliffen geschickten Techniken in Japan gemacht. Sie bringen sicherlich die Attraktivität der Materialien auf das Maximum und schaffen feine Produkte nicht beeinflusst auf die Mode-Trend entsprechend. TAKATA Lemnos Inc. möchte definitiv innovativ sein und ständig vorschlagen, die Schönheit dauert ewig.", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyDescriptionTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyDescriptionTextNode", "internal": Object { "content": "TAKATA Lemnos Inc. wurde im Jahre 1947 als Messing-Casting-Fertigungsindustrie in Takaoka-Stadt, Toyama Prefecture, Japan gegründet und wir starteten seit 1966 mit der Seiko Clock Co., Ltd. @@ -3652,35 +3764,44 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Playsam", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyNameTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyNameTextNode", "internal": Object { "content": "Playsam", "contentDigest": "1d2de5c3096635ca01f6ab4131252039", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyNameTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Playsam ist die führende skandinavische Designfirma für Executive Holzspielzeug Geschenk. Skandinavisches Design spielerische Kreativität, Integrität und Raffinesse sind Playsam. Skandinavisches Design und hölzernes Spielzeug macht Playsam Geschenk schön in die Welt des Designs seit 1984.", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyDescriptionTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyDescriptionTextNode", "internal": Object { "content": "Playsam ist die führende skandinavische Designfirma für Executive Holzspielzeug Geschenk. Skandinavisches Design spielerische Kreativität, Integrität und Raffinesse sind Playsam. Skandinavisches Design und hölzernes Spielzeug macht Playsam Geschenk schön in die Welt des Designs seit 1984.", "contentDigest": "7b0a48d4861111805b6c614bf2373eb6", "mediaType": "text/markdown", "type": "contentfulSFzTZbSuM8CoEwygeUYesCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -3690,38 +3811,41 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "productName", "id": "c2PqfXUJwE8qSYKuM0U6w8M", "internal": Object { - "contentDigest": "33b82fbdda5b95b3a7c8c353e64cf596", + "contentDigest": "2196c83beb31e84f2c964acff905bb07", "type": "ContentfulContentType", }, "name": "Product", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { - "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", ], "children": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductNameTextNode", - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductDescriptionTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductNameTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductDescriptionTextNode", ], "contentful_id": "5KsDBWseXY6QegucYAoacS", "createdAt": "2017-06-27T09:35:43.996Z", - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", "image___NODE": Array [ - "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi", + "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset", ], "internal": Object { - "contentDigest": "96274458ce0b3c80512719c19831f18c", + "contentDigest": "9995ede420944f089daee32c8c70329e", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "en-US", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 44, - "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductNameTextNode", "quantity": 56, "sizetypecolor": "Length: 135 mm | color: espresso, green, or icar (white)", "sku": "B001R6JUZ2", @@ -3737,6 +3861,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "wood", @@ -3751,29 +3876,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", ], "children": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductNameTextNode", - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductDescriptionTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductNameTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductDescriptionTextNode", ], "contentful_id": "3DVqIYj4dOwwcKu6sgqOgg", "createdAt": "2017-06-27T09:35:44.006Z", - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", "image___NODE": Array [ - "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um", + "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset", ], "internal": Object { - "contentDigest": "bb436faa6b9319b008c906e342156b3e", + "contentDigest": "fb3b7210cf77b96c47d0d16e568d0292", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "en-US", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 11, - "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductNameTextNode", "quantity": 101, "sizetypecolor": "3 x 3 x 5 inches; 5.3 ounces", "sku": "B00E82D7I8", @@ -3789,6 +3914,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "vase", @@ -3801,29 +3927,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", ], "children": Array [ - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productNameTextNode", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productDescriptionTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductNameTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductDescriptionTextNode", ], "contentful_id": "6dbjWqNd9SqccegcqYq224", "createdAt": "2017-06-27T09:35:44.049Z", - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", "image___NODE": Array [ - "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI", + "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset", ], "internal": Object { - "contentDigest": "dc7a86c99845028d3ca065d16b738607", + "contentDigest": "878bf305da3d5ad045477a0cb17bdf57", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "en-US", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 22, - "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductNameTextNode", "quantity": 89, "sizetypecolor": "0.8 x 0.8 x 11.2 inches; 1.6 ounces", "sku": "B0081F2CCK", @@ -3839,6 +3965,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "kitchen", @@ -3853,29 +3980,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", ], "children": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductNameTextNode", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductDescriptionTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductNameTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductDescriptionTextNode", ], "contentful_id": "4BqrajvA8E6qwgkieoqmqO", "createdAt": "2017-06-27T09:35:44.130Z", - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", "image___NODE": Array [ - "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8", + "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset", ], "internal": Object { - "contentDigest": "f6fc7bef88a8fcf00474bc0d1d0e1c6b", + "contentDigest": "e5119edbf38ed58d35a77e8ce29ebf2d", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "en-US", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 120, - "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductNameTextNode", "quantity": 3, "sizetypecolor": "10\\" x 2.2\\"", "sku": "B00MG4ULK2", @@ -3891,6 +4018,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "home décor", @@ -3906,113 +4034,137 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductNameTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductNameTextNode", "internal": Object { "content": "Playsam Streamliner Classic Car, Espresso", "contentDigest": "fb5febcf7ce227772c3998af60b6e740", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", "productName": "Playsam Streamliner Classic Car, Espresso", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductDescriptionTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductDescriptionTextNode", "internal": Object { "content": "A classic Playsam design, the Streamliner Classic Car has been selected as Swedish Design Classic by the Swedish National Museum for its inventive style and sleek surface. It's no wonder that this wooden car has also been a long-standing favorite for children both big and small!", "contentDigest": "d27a98d8abd9865c279017aed14f2766", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", "productDescription": "A classic Playsam design, the Streamliner Classic Car has been selected as Swedish Design Classic by the Swedish National Museum for its inventive style and sleek surface. It's no wonder that this wooden car has also been a long-standing favorite for children both big and small!", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductNameTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductNameTextNode", "internal": Object { "content": "Hudson Wall Cup", "contentDigest": "927daa584fb961e59edbd07f921b916c", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", "productName": "Hudson Wall Cup", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductDescriptionTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductDescriptionTextNode", "internal": Object { "content": "Wall Hanging Glass Flower Vase and Terrarium", "contentDigest": "da605021a35b1da89c6810fb46275a58", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", "productDescription": "Wall Hanging Glass Flower Vase and Terrarium", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productNameTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductNameTextNode", "internal": Object { "content": "Whisk Beater", "contentDigest": "bfab59c3dba2ca3c2fce106049470741", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", "productName": "Whisk Beater", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productDescriptionTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductDescriptionTextNode", "internal": Object { "content": "A creative little whisk that comes in 8 different colors. Handy and easy to clean after use. A great gift idea.", "contentDigest": "223b5836966aa0ab2c43a9a870e7a631", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", "productDescription": "A creative little whisk that comes in 8 different colors. Handy and easy to clean after use. A great gift idea.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductNameTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductNameTextNode", "internal": Object { "content": "SoSo Wall Clock", "contentDigest": "2bd6c9f1667f2fbb59343e203cb0b7bf", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", "productName": "SoSo Wall Clock", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductDescriptionTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductDescriptionTextNode", "internal": Object { "content": "The newly released SoSo Clock from Lemnos marries simple, clean design and bold, striking features. Its saturated marigold face is a lively pop of color to white or grey walls, but would also pair nicely with navy and maroon. Where most clocks feature numbers at the border of the clock, the SoSo brings them in tight to the middle, leaving a wide space between the numbers and the slight frame. The hour hand provides a nice interruption to the black and yellow of the clock - it is featured in a brilliant white. Despite its bold color and contrast, the SoSo maintains a clean, pure aesthetic that is suitable to a variety of contemporary interiors.", "contentDigest": "c5b4a61c6d533216a0efe0d4ee66c98b", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", "productDescription": "The newly released SoSo Clock from Lemnos marries simple, clean design and bold, striking features. Its saturated marigold face is a lively pop of color to white or grey walls, but would also pair nicely with navy and maroon. Where most clocks feature numbers at the border of the clock, the SoSo brings them in tight to the middle, leaving a wide space between the numbers and the slight frame. The hour hand provides a nice interruption to the black and yellow of the clock - it is featured in a brilliant white. Despite its bold color and contrast, the SoSo maintains a clean, pure aesthetic that is suitable to a variety of contemporary interiors.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -4022,38 +4174,41 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "productName", "id": "c2PqfXUJwE8qSYKuM0U6w8M", "internal": Object { - "contentDigest": "33b82fbdda5b95b3a7c8c353e64cf596", + "contentDigest": "2196c83beb31e84f2c964acff905bb07", "type": "ContentfulContentType", }, "name": "Product", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { - "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", ], "children": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductNameTextNode", - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductDescriptionTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductNameTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductDescriptionTextNode", ], "contentful_id": "5KsDBWseXY6QegucYAoacS", "createdAt": "2017-06-27T09:35:43.996Z", - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___de", + "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset___de", ], "internal": Object { - "contentDigest": "327b1cd65679d83d8a609ad3260cfd6e", + "contentDigest": "025037ad5cd1ca97e4c0109320fa9ecb", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "de", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 44, - "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductNameTextNode", "quantity": 56, "sizetypecolor": "Length: 135 mm | color: espresso, green, or icar (white)", "sku": "B001R6JUZ2", @@ -4069,6 +4224,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "wood", @@ -4083,29 +4239,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", ], "children": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductNameTextNode", - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductDescriptionTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductNameTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductDescriptionTextNode", ], "contentful_id": "3DVqIYj4dOwwcKu6sgqOgg", "createdAt": "2017-06-27T09:35:44.006Z", - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___de", + "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset___de", ], "internal": Object { - "contentDigest": "662ae6c24cbb713d75c3f4a04ef96279", + "contentDigest": "e47eabf21a76002308217ea0ad8e2d16", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "de", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 11, - "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductNameTextNode", "quantity": 101, "sizetypecolor": "3 x 3 x 5 inches; 5.3 ounces", "sku": "B00E82D7I8", @@ -4121,6 +4277,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "vase", @@ -4133,29 +4290,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", ], "children": Array [ - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductNameTextNode", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductDescriptionTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductNameTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductDescriptionTextNode", ], "contentful_id": "6dbjWqNd9SqccegcqYq224", "createdAt": "2017-06-27T09:35:44.049Z", - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___de", + "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset___de", ], "internal": Object { - "contentDigest": "ca590bad82ac02cc094b592ef82e3ee1", + "contentDigest": "96362dba5da6150d945c5194e4a24b45", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "de", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 22, - "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductNameTextNode", "quantity": 89, "sizetypecolor": "0.8 x 0.8 x 11.2 inches; 1.6 ounces", "sku": "B0081F2CCK", @@ -4171,6 +4328,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "kitchen", @@ -4185,29 +4343,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", ], "children": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductNameTextNode", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductDescriptionTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductNameTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductDescriptionTextNode", ], "contentful_id": "4BqrajvA8E6qwgkieoqmqO", "createdAt": "2017-06-27T09:35:44.130Z", - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___de", + "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset___de", ], "internal": Object { - "contentDigest": "49a23fa917848136ea6bd6edb2094ab7", + "contentDigest": "7228f08d874fa6832e07ecb0727ed4b4", "type": "ContentfulC2PqfXuJwE8QSyKuM0U6W8M", }, "node_locale": "de", "parent": "c2PqfXUJwE8qSYKuM0U6w8M", "price": 120, - "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductNameTextNode", "quantity": 3, "sizetypecolor": "10\\" x 2.2\\"", "sku": "B00MG4ULK2", @@ -4223,6 +4381,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "home décor", @@ -4238,113 +4397,137 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductNameTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductNameTextNode", "internal": Object { "content": "Playsam Streamliner Klassisches Auto, Espresso", "contentDigest": "7f76178eaaeb38fc20570d0c6eb49c3e", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", "productName": "Playsam Streamliner Klassisches Auto, Espresso", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Ein klassisches Playsam-Design, das Streamliner Classic Car wurde als Swedish Design Classic vom Schwedischen Nationalmuseum für seinen erfinderischen Stil und seine schlanke Oberfläche ausgewählt. Es ist kein Wunder, dass dieses hölzerne Auto auch ein langjähriger Liebling für Kinder gewesen ist, die groß und klein sind!", "contentDigest": "85779a170b2fe2458d707b34459d4085", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", "productDescription": "Ein klassisches Playsam-Design, das Streamliner Classic Car wurde als Swedish Design Classic vom Schwedischen Nationalmuseum für seinen erfinderischen Stil und seine schlanke Oberfläche ausgewählt. Es ist kein Wunder, dass dieses hölzerne Auto auch ein langjähriger Liebling für Kinder gewesen ist, die groß und klein sind!", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductNameTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductNameTextNode", "internal": Object { "content": "Becher", "contentDigest": "aac31ab0dcf429f1be1d2764db549f43", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", "productName": "Becher", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Wand-hängende Glas-Blumen-Vase und Terrarium", "contentDigest": "41d1166dbe8f8af2f8f2bad50fe42f03", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", "productDescription": "Wand-hängende Glas-Blumen-Vase und Terrarium", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductNameTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductNameTextNode", "internal": Object { "content": "Schneebesen", "contentDigest": "811253206ba751ed27cf3ceb68e334dc", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", "productName": "Schneebesen", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Ein kreativer kleiner Schneebesen, der in 8 verschiedenen Farben kommt. Praktisch und nach dem Gebrauch leicht zu reinigen. Eine tolle Geschenkidee.", "contentDigest": "d0793a3c142dc3f7377edd6625091cb7", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", "productDescription": "Ein kreativer kleiner Schneebesen, der in 8 verschiedenen Farben kommt. Praktisch und nach dem Gebrauch leicht zu reinigen. Eine tolle Geschenkidee.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductNameTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductNameTextNode", "internal": Object { "content": "SoSo wanduhr", "contentDigest": "8b38ff25d8ab847042efc8d525aaf7a0", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductNameTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", "productName": "SoSo wanduhr", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Die neu veröffentlichte SoSo Clock von Lemnos heiratet einfaches, sauberes Design und fette, auffällige Features. Sein gesättigtes Ringelblumengesicht ist ein lebhafter Pop der Farbe zu den weißen oder grauen Wänden, aber würde auch gut mit Marine und kastanienbraun paaren. Wo die meisten Uhren am Rande der Uhr Nummern sind, bringt der SoSo sie in die Mitte und lässt einen weiten Raum zwischen den Zahlen und dem leichten Rahmen. Der Stundenzeiger bietet eine schöne Unterbrechung der schwarzen und gelben der Uhr - es ist in einem brillanten Weiß vorgestellt. Trotz seiner kräftigen Farbe und des Kontrastes behält der SoSo eine saubere, reine Ästhetik, die für eine Vielzahl von zeitgenössischen Interieurs geeignet ist.", "contentDigest": "038ff737ccc03e4525691d265d5a92b7", "mediaType": "text/markdown", "type": "contentfulC2PqfXuJwE8QSyKuM0U6W8MProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", "productDescription": "Die neu veröffentlichte SoSo Clock von Lemnos heiratet einfaches, sauberes Design und fette, auffällige Features. Sein gesättigtes Ringelblumengesicht ist ein lebhafter Pop der Farbe zu den weißen oder grauen Wänden, aber würde auch gut mit Marine und kastanienbraun paaren. Wo die meisten Uhren am Rande der Uhr Nummern sind, bringt der SoSo sie in die Mitte und lässt einen weiten Raum zwischen den Zahlen und dem leichten Rahmen. Der Stundenzeiger bietet eine schöne Unterbrechung der schwarzen und gelben der Uhr - es ist in einem brillanten Weiß vorgestellt. Trotz seiner kräftigen Farbe und des Kontrastes behält der SoSo eine saubere, reine Ästhetik, die für eine Vielzahl von zeitgenössischen Interieurs geeignet ist.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -4354,30 +4537,33 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": null, "id": "jsonTest", "internal": Object { - "contentDigest": "b57963113f49efd385fc82e7eaa9687d", + "contentDigest": "5ea6b6686cc1af8dab233bcf21f6c43c", "type": "ContentfulContentType", }, "name": "JSON-test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonTestJSONNode", - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonTestJSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonStringTest0JSONNode", ], "contentful_id": "71mfnH4QKsSsQmgoaQuq6O", "createdAt": "2017-11-28T02:16:10.604Z", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry", "internal": Object { - "contentDigest": "7a2c4e037cf6c3435ddfa09076f9831c", + "contentDigest": "1b6d6d192cd0fe29415cd80dc7b33ca5", "type": "ContentfulJsonTest", }, "jsonStringTest___NODE": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonStringTest0JSONNode", ], - "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonTestJSONNode", + "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonTestJSONNode", "node_locale": "en-US", "parent": "jsonTest", "spaceId": "rocybtov1ozk", @@ -4391,6 +4577,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 4, + "type": "Entry", }, "updatedAt": "2018-08-13T14:27:12.458Z", }, @@ -4442,14 +4629,14 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "interfaces", "**/__tests__/fixtures/", ], - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonTestJSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonTestJSONNode", "internal": Object { "content": "{\\"engines\\":{\\"yarn\\":\\"^1.2.1\\"},\\"private\\":true,\\"scripts\\":{\\"jest\\":\\"jest\\",\\"lint\\":\\"eslint --ext .js,.jsx packages/**/src\\",\\"plop\\":\\"plop\\",\\"test\\":\\"yarn lint && yarn jest\\",\\"lerna\\":\\"lerna\\",\\"watch\\":\\"lerna run watch --no-sort --stream --concurrency 999\\",\\"format\\":\\"npm run format-packages && npm run format-cache-dir && npm run format-www && npm run format-examples && npm run format-scripts\\",\\"publish\\":\\"lerna publish\\",\\"bootstrap\\":\\"yarn && npm run check-versions && lerna run prepublish\\",\\"lint:flow\\":\\"babel-node scripts/flow-check.js\\",\\"remotedev\\":\\"remotedev --hostname=localhost --port=19999\\",\\"test_bkup\\":\\"npm run lint && npm run test-node && npm run test-integration\\",\\"format-www\\":\\"prettier-eslint --write /\\"www/*.js/\\" /\\"www/src/**/*.js/\\"\\",\\"test:watch\\":\\"jest --watch\\",\\"test:update\\":\\"jest --updateSnapshot\\",\\"publish-next\\":\\"lerna publish --npm-tag=next\\",\\"check-versions\\":\\"babel-node scripts/check-versions.js\\",\\"format-scripts\\":\\"prettier-eslint --write /\\"scripts/**/*.js/\\"\\",\\"publish-canary\\":\\"lerna publish --canary --yes\\",\\"format-examples\\":\\"prettier-eslint --write /\\"examples/**/gatsby-node.js/\\" /\\"examples/**/gatsby-config.js/\\" /\\"examples/**/src/**/*.js/\\"\\",\\"format-packages\\":\\"prettier-eslint --write /\\"packages/*/src/**/*.js/\\"\\",\\"format-cache-dir\\":\\"prettier-eslint --write /\\"packages/gatsby/cache-dir/*.js/\\"\\"},\\"workspaces\\":[\\"packages/*\\"],\\"eslintIgnore\\":[\\"interfaces\\",\\"**/__tests__/fixtures/\\"],\\"devDependencies\\":{\\"glob\\":\\"^7.1.1\\",\\"jest\\":\\"^20.0.4\\",\\"plop\\":\\"^1.8.1\\",\\"lerna\\":\\"^2.1.1\\",\\"eslint\\":\\"^4.5.0\\",\\"rimraf\\":\\"^2.6.1\\",\\"chokidar\\":\\"^1.7.0\\",\\"flow-bin\\":\\"^0.42.0\\",\\"jest-cli\\":\\"^20.0.4\\",\\"prettier\\":\\"^1.7.0\\",\\"babel-cli\\":\\"^6.26.0\\",\\"cross-env\\":\\"^5.0.5\\",\\"babel-jest\\":\\"^20.0.3\\",\\"babel-eslint\\":\\"^7.2.3\\",\\"babel-runtime\\":\\"^6.26.0\\",\\"babel-register\\":\\"^6.26.0\\",\\"babel-preset-env\\":\\"^1.6.0\\",\\"remotedev-server\\":\\"^0.2.3\\",\\"babel-preset-flow\\":\\"^6.23.0\\",\\"babel-preset-react\\":\\"^6.24.1\\",\\"babel-plugin-lodash\\":\\"^3.2.11\\",\\"eslint-plugin-react\\":\\"^7.3.0\\",\\"prettier-eslint-cli\\":\\"4.2.x\\",\\"babel-preset-stage-0\\":\\"^6.24.1\\",\\"eslint-config-google\\":\\"^0.9.1\\",\\"eslint-plugin-import\\":\\"^2.7.0\\",\\"eslint-config-prettier\\":\\"^2.5.0\\",\\"eslint-plugin-flowtype\\":\\"^2.35.0\\",\\"eslint-plugin-jsx-a11y\\":\\"^6.0.2\\",\\"eslint-plugin-prettier\\":\\"^2.2.0\\",\\"eslint-plugin-flow-vars\\":\\"^0.5.0\\",\\"babel-plugin-transform-runtime\\":\\"^6.23.0\\",\\"babel-plugin-add-module-exports\\":\\"^0.2.1\\",\\"babel-plugin-transform-flow-strip-types\\":\\"^6.22.0\\",\\"babel-plugin-transform-async-to-generator\\":\\"^6.24.1\\"}}", "contentDigest": "2555b7857c70c4293f9c6f3258dff561", "mediaType": "application/json", "type": "contentfulJsonTestJsonTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry", "private": true, "scripts": Object { "bootstrap": "yarn && npm run check-versions && lerna run prepublish", @@ -4475,6 +4662,9 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "test_bkup": "npm run lint && npm run test-node && npm run test-integration", "watch": "lerna run watch --no-sort --stream --concurrency 999", }, + "sys": Object { + "type": "Entry", + }, "workspaces": Array [ "packages/*", ], @@ -4484,14 +4674,17 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Object { "children": Array [], "content": "test", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonStringTest0JSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonStringTest0JSONNode", "internal": Object { "content": "\\"test\\"", "contentDigest": "303b5c8988601647873b4ffd247d83cb", "mediaType": "application/json", "type": "contentfulJsonTestJsonStringTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -4501,30 +4694,33 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": null, "id": "jsonTest", "internal": Object { - "contentDigest": "b57963113f49efd385fc82e7eaa9687d", + "contentDigest": "5ea6b6686cc1af8dab233bcf21f6c43c", "type": "ContentfulContentType", }, "name": "JSON-test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonTestJSONNode", - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonTestJSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonStringTest0JSONNode", ], "contentful_id": "71mfnH4QKsSsQmgoaQuq6O", "createdAt": "2017-11-28T02:16:10.604Z", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___de", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___de", "internal": Object { - "contentDigest": "4aa2b622f8e9676d26ab71580c313e39", + "contentDigest": "56232867be3327148c480da021d1da40", "type": "ContentfulJsonTest", }, "jsonStringTest___NODE": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonStringTest0JSONNode", ], - "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonTestJSONNode", + "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonTestJSONNode", "node_locale": "de", "parent": "jsonTest", "spaceId": "rocybtov1ozk", @@ -4538,6 +4734,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 4, + "type": "Entry", }, "updatedAt": "2018-08-13T14:27:12.458Z", }, @@ -4589,14 +4786,14 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "interfaces", "**/__tests__/fixtures/", ], - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonTestJSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonTestJSONNode", "internal": Object { "content": "{\\"engines\\":{\\"yarn\\":\\"^1.2.1\\"},\\"private\\":true,\\"scripts\\":{\\"jest\\":\\"jest\\",\\"lint\\":\\"eslint --ext .js,.jsx packages/**/src\\",\\"plop\\":\\"plop\\",\\"test\\":\\"yarn lint && yarn jest\\",\\"lerna\\":\\"lerna\\",\\"watch\\":\\"lerna run watch --no-sort --stream --concurrency 999\\",\\"format\\":\\"npm run format-packages && npm run format-cache-dir && npm run format-www && npm run format-examples && npm run format-scripts\\",\\"publish\\":\\"lerna publish\\",\\"bootstrap\\":\\"yarn && npm run check-versions && lerna run prepublish\\",\\"lint:flow\\":\\"babel-node scripts/flow-check.js\\",\\"remotedev\\":\\"remotedev --hostname=localhost --port=19999\\",\\"test_bkup\\":\\"npm run lint && npm run test-node && npm run test-integration\\",\\"format-www\\":\\"prettier-eslint --write /\\"www/*.js/\\" /\\"www/src/**/*.js/\\"\\",\\"test:watch\\":\\"jest --watch\\",\\"test:update\\":\\"jest --updateSnapshot\\",\\"publish-next\\":\\"lerna publish --npm-tag=next\\",\\"check-versions\\":\\"babel-node scripts/check-versions.js\\",\\"format-scripts\\":\\"prettier-eslint --write /\\"scripts/**/*.js/\\"\\",\\"publish-canary\\":\\"lerna publish --canary --yes\\",\\"format-examples\\":\\"prettier-eslint --write /\\"examples/**/gatsby-node.js/\\" /\\"examples/**/gatsby-config.js/\\" /\\"examples/**/src/**/*.js/\\"\\",\\"format-packages\\":\\"prettier-eslint --write /\\"packages/*/src/**/*.js/\\"\\",\\"format-cache-dir\\":\\"prettier-eslint --write /\\"packages/gatsby/cache-dir/*.js/\\"\\"},\\"workspaces\\":[\\"packages/*\\"],\\"eslintIgnore\\":[\\"interfaces\\",\\"**/__tests__/fixtures/\\"],\\"devDependencies\\":{\\"glob\\":\\"^7.1.1\\",\\"jest\\":\\"^20.0.4\\",\\"plop\\":\\"^1.8.1\\",\\"lerna\\":\\"^2.1.1\\",\\"eslint\\":\\"^4.5.0\\",\\"rimraf\\":\\"^2.6.1\\",\\"chokidar\\":\\"^1.7.0\\",\\"flow-bin\\":\\"^0.42.0\\",\\"jest-cli\\":\\"^20.0.4\\",\\"prettier\\":\\"^1.7.0\\",\\"babel-cli\\":\\"^6.26.0\\",\\"cross-env\\":\\"^5.0.5\\",\\"babel-jest\\":\\"^20.0.3\\",\\"babel-eslint\\":\\"^7.2.3\\",\\"babel-runtime\\":\\"^6.26.0\\",\\"babel-register\\":\\"^6.26.0\\",\\"babel-preset-env\\":\\"^1.6.0\\",\\"remotedev-server\\":\\"^0.2.3\\",\\"babel-preset-flow\\":\\"^6.23.0\\",\\"babel-preset-react\\":\\"^6.24.1\\",\\"babel-plugin-lodash\\":\\"^3.2.11\\",\\"eslint-plugin-react\\":\\"^7.3.0\\",\\"prettier-eslint-cli\\":\\"4.2.x\\",\\"babel-preset-stage-0\\":\\"^6.24.1\\",\\"eslint-config-google\\":\\"^0.9.1\\",\\"eslint-plugin-import\\":\\"^2.7.0\\",\\"eslint-config-prettier\\":\\"^2.5.0\\",\\"eslint-plugin-flowtype\\":\\"^2.35.0\\",\\"eslint-plugin-jsx-a11y\\":\\"^6.0.2\\",\\"eslint-plugin-prettier\\":\\"^2.2.0\\",\\"eslint-plugin-flow-vars\\":\\"^0.5.0\\",\\"babel-plugin-transform-runtime\\":\\"^6.23.0\\",\\"babel-plugin-add-module-exports\\":\\"^0.2.1\\",\\"babel-plugin-transform-flow-strip-types\\":\\"^6.22.0\\",\\"babel-plugin-transform-async-to-generator\\":\\"^6.24.1\\"}}", "contentDigest": "2555b7857c70c4293f9c6f3258dff561", "mediaType": "application/json", "type": "contentfulJsonTestJsonTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___de", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___de", "private": true, "scripts": Object { "bootstrap": "yarn && npm run check-versions && lerna run prepublish", @@ -4622,6 +4819,9 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "test_bkup": "npm run lint && npm run test-node && npm run test-integration", "watch": "lerna run watch --no-sort --stream --concurrency 999", }, + "sys": Object { + "type": "Entry", + }, "workspaces": Array [ "packages/*", ], @@ -4631,14 +4831,17 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Object { "children": Array [], "content": "test", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonStringTest0JSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonStringTest0JSONNode", "internal": Object { "content": "\\"test\\"", "contentDigest": "303b5c8988601647873b4ffd247d83cb", "mediaType": "application/json", "type": "contentfulJsonTestJsonStringTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___de", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -4648,24 +4851,27 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "title", "id": "remarkTest", "internal": Object { - "contentDigest": "330d4b95d9ddc161a75ed7416ba39acd", + "contentDigest": "1e25e3c95cb59f98532d2929dccba6bc", "type": "ContentfulContentType", }, "name": "Remark Test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64icontentTextNode", + "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___EntrycontentTextNode", ], - "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64icontentTextNode", + "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___EntrycontentTextNode", "contentful_id": "4L2GhTsJtCseMYM8Wia64i", "createdAt": "2018-05-28T08:49:06.230Z", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry", "internal": Object { - "contentDigest": "4e7da3e779c9826a7dee362811fcdd25", + "contentDigest": "dad0037bd4282c330f0894702a8cdedb", "type": "ContentfulRemarkTest", }, "node_locale": "en-US", @@ -4681,6 +4887,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 1, + "type": "Entry", }, "title": "Contentful images inlined in Markdown", "updatedAt": "2018-05-28T08:49:06.230Z", @@ -4712,7 +4919,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ## Hudson Wall Cup ![Hudson Wall Cup ](//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg)", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64icontentTextNode", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___EntrycontentTextNode", "internal": Object { "content": "## Toys @@ -4741,7 +4948,10 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "mediaType": "text/markdown", "type": "contentfulRemarkTestContentTextNode", }, - "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i", + "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -4751,24 +4961,27 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "title", "id": "remarkTest", "internal": Object { - "contentDigest": "330d4b95d9ddc161a75ed7416ba39acd", + "contentDigest": "1e25e3c95cb59f98532d2929dccba6bc", "type": "ContentfulContentType", }, "name": "Remark Test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___decontentTextNode", + "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___decontentTextNode", ], - "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___decontentTextNode", + "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___decontentTextNode", "contentful_id": "4L2GhTsJtCseMYM8Wia64i", "createdAt": "2018-05-28T08:49:06.230Z", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___de", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___de", "internal": Object { - "contentDigest": "694b9da4a3a5439a3caca2a3fb63d519", + "contentDigest": "8fed69826223c2c6b2c5f49d9c64f114", "type": "ContentfulRemarkTest", }, "node_locale": "de", @@ -4784,6 +4997,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 1, + "type": "Entry", }, "title": "Contentful images inlined in Markdown", "updatedAt": "2018-05-28T08:49:06.230Z", @@ -4815,7 +5029,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ## Hudson Wall Cup ![Hudson Wall Cup ](//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg)", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___decontentTextNode", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___decontentTextNode", "internal": Object { "content": "## Toys @@ -4844,7 +5058,10 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "mediaType": "text/markdown", "type": "contentfulRemarkTestContentTextNode", }, - "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___de", + "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], ] @@ -6891,117 +7108,134 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te exports[`Process contentful data (by name) builds foreignReferenceMap 1`] = ` Object { - "JrePkDVYomE8AwcuCUyMi": Array [ + "JrePkDVYomE8AwcuCUyMi___Entry": Array [ Object { "id": "c5KsDBWseXY6QegucYAoacS", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "KTRF62Q4gg60q6WCsWKw8": Array [ + "KTRF62Q4gg60q6WCsWKw8___Asset": Array [ Object { "id": "c4BqrajvA8E6qwgkieoqmqO", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "Xc0ny7GWsMEMCeASWO2um": Array [ + "Xc0ny7GWsMEMCeASWO2um___Asset": Array [ Object { "id": "c3DVqIYj4dOwwcKu6sgqOgg", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c10TkaLheGeQG6qQGqWYqUI": Array [ + "c10TkaLheGeQG6qQGqWYqUI___Asset": Array [ Object { "id": "c6dbjWqNd9SqccegcqYq224", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c24DPGBDeGEaYy8ms4Y8QMQ": Array [ + "c24DPGBDeGEaYy8ms4Y8QMQ___Entry": Array [ Object { "id": "c5KsDBWseXY6QegucYAoacS", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c2Y8LhXLnYAYqKCGEWG4EKI": Array [ + "c2Y8LhXLnYAYqKCGEWG4EKI___Asset": Array [ Object { "id": "c4LgMotpNF6W20YKmuemW0a", "name": "brand___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c3wtvPBbBjiMKqKKga8I2Cu": Array [ + "c3wtvPBbBjiMKqKKga8I2Cu___Asset": Array [ Object { "id": "c651CQ8rLoIYCeY6G0QG22q", "name": "brand___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c4LgMotpNF6W20YKmuemW0a": Array [ + "c4LgMotpNF6W20YKmuemW0a___Entry": Array [ Object { "id": "c4BqrajvA8E6qwgkieoqmqO", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c4zj1ZOfHgQ8oqgaSKm4Qo2": Array [ + "c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset": Array [ Object { "id": "JrePkDVYomE8AwcuCUyMi", "name": "brand___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c651CQ8rLoIYCeY6G0QG22q": Array [ + "c651CQ8rLoIYCeY6G0QG22q___Entry": Array [ Object { "id": "c3DVqIYj4dOwwcKu6sgqOgg", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, Object { "id": "c6dbjWqNd9SqccegcqYq224", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c6m5AJ9vMPKc8OUoQeoCS4o": Array [ + "c6m5AJ9vMPKc8OUoQeoCS4o___Asset": Array [ Object { "id": "c7LAnCobuuWYSqks6wAwY2a", "name": "category___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c6t4HKjytPi0mYgs240wkG": Array [ + "c6t4HKjytPi0mYgs240wkG___Asset": Array [ Object { "id": "c24DPGBDeGEaYy8ms4Y8QMQ", "name": "category___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "c7LAnCobuuWYSqks6wAwY2a": Array [ + "c7LAnCobuuWYSqks6wAwY2a___Entry": Array [ Object { "id": "c3DVqIYj4dOwwcKu6sgqOgg", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, Object { "id": "c6dbjWqNd9SqccegcqYq224", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, Object { "id": "c4BqrajvA8E6qwgkieoqmqO", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], - "wtrHxeu3zEoEce2MokCSi": Array [ + "wtrHxeu3zEoEce2MokCSi___Asset": Array [ Object { "id": "c5KsDBWseXY6QegucYAoacS", "name": "product___NODE", "spaceId": "rocybtov1ozk", + "type": "Entry", }, ], } @@ -7009,28 +7243,28 @@ Object { exports[`Process contentful data (by name) builds list of resolvable data 1`] = ` Set { - "c7LAnCobuuWYSqks6wAwY2a", - "c24DPGBDeGEaYy8ms4Y8QMQ", - "c651CQ8rLoIYCeY6G0QG22q", - "c4LgMotpNF6W20YKmuemW0a", - "JrePkDVYomE8AwcuCUyMi", - "c5KsDBWseXY6QegucYAoacS", - "c3DVqIYj4dOwwcKu6sgqOgg", - "c6dbjWqNd9SqccegcqYq224", - "c4BqrajvA8E6qwgkieoqmqO", - "c71mfnH4QKsSsQmgoaQuq6O", - "c4L2GhTsJtCseMYM8Wia64i", - "c3wtvPBbBjiMKqKKga8I2Cu", - "KTRF62Q4gg60q6WCsWKw8", - "Xc0ny7GWsMEMCeASWO2um", - "c2Y8LhXLnYAYqKCGEWG4EKI", - "c6t4HKjytPi0mYgs240wkG", - "c1MgbdJNTsMWKI0W68oYqkU", - "c6m5AJ9vMPKc8OUoQeoCS4o", - "c4zj1ZOfHgQ8oqgaSKm4Qo2", - "wtrHxeu3zEoEce2MokCSi", - "c10TkaLheGeQG6qQGqWYqUI", - "c6s3iG2OVmoUcosmA8ocqsG", + "c7LAnCobuuWYSqks6wAwY2a___Entry", + "c24DPGBDeGEaYy8ms4Y8QMQ___Entry", + "c651CQ8rLoIYCeY6G0QG22q___Entry", + "c4LgMotpNF6W20YKmuemW0a___Entry", + "JrePkDVYomE8AwcuCUyMi___Entry", + "c5KsDBWseXY6QegucYAoacS___Entry", + "c3DVqIYj4dOwwcKu6sgqOgg___Entry", + "c6dbjWqNd9SqccegcqYq224___Entry", + "c4BqrajvA8E6qwgkieoqmqO___Entry", + "c71mfnH4QKsSsQmgoaQuq6O___Entry", + "c4L2GhTsJtCseMYM8Wia64i___Entry", + "c3wtvPBbBjiMKqKKga8I2Cu___Asset", + "KTRF62Q4gg60q6WCsWKw8___Asset", + "Xc0ny7GWsMEMCeASWO2um___Asset", + "c2Y8LhXLnYAYqKCGEWG4EKI___Asset", + "c6t4HKjytPi0mYgs240wkG___Asset", + "c1MgbdJNTsMWKI0W68oYqkU___Asset", + "c6m5AJ9vMPKc8OUoQeoCS4o___Asset", + "c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset", + "wtrHxeu3zEoEce2MokCSi___Asset", + "c10TkaLheGeQG6qQGqWYqUI___Asset", + "c6s3iG2OVmoUcosmA8ocqsG___Asset", } `; @@ -7054,9 +7288,9 @@ Array [ "fileName": "zJYzDlGk.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/3wtvPBbBjiMKqKKga8I2Cu/c65cb9cce1107c2e7e63c17072fe7932/zJYzDlGk.jpeg", }, - "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu", + "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset", "internal": Object { - "contentDigest": "e08dcc15bd58e68771c6e63244bfda8f", + "contentDigest": "29b0c61953be87f13bc9f653dc32823a", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7064,6 +7298,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Normann Copenhagen", "updatedAt": "2017-06-27T09:35:37.178Z", @@ -7087,9 +7322,9 @@ Array [ "fileName": "zJYzDlGk.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/3wtvPBbBjiMKqKKga8I2Cu/c65cb9cce1107c2e7e63c17072fe7932/zJYzDlGk.jpeg", }, - "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___de", + "id": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset___de", "internal": Object { - "contentDigest": "40212c47b48143211ebb7ae649b96126", + "contentDigest": "7d02f380b10a37f233f9de38e84daea9", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7097,6 +7332,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Normann Copenhagen", "updatedAt": "2017-06-27T09:35:37.178Z", @@ -7120,9 +7356,9 @@ Array [ "fileName": "soso.clock.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/KTRF62Q4gg60q6WCsWKw8/a8b2e93ac83fbbbb7bf9fba9f92b018e/soso.clock.jpg", }, - "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8", + "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset", "internal": Object { - "contentDigest": "4848c2d670e8daa0cefb673733ed1a72", + "contentDigest": "ffd657c498e24ae9f445bc44bed33e3f", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7130,6 +7366,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "SoSo Wall Clock", "updatedAt": "2017-06-27T09:35:37.064Z", @@ -7153,9 +7390,9 @@ Array [ "fileName": "soso.clock.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/KTRF62Q4gg60q6WCsWKw8/a8b2e93ac83fbbbb7bf9fba9f92b018e/soso.clock.jpg", }, - "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___de", + "id": "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset___de", "internal": Object { - "contentDigest": "0b914482dd7743e6ceb718210d9fd305", + "contentDigest": "102056d575888bcebc34f1a554bfaabc", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7163,6 +7400,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "SoSo Wall Clock", "updatedAt": "2017-06-27T09:35:37.064Z", @@ -7186,9 +7424,9 @@ Array [ "fileName": "jqvtazcyfwseah9fmysz.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg", }, - "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um", + "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset", "internal": Object { - "contentDigest": "ce6936aade311f9952f7e51a1419a114", + "contentDigest": "e7537c3866cb7779ae8f6a463f0b7e8e", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7196,6 +7434,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Hudson Wall Cup ", "updatedAt": "2017-06-27T09:35:37.027Z", @@ -7219,9 +7458,9 @@ Array [ "fileName": "jqvtazcyfwseah9fmysz.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg", }, - "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___de", + "id": "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset___de", "internal": Object { - "contentDigest": "758534e7c2b3897e761b50c3934e5d25", + "contentDigest": "e097ad298d03a4bb0e4d2860422df702", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7229,6 +7468,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Hudson Wall Cup ", "updatedAt": "2017-06-27T09:35:37.027Z", @@ -7252,9 +7492,9 @@ Array [ "fileName": "lemnos-logo.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/2Y8LhXLnYAYqKCGEWG4EKI/eb29ab3c817906993f65e221523ef252/lemnos-logo.jpg", }, - "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI", + "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset", "internal": Object { - "contentDigest": "6da02350b74a5ec73c02e05f4274aa2d", + "contentDigest": "7155fd824e8d1e629e94e19e2bbfddcb", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7262,6 +7502,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Lemnos", "updatedAt": "2017-06-27T09:35:37.012Z", @@ -7285,9 +7526,9 @@ Array [ "fileName": "lemnos-logo.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/2Y8LhXLnYAYqKCGEWG4EKI/eb29ab3c817906993f65e221523ef252/lemnos-logo.jpg", }, - "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___de", + "id": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset___de", "internal": Object { - "contentDigest": "2684be9e65bea6e0f70702f8f62685f2", + "contentDigest": "c22412ba6731dd5d65f722219697f6b4", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7295,6 +7536,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Lemnos", "updatedAt": "2017-06-27T09:35:37.012Z", @@ -7318,9 +7560,9 @@ Array [ "fileName": "toys_512pxGREY.png", "url": "//images.ctfassets.net/rocybtov1ozk/6t4HKjytPi0mYgs240wkG/6e730b1e6c2a46929239019240c037e6/toys_512pxGREY.png", }, - "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG", + "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset", "internal": Object { - "contentDigest": "0529e3e05d7cd5f19e34caba510485d1", + "contentDigest": "9674f8d88657a9506cbeec22086c3cc4", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7328,6 +7570,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Toys", "updatedAt": "2017-06-27T09:35:36.633Z", @@ -7351,9 +7594,9 @@ Array [ "fileName": "toys_512pxGREY.png", "url": "//images.ctfassets.net/rocybtov1ozk/6t4HKjytPi0mYgs240wkG/6e730b1e6c2a46929239019240c037e6/toys_512pxGREY.png", }, - "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___de", + "id": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset___de", "internal": Object { - "contentDigest": "f62c8da419321df624add5f941b66059", + "contentDigest": "4bd8fe775341c3af881b50b8946c0bed", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7361,6 +7604,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Toys", "updatedAt": "2017-06-27T09:35:36.633Z", @@ -7384,9 +7628,9 @@ Array [ "fileName": "9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/1MgbdJNTsMWKI0W68oYqkU/ad0200fe320b85ecdd823c711161c2f6/9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", }, - "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU", + "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU___Asset", "internal": Object { - "contentDigest": "3129d66e797ab99f3c2236be39395503", + "contentDigest": "52e5ae7190795bde9593a3af35e29dda", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7394,6 +7638,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Chive logo", "updatedAt": "2017-06-27T09:35:36.182Z", @@ -7417,9 +7662,9 @@ Array [ "fileName": "9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", "url": "//images.ctfassets.net/rocybtov1ozk/1MgbdJNTsMWKI0W68oYqkU/ad0200fe320b85ecdd823c711161c2f6/9ef190c59f0d375c0dea58b58a4bc1f0.jpeg", }, - "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU___de", + "id": "rocybtov1ozk___c1MgbdJNTsMWKI0W68oYqkU___Asset___de", "internal": Object { - "contentDigest": "529a5fa3f6b5d2e9a524fa509cbf2123", + "contentDigest": "c1ecab424cc9351b6c34c25204276249", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7427,6 +7672,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Chive logo", "updatedAt": "2017-06-27T09:35:36.182Z", @@ -7450,9 +7696,9 @@ Array [ "fileName": "1418244847_Streamline-18-256.png", "url": "//images.ctfassets.net/rocybtov1ozk/6m5AJ9vMPKc8OUoQeoCS4o/e782e3b291ff2b0287546a563af4683c/1418244847_Streamline-18-256.png", }, - "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o", + "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset", "internal": Object { - "contentDigest": "477159b0f3f036fea7e5c083d06d16f0", + "contentDigest": "738cac15e3bb4c6d4830b3fc0ec45af9", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7460,6 +7706,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Home and Kitchen", "updatedAt": "2017-06-27T09:35:36.172Z", @@ -7483,9 +7730,9 @@ Array [ "fileName": "1418244847_Streamline-18-256.png", "url": "//images.ctfassets.net/rocybtov1ozk/6m5AJ9vMPKc8OUoQeoCS4o/e782e3b291ff2b0287546a563af4683c/1418244847_Streamline-18-256.png", }, - "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___de", + "id": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset___de", "internal": Object { - "contentDigest": "118db927d63889425a49ef96e6766785", + "contentDigest": "488ace4a8e828d61893bae98001dc1f7", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7493,6 +7740,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Home and Kitchen", "updatedAt": "2017-06-27T09:35:36.172Z", @@ -7516,9 +7764,9 @@ Array [ "fileName": "playsam.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/4zj1ZOfHgQ8oqgaSKm4Qo2/5d967c9c48d67eabff71a9a0232d4378/playsam.jpg", }, - "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2", + "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset", "internal": Object { - "contentDigest": "d0b8d18742550bf065ee92635220fc07", + "contentDigest": "79197acfeddb216cb331db984d5e7b55", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7526,6 +7774,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam", "updatedAt": "2017-06-27T09:35:36.168Z", @@ -7549,9 +7798,9 @@ Array [ "fileName": "playsam.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/4zj1ZOfHgQ8oqgaSKm4Qo2/5d967c9c48d67eabff71a9a0232d4378/playsam.jpg", }, - "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___de", + "id": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset___de", "internal": Object { - "contentDigest": "0f9ff782ed48545ba0cf89e28bcd54a3", + "contentDigest": "24b59970db0fb066b8b9fad476b0d612", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7559,6 +7808,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam", "updatedAt": "2017-06-27T09:35:36.168Z", @@ -7582,9 +7832,9 @@ Array [ "fileName": "quwowooybuqbl6ntboz3.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/wtrHxeu3zEoEce2MokCSi/73dce36715f16e27cf5ff0d2d97d7dff/quwowooybuqbl6ntboz3.jpg", }, - "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi", + "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset", "internal": Object { - "contentDigest": "e093963d43625696e698d248a13bec40", + "contentDigest": "2f93e0d4f096a0014ac7549f9a92a942", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7592,6 +7842,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam Streamliner", "updatedAt": "2017-06-27T09:35:36.037Z", @@ -7615,9 +7866,9 @@ Array [ "fileName": "quwowooybuqbl6ntboz3.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/wtrHxeu3zEoEce2MokCSi/73dce36715f16e27cf5ff0d2d97d7dff/quwowooybuqbl6ntboz3.jpg", }, - "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___de", + "id": "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset___de", "internal": Object { - "contentDigest": "4b0fd07d3412f5ff2ae2a24984153969", + "contentDigest": "d24ec97c34146fb1391372ba3fdfde8e", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7625,6 +7876,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Playsam Streamliner", "updatedAt": "2017-06-27T09:35:36.037Z", @@ -7648,9 +7900,9 @@ Array [ "fileName": "ryugj83mqwa1asojwtwb.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/10TkaLheGeQG6qQGqWYqUI/f997e8e13c8c83c145e976d0905e64b7/ryugj83mqwa1asojwtwb.jpg", }, - "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI", + "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset", "internal": Object { - "contentDigest": "0ec9573453443afa248884f5476a0303", + "contentDigest": "70a6136d30af841ad78e3dfd65f8edec", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7658,6 +7910,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Whisk beaters", "updatedAt": "2017-06-27T09:35:36.032Z", @@ -7681,9 +7934,9 @@ Array [ "fileName": "ryugj83mqwa1asojwtwb.jpg", "url": "//images.ctfassets.net/rocybtov1ozk/10TkaLheGeQG6qQGqWYqUI/f997e8e13c8c83c145e976d0905e64b7/ryugj83mqwa1asojwtwb.jpg", }, - "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___de", + "id": "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset___de", "internal": Object { - "contentDigest": "bb6a3391ff08c68ca89243efc11c5819", + "contentDigest": "971f33d62c6b0e07c4fb394f73031218", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7691,6 +7944,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "Whisk beaters", "updatedAt": "2017-06-27T09:35:36.032Z", @@ -7714,9 +7968,9 @@ Array [ "fileName": "1418244847_Streamline-18-256 (1).png", "url": "//images.ctfassets.net/rocybtov1ozk/6s3iG2OVmoUcosmA8ocqsG/286ac4c1be74e05d2e7e11bc5a55bc83/1418244847_Streamline-18-256__1_.png", }, - "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG", + "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG___Asset", "internal": Object { - "contentDigest": "6254f2c99b32f63f755df68cf1b67dc8", + "contentDigest": "ee684e7781088eb7a1f7e5038e30c6d8", "type": "ContentfulAsset", }, "node_locale": "en-US", @@ -7724,6 +7978,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "House icon", "updatedAt": "2017-06-27T09:35:35.994Z", @@ -7747,9 +8002,9 @@ Array [ "fileName": "1418244847_Streamline-18-256 (1).png", "url": "//images.ctfassets.net/rocybtov1ozk/6s3iG2OVmoUcosmA8ocqsG/286ac4c1be74e05d2e7e11bc5a55bc83/1418244847_Streamline-18-256__1_.png", }, - "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG___de", + "id": "rocybtov1ozk___c6s3iG2OVmoUcosmA8ocqsG___Asset___de", "internal": Object { - "contentDigest": "98dd622a65b27085518f161368d982db", + "contentDigest": "3d864d134ad2b975aed2e793545eb9b3", "type": "ContentfulAsset", }, "node_locale": "de", @@ -7757,6 +8012,7 @@ Array [ "spaceId": "rocybtov1ozk", "sys": Object { "revision": 1, + "type": "Asset", }, "title": "House icon", "updatedAt": "2017-06-27T09:35:35.994Z", @@ -7774,34 +8030,37 @@ Array [ "displayField": "title", "id": "Category", "internal": Object { - "contentDigest": "0418f4c2792c0c223b79211e81387e4d", + "contentDigest": "335bdc64de83762130b95b2eb4f788be", "type": "ContentfulContentType", }, "name": "Category", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { - "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2acategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrycategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2atitleTextNode", - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2acategoryDescriptionTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrytitleTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrycategoryDescriptionTextNode", ], "contentful_id": "7LAnCobuuWYSqks6wAwY2a", "createdAt": "2017-06-27T09:35:44.000Z", - "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o", - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", "internal": Object { - "contentDigest": "7e065d154b5657fe1ca348ee8d5af107", + "contentDigest": "d8375b1c6d4cbf0d9820315b877f1432", "type": "ContentfulCategory", }, "node_locale": "en-US", "parent": "Category", "product___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -7814,30 +8073,31 @@ Array [ }, }, "revision": 4, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2atitleTextNode", + "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrytitleTextNode", "updatedAt": "2020-06-30T11:22:54.201Z", }, ], Array [ Object { - "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQcategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrycategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQtitleTextNode", - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQcategoryDescriptionTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrytitleTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrycategoryDescriptionTextNode", ], "contentful_id": "24DPGBDeGEaYy8ms4Y8QMQ", "createdAt": "2017-06-27T09:35:44.992Z", - "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG", - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", "internal": Object { - "contentDigest": "4de7437b84b92652a75a12ae0cf9df38", + "contentDigest": "a9906a46abc1965beb1acb34a6df9f3b", "type": "ContentfulCategory", }, "node_locale": "en-US", "parent": "Category", "product___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -7850,22 +8110,26 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQtitleTextNode", + "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrytitleTextNode", "updatedAt": "2017-06-27T09:46:43.477Z", }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2atitleTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrytitleTextNode", "internal": Object { "content": "Home & Kitchen", "contentDigest": "71520a45fe8b5ecded737e074a6b30a0", "mediaType": "text/markdown", "type": "contentfulCategoryTitleTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", + "sys": Object { + "type": "Entry", + }, "title": "Home & Kitchen", }, ], @@ -7873,27 +8137,33 @@ Array [ Object { "categoryDescription": "Shop for furniture, bedding, bath, vacuums, kitchen products, and more", "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2acategoryDescriptionTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___EntrycategoryDescriptionTextNode", "internal": Object { "content": "Shop for furniture, bedding, bath, vacuums, kitchen products, and more", "contentDigest": "24709e2bdb88b89104c215e6b5492bf8", "mediaType": "text/markdown", "type": "contentfulCategoryCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQtitleTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrytitleTextNode", "internal": Object { "content": "Toys", "contentDigest": "66d0af2d5da0109dc2aae67829f7d4d4", "mediaType": "text/markdown", "type": "contentfulCategoryTitleTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", + "sys": Object { + "type": "Entry", + }, "title": "Toys", }, ], @@ -7901,14 +8171,17 @@ Array [ Object { "categoryDescription": "Shop for toys, games, educational aids", "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQcategoryDescriptionTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___EntrycategoryDescriptionTextNode", "internal": Object { "content": "Shop for toys, games, educational aids", "contentDigest": "c3cd3eaea58a115e968573664df3a603", "mediaType": "text/markdown", "type": "contentfulCategoryCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -7918,34 +8191,37 @@ Array [ "displayField": "title", "id": "Category", "internal": Object { - "contentDigest": "0418f4c2792c0c223b79211e81387e4d", + "contentDigest": "335bdc64de83762130b95b2eb4f788be", "type": "ContentfulContentType", }, "name": "Category", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { - "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___decategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___decategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___detitleTextNode", - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___decategoryDescriptionTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___detitleTextNode", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___decategoryDescriptionTextNode", ], "contentful_id": "7LAnCobuuWYSqks6wAwY2a", "createdAt": "2017-06-27T09:35:44.000Z", - "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___de", - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "icon___NODE": "rocybtov1ozk___c6m5AJ9vMPKc8OUoQeoCS4o___Asset___de", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", "internal": Object { - "contentDigest": "fcfeb1acb9cbfd3bca1ba21fb8e407b5", + "contentDigest": "e3f13566854a8a15bd34d053a5a992b4", "type": "ContentfulCategory", }, "node_locale": "de", "parent": "Category", "product___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -7958,30 +8234,31 @@ Array [ }, }, "revision": 4, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___detitleTextNode", + "title___NODE": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___detitleTextNode", "updatedAt": "2020-06-30T11:22:54.201Z", }, ], Array [ Object { - "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___decategoryDescriptionTextNode", + "categoryDescription___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___decategoryDescriptionTextNode", "children": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___detitleTextNode", - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___decategoryDescriptionTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___detitleTextNode", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___decategoryDescriptionTextNode", ], "contentful_id": "24DPGBDeGEaYy8ms4Y8QMQ", "createdAt": "2017-06-27T09:35:44.992Z", - "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___de", - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "icon___NODE": "rocybtov1ozk___c6t4HKjytPi0mYgs240wkG___Asset___de", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", "internal": Object { - "contentDigest": "edfea56f10dd4898c6302219d8be21c4", + "contentDigest": "621382fd0de5c205210e14dd93be410a", "type": "ContentfulCategory", }, "node_locale": "de", "parent": "Category", "product___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -7994,22 +8271,26 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, - "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___detitleTextNode", + "title___NODE": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___detitleTextNode", "updatedAt": "2017-06-27T09:46:43.477Z", }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___detitleTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___detitleTextNode", "internal": Object { "content": "Haus & Küche", "contentDigest": "21786d8d63d043d9cc0f639450bd5b70", "mediaType": "text/markdown", "type": "contentfulCategoryTitleTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", + "sys": Object { + "type": "Entry", + }, "title": "Haus & Küche", }, ], @@ -8017,27 +8298,33 @@ Array [ Object { "categoryDescription": "Shop für Möbel, Bettwäsche, Bad, Staubsauger, Küchenprodukte und vieles mehr", "children": Array [], - "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___decategoryDescriptionTextNode", + "id": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___decategoryDescriptionTextNode", "internal": Object { "content": "Shop für Möbel, Bettwäsche, Bad, Staubsauger, Küchenprodukte und vieles mehr", "contentDigest": "7d7b0c68e20954c3f092bae55ccbdd9f", "mediaType": "text/markdown", "type": "contentfulCategoryCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "parent": "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___detitleTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___detitleTextNode", "internal": Object { "content": "Spielzeug", "contentDigest": "22658c0cbfd038b32380aa036bff1cfe", "mediaType": "text/markdown", "type": "contentfulCategoryTitleTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", + "sys": Object { + "type": "Entry", + }, "title": "Spielzeug", }, ], @@ -8045,14 +8332,17 @@ Array [ Object { "categoryDescription": "Spielzeugladen, Spiele, Lernhilfen", "children": Array [], - "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___decategoryDescriptionTextNode", + "id": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___decategoryDescriptionTextNode", "internal": Object { "content": "Spielzeugladen, Spiele, Lernhilfen", "contentDigest": "93335f47e41d44163239227427760695", "mediaType": "text/markdown", "type": "contentfulCategoryCategoryDescriptionTextNode", }, - "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "parent": "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -8062,38 +8352,41 @@ Array [ "displayField": "companyName", "id": "Brand", "internal": Object { - "contentDigest": "b7cc6c33f996216ec368e79794f50089", + "contentDigest": "52a6587622754700f5ad8250c2362a53", "type": "ContentfulContentType", }, "name": "Brand", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyNameTextNode", - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyDescriptionTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyNameTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyNameTextNode", "contentful_id": "651CQ8rLoIYCeY6G0QG22q", "createdAt": "2017-06-27T09:35:43.997Z", "email": "[email protected]", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", "internal": Object { - "contentDigest": "9348b99cc662507ef6abb8ee3510de56", + "contentDigest": "7be915aa0dc64625073357cce53c766a", "type": "ContentfulBrand", }, - "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu", + "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset", "node_locale": "en-US", "parent": "Brand", "phone": Array [ "+45 35 55 44 59", ], "product___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -8106,6 +8399,7 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, "twitter": "https://twitter.com/NormannCPH", "updatedAt": "2017-06-27T09:55:16.820Z", @@ -8115,27 +8409,27 @@ Array [ Array [ Object { "children": Array [ - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyNameTextNode", - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyDescriptionTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyNameTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyNameTextNode", "contentful_id": "4LgMotpNF6W20YKmuemW0a", "createdAt": "2017-06-27T09:35:44.396Z", "email": "[email protected]", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", "internal": Object { - "contentDigest": "86c057ad49accaa4811e4100ed16069a", + "contentDigest": "5d880553a2059651eb2036bd1f127b1a", "type": "ContentfulBrand", }, - "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI", + "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset", "node_locale": "en-US", "parent": "Brand", "phone": Array [ "+1 212 260 2269", ], "product___NODE": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -8148,6 +8442,7 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:51:15.647Z", "website": "http://www.lemnos.jp/en/", @@ -8156,23 +8451,23 @@ Array [ Array [ Object { "children": Array [ - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyNameTextNode", - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyDescriptionTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyNameTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyNameTextNode", "contentful_id": "JrePkDVYomE8AwcuCUyMi", "createdAt": "2017-06-27T09:35:44.988Z", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", "internal": Object { - "contentDigest": "995bc3dab688efd4cb17303733303ef0", + "contentDigest": "0b0fcb57675e58516f99ccce58315874", "type": "ContentfulBrand", }, - "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2", + "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset", "node_locale": "en-US", "parent": "Brand", "product___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -8185,6 +8480,7 @@ Array [ }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:50:36.937Z", "website": "http://playsam.com/", @@ -8194,42 +8490,51 @@ Array [ Object { "children": Array [], "companyName": "Normann Copenhagen", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyNameTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyNameTextNode", "internal": Object { "content": "Normann Copenhagen", "contentDigest": "5fb9d019c3646f6fee84172952337463", "mediaType": "text/markdown", "type": "contentfulBrandCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Normann Copenhagen is a way of living - a mindset. We love to challenge the conventional design rules. This is why you will find traditional materials put into untraditional use such as a Stone Hook made of Icelandic stones, a vase made out of silicon and last but not least a dog made out of plastic.", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22qcompanyDescriptionTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___EntrycompanyDescriptionTextNode", "internal": Object { "content": "Normann Copenhagen is a way of living - a mindset. We love to challenge the conventional design rules. This is why you will find traditional materials put into untraditional use such as a Stone Hook made of Icelandic stones, a vase made out of silicon and last but not least a dog made out of plastic.", "contentDigest": "8010f6e93f3a7dbca56c041a46d4ab77", "mediaType": "text/markdown", "type": "contentfulBrandCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Lemnos", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyNameTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyNameTextNode", "internal": Object { "content": "Lemnos", "contentDigest": "7b0e3f7cc613d34aafa689516e96056e", "mediaType": "text/markdown", "type": "contentfulBrandCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -8246,7 +8551,7 @@ Lemnos brand products are now highly praised from the design shops and the inter In recent years, we also have been given high priority to develop interior accessories making full use of our traditional techniques by the founding manufacturer and we always focus our minds on the development for the new Lemnos products in the new market. Our Lemnos products are made carefully by our craftsmen finely honed skillful techniques in Japan. They surely bring out the attractiveness of the materials to the maximum and create fine products not being influenced on the fashion trend accordingly. TAKATA Lemnos Inc. definitely would like to be innovative and continuously propose the beauty lasts forever.", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0acompanyDescriptionTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___EntrycompanyDescriptionTextNode", "internal": Object { "content": "TAKATA Lemnos Inc. was founded in 1947 as a brass casting manufacturing industry in Takaoka-city, Toyama Prefecture, Japan and we launched out into the full-scale business trade with Seiko Clock Co., Ltd. since 1966. @@ -8263,35 +8568,44 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te "mediaType": "text/markdown", "type": "contentfulBrandCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Playsam", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyNameTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyNameTextNode", "internal": Object { "content": "Playsam", "contentDigest": "1d2de5c3096635ca01f6ab4131252039", "mediaType": "text/markdown", "type": "contentfulBrandCompanyNameTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Playsam is the leading Scandinavian design company for executive wooden toy gift. Scandinavian design playful creativity, integrity and sophistication are Playsam. Scandinavian design and wooden toy makes Playsam gift lovely to the world of design since 1984.", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMicompanyDescriptionTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___EntrycompanyDescriptionTextNode", "internal": Object { "content": "Playsam is the leading Scandinavian design company for executive wooden toy gift. Scandinavian design playful creativity, integrity and sophistication are Playsam. Scandinavian design and wooden toy makes Playsam gift lovely to the world of design since 1984.", "contentDigest": "f27a71b7f2ee9eabad3335e0c03da951", "mediaType": "text/markdown", "type": "contentfulBrandCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -8301,38 +8615,41 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te "displayField": "companyName", "id": "Brand", "internal": Object { - "contentDigest": "b7cc6c33f996216ec368e79794f50089", + "contentDigest": "52a6587622754700f5ad8250c2362a53", "type": "ContentfulContentType", }, "name": "Brand", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyNameTextNode", - "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyDescriptionTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyNameTextNode", + "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyNameTextNode", "contentful_id": "651CQ8rLoIYCeY6G0QG22q", "createdAt": "2017-06-27T09:35:43.997Z", "email": "[email protected]", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", "internal": Object { - "contentDigest": "67b99bdd96ab72f2b763dc82b5d6ab48", + "contentDigest": "96ba66631e6d396dca7fd0cd7b6fad09", "type": "ContentfulBrand", }, - "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___de", + "logo___NODE": "rocybtov1ozk___c3wtvPBbBjiMKqKKga8I2Cu___Asset___de", "node_locale": "de", "parent": "Brand", "phone": Array [ "+45 35 55 44 59", ], "product___NODE": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -8345,6 +8662,7 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te }, }, "revision": 2, + "type": "Entry", }, "twitter": "https://twitter.com/NormannCPH", "updatedAt": "2017-06-27T09:55:16.820Z", @@ -8354,27 +8672,27 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te Array [ Object { "children": Array [ - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyNameTextNode", - "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyDescriptionTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyNameTextNode", + "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyNameTextNode", "contentful_id": "4LgMotpNF6W20YKmuemW0a", "createdAt": "2017-06-27T09:35:44.396Z", "email": "[email protected]", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", "internal": Object { - "contentDigest": "032042bce54a356b133a95b9045cbb53", + "contentDigest": "0cabecaf17ba9b9ddf4e2967253525c0", "type": "ContentfulBrand", }, - "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___de", + "logo___NODE": "rocybtov1ozk___c2Y8LhXLnYAYqKCGEWG4EKI___Asset___de", "node_locale": "de", "parent": "Brand", "phone": Array [ "+1 212 260 2269", ], "product___NODE": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -8387,6 +8705,7 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:51:15.647Z", "website": "http://www.lemnos.jp/en/", @@ -8395,23 +8714,23 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te Array [ Object { "children": Array [ - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyNameTextNode", - "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyDescriptionTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyNameTextNode", + "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyDescriptionTextNode", ], - "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyDescriptionTextNode", - "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyNameTextNode", + "companyDescription___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyDescriptionTextNode", + "companyName___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyNameTextNode", "contentful_id": "JrePkDVYomE8AwcuCUyMi", "createdAt": "2017-06-27T09:35:44.988Z", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", "internal": Object { - "contentDigest": "07336623836280da517dc82d9fbb56c1", + "contentDigest": "84fe72ba222f3f35743e9dd55160f306", "type": "ContentfulBrand", }, - "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___de", + "logo___NODE": "rocybtov1ozk___c4zj1ZOfHgQ8oqgaSKm4Qo2___Asset___de", "node_locale": "de", "parent": "Brand", "product___NODE": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", ], "spaceId": "rocybtov1ozk", "sys": Object { @@ -8424,6 +8743,7 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te }, }, "revision": 2, + "type": "Entry", }, "updatedAt": "2017-06-27T09:50:36.937Z", "website": "http://playsam.com/", @@ -8433,42 +8753,51 @@ Our Lemnos products are made carefully by our craftsmen finely honed skillful te Object { "children": Array [], "companyName": "Normann Copenhagen", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyNameTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyNameTextNode", "internal": Object { "content": "Normann Copenhagen", "contentDigest": "5fb9d019c3646f6fee84172952337463", "mediaType": "text/markdown", "type": "contentfulBrandCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Normann Kopenhagen ist eine Art zu leben - eine Denkweise. Wir lieben es, die konventionellen Designregeln herauszufordern. Aus diesem Grund finden Sie traditionelle Materialien, die in untraditionelle Verwendung wie ein Steinhaken aus isländischen Steinen, eine Vase aus Silizium und last but not least ein Hund aus Kunststoff.", - "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___decompanyDescriptionTextNode", + "id": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___decompanyDescriptionTextNode", "internal": Object { "content": "Normann Kopenhagen ist eine Art zu leben - eine Denkweise. Wir lieben es, die konventionellen Designregeln herauszufordern. Aus diesem Grund finden Sie traditionelle Materialien, die in untraditionelle Verwendung wie ein Steinhaken aus isländischen Steinen, eine Vase aus Silizium und last but not least ein Hund aus Kunststoff.", "contentDigest": "0a7c7553a38bb0a62a22c20deb99a93f", "mediaType": "text/markdown", "type": "contentfulBrandCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "parent": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Lemnos", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyNameTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyNameTextNode", "internal": Object { "content": "Lemnos", "contentDigest": "7b0e3f7cc613d34aafa689516e96056e", "mediaType": "text/markdown", "type": "contentfulBrandCompanyNameTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -8485,7 +8814,7 @@ Lemnos Markenprodukte werden nun von den Designläden und den Innenhandelsgesch In den vergangenen Jahren haben wir auch eine hohe Priorität für die Entwicklung von Innenausstattung, die den traditionellen Techniken des Gründungsherstellers voll ausnutzt, und wir konzentrieren uns immer auf die Entwicklung der neuen Lemnos-Produkte im neuen Markt. Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliffen geschickten Techniken in Japan gemacht. Sie bringen sicherlich die Attraktivität der Materialien auf das Maximum und schaffen feine Produkte nicht beeinflusst auf die Mode-Trend entsprechend. TAKATA Lemnos Inc. möchte definitiv innovativ sein und ständig vorschlagen, die Schönheit dauert ewig.", - "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___decompanyDescriptionTextNode", + "id": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___decompanyDescriptionTextNode", "internal": Object { "content": "TAKATA Lemnos Inc. wurde im Jahre 1947 als Messing-Casting-Fertigungsindustrie in Takaoka-Stadt, Toyama Prefecture, Japan gegründet und wir starteten seit 1966 mit der Seiko Clock Co., Ltd. @@ -8502,35 +8831,44 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "mediaType": "text/markdown", "type": "contentfulBrandCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "parent": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyName": "Playsam", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyNameTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyNameTextNode", "internal": Object { "content": "Playsam", "contentDigest": "1d2de5c3096635ca01f6ab4131252039", "mediaType": "text/markdown", "type": "contentfulBrandCompanyNameTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], "companyDescription": "Playsam ist die führende skandinavische Designfirma für Executive Holzspielzeug Geschenk. Skandinavisches Design spielerische Kreativität, Integrität und Raffinesse sind Playsam. Skandinavisches Design und hölzernes Spielzeug macht Playsam Geschenk schön in die Welt des Designs seit 1984.", - "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___decompanyDescriptionTextNode", + "id": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___decompanyDescriptionTextNode", "internal": Object { "content": "Playsam ist die führende skandinavische Designfirma für Executive Holzspielzeug Geschenk. Skandinavisches Design spielerische Kreativität, Integrität und Raffinesse sind Playsam. Skandinavisches Design und hölzernes Spielzeug macht Playsam Geschenk schön in die Welt des Designs seit 1984.", "contentDigest": "7b0a48d4861111805b6c614bf2373eb6", "mediaType": "text/markdown", "type": "contentfulBrandCompanyDescriptionTextNode", }, - "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "parent": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -8540,38 +8878,41 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "productName", "id": "Product", "internal": Object { - "contentDigest": "d9822da16231c6bd9df08d882174266f", + "contentDigest": "179aa51da2468879db695f447fd8f374", "type": "ContentfulContentType", }, "name": "Product", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { - "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi", + "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry", ], "children": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductNameTextNode", - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductDescriptionTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductNameTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductDescriptionTextNode", ], "contentful_id": "5KsDBWseXY6QegucYAoacS", "createdAt": "2017-06-27T09:35:43.996Z", - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", "image___NODE": Array [ - "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi", + "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset", ], "internal": Object { - "contentDigest": "d5fa0ef42766506446fccd68995212a3", + "contentDigest": "f4304b5ccfe20941d402695bfb67f31a", "type": "ContentfulProduct", }, "node_locale": "en-US", "parent": "Product", "price": 44, - "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductNameTextNode", "quantity": 56, "sizetypecolor": "Length: 135 mm | color: espresso, green, or icar (white)", "sku": "B001R6JUZ2", @@ -8587,6 +8928,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "wood", @@ -8601,29 +8943,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", ], "children": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductNameTextNode", - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductDescriptionTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductNameTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductDescriptionTextNode", ], "contentful_id": "3DVqIYj4dOwwcKu6sgqOgg", "createdAt": "2017-06-27T09:35:44.006Z", - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", "image___NODE": Array [ - "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um", + "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset", ], "internal": Object { - "contentDigest": "0578af2e65354be429b41e12640a50a3", + "contentDigest": "e2c12a2a90a938e28e5c4309a8741dce", "type": "ContentfulProduct", }, "node_locale": "en-US", "parent": "Product", "price": 11, - "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductNameTextNode", "quantity": 101, "sizetypecolor": "3 x 3 x 5 inches; 5.3 ounces", "sku": "B00E82D7I8", @@ -8639,6 +8981,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "vase", @@ -8651,29 +8994,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", ], "children": Array [ - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productNameTextNode", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productDescriptionTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductNameTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductDescriptionTextNode", ], "contentful_id": "6dbjWqNd9SqccegcqYq224", "createdAt": "2017-06-27T09:35:44.049Z", - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", "image___NODE": Array [ - "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI", + "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset", ], "internal": Object { - "contentDigest": "e0eff4b13fff4eddfe23d83c6042b98b", + "contentDigest": "ad9a9c05c5976a06b9e663f396a795c4", "type": "ContentfulProduct", }, "node_locale": "en-US", "parent": "Product", "price": 22, - "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductNameTextNode", "quantity": 89, "sizetypecolor": "0.8 x 0.8 x 11.2 inches; 1.6 ounces", "sku": "B0081F2CCK", @@ -8689,6 +9032,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "kitchen", @@ -8703,29 +9047,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a", + "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry", ], "children": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductNameTextNode", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductDescriptionTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductNameTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductDescriptionTextNode", ], "contentful_id": "4BqrajvA8E6qwgkieoqmqO", "createdAt": "2017-06-27T09:35:44.130Z", - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", "image___NODE": Array [ - "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8", + "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset", ], "internal": Object { - "contentDigest": "addd21c26ca8605325dbf4fc7c027671", + "contentDigest": "9f513ada1e30b369d4b30ae982c50da7", "type": "ContentfulProduct", }, "node_locale": "en-US", "parent": "Product", "price": 120, - "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductNameTextNode", "quantity": 3, "sizetypecolor": "10\\" x 2.2\\"", "sku": "B00MG4ULK2", @@ -8741,6 +9085,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "home décor", @@ -8756,113 +9101,137 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductNameTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductNameTextNode", "internal": Object { "content": "Playsam Streamliner Classic Car, Espresso", "contentDigest": "fb5febcf7ce227772c3998af60b6e740", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", "productName": "Playsam Streamliner Classic Car, Espresso", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacSproductDescriptionTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___EntryproductDescriptionTextNode", "internal": Object { "content": "A classic Playsam design, the Streamliner Classic Car has been selected as Swedish Design Classic by the Swedish National Museum for its inventive style and sleek surface. It's no wonder that this wooden car has also been a long-standing favorite for children both big and small!", "contentDigest": "d27a98d8abd9865c279017aed14f2766", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry", "productDescription": "A classic Playsam design, the Streamliner Classic Car has been selected as Swedish Design Classic by the Swedish National Museum for its inventive style and sleek surface. It's no wonder that this wooden car has also been a long-standing favorite for children both big and small!", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductNameTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductNameTextNode", "internal": Object { "content": "Hudson Wall Cup", "contentDigest": "927daa584fb961e59edbd07f921b916c", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", "productName": "Hudson Wall Cup", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOggproductDescriptionTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___EntryproductDescriptionTextNode", "internal": Object { "content": "Wall Hanging Glass Flower Vase and Terrarium", "contentDigest": "da605021a35b1da89c6810fb46275a58", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry", "productDescription": "Wall Hanging Glass Flower Vase and Terrarium", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productNameTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductNameTextNode", "internal": Object { "content": "Whisk Beater", "contentDigest": "bfab59c3dba2ca3c2fce106049470741", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", "productName": "Whisk Beater", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224productDescriptionTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___EntryproductDescriptionTextNode", "internal": Object { "content": "A creative little whisk that comes in 8 different colors. Handy and easy to clean after use. A great gift idea.", "contentDigest": "223b5836966aa0ab2c43a9a870e7a631", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry", "productDescription": "A creative little whisk that comes in 8 different colors. Handy and easy to clean after use. A great gift idea.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductNameTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductNameTextNode", "internal": Object { "content": "SoSo Wall Clock", "contentDigest": "2bd6c9f1667f2fbb59343e203cb0b7bf", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", "productName": "SoSo Wall Clock", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqOproductDescriptionTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___EntryproductDescriptionTextNode", "internal": Object { "content": "The newly released SoSo Clock from Lemnos marries simple, clean design and bold, striking features. Its saturated marigold face is a lively pop of color to white or grey walls, but would also pair nicely with navy and maroon. Where most clocks feature numbers at the border of the clock, the SoSo brings them in tight to the middle, leaving a wide space between the numbers and the slight frame. The hour hand provides a nice interruption to the black and yellow of the clock - it is featured in a brilliant white. Despite its bold color and contrast, the SoSo maintains a clean, pure aesthetic that is suitable to a variety of contemporary interiors.", "contentDigest": "c5b4a61c6d533216a0efe0d4ee66c98b", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry", "productDescription": "The newly released SoSo Clock from Lemnos marries simple, clean design and bold, striking features. Its saturated marigold face is a lively pop of color to white or grey walls, but would also pair nicely with navy and maroon. Where most clocks feature numbers at the border of the clock, the SoSo brings them in tight to the middle, leaving a wide space between the numbers and the slight frame. The hour hand provides a nice interruption to the black and yellow of the clock - it is featured in a brilliant white. Despite its bold color and contrast, the SoSo maintains a clean, pure aesthetic that is suitable to a variety of contemporary interiors.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -8872,38 +9241,41 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "productName", "id": "Product", "internal": Object { - "contentDigest": "d9822da16231c6bd9df08d882174266f", + "contentDigest": "179aa51da2468879db695f447fd8f374", "type": "ContentfulContentType", }, "name": "Product", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { - "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___de", + "brand___NODE": "rocybtov1ozk___JrePkDVYomE8AwcuCUyMi___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___de", + "rocybtov1ozk___c24DPGBDeGEaYy8ms4Y8QMQ___Entry___de", ], "children": Array [ - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductNameTextNode", - "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductDescriptionTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductNameTextNode", + "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductDescriptionTextNode", ], "contentful_id": "5KsDBWseXY6QegucYAoacS", "createdAt": "2017-06-27T09:35:43.996Z", - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___de", + "rocybtov1ozk___wtrHxeu3zEoEce2MokCSi___Asset___de", ], "internal": Object { - "contentDigest": "8013356283fb0e6060df8fe752658853", + "contentDigest": "c435779d761d09f4119aa6dd354e2977", "type": "ContentfulProduct", }, "node_locale": "de", "parent": "Product", "price": 44, - "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductNameTextNode", "quantity": 56, "sizetypecolor": "Length: 135 mm | color: espresso, green, or icar (white)", "sku": "B001R6JUZ2", @@ -8919,6 +9291,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "wood", @@ -8933,29 +9306,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", ], "children": Array [ - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductNameTextNode", - "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductDescriptionTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductNameTextNode", + "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductDescriptionTextNode", ], "contentful_id": "3DVqIYj4dOwwcKu6sgqOgg", "createdAt": "2017-06-27T09:35:44.006Z", - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___de", + "rocybtov1ozk___Xc0ny7GWsMEMCeASWO2um___Asset___de", ], "internal": Object { - "contentDigest": "3b484a812db19677caa02fe05b4cdd57", + "contentDigest": "fe09ed4a07f8a8363b108f371ba026d3", "type": "ContentfulProduct", }, "node_locale": "de", "parent": "Product", "price": 11, - "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductNameTextNode", "quantity": 101, "sizetypecolor": "3 x 3 x 5 inches; 5.3 ounces", "sku": "B00E82D7I8", @@ -8971,6 +9344,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "vase", @@ -8983,29 +9357,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___de", + "brand___NODE": "rocybtov1ozk___c651CQ8rLoIYCeY6G0QG22q___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", ], "children": Array [ - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductNameTextNode", - "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductDescriptionTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductNameTextNode", + "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductDescriptionTextNode", ], "contentful_id": "6dbjWqNd9SqccegcqYq224", "createdAt": "2017-06-27T09:35:44.049Z", - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___de", + "rocybtov1ozk___c10TkaLheGeQG6qQGqWYqUI___Asset___de", ], "internal": Object { - "contentDigest": "234a2be950bf21b2079e332b60bc00a6", + "contentDigest": "d53aeed01fa4c620de7bc4bc4a2ddc5b", "type": "ContentfulProduct", }, "node_locale": "de", "parent": "Product", "price": 22, - "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductNameTextNode", "quantity": 89, "sizetypecolor": "0.8 x 0.8 x 11.2 inches; 1.6 ounces", "sku": "B0081F2CCK", @@ -9021,6 +9395,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "kitchen", @@ -9035,29 +9410,29 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ], Array [ Object { - "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___de", + "brand___NODE": "rocybtov1ozk___c4LgMotpNF6W20YKmuemW0a___Entry___de", "categories___NODE": Array [ - "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___de", + "rocybtov1ozk___c7LAnCobuuWYSqks6wAwY2a___Entry___de", ], "children": Array [ - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductNameTextNode", - "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductDescriptionTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductNameTextNode", + "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductDescriptionTextNode", ], "contentful_id": "4BqrajvA8E6qwgkieoqmqO", "createdAt": "2017-06-27T09:35:44.130Z", - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", "image___NODE": Array [ - "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___de", + "rocybtov1ozk___KTRF62Q4gg60q6WCsWKw8___Asset___de", ], "internal": Object { - "contentDigest": "ae666eac1f8f00d73d6471e1e0cf1ef3", + "contentDigest": "cc67e7b8b8496ed399e71b1d5436801c", "type": "ContentfulProduct", }, "node_locale": "de", "parent": "Product", "price": 120, - "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductDescriptionTextNode", - "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductNameTextNode", + "productDescription___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductDescriptionTextNode", + "productName___NODE": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductNameTextNode", "quantity": 3, "sizetypecolor": "10\\" x 2.2\\"", "sku": "B00MG4ULK2", @@ -9073,6 +9448,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 2, + "type": "Entry", }, "tags": Array [ "home décor", @@ -9088,113 +9464,137 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductNameTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductNameTextNode", "internal": Object { "content": "Playsam Streamliner Klassisches Auto, Espresso", "contentDigest": "7f76178eaaeb38fc20570d0c6eb49c3e", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", "productName": "Playsam Streamliner Klassisches Auto, Espresso", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Ein klassisches Playsam-Design, das Streamliner Classic Car wurde als Swedish Design Classic vom Schwedischen Nationalmuseum für seinen erfinderischen Stil und seine schlanke Oberfläche ausgewählt. Es ist kein Wunder, dass dieses hölzerne Auto auch ein langjähriger Liebling für Kinder gewesen ist, die groß und klein sind!", "contentDigest": "85779a170b2fe2458d707b34459d4085", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___de", + "parent": "rocybtov1ozk___c5KsDBWseXY6QegucYAoacS___Entry___de", "productDescription": "Ein klassisches Playsam-Design, das Streamliner Classic Car wurde als Swedish Design Classic vom Schwedischen Nationalmuseum für seinen erfinderischen Stil und seine schlanke Oberfläche ausgewählt. Es ist kein Wunder, dass dieses hölzerne Auto auch ein langjähriger Liebling für Kinder gewesen ist, die groß und klein sind!", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductNameTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductNameTextNode", "internal": Object { "content": "Becher", "contentDigest": "aac31ab0dcf429f1be1d2764db549f43", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", "productName": "Becher", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Wand-hängende Glas-Blumen-Vase und Terrarium", "contentDigest": "41d1166dbe8f8af2f8f2bad50fe42f03", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___de", + "parent": "rocybtov1ozk___c3DVqIYj4dOwwcKu6sgqOgg___Entry___de", "productDescription": "Wand-hängende Glas-Blumen-Vase und Terrarium", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductNameTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductNameTextNode", "internal": Object { "content": "Schneebesen", "contentDigest": "811253206ba751ed27cf3ceb68e334dc", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", "productName": "Schneebesen", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Ein kreativer kleiner Schneebesen, der in 8 verschiedenen Farben kommt. Praktisch und nach dem Gebrauch leicht zu reinigen. Eine tolle Geschenkidee.", "contentDigest": "d0793a3c142dc3f7377edd6625091cb7", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___de", + "parent": "rocybtov1ozk___c6dbjWqNd9SqccegcqYq224___Entry___de", "productDescription": "Ein kreativer kleiner Schneebesen, der in 8 verschiedenen Farben kommt. Praktisch und nach dem Gebrauch leicht zu reinigen. Eine tolle Geschenkidee.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductNameTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductNameTextNode", "internal": Object { "content": "SoSo wanduhr", "contentDigest": "8b38ff25d8ab847042efc8d525aaf7a0", "mediaType": "text/markdown", "type": "contentfulProductProductNameTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", "productName": "SoSo wanduhr", + "sys": Object { + "type": "Entry", + }, }, ], Array [ Object { "children": Array [], - "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___deproductDescriptionTextNode", + "id": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___deproductDescriptionTextNode", "internal": Object { "content": "Die neu veröffentlichte SoSo Clock von Lemnos heiratet einfaches, sauberes Design und fette, auffällige Features. Sein gesättigtes Ringelblumengesicht ist ein lebhafter Pop der Farbe zu den weißen oder grauen Wänden, aber würde auch gut mit Marine und kastanienbraun paaren. Wo die meisten Uhren am Rande der Uhr Nummern sind, bringt der SoSo sie in die Mitte und lässt einen weiten Raum zwischen den Zahlen und dem leichten Rahmen. Der Stundenzeiger bietet eine schöne Unterbrechung der schwarzen und gelben der Uhr - es ist in einem brillanten Weiß vorgestellt. Trotz seiner kräftigen Farbe und des Kontrastes behält der SoSo eine saubere, reine Ästhetik, die für eine Vielzahl von zeitgenössischen Interieurs geeignet ist.", "contentDigest": "038ff737ccc03e4525691d265d5a92b7", "mediaType": "text/markdown", "type": "contentfulProductProductDescriptionTextNode", }, - "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___de", + "parent": "rocybtov1ozk___c4BqrajvA8E6qwgkieoqmqO___Entry___de", "productDescription": "Die neu veröffentlichte SoSo Clock von Lemnos heiratet einfaches, sauberes Design und fette, auffällige Features. Sein gesättigtes Ringelblumengesicht ist ein lebhafter Pop der Farbe zu den weißen oder grauen Wänden, aber würde auch gut mit Marine und kastanienbraun paaren. Wo die meisten Uhren am Rande der Uhr Nummern sind, bringt der SoSo sie in die Mitte und lässt einen weiten Raum zwischen den Zahlen und dem leichten Rahmen. Der Stundenzeiger bietet eine schöne Unterbrechung der schwarzen und gelben der Uhr - es ist in einem brillanten Weiß vorgestellt. Trotz seiner kräftigen Farbe und des Kontrastes behält der SoSo eine saubere, reine Ästhetik, die für eine Vielzahl von zeitgenössischen Interieurs geeignet ist.", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -9204,30 +9604,33 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": null, "id": "JSON-test", "internal": Object { - "contentDigest": "f16da69f5e198a8896039313bbcb3fa0", + "contentDigest": "f589fd97d5e9566101e81541f5e1eb67", "type": "ContentfulContentType", }, "name": "JSON-test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonTestJSONNode", - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonTestJSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonStringTest0JSONNode", ], "contentful_id": "71mfnH4QKsSsQmgoaQuq6O", "createdAt": "2017-11-28T02:16:10.604Z", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry", "internal": Object { - "contentDigest": "2d74c76ea9dc1d5202fde314d70663ba", + "contentDigest": "467c92f28ae3776da61e779764f4ded8", "type": "ContentfulJsonTest", }, "jsonStringTest___NODE": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonStringTest0JSONNode", ], - "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonTestJSONNode", + "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonTestJSONNode", "node_locale": "en-US", "parent": "JSON-test", "spaceId": "rocybtov1ozk", @@ -9241,6 +9644,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 4, + "type": "Entry", }, "updatedAt": "2018-08-13T14:27:12.458Z", }, @@ -9292,14 +9696,14 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "interfaces", "**/__tests__/fixtures/", ], - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonTestJSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonTestJSONNode", "internal": Object { "content": "{\\"engines\\":{\\"yarn\\":\\"^1.2.1\\"},\\"private\\":true,\\"scripts\\":{\\"jest\\":\\"jest\\",\\"lint\\":\\"eslint --ext .js,.jsx packages/**/src\\",\\"plop\\":\\"plop\\",\\"test\\":\\"yarn lint && yarn jest\\",\\"lerna\\":\\"lerna\\",\\"watch\\":\\"lerna run watch --no-sort --stream --concurrency 999\\",\\"format\\":\\"npm run format-packages && npm run format-cache-dir && npm run format-www && npm run format-examples && npm run format-scripts\\",\\"publish\\":\\"lerna publish\\",\\"bootstrap\\":\\"yarn && npm run check-versions && lerna run prepublish\\",\\"lint:flow\\":\\"babel-node scripts/flow-check.js\\",\\"remotedev\\":\\"remotedev --hostname=localhost --port=19999\\",\\"test_bkup\\":\\"npm run lint && npm run test-node && npm run test-integration\\",\\"format-www\\":\\"prettier-eslint --write /\\"www/*.js/\\" /\\"www/src/**/*.js/\\"\\",\\"test:watch\\":\\"jest --watch\\",\\"test:update\\":\\"jest --updateSnapshot\\",\\"publish-next\\":\\"lerna publish --npm-tag=next\\",\\"check-versions\\":\\"babel-node scripts/check-versions.js\\",\\"format-scripts\\":\\"prettier-eslint --write /\\"scripts/**/*.js/\\"\\",\\"publish-canary\\":\\"lerna publish --canary --yes\\",\\"format-examples\\":\\"prettier-eslint --write /\\"examples/**/gatsby-node.js/\\" /\\"examples/**/gatsby-config.js/\\" /\\"examples/**/src/**/*.js/\\"\\",\\"format-packages\\":\\"prettier-eslint --write /\\"packages/*/src/**/*.js/\\"\\",\\"format-cache-dir\\":\\"prettier-eslint --write /\\"packages/gatsby/cache-dir/*.js/\\"\\"},\\"workspaces\\":[\\"packages/*\\"],\\"eslintIgnore\\":[\\"interfaces\\",\\"**/__tests__/fixtures/\\"],\\"devDependencies\\":{\\"glob\\":\\"^7.1.1\\",\\"jest\\":\\"^20.0.4\\",\\"plop\\":\\"^1.8.1\\",\\"lerna\\":\\"^2.1.1\\",\\"eslint\\":\\"^4.5.0\\",\\"rimraf\\":\\"^2.6.1\\",\\"chokidar\\":\\"^1.7.0\\",\\"flow-bin\\":\\"^0.42.0\\",\\"jest-cli\\":\\"^20.0.4\\",\\"prettier\\":\\"^1.7.0\\",\\"babel-cli\\":\\"^6.26.0\\",\\"cross-env\\":\\"^5.0.5\\",\\"babel-jest\\":\\"^20.0.3\\",\\"babel-eslint\\":\\"^7.2.3\\",\\"babel-runtime\\":\\"^6.26.0\\",\\"babel-register\\":\\"^6.26.0\\",\\"babel-preset-env\\":\\"^1.6.0\\",\\"remotedev-server\\":\\"^0.2.3\\",\\"babel-preset-flow\\":\\"^6.23.0\\",\\"babel-preset-react\\":\\"^6.24.1\\",\\"babel-plugin-lodash\\":\\"^3.2.11\\",\\"eslint-plugin-react\\":\\"^7.3.0\\",\\"prettier-eslint-cli\\":\\"4.2.x\\",\\"babel-preset-stage-0\\":\\"^6.24.1\\",\\"eslint-config-google\\":\\"^0.9.1\\",\\"eslint-plugin-import\\":\\"^2.7.0\\",\\"eslint-config-prettier\\":\\"^2.5.0\\",\\"eslint-plugin-flowtype\\":\\"^2.35.0\\",\\"eslint-plugin-jsx-a11y\\":\\"^6.0.2\\",\\"eslint-plugin-prettier\\":\\"^2.2.0\\",\\"eslint-plugin-flow-vars\\":\\"^0.5.0\\",\\"babel-plugin-transform-runtime\\":\\"^6.23.0\\",\\"babel-plugin-add-module-exports\\":\\"^0.2.1\\",\\"babel-plugin-transform-flow-strip-types\\":\\"^6.22.0\\",\\"babel-plugin-transform-async-to-generator\\":\\"^6.24.1\\"}}", "contentDigest": "2555b7857c70c4293f9c6f3258dff561", "mediaType": "application/json", "type": "contentfulJsonTestJsonTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry", "private": true, "scripts": Object { "bootstrap": "yarn && npm run check-versions && lerna run prepublish", @@ -9325,6 +9729,9 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "test_bkup": "npm run lint && npm run test-node && npm run test-integration", "watch": "lerna run watch --no-sort --stream --concurrency 999", }, + "sys": Object { + "type": "Entry", + }, "workspaces": Array [ "packages/*", ], @@ -9334,14 +9741,17 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Object { "children": Array [], "content": "test", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6OjsonStringTest0JSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___EntryjsonStringTest0JSONNode", "internal": Object { "content": "\\"test\\"", "contentDigest": "303b5c8988601647873b4ffd247d83cb", "mediaType": "application/json", "type": "contentfulJsonTestJsonStringTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -9351,30 +9761,33 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": null, "id": "JSON-test", "internal": Object { - "contentDigest": "f16da69f5e198a8896039313bbcb3fa0", + "contentDigest": "f589fd97d5e9566101e81541f5e1eb67", "type": "ContentfulContentType", }, "name": "JSON-test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonTestJSONNode", - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonTestJSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonStringTest0JSONNode", ], "contentful_id": "71mfnH4QKsSsQmgoaQuq6O", "createdAt": "2017-11-28T02:16:10.604Z", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___de", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___de", "internal": Object { - "contentDigest": "7006c174db90eca605b07f510e126e98", + "contentDigest": "04725398c6ec477deee89e7c389f914d", "type": "ContentfulJsonTest", }, "jsonStringTest___NODE": Array [ - "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonStringTest0JSONNode", + "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonStringTest0JSONNode", ], - "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonTestJSONNode", + "jsonTest___NODE": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonTestJSONNode", "node_locale": "de", "parent": "JSON-test", "spaceId": "rocybtov1ozk", @@ -9388,6 +9801,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 4, + "type": "Entry", }, "updatedAt": "2018-08-13T14:27:12.458Z", }, @@ -9439,14 +9853,14 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "interfaces", "**/__tests__/fixtures/", ], - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonTestJSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonTestJSONNode", "internal": Object { "content": "{\\"engines\\":{\\"yarn\\":\\"^1.2.1\\"},\\"private\\":true,\\"scripts\\":{\\"jest\\":\\"jest\\",\\"lint\\":\\"eslint --ext .js,.jsx packages/**/src\\",\\"plop\\":\\"plop\\",\\"test\\":\\"yarn lint && yarn jest\\",\\"lerna\\":\\"lerna\\",\\"watch\\":\\"lerna run watch --no-sort --stream --concurrency 999\\",\\"format\\":\\"npm run format-packages && npm run format-cache-dir && npm run format-www && npm run format-examples && npm run format-scripts\\",\\"publish\\":\\"lerna publish\\",\\"bootstrap\\":\\"yarn && npm run check-versions && lerna run prepublish\\",\\"lint:flow\\":\\"babel-node scripts/flow-check.js\\",\\"remotedev\\":\\"remotedev --hostname=localhost --port=19999\\",\\"test_bkup\\":\\"npm run lint && npm run test-node && npm run test-integration\\",\\"format-www\\":\\"prettier-eslint --write /\\"www/*.js/\\" /\\"www/src/**/*.js/\\"\\",\\"test:watch\\":\\"jest --watch\\",\\"test:update\\":\\"jest --updateSnapshot\\",\\"publish-next\\":\\"lerna publish --npm-tag=next\\",\\"check-versions\\":\\"babel-node scripts/check-versions.js\\",\\"format-scripts\\":\\"prettier-eslint --write /\\"scripts/**/*.js/\\"\\",\\"publish-canary\\":\\"lerna publish --canary --yes\\",\\"format-examples\\":\\"prettier-eslint --write /\\"examples/**/gatsby-node.js/\\" /\\"examples/**/gatsby-config.js/\\" /\\"examples/**/src/**/*.js/\\"\\",\\"format-packages\\":\\"prettier-eslint --write /\\"packages/*/src/**/*.js/\\"\\",\\"format-cache-dir\\":\\"prettier-eslint --write /\\"packages/gatsby/cache-dir/*.js/\\"\\"},\\"workspaces\\":[\\"packages/*\\"],\\"eslintIgnore\\":[\\"interfaces\\",\\"**/__tests__/fixtures/\\"],\\"devDependencies\\":{\\"glob\\":\\"^7.1.1\\",\\"jest\\":\\"^20.0.4\\",\\"plop\\":\\"^1.8.1\\",\\"lerna\\":\\"^2.1.1\\",\\"eslint\\":\\"^4.5.0\\",\\"rimraf\\":\\"^2.6.1\\",\\"chokidar\\":\\"^1.7.0\\",\\"flow-bin\\":\\"^0.42.0\\",\\"jest-cli\\":\\"^20.0.4\\",\\"prettier\\":\\"^1.7.0\\",\\"babel-cli\\":\\"^6.26.0\\",\\"cross-env\\":\\"^5.0.5\\",\\"babel-jest\\":\\"^20.0.3\\",\\"babel-eslint\\":\\"^7.2.3\\",\\"babel-runtime\\":\\"^6.26.0\\",\\"babel-register\\":\\"^6.26.0\\",\\"babel-preset-env\\":\\"^1.6.0\\",\\"remotedev-server\\":\\"^0.2.3\\",\\"babel-preset-flow\\":\\"^6.23.0\\",\\"babel-preset-react\\":\\"^6.24.1\\",\\"babel-plugin-lodash\\":\\"^3.2.11\\",\\"eslint-plugin-react\\":\\"^7.3.0\\",\\"prettier-eslint-cli\\":\\"4.2.x\\",\\"babel-preset-stage-0\\":\\"^6.24.1\\",\\"eslint-config-google\\":\\"^0.9.1\\",\\"eslint-plugin-import\\":\\"^2.7.0\\",\\"eslint-config-prettier\\":\\"^2.5.0\\",\\"eslint-plugin-flowtype\\":\\"^2.35.0\\",\\"eslint-plugin-jsx-a11y\\":\\"^6.0.2\\",\\"eslint-plugin-prettier\\":\\"^2.2.0\\",\\"eslint-plugin-flow-vars\\":\\"^0.5.0\\",\\"babel-plugin-transform-runtime\\":\\"^6.23.0\\",\\"babel-plugin-add-module-exports\\":\\"^0.2.1\\",\\"babel-plugin-transform-flow-strip-types\\":\\"^6.22.0\\",\\"babel-plugin-transform-async-to-generator\\":\\"^6.24.1\\"}}", "contentDigest": "2555b7857c70c4293f9c6f3258dff561", "mediaType": "application/json", "type": "contentfulJsonTestJsonTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___de", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___de", "private": true, "scripts": Object { "bootstrap": "yarn && npm run check-versions && lerna run prepublish", @@ -9472,6 +9886,9 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "test_bkup": "npm run lint && npm run test-node && npm run test-integration", "watch": "lerna run watch --no-sort --stream --concurrency 999", }, + "sys": Object { + "type": "Entry", + }, "workspaces": Array [ "packages/*", ], @@ -9481,14 +9898,17 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff Object { "children": Array [], "content": "test", - "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___dejsonStringTest0JSONNode", + "id": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___dejsonStringTest0JSONNode", "internal": Object { "content": "\\"test\\"", "contentDigest": "303b5c8988601647873b4ffd247d83cb", "mediaType": "application/json", "type": "contentfulJsonTestJsonStringTestJsonNode", }, - "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___de", + "parent": "rocybtov1ozk___c71mfnH4QKsSsQmgoaQuq6O___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -9498,24 +9918,27 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "title", "id": "Remark Test", "internal": Object { - "contentDigest": "0b7cb47a10483b2a6e17dc669e3a7a83", + "contentDigest": "5cd06f366553e0ba7d4be2ac3f3a4a66", "type": "ContentfulContentType", }, "name": "Remark Test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64icontentTextNode", + "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___EntrycontentTextNode", ], - "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64icontentTextNode", + "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___EntrycontentTextNode", "contentful_id": "4L2GhTsJtCseMYM8Wia64i", "createdAt": "2018-05-28T08:49:06.230Z", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry", "internal": Object { - "contentDigest": "a196a338771135acb23a199a4c33d3ca", + "contentDigest": "2a2fef2e7d5ef79f433729dcb0e931f3", "type": "ContentfulRemarkTest", }, "node_locale": "en-US", @@ -9531,6 +9954,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 1, + "type": "Entry", }, "title": "Contentful images inlined in Markdown", "updatedAt": "2018-05-28T08:49:06.230Z", @@ -9562,7 +9986,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ## Hudson Wall Cup ![Hudson Wall Cup ](//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg)", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64icontentTextNode", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___EntrycontentTextNode", "internal": Object { "content": "## Toys @@ -9591,7 +10015,10 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "mediaType": "text/markdown", "type": "contentfulRemarkTestContentTextNode", }, - "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i", + "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry", + "sys": Object { + "type": "Entry", + }, }, ], Array [ @@ -9601,24 +10028,27 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "displayField": "title", "id": "Remark Test", "internal": Object { - "contentDigest": "0b7cb47a10483b2a6e17dc669e3a7a83", + "contentDigest": "5cd06f366553e0ba7d4be2ac3f3a4a66", "type": "ContentfulContentType", }, "name": "Remark Test", "parent": null, + "sys": Object { + "type": "ContentType", + }, }, ], Array [ Object { "children": Array [ - "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___decontentTextNode", + "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___decontentTextNode", ], - "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___decontentTextNode", + "content___NODE": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___decontentTextNode", "contentful_id": "4L2GhTsJtCseMYM8Wia64i", "createdAt": "2018-05-28T08:49:06.230Z", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___de", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___de", "internal": Object { - "contentDigest": "0ff917c4be18e9c8c01f1ed424878ebf", + "contentDigest": "810cbd95a73bab2f87c3ee393dfb27cf", "type": "ContentfulRemarkTest", }, "node_locale": "de", @@ -9634,6 +10064,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff }, }, "revision": 1, + "type": "Entry", }, "title": "Contentful images inlined in Markdown", "updatedAt": "2018-05-28T08:49:06.230Z", @@ -9665,7 +10096,7 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff ## Hudson Wall Cup ![Hudson Wall Cup ](//images.ctfassets.net/rocybtov1ozk/Xc0ny7GWsMEMCeASWO2um/af8e29320c04af689798afe96e2345c7/jqvtazcyfwseah9fmysz.jpg)", - "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___decontentTextNode", + "id": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___decontentTextNode", "internal": Object { "content": "## Toys @@ -9694,7 +10125,10 @@ Unsere Lemnos Produkte werden sorgfältig von unseren Handwerkern fein geschliff "mediaType": "text/markdown", "type": "contentfulRemarkTestContentTextNode", }, - "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___de", + "parent": "rocybtov1ozk___c4L2GhTsJtCseMYM8Wia64i___Entry___de", + "sys": Object { + "type": "Entry", + }, }, ], ] diff --git a/packages/gatsby-source-contentful/src/__tests__/fetch.js b/packages/gatsby-source-contentful/src/__tests__/fetch.js index 105dfcb2b26fb..205f7781e8de1 100644 --- a/packages/gatsby-source-contentful/src/__tests__/fetch.js +++ b/packages/gatsby-source-contentful/src/__tests__/fetch.js @@ -85,7 +85,11 @@ beforeAll(() => { const reporter = { info: jest.fn(), + verbose: jest.fn(), panic: jest.fn(), + activityTimer: () => { + return { start: jest.fn(), end: jest.fn() } + }, } beforeEach(() => { diff --git a/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js b/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js index d2f0ad4fc424a..36abe44e039f1 100644 --- a/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js +++ b/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js @@ -13,13 +13,28 @@ const normalize = require(`../normalize`) const startersBlogFixture = require(`../__fixtures__/starter-blog-data`) +const pluginOptions = { spaceId: `testSpaceId` } + +const createMockCache = () => { + return { + get: jest.fn(), + set: jest.fn(), + directory: __dirname, + } +} + describe(`gatsby-node`, () => { - const actions = {} + const actions = { createTypes: jest.fn() } + const schema = { buildObjectType: jest.fn() } const store = {} - const cache = {} + const cache = createMockCache() const getCache = jest.fn() const reporter = { info: jest.fn(), + verbose: jest.fn(), + activityTimer: () => { + return { start: jest.fn(), end: jest.fn() } + }, } const createNodeId = jest.fn(value => value) let currentNodeMap @@ -57,6 +72,7 @@ describe(`gatsby-node`, () => { defaultLocale: defaultLocale, currentLocale: locale, id: entry.sys.id, + type: entry.sys.type, }) ) @@ -79,6 +95,7 @@ describe(`gatsby-node`, () => { defaultLocale: defaultLocale, currentLocale: locale, id: value.sys.id, + type: value.sys.linkType || value.sys.type, }) ) matchedObject[`${field}___NODE`] = linkId @@ -142,6 +159,7 @@ describe(`gatsby-node`, () => { defaultLocale: defaultLocale, currentLocale: locale, id: entry.sys.id, + type: entry.sys.type, }) ) @@ -170,6 +188,27 @@ describe(`gatsby-node`, () => { defaultLocale: defaultLocale, currentLocale: locale, id: asset.sys.id, + type: asset.sys.type, + }) + ) + + // check if asset exists + expect(getNode(assetId)).toBeDefined() + }) + }) + } + + const testIfAssetsExistsAndMatch = (assets, locales) => { + const defaultLocale = locales[0] + locales.forEach(locale => { + assets.forEach(asset => { + const assetId = createNodeId( + normalize.makeId({ + spaceId: asset.sys.space.sys.id, + defaultLocale: defaultLocale, + currentLocale: locale, + id: asset.sys.id, + type: asset.sys.type, }) ) @@ -198,6 +237,7 @@ describe(`gatsby-node`, () => { defaultLocale: defaultLocale, currentLocale: locale, id: asset.sys.id, + type: asset.sys.type, }) ) @@ -228,61 +268,95 @@ describe(`gatsby-node`, () => { }) it(`should create nodes from initial payload`, async () => { - fetch.mockImplementationOnce(() => startersBlogFixture.initialSync) + cache.get.mockClear() + cache.set.mockClear() + fetch.mockImplementationOnce(startersBlogFixture.initialSync) const locales = [`en-US`, `nl`] - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) - testIfContentTypesExists(startersBlogFixture.initialSync.contentTypeItems) + testIfContentTypesExists(startersBlogFixture.initialSync().contentTypeItems) testIfEntriesExists( - startersBlogFixture.initialSync.currentSyncData.entries, - startersBlogFixture.initialSync.contentTypeItems, + startersBlogFixture.initialSync().currentSyncData.entries, + startersBlogFixture.initialSync().contentTypeItems, locales ) - testIfAssetsExists( - startersBlogFixture.initialSync.currentSyncData.assets, + testIfAssetsExistsAndMatch( + startersBlogFixture.initialSync().currentSyncData.assets, locales ) + + // Tries to load data from cache + expect(cache.get).toHaveBeenCalledWith( + `contentful-sync-token-testSpaceId-master` + ) + expect(cache.get).toHaveBeenCalledWith( + `contentful-sync-data-testSpaceId-master` + ) + expect(cache.get.mock.calls.length).toBe(2) + + // Stores sync token and raw/unparsed data to the cache + expect(cache.set).toHaveBeenCalledWith( + `contentful-sync-token-testSpaceId-master`, + startersBlogFixture.initialSync().currentSyncData.nextSyncToken + ) + expect(cache.set).toHaveBeenCalledWith( + `contentful-sync-data-testSpaceId-master`, + { + entries: startersBlogFixture.initialSync().currentSyncData.entries, + assets: startersBlogFixture.initialSync().currentSyncData.assets, + } + ) + expect(cache.set.mock.calls.length).toBe(2) }) it(`should add a new blogpost and update linkedNodes`, async () => { const locales = [`en-US`, `nl`] fetch - .mockReturnValueOnce(startersBlogFixture.initialSync) - .mockReturnValueOnce(startersBlogFixture.createBlogPost) + .mockImplementationOnce(startersBlogFixture.initialSync) + .mockImplementationOnce(startersBlogFixture.createBlogPost) - const createdBlogEntry = - startersBlogFixture.createBlogPost.currentSyncData.entries[0] + const createdBlogEntry = startersBlogFixture.createBlogPost() + .currentSyncData.entries[0] const createdBlogEntryIds = locales.map(locale => normalize.makeId({ spaceId: createdBlogEntry.sys.space.sys.id, currentLocale: locale, defaultLocale: locales[0], id: createdBlogEntry.sys.id, + type: createdBlogEntry.sys.type, }) ) // initial sync - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) // check if blog posts do not exists createdBlogEntryIds.forEach(entryId => { @@ -290,26 +364,30 @@ describe(`gatsby-node`, () => { }) // add new blog post - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) testIfContentTypesExists( - startersBlogFixture.createBlogPost.contentTypeItems + startersBlogFixture.createBlogPost().contentTypeItems ) testIfEntriesExists( - startersBlogFixture.createBlogPost.currentSyncData.entries, - startersBlogFixture.createBlogPost.contentTypeItems, + startersBlogFixture.createBlogPost().currentSyncData.entries, + startersBlogFixture.createBlogPost().contentTypeItems, locales ) - testIfAssetsExists( - startersBlogFixture.createBlogPost.currentSyncData.assets, + testIfAssetsExistsAndMatch( + startersBlogFixture.createBlogPost().currentSyncData.assets, locales ) @@ -323,71 +401,84 @@ describe(`gatsby-node`, () => { it(`should update a blogpost`, async () => { const locales = [`en-US`, `nl`] fetch - .mockReturnValueOnce(startersBlogFixture.initialSync) - .mockReturnValueOnce(startersBlogFixture.createBlogPost) - .mockReturnValueOnce(startersBlogFixture.updateBlogPost) + .mockImplementationOnce(startersBlogFixture.initialSync) + .mockImplementationOnce(startersBlogFixture.createBlogPost) + .mockImplementationOnce(startersBlogFixture.updateBlogPost) - const updatedBlogEntry = - startersBlogFixture.updateBlogPost.currentSyncData.entries[0] + const updatedBlogEntry = startersBlogFixture.updateBlogPost() + .currentSyncData.entries[0] const updatedBlogEntryIds = locales.map(locale => normalize.makeId({ spaceId: updatedBlogEntry.sys.space.sys.id, currentLocale: locale, defaultLocale: locales[0], id: updatedBlogEntry.sys.id, + type: updatedBlogEntry.sys.type, }) ) // initial sync - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) // create blog post - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) updatedBlogEntryIds.forEach(blogEntryId => { - expect(getNode(blogEntryId).title).toBe(`Hello world`) + expect(getNode(blogEntryId).title).toBe(`Integration tests`) }) // updated blog post - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) testIfContentTypesExists( - startersBlogFixture.updateBlogPost.contentTypeItems + startersBlogFixture.updateBlogPost().contentTypeItems ) testIfEntriesExists( - startersBlogFixture.updateBlogPost.currentSyncData.entries, - startersBlogFixture.updateBlogPost.contentTypeItems, + startersBlogFixture.updateBlogPost().currentSyncData.entries, + startersBlogFixture.updateBlogPost().contentTypeItems, locales ) - testIfAssetsExists( - startersBlogFixture.updateBlogPost.currentSyncData.assets, + testIfAssetsExistsAndMatch( + startersBlogFixture.updateBlogPost().currentSyncData.assets, locales ) @@ -402,44 +493,56 @@ describe(`gatsby-node`, () => { it(`should remove a blogpost and update linkedNodes`, async () => { const locales = [`en-US`, `nl`] fetch - .mockReturnValueOnce(startersBlogFixture.initialSync) - .mockReturnValueOnce(startersBlogFixture.createBlogPost) - .mockReturnValueOnce(startersBlogFixture.removeBlogPost) - - const removedBlogEntry = - startersBlogFixture.removeBlogPost.currentSyncData.deletedEntries[0] + .mockImplementationOnce(startersBlogFixture.initialSync) + .mockImplementationOnce(startersBlogFixture.createBlogPost) + .mockImplementationOnce(startersBlogFixture.removeBlogPost) + + const removedBlogEntry = startersBlogFixture.removeBlogPost() + .currentSyncData.deletedEntries[0] + const normalizedType = removedBlogEntry.sys.type.startsWith(`Deleted`) + ? removedBlogEntry.sys.type.substring(`Deleted`.length) + : removedBlogEntry.sys.type const removedBlogEntryIds = locales.map(locale => normalize.makeId({ spaceId: removedBlogEntry.sys.space.sys.id, currentLocale: locale, defaultLocale: locales[0], id: removedBlogEntry.sys.id, + type: normalizedType, }) ) // initial sync - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) // create blog post - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) let authorIds = [] // check if blog post exists @@ -450,22 +553,26 @@ describe(`gatsby-node`, () => { }) // remove blog post - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) testIfContentTypesExists( - startersBlogFixture.removeBlogPost.contentTypeItems + startersBlogFixture.removeBlogPost().contentTypeItems ) testIfEntriesDeleted( - startersBlogFixture.removeBlogPost.currentSyncData.assets, + startersBlogFixture.removeBlogPost().currentSyncData.assets, locales ) @@ -475,37 +582,41 @@ describe(`gatsby-node`, () => { }) }) - // this isn't implemented - it.skip(`should remove an asset`, async () => { + it(`should remove an asset`, async () => { const locales = [`en-US`, `nl`] fetch - .mockReturnValueOnce(startersBlogFixture.initialSync) - .mockReturnValueOnce(startersBlogFixture.createBlogPost) - .mockReturnValueOnce(startersBlogFixture.removeAsset) + .mockImplementationOnce(startersBlogFixture.initialSync) + .mockImplementationOnce(startersBlogFixture.createBlogPost) + .mockImplementationOnce(startersBlogFixture.removeAsset) - const removedAssetEntry = - startersBlogFixture.removeAsset.currentSyncData.deletedEntries[0] + const removedAssetEntry = startersBlogFixture.createBlogPost() + .currentSyncData.entries[0] const removedAssetEntryIds = locales.map(locale => normalize.makeId({ spaceId: removedAssetEntry.sys.space.sys.id, currentLocale: locale, defaultLocale: locales[0], id: removedAssetEntry.sys.id, + type: removedAssetEntry.sys.type, }) ) // initial sync - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) // create blog post await gatsbyNode.sourceNodes({ @@ -517,6 +628,7 @@ describe(`gatsby-node`, () => { createNodeId, cache, getCache, + schema, }) // check if blog post exists @@ -524,30 +636,36 @@ describe(`gatsby-node`, () => { expect(getNode(assetId)).not.toBeUndefined() }) + // check if assets exists + testIfAssetsExists( + startersBlogFixture.removeAsset().currentSyncData.deletedAssets, + locales + ) + // remove asset - await gatsbyNode.sourceNodes({ - actions, - store, - getNodes, - getNode, - reporter, - createNodeId, - cache, - getCache, - }) + await gatsbyNode.sourceNodes( + { + actions, + store, + getNodes, + getNode, + reporter, + createNodeId, + cache, + getCache, + schema, + }, + pluginOptions + ) - testIfContentTypesExists(startersBlogFixture.removeAsset.contentTypeItems) + testIfContentTypesExists(startersBlogFixture.removeAsset().contentTypeItems) testIfEntriesExists( - startersBlogFixture.removeAsset.currentSyncData.entries, - startersBlogFixture.removeAsset.contentTypeItems, - locales - ) - testIfEntriesDeleted( - startersBlogFixture.removeAsset.currentSyncData.assets, + startersBlogFixture.removeAsset().currentSyncData.entries, + startersBlogFixture.removeAsset().contentTypeItems, locales ) testIfAssetsDeleted( - startersBlogFixture.removeAsset.currentSyncData.assets, + startersBlogFixture.removeAsset().currentSyncData.deletedAssets, locales ) }) diff --git a/packages/gatsby-source-contentful/src/__tests__/normalize.js b/packages/gatsby-source-contentful/src/__tests__/normalize.js index 40503a86002a0..326335c60b1a9 100644 --- a/packages/gatsby-source-contentful/src/__tests__/normalize.js +++ b/packages/gatsby-source-contentful/src/__tests__/normalize.js @@ -25,7 +25,7 @@ describe(`Process contentful data (by name)`, () => { it(`builds entry list`, () => { entryList = normalize.buildEntryList({ - currentSyncData, + mergedSyncData: currentSyncData, contentTypeItems, }) expect(entryList).toMatchSnapshot() @@ -102,7 +102,7 @@ describe(`Process contentful data (by id)`, () => { it(`builds entry list`, () => { entryList = normalize.buildEntryList({ - currentSyncData, + mergedSyncData: currentSyncData, contentTypeItems, }) expect(entryList).toMatchSnapshot() @@ -445,19 +445,21 @@ describe(`Make IDs`, () => { normalize.makeId({ spaceId: `spaceId`, id: `id`, + type: `type`, defaultLocale: `en-US`, currentLocale: `en-US`, }) - ).toBe(`spaceId___id`) + ).toBe(`spaceId___id___type`) }) it(`It does postfix the spaceId and the id if its not the default locale`, () => { expect( normalize.makeId({ spaceId: `spaceId`, id: `id`, + type: `type`, defaultLocale: `en-US`, currentLocale: `en-GB`, }) - ).toBe(`spaceId___id___en-GB`) + ).toBe(`spaceId___id___type___en-GB`) }) }) diff --git a/packages/gatsby-source-contentful/src/fetch.js b/packages/gatsby-source-contentful/src/fetch.js index d7a1230c15de0..f395b066800ca 100644 --- a/packages/gatsby-source-contentful/src/fetch.js +++ b/packages/gatsby-source-contentful/src/fetch.js @@ -10,10 +10,6 @@ module.exports = async function contentfulFetch({ pluginConfig, }) { // Fetch articles. - console.time(`Fetch Contentful data`) - - console.log(`Starting to fetch data from Contentful`) - const pageLimit = pluginConfig.get(`pageLimit`) const contentfulClientOptions = { space: pluginConfig.get(`spaceId`), @@ -33,7 +29,7 @@ module.exports = async function contentfulFetch({ let locales let defaultLocale = `en-US` try { - reporter.info(`Fetching default locale`) + reporter.verbose(`Fetching default locale`) space = await client.getSpace() let contentfulLocales = await client .getLocales() @@ -48,7 +44,7 @@ module.exports = async function contentfulFetch({ )}' were found but were filtered down to none.` ) } - reporter.info(`default locale is: ${defaultLocale}`) + reporter.verbose(`Default locale is: ${defaultLocale}`) } catch (e) { let details let errors @@ -89,10 +85,14 @@ ${formatPluginOptionsForCLI(pluginConfig.getOriginalPluginOptions(), errors)}`) } let currentSyncData + const basicSyncConfig = { + limit: pageLimit, + resolveLinks: false, + } try { let query = syncToken - ? { nextSyncToken: syncToken } - : { initial: true, limit: pageLimit } + ? { nextSyncToken: syncToken, ...basicSyncConfig } + : { initial: true, ...basicSyncConfig } currentSyncData = await client.sync(query) } catch (e) { reporter.panic(`Fetching contentful data failed`, e) @@ -104,9 +104,9 @@ ${formatPluginOptionsForCLI(pluginConfig.getOriginalPluginOptions(), errors)}`) try { contentTypes = await pagedGet(client, `getContentTypes`, pageLimit) } catch (e) { - reporter.panic(`error fetching content types`, e) + reporter.panic(`Error fetching content types`, e) } - reporter.info(`contentTypes fetched ${contentTypes.items.length}`) + reporter.verbose(`Content types fetched ${contentTypes.items.length}`) let contentTypeItems = contentTypes.items diff --git a/packages/gatsby-source-contentful/src/gatsby-node.js b/packages/gatsby-source-contentful/src/gatsby-node.js index c65579623357f..cf1ae01f7693c 100644 --- a/packages/gatsby-source-contentful/src/gatsby-node.js +++ b/packages/gatsby-source-contentful/src/gatsby-node.js @@ -2,6 +2,7 @@ const path = require(`path`) const isOnline = require(`is-online`) const _ = require(`lodash`) const fs = require(`fs-extra`) +const { createClient } = require(`contentful`) const normalize = require(`./normalize`) const fetchData = require(`./fetch`) @@ -45,11 +46,12 @@ exports.sourceNodes = async ( cache, getCache, reporter, + schema, + parentSpan, }, pluginOptions ) => { - const { createNode, deleteNode, touchNode, setPluginStatus } = actions - + const { createNode, deleteNode, touchNode } = actions const online = await isOnline() // If the user knows they are offline, serve them cached result @@ -79,28 +81,42 @@ exports.sourceNodes = async ( } const pluginConfig = createPluginConfig(pluginOptions) + const sourceId = `${pluginConfig.get(`spaceId`)}-${pluginConfig.get( + `environment` + )}` + const CACHE_SYNC_TOKEN = `contentful-sync-token-${sourceId}` + const CACHE_SYNC_DATA = `contentful-sync-data-${sourceId}` + + /* + * Subsequent calls of Contentfuls sync API return only changed data. + * + * In some cases, especially when using rich-text fields, there can be data + * missing from referenced entries. This breaks the reference matching. + * + * To workround this, we cache the initial sync data and merge it + * with all data from subsequent syncs. Afterwards the references get + * resolved via the Contentful JS SDK. + */ + let syncToken = await cache.get(CACHE_SYNC_TOKEN) + let previousSyncData = { + assets: [], + entries: [], + } + let cachedData = await cache.get(CACHE_SYNC_DATA) - const createSyncToken = () => - `${pluginConfig.get(`spaceId`)}-${pluginConfig.get( - `environment` - )}-${pluginConfig.get(`host`)}` - - // Get sync token if it exists. - let syncToken - if ( - !pluginConfig.get(`forceFullSync`) && - store.getState().status.plugins && - store.getState().status.plugins[`gatsby-source-contentful`] && - store.getState().status.plugins[`gatsby-source-contentful`][ - createSyncToken() - ] - ) { - syncToken = store.getState().status.plugins[`gatsby-source-contentful`][ - createSyncToken() - ] + if (cachedData) { + previousSyncData = cachedData } - const { + const fetchActivity = reporter.activityTimer( + `Contentful: Fetch data (${sourceId})`, + { + parentSpan, + } + ) + fetchActivity.start() + + let { currentSyncData, contentTypeItems, defaultLocale, @@ -110,10 +126,62 @@ exports.sourceNodes = async ( syncToken, reporter, pluginConfig, + parentSpan, }) + fetchActivity.end() + + const processingActivity = reporter.activityTimer( + `Contentful: Proccess data (${sourceId})`, + { + parentSpan, + } + ) + processingActivity.start() + + // Create a map of up to date entries and assets + function mergeSyncData(previous, current, deleted) { + const entryMap = new Map() + previous.forEach( + e => !deleted.includes(e.sys.id) && entryMap.set(e.sys.id, e) + ) + current.forEach( + e => !deleted.includes(e.sys.id) && entryMap.set(e.sys.id, e) + ) + return [...entryMap.values()] + } + + const mergedSyncData = { + entries: mergeSyncData( + previousSyncData.entries, + currentSyncData.entries, + currentSyncData.deletedEntries.map(e => e.sys.id) + ), + assets: mergeSyncData( + previousSyncData.assets, + currentSyncData.assets, + currentSyncData.deletedAssets.map(e => e.sys.id) + ), + } + + // Store a raw and unresolved copy of the data for caching + const mergedSyncDataRaw = _.cloneDeep(mergedSyncData) + + // Use the JS-SDK to resolve the entries and assets + const res = createClient({ + space: `none`, + accessToken: `fake-access-token`, + }).parseEntries({ + items: mergedSyncData.entries, + includes: { + assets: mergedSyncData.assets, + entries: mergedSyncData.entries, + }, + }) + + mergedSyncData.entries = res.items const entryList = normalize.buildEntryList({ - currentSyncData, + mergedSyncData, contentTypeItems, }) @@ -122,12 +190,17 @@ exports.sourceNodes = async ( // are "updated" so will get the now deleted reference removed. function deleteContentfulNode(node) { + const normalizedType = node.sys.type.startsWith(`Deleted`) + ? node.sys.type.substring(`Deleted`.length) + : node.sys.type + const localizedNodes = locales .map(locale => { const nodeId = createNodeId( normalize.makeId({ spaceId: space.sys.id, id: node.sys.id, + type: normalizedType, currentLocale: locale.code, defaultLocale, }) @@ -151,21 +224,22 @@ exports.sourceNodes = async ( ) existingNodes.forEach(n => touchNode({ nodeId: n.id })) - const assets = currentSyncData.assets + const assets = mergedSyncData.assets reporter.info(`Updated entries ${currentSyncData.entries.length}`) reporter.info(`Deleted entries ${currentSyncData.deletedEntries.length}`) reporter.info(`Updated assets ${currentSyncData.assets.length}`) reporter.info(`Deleted assets ${currentSyncData.deletedAssets.length}`) - console.timeEnd(`Fetch Contentful data`) // Update syncToken const nextSyncToken = currentSyncData.nextSyncToken - // Store our sync state for the next sync. - const newState = {} - newState[createSyncToken()] = nextSyncToken - setPluginStatus(newState) + await Promise.all([ + cache.set(CACHE_SYNC_DATA, mergedSyncDataRaw), + cache.set(CACHE_SYNC_TOKEN, nextSyncToken), + ]) + + reporter.verbose(`Building Contentful reference map`) // Create map of resolvable ids so we can check links against them while creating // links. @@ -189,37 +263,61 @@ exports.sourceNodes = async ( useNameForId: pluginConfig.get(`useNameForId`), }) + reporter.verbose(`Resolving Contentful references`) + const newOrUpdatedEntries = [] entryList.forEach(entries => { entries.forEach(entry => { - newOrUpdatedEntries.push(entry.sys.id) + newOrUpdatedEntries.push(`${entry.sys.id}___${entry.sys.type}`) }) }) // Update existing entry nodes that weren't updated but that need reverse // links added. existingNodes - .filter(n => _.includes(newOrUpdatedEntries, n.id)) + .filter(n => _.includes(newOrUpdatedEntries, `${n.id}___${n.sys.type}`)) .forEach(n => { - if (foreignReferenceMap[n.id]) { - foreignReferenceMap[n.id].forEach(foreignReference => { - // Add reverse links - if (n[foreignReference.name]) { - n[foreignReference.name].push(foreignReference.id) - // It might already be there so we'll uniquify after pushing. - n[foreignReference.name] = _.uniq(n[foreignReference.name]) - } else { - // If is one foreign reference, there can always be many. - // Best to be safe and put it in an array to start with. - n[foreignReference.name] = [foreignReference.id] + if (foreignReferenceMap[`${n.id}___${n.sys.type}`]) { + foreignReferenceMap[`${n.id}___${n.sys.type}`].forEach( + foreignReference => { + // Add reverse links + if (n[foreignReference.name]) { + n[foreignReference.name].push(foreignReference.id) + // It might already be there so we'll uniquify after pushing. + n[foreignReference.name] = _.uniq(n[foreignReference.name]) + } else { + // If is one foreign reference, there can always be many. + // Best to be safe and put it in an array to start with. + n[foreignReference.name] = [foreignReference.id] + } } - }) + ) } }) + processingActivity.end() + + const creationActivity = reporter.activityTimer( + `Contentful: Create nodes (${sourceId})`, + { + parentSpan, + } + ) + creationActivity.start() + for (let i = 0; i < contentTypeItems.length; i++) { const contentTypeItem = contentTypeItems[i] + if (entryList[i].length) { + reporter.info( + `Creating ${entryList[i].length} Contentful ${ + pluginConfig.get(`useNameForId`) + ? contentTypeItem.name + : contentTypeItem.sys.id + } nodes` + ) + } + // A contentType can hold lots of entries which create nodes // We wait until all nodes are created and processed until we handle the next one // TODO add batching in gatsby-core @@ -243,6 +341,10 @@ exports.sourceNodes = async ( ) } + if (assets.length) { + reporter.info(`Creating ${assets.length} Contentful asset nodes`) + } + for (let i = 0; i < assets.length; i++) { // We wait for each asset to be process until handling the next one. await Promise.all( @@ -257,7 +359,11 @@ exports.sourceNodes = async ( ) } + creationActivity.end() + if (pluginConfig.get(`downloadLocal`)) { + reporter.info(`Download Contentful asset files`) + await downloadContentfulAssets({ actions, createNodeId, diff --git a/packages/gatsby-source-contentful/src/normalize.js b/packages/gatsby-source-contentful/src/normalize.js index 502a2dd1d6ea0..d4963fce6ec96 100644 --- a/packages/gatsby-source-contentful/src/normalize.js +++ b/packages/gatsby-source-contentful/src/normalize.js @@ -97,21 +97,26 @@ const fixIds = object => { } exports.fixIds = fixIds -const makeId = ({ spaceId, id, currentLocale, defaultLocale }) => - currentLocale === defaultLocale - ? `${spaceId}___${id}` - : `${spaceId}___${id}___${currentLocale}` +const makeId = ({ spaceId, id, currentLocale, defaultLocale, type }) => { + const normalizedType = type.startsWith(`Deleted`) + ? type.substring(`Deleted`.length) + : type + return currentLocale === defaultLocale + ? `${spaceId}___${id}___${normalizedType}` + : `${spaceId}___${id}___${normalizedType}___${currentLocale}` +} exports.makeId = makeId const makeMakeId = ({ currentLocale, defaultLocale, createNodeId }) => ( spaceId, - id -) => createNodeId(makeId({ spaceId, id, currentLocale, defaultLocale })) + id, + type +) => createNodeId(makeId({ spaceId, id, currentLocale, defaultLocale, type })) -exports.buildEntryList = ({ contentTypeItems, currentSyncData }) => +exports.buildEntryList = ({ contentTypeItems, mergedSyncData }) => contentTypeItems.map(contentType => - currentSyncData.entries.filter( + mergedSyncData.entries.filter( entry => entry.sys.contentType.sys.id === contentType.sys.id ) ) @@ -134,17 +139,19 @@ exports.buildResolvableSet = ({ // We also need to apply `fixId` as some objects will have ids // prefixed with `c` and fixIds will recursively apply that // and resolvable ids need to match that. - resolvable.add(fixId(n.contentful_id)) + resolvable.add(`${fixId(n.contentful_id)}___${n.sys.type}`) } } }) entryList.forEach(entries => { entries.forEach(entry => { - resolvable.add(entry.sys.id) + resolvable.add(`${entry.sys.id}___${entry.sys.type}`) }) }) - assets.forEach(assetItem => resolvable.add(assetItem.sys.id)) + assets.forEach(assetItem => + resolvable.add(`${assetItem.sys.id}___${assetItem.sys.type}`) + ) return resolvable } @@ -186,35 +193,43 @@ exports.buildForeignReferenceMap = ({ entryItemFieldValue[0].sys.id ) { entryItemFieldValue.forEach(v => { + const key = `${v.sys.id}___${v.sys.linkType || v.sys.type}` // Don't create link to an unresolvable field. - if (!resolvable.has(v.sys.id)) { + if (!resolvable.has(key)) { return } - if (!foreignReferenceMap[v.sys.id]) { - foreignReferenceMap[v.sys.id] = [] + if (!foreignReferenceMap[key]) { + foreignReferenceMap[key] = [] } - foreignReferenceMap[v.sys.id].push({ + foreignReferenceMap[key].push({ name: `${contentTypeItemId}___NODE`, id: entryItem.sys.id, spaceId: space.sys.id, + type: entryItem.sys.type, }) }) } } else if ( - entryItemFieldValue && - entryItemFieldValue.sys && - entryItemFieldValue.sys.type && - entryItemFieldValue.sys.id && - resolvable.has(entryItemFieldValue.sys.id) + entryItemFieldValue?.sys?.type && + entryItemFieldValue.sys.id ) { - if (!foreignReferenceMap[entryItemFieldValue.sys.id]) { - foreignReferenceMap[entryItemFieldValue.sys.id] = [] + const key = `${entryItemFieldValue.sys.id}___${ + entryItemFieldValue.sys.linkType || entryItemFieldValue.sys.type + }` + // Don't create link to an unresolvable field. + if (!resolvable.has(key)) { + return + } + + if (!foreignReferenceMap[key]) { + foreignReferenceMap[key] = [] } - foreignReferenceMap[entryItemFieldValue.sys.id].push({ + foreignReferenceMap[key].push({ name: `${contentTypeItemId}___NODE`, id: entryItem.sys.id, spaceId: space.sys.id, + type: entryItem.sys.type, }) } } @@ -238,6 +253,9 @@ function prepareTextNode(node, key, text, createNodeId) { content: str, contentDigest: digest(str), }, + sys: { + type: node.sys.type, + }, } node.children = node.children.concat([textNode.id]) @@ -259,6 +277,9 @@ function prepareRichTextNode(node, key, content, createNodeId) { content: str, contentDigest: digest(str), }, + sys: { + type: node.sys.type, + }, } node.children = node.children.concat([richTextNode.id]) @@ -278,6 +299,9 @@ function prepareJSONNode(node, key, content, createNodeId, i = ``) { content: str, contentDigest: digest(str), }, + sys: { + type: node.sys.type, + }, } node.children = node.children.concat([JSONNode.id]) @@ -394,10 +418,16 @@ exports.createNodesForContentType = ({ // is empty due to links to missing entities const resolvableEntryItemFieldValue = entryItemFieldValue .filter(function (v) { - return resolvable.has(v.sys.id) + return resolvable.has( + `${v.sys.id}___${v.sys.linkType || v.sys.type}` + ) }) .map(function (v) { - return mId(space.sys.id, v.sys.id) + return mId( + space.sys.id, + v.sys.id, + v.sys.linkType || v.sys.type + ) }) if (resolvableEntryItemFieldValue.length !== 0) { entryItemFields[ @@ -413,10 +443,18 @@ exports.createNodesForContentType = ({ entryItemFieldValue.sys.type && entryItemFieldValue.sys.id ) { - if (resolvable.has(entryItemFieldValue.sys.id)) { + if ( + resolvable.has( + `${entryItemFieldValue.sys.id}___${ + entryItemFieldValue.sys.linkType || + entryItemFieldValue.sys.type + }` + ) + ) { entryItemFields[`${entryItemFieldKey}___NODE`] = mId( space.sys.id, - entryItemFieldValue.sys.id + entryItemFieldValue.sys.id, + entryItemFieldValue.sys.linkType || entryItemFieldValue.sys.type ) } delete entryItemFields[entryItemFieldKey] @@ -425,7 +463,8 @@ exports.createNodesForContentType = ({ }) // Add reverse linkages if there are any for this node - const foreignReferences = foreignReferenceMap[entryItem.sys.id] + const foreignReferences = + foreignReferenceMap[`${entryItem.sys.id}___${entryItem.sys.type}`] if (foreignReferences) { foreignReferences.forEach(foreignReference => { const existingReference = entryItemFields[foreignReference.name] @@ -435,21 +474,29 @@ exports.createNodesForContentType = ({ // skip it. However, if it is an array, add it: if (Array.isArray(existingReference)) { entryItemFields[foreignReference.name].push( - mId(foreignReference.spaceId, foreignReference.id) + mId( + foreignReference.spaceId, + foreignReference.id, + foreignReference.type + ) ) } } else { // If there is one foreign reference, there can be many. // Best to be safe and put it in an array to start with. entryItemFields[foreignReference.name] = [ - mId(foreignReference.spaceId, foreignReference.id), + mId( + foreignReference.spaceId, + foreignReference.id, + foreignReference.type + ), ] } }) } let entryNode = { - id: mId(space.sys.id, entryItem.sys.id), + id: mId(space.sys.id, entryItem.sys.id, entryItem.sys.type), spaceId: space.sys.id, contentful_id: process.env.EXPERIMENTAL_CONTENTFUL_SKIP_NORMALIZE_IDS ? entryItem.sys.id @@ -461,7 +508,9 @@ exports.createNodesForContentType = ({ internal: { type: `${makeTypeName(contentTypeItemId)}`, }, - sys: {}, + sys: { + type: entryItem.sys.type, + }, } // Revision applies to entries, assets, and content types @@ -575,6 +624,9 @@ exports.createNodesForContentType = ({ internal: { type: `${makeTypeName(`ContentType`)}`, }, + sys: { + type: contentTypeItem.sys.type, + }, } // Get content digest of node. @@ -620,7 +672,7 @@ exports.createAssetNodes = ({ ? assetItem.sys.id : assetItem.sys.contentful_id, spaceId: space.sys.id, - id: mId(space.sys.id, assetItem.sys.id), + id: mId(space.sys.id, assetItem.sys.id, assetItem.sys.type), createdAt: assetItem.sys.createdAt, updatedAt: assetItem.sys.updatedAt, parent: null, @@ -634,7 +686,9 @@ exports.createAssetNodes = ({ internal: { type: `${makeTypeName(`Asset`)}`, }, - sys: {}, + sys: { + type: assetItem.sys.type, + }, } // Revision applies to entries, assets, and content types diff --git a/packages/gatsby-source-contentful/src/rich-text.js b/packages/gatsby-source-contentful/src/rich-text.js index 8cd016e203b7e..77636c29599ca 100644 --- a/packages/gatsby-source-contentful/src/rich-text.js +++ b/packages/gatsby-source-contentful/src/rich-text.js @@ -34,7 +34,8 @@ const getFieldWithLocaleResolved = ({ // If the field is itself a reference to another entry, recursively resolve // that entry's field locales too. if (isEntryReferenceField(field)) { - if (resolvedEntryIDs.has(field.sys.id)) { + const key = `${field.sys.id}___${field.sys.type}` + if (resolvedEntryIDs.has(key)) { return field } @@ -43,7 +44,7 @@ const getFieldWithLocaleResolved = ({ contentTypesById, getField, defaultLocale, - resolvedEntryIDs: resolvedEntryIDs.add(field.sys.id), + resolvedEntryIDs: resolvedEntryIDs.add(key), }) }
5ef65a4a8783a9a81c3680d532432a26d2f4a27d
2019-04-24 17:59:11
Sidhartha Chatterjee
chore: revert temporary sharp fix (#13592)
false
revert temporary sharp fix (#13592)
chore
diff --git a/.circleci/config.yml b/.circleci/config.yml index fb442aa0fd965..87ad49c89fae4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,15 +6,11 @@ executors: default: "10" docker: - image: circleci/node:<< parameters.image >> - environment: - SHARP_DIST_BASE_URL: https://s3-us-west-2.amazonaws.com/sharp-distro/ aliases: e2e-executor: &e2e-executor docker: - image: cypress/browsers:chrome69 - environment: - SHARP_DIST_BASE_URL: https://s3-us-west-2.amazonaws.com/sharp-distro/ restore_cache: &restore_cache restore_cache:
e95a9f839f38adf355052497bc9f7a9a3cd9b310
2021-02-28 18:11:01
Ward Peeters
chore(release): Publish next
false
Publish next
chore
diff --git a/packages/create-gatsby/CHANGELOG.md b/packages/create-gatsby/CHANGELOG.md index e11dd8837c47c..4fe3def47f506 100644 --- a/packages/create-gatsby/CHANGELOG.md +++ b/packages/create-gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.1.0-next.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.1.0-next.2) (2021-02-28) + +### Features + +- **create-gatsby:** Add support for cloud plugin ([#29807](https://github.com/gatsbyjs/gatsby/issues/29807)) ([3c39340](https://github.com/gatsbyjs/gatsby/commit/3c39340145d69d50207fa357f9240397635d8d99)) + # [1.1.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.1.0-next.1) (2021-02-26) **Note:** Version bump only for package create-gatsby diff --git a/packages/create-gatsby/package.json b/packages/create-gatsby/package.json index b8fa758aa5c31..062fe680184d4 100644 --- a/packages/create-gatsby/package.json +++ b/packages/create-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "create-gatsby", - "version": "1.1.0-next.1", + "version": "1.1.0-next.2", "main": "lib/index.js", "bin": "cli.js", "license": "MIT", diff --git a/packages/gatsby-admin/CHANGELOG.md b/packages/gatsby-admin/CHANGELOG.md index 431542b92a8fa..1b997b0e14d3e 100644 --- a/packages/gatsby-admin/CHANGELOG.md +++ b/packages/gatsby-admin/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.11.0-next.3](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.11.0-next.3) (2021-02-28) + +**Note:** Version bump only for package gatsby-admin + # [0.11.0-next.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.11.0-next.2) (2021-02-26) **Note:** Version bump only for package gatsby-admin diff --git a/packages/gatsby-admin/package.json b/packages/gatsby-admin/package.json index a51f7668a9a6f..18b2780f36898 100644 --- a/packages/gatsby-admin/package.json +++ b/packages/gatsby-admin/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-admin", - "version": "0.11.0-next.2", + "version": "0.11.0-next.3", "main": "index.js", "author": "Max Stoiber", "license": "MIT", @@ -20,7 +20,7 @@ "@typescript-eslint/parser": "^4.14.2", "csstype": "^2.6.14", "formik": "^2.2.6", - "gatsby": "^3.1.0-next.2", + "gatsby": "^3.1.0-next.3", "gatsby-interface": "^0.0.244", "gatsby-plugin-typescript": "^3.1.0-next.1", "gatsby-plugin-webfonts": "^1.1.4", diff --git a/packages/gatsby-cli/CHANGELOG.md b/packages/gatsby-cli/CHANGELOG.md index c28048a3152f2..5772c9ad03910 100644 --- a/packages/gatsby-cli/CHANGELOG.md +++ b/packages/gatsby-cli/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.1.0-next.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.1.0-next.2) (2021-02-28) + +**Note:** Version bump only for package gatsby-cli + # [3.1.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.1.0-next.1) (2021-02-26) **Note:** Version bump only for package gatsby-cli diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 0b65b87356951..38d0a346e5bb9 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "3.1.0-next.1", + "version": "3.1.0-next.2", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "cli.js" @@ -19,7 +19,7 @@ "common-tags": "^1.8.0", "configstore": "^5.0.1", "convert-hrtime": "^3.0.0", - "create-gatsby": "^1.1.0-next.1", + "create-gatsby": "^1.1.0-next.2", "envinfo": "^7.7.3", "execa": "^3.4.0", "fs-exists-cached": "^1.0.0", diff --git a/packages/gatsby-plugin-subfont/CHANGELOG.md b/packages/gatsby-plugin-subfont/CHANGELOG.md index e40615c9d9ef1..f0a7ee3e1f354 100644 --- a/packages/gatsby-plugin-subfont/CHANGELOG.md +++ b/packages/gatsby-plugin-subfont/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.1.0-next.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.1.0-next.2) (2021-02-28) + +**Note:** Version bump only for package gatsby-plugin-subfont + # [3.1.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.1.0-next.1) (2021-02-26) **Note:** Version bump only for package gatsby-plugin-subfont diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index 253586f013768..775bb6b17cdbb 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-subfont", - "version": "3.1.0-next.1", + "version": "3.1.0-next.2", "description": "Runs the font delivery optimizing CLI tool subfont on the homepage of your site during the Gatsby build", "main": "index.js", "scripts": { diff --git a/packages/gatsby-source-wordpress/CHANGELOG.md b/packages/gatsby-source-wordpress/CHANGELOG.md index 37fe2d8154cc5..32b83e8dfa875 100644 --- a/packages/gatsby-source-wordpress/CHANGELOG.md +++ b/packages/gatsby-source-wordpress/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.1.0-next.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.1.0-next.2) (2021-02-28) + +### Bug Fixes + +- **gatsby-source-wordpress:** auto-rename types named "Filter" ([#29718](https://github.com/gatsbyjs/gatsby/issues/29718)) ([fb225be](https://github.com/gatsbyjs/gatsby/commit/fb225bee7669b55039fc2525a3149091e8ede8e8)) +- **gatsby-source-wordpress:** HTML image regex's ([#29778](https://github.com/gatsbyjs/gatsby/issues/29778)) ([f6edccf](https://github.com/gatsbyjs/gatsby/commit/f6edccf8440acc29002ea2c89a815fe863c94670)) + # [5.1.0-next.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.1.0-next.1) (2021-02-26) **Note:** Version bump only for package gatsby-source-wordpress diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index 57e5a75f53cdb..cfa74e1a4d5df 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -2,7 +2,7 @@ "name": "gatsby-source-wordpress", "description": "Source data from WordPress in an efficient and scalable way.", "author": "Tyler Barnes <[email protected]>", - "version": "5.1.0-next.1", + "version": "5.1.0-next.2", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 189b2cda7c3da..57ef15f65742b 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.1.0-next.3](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.1.0-next.3) (2021-02-28) + +### Bug Fixes + +- query on demand loading indicator always active on preact. ([#29829](https://github.com/gatsbyjs/gatsby/issues/29829)) ([fa1e2d6](https://github.com/gatsbyjs/gatsby/commit/fa1e2d66b806c92a04d63f023f77bb5770981808)) +- **gatsby:** eslint linting ([#29796](https://github.com/gatsbyjs/gatsby/issues/29796)) ([2d52a55](https://github.com/gatsbyjs/gatsby/commit/2d52a5567018b5ebb185cd08bc41500a0d657136)) +- **gatsby:** workaround graphql-compose issue ([#29822](https://github.com/gatsbyjs/gatsby/issues/29822)) ([7f9bcf1](https://github.com/gatsbyjs/gatsby/commit/7f9bcf10797f0e1ba1583c6f1a6417ffe91f1b5e)) +- **hmr:** accept hot updates for modules above page templates ([#29752](https://github.com/gatsbyjs/gatsby/issues/29752)) ([55778eb](https://github.com/gatsbyjs/gatsby/commit/55778eb11e816ceaf29ad20d6ff05192cdf68f4c)) + # [3.1.0-next.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@3.1.0-next.2) (2021-02-26) ### Bug Fixes diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 3343d4c7bdd81..cc2014705f321 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "3.1.0-next.2", + "version": "3.1.0-next.3", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./cli.js" @@ -79,7 +79,7 @@ "find-cache-dir": "^3.3.1", "fs-exists-cached": "1.0.0", "fs-extra": "^8.1.0", - "gatsby-cli": "^3.1.0-next.1", + "gatsby-cli": "^3.1.0-next.2", "gatsby-core-utils": "^2.1.0-next.1", "gatsby-graphiql-explorer": "^1.1.0-next.1", "gatsby-legacy-polyfills": "^1.1.0-next.1", @@ -261,4 +261,4 @@ "yargs": { "boolean-negation": false } -} \ No newline at end of file +}
27b98bc8450be6577621e1d207dfc4384a5b13a5
2018-11-02 01:58:42
Dustin Schau
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index f50b34afe2543..15e2217c5a074 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.37"></a> + +## [2.0.37](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.37) (2018-11-01) + +**Note:** Version bump only for package gatsby + <a name="2.0.36"></a> ## [2.0.36](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.36) (2018-11-01) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 11f40f5592852..f2e8f3b47e443 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.0.36", + "version": "2.0.37", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
1fd450fc7b3b3a6d3beb98f79ffe960e19bfe74e
2022-10-13 12:55:28
Ty Hopp
feat(gatsby,gatsby-cli): Slice component validation (#36801)
false
Slice component validation (#36801)
feat
diff --git a/packages/gatsby-cli/src/structured-errors/error-map.ts b/packages/gatsby-cli/src/structured-errors/error-map.ts index 78083eaf577a8..c108cca89bf44 100644 --- a/packages/gatsby-cli/src/structured-errors/error-map.ts +++ b/packages/gatsby-cli/src/structured-errors/error-map.ts @@ -430,7 +430,7 @@ const errors = { `${ context.pluginName } created a page and didn't pass the path to the component.\n\nThe page object passed to createPage:\n${JSON.stringify( - context.pageObject, + context.input, null, 4 )}`, @@ -461,42 +461,46 @@ const errors = { `${ context.pluginName } created a page with a component that doesn't exist.\n\nThe path to the missing component is "${ - context.component + context.componentPath }"\n\nThe page object passed to createPage:\n${JSON.stringify( - context.pageObject, + context.input, null, 4 - )}\n\nSee the documentation for the "createPage" action — https://www.gatsbyjs.com/docs/reference/config-files/actions#createPage`, + )}`, level: Level.ERROR, category: ErrorCategory.USER, + docsUrl: `https://www.gatsbyjs.com/docs/reference/config-files/actions#createPage`, }, "11326": { text: (context): string => `${ context.pluginName - } must set the absolute path to the page component when create creating a page.\n\nThe (relative) path you used for the component is "${ - context.component + } must set the absolute path to the page component when creating a page.\n\nThe (relative) path you used for the component is "${ + context.componentPath }"\n\nYou can convert a relative path to an absolute path by requiring the path module and calling path.resolve() e.g.\n\nconst path = require("path")\npath.resolve("${ - context.component + context.componentPath }")\n\nThe page object passed to createPage:\n${JSON.stringify( - context.pageObject, + context.input, null, 4 - )}\n\nSee the documentation for the "createPage" action — https://www.gatsbyjs.com/docs/reference/config-files/actions#createPage`, + )}`, level: Level.ERROR, category: ErrorCategory.USER, + docsUrl: `https://www.gatsbyjs.com/docs/reference/config-files/actions#createPage`, }, "11327": { text: (context): string => - `You have an empty file in the "src/pages" directory at "${context.relativePath}". Please remove it or make it a valid component`, + `An empty file "${context.componentPath}" was found during page creation. Please remove it or make it a valid component.`, level: Level.ERROR, category: ErrorCategory.USER, + docsUrl: `https://www.gatsbyjs.com/docs/reference/config-files/actions#createPage`, }, "11328": { text: (context): string => - `A page component must export a React component for it to be valid. Please make sure this file exports a React component:\n\n${context.fileName}`, + `${context.pluginName} created a page without a valid default export.\n\nThe path to the page is "${context.componentPath}". If your page is a named export, please use "export default" instead.`, level: Level.ERROR, category: ErrorCategory.USER, + docsUrl: `https://www.gatsbyjs.com/docs/reference/config-files/actions#createPage`, }, // invalid or deprecated APIs "11329": { @@ -573,7 +577,7 @@ const errors = { `${ context.pluginName } created a slice and didn't pass the path to the component.\n\nThe slice object passed to createSlice:\n${JSON.stringify( - context.sliceObject, + context.input, null, 4 )}`, @@ -596,7 +600,56 @@ const errors = { // TODO: change domain to gatsbyjs.com when it's released docsUrl: `https://v5.gatsbyjs.com/docs/reference/config-files/actions#createSlice`, }, - + "11335": { + text: (context): string => + `${ + context.pluginName + } must set the absolute path to the slice component when creating a slice.\n\nThe (relative) path you used for the component is "${ + context.componentPath + }"\n\nYou can convert a relative path to an absolute path by requiring the path module and calling path.resolve() e.g.\n\nconst path = require("path")\npath.resolve("${ + context.componentPath + }")\n\nThe object passed to createSlice:\n${JSON.stringify( + context.input, + null, + 4 + )}`, + level: Level.ERROR, + category: ErrorCategory.USER, + // TODO: change domain to gatsbyjs.com when it's released + docsUrl: `https://v5.gatsbyjs.com/docs/reference/config-files/actions#createSlice`, + }, + "11336": { + text: (context): string => + `${ + context.pluginName + } created a slice with a component that doesn't exist.\n\nThe path to the missing component is "${ + context.componentPath + }"\n\nThe slice object passed to createSlice:\n${JSON.stringify( + context.input, + null, + 4 + )}`, + level: Level.ERROR, + category: ErrorCategory.USER, + // TODO: change domain to gatsbyjs.com when it's released + docsUrl: `https://v5.gatsbyjs.com/docs/reference/config-files/actions#createSlice`, + }, + "11337": { + text: (context): string => + `An empty file "${context.componentPath}" was found during slice creation. Please remove it or make it a valid component.`, + level: Level.ERROR, + category: ErrorCategory.USER, + // TODO: change domain to gatsbyjs.com when it's released + docsUrl: `https://v5.gatsbyjs.com/docs/reference/config-files/actions#createSlice`, + }, + "11338": { + text: (context): string => + `${context.pluginName} created a slice component without a valid default export.\n\nThe path to the component is "${context.componentPath}". If your component is a named export, please use "export default" instead.`, + level: Level.ERROR, + category: ErrorCategory.USER, + // TODO: change domain to gatsbyjs.com when it's released + docsUrl: `https://v5.gatsbyjs.com/docs/reference/config-files/actions#createSlice`, + }, // node object didn't pass validation "11467": { text: (context): string => diff --git a/packages/gatsby/src/redux/__tests__/__snapshots__/pages.ts.snap b/packages/gatsby/src/redux/__tests__/__snapshots__/pages.ts.snap index 3112013bc4406..81efea4e43d1b 100644 --- a/packages/gatsby/src/redux/__tests__/__snapshots__/pages.ts.snap +++ b/packages/gatsby/src/redux/__tests__/__snapshots__/pages.ts.snap @@ -4,7 +4,7 @@ exports[`Add pages Fails if component path is missing 1`] = `"A component must b exports[`Add pages Fails if path is missing 1`] = `"The plugin \\"test\\" must set the page path when creating a page"`; -exports[`Add pages Fails if the component path isn't absolute 1`] = `"The plugin \\"test\\" must set the absolute path to the page component when create creating a page"`; +exports[`Add pages Fails if the component path isn't absolute 1`] = `"The plugin \\"test\\" must set the absolute path to the page component when creating a page"`; exports[`Add pages Fails if use a reserved field in the context object 1`] = ` "The plugin \\"test\\" used reserved field names in the context object when creating a page: diff --git a/packages/gatsby/src/redux/actions/public.js b/packages/gatsby/src/redux/actions/public.js index ef3fbf9a34542..00462647b089a 100644 --- a/packages/gatsby/src/redux/actions/public.js +++ b/packages/gatsby/src/redux/actions/public.js @@ -17,7 +17,7 @@ const { hasNodeChanged } = require(`../../utils/nodes`) const { getNode, getDataStore } = require(`../../datastore`) import sanitizeNode from "../../utils/sanitize-node" const { store } = require(`../index`) -const { validatePageComponent } = require(`../../utils/validate-page-component`) +const { validateComponent } = require(`../../utils/validate-component`) import { nodeSchema } from "../../joi-schemas/joi" const { generateComponentChunkName } = require(`../../utils/js-chunk-names`) const { @@ -91,13 +91,13 @@ type JobV2 = { args: Object, } -type PageInput = { - path: string, - component: string, - context?: Object, - ownerNodeId?: string, - defer?: boolean, - slices: Record<string, string>, +export interface IPageInput { + path: string; + component: string; + context?: Object; + ownerNodeId?: string; + defer?: boolean; + slices: Record<string, string>; } type PageMode = "SSG" | "DSG" | "SSR" @@ -138,7 +138,7 @@ type PageDataRemove = { * @example * deletePage(page) */ -actions.deletePage = (page: PageInput) => { +actions.deletePage = (page: IPageInput) => { return { type: `DELETE_PAGE`, payload: page, @@ -183,7 +183,7 @@ const reservedFields = [ * }) */ actions.createPage = ( - page: PageInput, + page: IPageInput, plugin?: Plugin, actionOptions?: ActionOptions ) => { @@ -268,8 +268,8 @@ ${reservedFields.map(f => ` * "${f}"`).join(`\n`)} report.panic({ id: `11322`, context: { + input: page, pluginName: name, - pageObject: page, }, }) } else { @@ -283,13 +283,21 @@ ${reservedFields.map(f => ` * "${f}"`).join(`\n`)} page.component = pageComponentPath } - const { trailingSlash } = store.getState().config - const rootPath = store.getState().program.directory - const { error, message, panicOnBuild } = validatePageComponent( - page, - rootPath, - name - ) + const { config, program } = store.getState() + const { trailingSlash } = config + const { directory } = program + + const { error, panicOnBuild } = validateComponent({ + input: page, + pluginName: name, + errorIdMap: { + noPath: `11322`, + notAbsolute: `11326`, + doesNotExist: `11325`, + empty: `11327`, + noDefaultExport: `11328`, + }, + }) if (error) { if (isNotTestEnv) { @@ -299,7 +307,7 @@ ${reservedFields.map(f => ` * "${f}"`).join(`\n`)} report.panic(error) } } - return message + return `${name} must set the absolute path to the page component when creating a page` } // check if we've processed this component path @@ -326,7 +334,7 @@ ${reservedFields.map(f => ` * "${f}"`).join(`\n`)} trueComponentPath = slash(trueCasePathSync(page.component)) } catch (e) { // systems where user doesn't have access to / - const commonDir = getCommonDir(rootPath, page.component) + const commonDir = getCommonDir(directory, page.component) // using `path.win32` to force case insensitive relative path const relativePath = slash( diff --git a/packages/gatsby/src/redux/actions/restricted.ts b/packages/gatsby/src/redux/actions/restricted.ts index 0ee5d3eda75dc..0b3dd235bc63e 100644 --- a/packages/gatsby/src/redux/actions/restricted.ts +++ b/packages/gatsby/src/redux/actions/restricted.ts @@ -27,6 +27,7 @@ import { generateComponentChunkName } from "../../utils/js-chunk-names" import { store } from "../index" import normalizePath from "normalize-path" import { trackFeatureIsUsed } from "gatsby-telemetry" +import { validateComponent } from "../../utils/validate-component" type RestrictionActionNames = | "createFieldExtension" @@ -40,6 +41,12 @@ type SomeActionCreator = | ActionCreator<ActionsUnion> | ActionCreator<ThunkAction<any, IGatsbyState, any, ActionsUnion>> +export interface ICreateSliceInput { + id: string + component: string + context: Record<string, unknown> +} + export const actions = { /** * Add a third-party schema to be merged into main schema. Schema has to be a @@ -430,11 +437,7 @@ export const actions = { }, createSlice: ( - payload: { - id: string - component: string - context: Record<string, unknown> - }, + payload: ICreateSliceInput, plugin: IGatsbyPlugin, traceId?: string ): ICreateSliceAction => { @@ -455,20 +458,34 @@ export const actions = { }, }) } - if (!payload.component) { - report.panic({ - id: `11333`, - context: { - pluginName: name, - sliceObject: payload, - }, - }) + + const { slices } = store.getState() + + const { error, panicOnBuild } = validateComponent({ + input: payload, + pluginName: name, + errorIdMap: { + noPath: `11333`, + notAbsolute: `11335`, + doesNotExist: `11336`, + empty: `11337`, + noDefaultExport: `11338`, + }, + }) + + if (error && process.env.NODE_ENV !== `test`) { + if (panicOnBuild) { + report.panicOnBuild(error) + } else { + report.panic(error) + } } trackFeatureIsUsed(`SliceAPI`) + const componentPath = normalizePath(payload.component) - const oldSlice = store.getState().slices.get(payload.id) + const oldSlice = slices.get(payload.id) const contextModified = !!oldSlice && !isEqual(oldSlice.context, payload.context) const componentModified = diff --git a/packages/gatsby/src/utils/__tests__/fixtures/empty.js b/packages/gatsby/src/utils/__tests__/fixtures/empty.js new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/packages/gatsby/src/utils/__tests__/fixtures/has-default-export-2.js b/packages/gatsby/src/utils/__tests__/fixtures/has-default-export-2.js new file mode 100644 index 0000000000000..32b10d2b9b49f --- /dev/null +++ b/packages/gatsby/src/utils/__tests__/fixtures/has-default-export-2.js @@ -0,0 +1,5 @@ +import * as React from "react" + +export default function HasDefaultExport() { + return <div>Has default export</div> +} \ No newline at end of file diff --git a/packages/gatsby/src/utils/__tests__/fixtures/has-default-export.js b/packages/gatsby/src/utils/__tests__/fixtures/has-default-export.js new file mode 100644 index 0000000000000..32b10d2b9b49f --- /dev/null +++ b/packages/gatsby/src/utils/__tests__/fixtures/has-default-export.js @@ -0,0 +1,5 @@ +import * as React from "react" + +export default function HasDefaultExport() { + return <div>Has default export</div> +} \ No newline at end of file diff --git a/packages/gatsby/src/utils/__tests__/fixtures/no-default-export.js b/packages/gatsby/src/utils/__tests__/fixtures/no-default-export.js new file mode 100644 index 0000000000000..022c0f6785a52 --- /dev/null +++ b/packages/gatsby/src/utils/__tests__/fixtures/no-default-export.js @@ -0,0 +1,5 @@ +import * as React from "react" + +export function NoDefaultExport() { + return <div>No default export</div> +} \ No newline at end of file diff --git a/packages/gatsby/src/utils/__tests__/validate-component.ts b/packages/gatsby/src/utils/__tests__/validate-component.ts new file mode 100644 index 0000000000000..3ba44588e115d --- /dev/null +++ b/packages/gatsby/src/utils/__tests__/validate-component.ts @@ -0,0 +1,217 @@ +import path from "path" +import type { IPageInput as IMockCreatePageInput } from "../../redux/actions/public" +import type { ICreateSliceInput as IMockCreateSliceInput } from "../../redux/actions/restricted" + +type IMockInput = IMockCreatePageInput | IMockCreateSliceInput + +let validateComponent + +const errorIdMap = { + noPath: `1`, + notAbsolute: `2`, + doesNotExist: `3`, + empty: `4`, + noDefaultExport: `5`, +} + +const pluginName = `some-plugin` + +beforeEach(() => { + jest.resetModules() + process.env.NODE_ENV = `production` + validateComponent = require(`../validate-component`).validateComponent +}) + +afterEach(() => { + process.env.NODE_ENV = `test` +}) + +describe(`validateComponent`, () => { + it(`should return an error object if no component path is passed`, () => { + const error = validateComponent({ + input: {} as IMockInput, + directory: `/a`, + pluginName, + errorIdMap, + }) + + expect(error).toMatchInlineSnapshot(` + Object { + "error": Object { + "context": Object { + "input": Object {}, + "pluginName": "${pluginName}", + }, + "id": "${errorIdMap.noPath}", + }, + } + `) + }) + + it(`should return an error object if component path is not absolute`, () => { + const componentPath = `a.js` + + const error = validateComponent({ + input: { component: componentPath } as IMockInput, + directory: `/a`, + pluginName, + errorIdMap, + }) + + expect(error).toMatchInlineSnapshot(` + Object { + "error": Object { + "context": Object { + "componentPath": "${componentPath}", + "input": Object { + "component": "${componentPath}", + }, + "pluginName": "${pluginName}", + }, + "id": "${errorIdMap.notAbsolute}", + }, + } + `) + }) + + it(`should return an error object if component path does not exist`, () => { + const componentPath = `/a/b.js` + + const error = validateComponent({ + input: { component: componentPath } as IMockInput, + directory: `/a`, + pluginName, + errorIdMap, + }) + + expect(error).toMatchInlineSnapshot(` + Object { + "error": Object { + "context": Object { + "componentPath": "${componentPath}", + "input": Object { + "component": "${componentPath}", + }, + "pluginName": "${pluginName}", + }, + "id": "${errorIdMap.doesNotExist}", + }, + } + `) + }) + + it(`should return an error object if component is empty`, () => { + const emptyComponentPath = path.resolve(__dirname, `fixtures/empty.js`) + const emptyComponentPathDir = path.dirname(emptyComponentPath) + + const error = validateComponent({ + input: { + component: emptyComponentPath, + } as IMockInput, + directory: emptyComponentPathDir, + pluginName, + errorIdMap, + }) + + const jestEmptyComponentPath = `<PROJECT_ROOT>/packages/gatsby/src/utils/__tests__/fixtures/empty.js` + + expect(error).toMatchInlineSnapshot(` + Object { + "error": Object { + "context": Object { + "componentPath": "${jestEmptyComponentPath}", + "input": Object { + "component": "${jestEmptyComponentPath}", + }, + "pluginName": "${pluginName}", + }, + "id": "${errorIdMap.empty}", + }, + "panicOnBuild": true, + } + `) + }) + + it(`should return an error object if component does not have a default export`, () => { + const noDefaultComponentPath = path.resolve( + __dirname, + `fixtures/no-default-export.js` + ) + const noDefaultComponentPathDir = path.dirname(noDefaultComponentPath) + + const error = validateComponent({ + input: { + component: noDefaultComponentPath, + } as IMockInput, + directory: noDefaultComponentPathDir, + pluginName, + errorIdMap, + }) + + const jestNoDefaultComponentPath = `<PROJECT_ROOT>/packages/gatsby/src/utils/__tests__/fixtures/no-default-export.js` + + expect(error).toMatchInlineSnapshot(` + Object { + "error": Object { + "context": Object { + "componentPath": "${jestNoDefaultComponentPath}", + "input": Object { + "component": "${jestNoDefaultComponentPath}", + }, + "pluginName": "${pluginName}", + }, + "id": "${errorIdMap.noDefaultExport}", + }, + "panicOnBuild": true, + } + `) + }) + + it(`should pass if component is valid`, () => { + const hasDefaultComponentPath = path.resolve( + __dirname, + `fixtures/has-default-export.js` + ) + const hasDefaultComponentPathDir = path.dirname(hasDefaultComponentPath) + + const pass = validateComponent({ + input: { + component: hasDefaultComponentPath, + } as IMockInput, + directory: hasDefaultComponentPathDir, + pluginName, + errorIdMap, + }) + + expect(pass).toEqual({}) + }) + + it(`should pass if component has already been validated in a previous pass`, () => { + const hasDefaultComponentPath = path.resolve( + __dirname, + `fixtures/has-default-export-2.js` + ) + const hasDefaultComponentPathDir = path.dirname(hasDefaultComponentPath) + + const firstPass = validateComponent({ + input: { + component: hasDefaultComponentPath, + } as IMockInput, + directory: hasDefaultComponentPathDir, + pluginName, + errorIdMap, + }) + + const secondPass = validateComponent({ + input: { + component: hasDefaultComponentPath, + } as IMockInput, + directory: hasDefaultComponentPathDir, + pluginName, + errorIdMap, + }) + + expect(firstPass).toEqual({}) + expect(secondPass).toEqual({}) + }) +}) diff --git a/packages/gatsby/src/utils/validate-component.ts b/packages/gatsby/src/utils/validate-component.ts new file mode 100644 index 0000000000000..f02838456f21e --- /dev/null +++ b/packages/gatsby/src/utils/validate-component.ts @@ -0,0 +1,122 @@ +import path from "path" +import fs from "fs-extra" +import { getPathToLayoutComponent } from "gatsby-core-utils/parse-component-path" +import { IPageInput as ICreatePageInput } from "../redux/actions/public" +import { ICreateSliceInput } from "../redux/actions/restricted" + +const validationCache = new Set<string>() + +interface IErrorMeta { + id: string + context: Record<string, unknown> +} + +interface IErrorIdMap { + noPath: string + notAbsolute: string + doesNotExist: string + empty: string + noDefaultExport: string +} + +const isNotTestEnv = process.env.NODE_ENV !== `test` +const isProductionEnv = process.env.NODE_ENV === `production` + +export function validateComponent(args: { + input: ICreatePageInput | ICreateSliceInput + pluginName: string + errorIdMap: IErrorIdMap +}): { error?: IErrorMeta; panicOnBuild?: boolean } { + const { input, pluginName, errorIdMap } = args || {} + + // No component path passed + if (!input?.component) { + return { + error: { + id: errorIdMap.noPath, + context: { + pluginName, + input, + }, + }, + } + } + + const componentPath = getPathToLayoutComponent(input?.component) + + const errorContext = { + input, + pluginName, + componentPath, + } + + // Component path already validated in previous pass + if (validationCache.has(componentPath)) { + return {} + } + + // Component path must be absolute + if (!path.isAbsolute(componentPath)) { + return { + error: { + id: errorIdMap.notAbsolute, + context: errorContext, + }, + } + } + + // Component path must exist + if (isNotTestEnv) { + if (!fs.existsSync(componentPath)) { + return { + error: { + id: errorIdMap.doesNotExist, + context: errorContext, + }, + } + } + } + + if (!componentPath.includes(`/.cache/`) && isProductionEnv) { + const fileContent = fs.readFileSync(componentPath, `utf-8`) + + // Component must not be empty + if (fileContent === ``) { + return { + error: { + id: errorIdMap.empty, + context: errorContext, + }, + panicOnBuild: true, + } + } + + // Component must have a default export + if ([`.js`, `.jsx`, `.ts`, `.tsx`].includes(path.extname(componentPath))) { + const includesDefaultExport = + fileContent.includes(`export default`) || + fileContent.includes(`module.exports`) || + fileContent.includes(`exports.default`) || + fileContent.includes(`exports["default"]`) || + fileContent.match(/export \{.* as default.*\}/s) || + fileContent.match(/export \{\s*default\s*\}/s) + + if (!includesDefaultExport) { + return { + error: { + id: errorIdMap.noDefaultExport, + context: errorContext, + }, + panicOnBuild: true, + } + } + } + } + + validationCache.add(componentPath) + return {} +} + +export function clearValidationCache(): void { + validationCache.clear() +} diff --git a/packages/gatsby/src/utils/validate-page-component.ts b/packages/gatsby/src/utils/validate-page-component.ts deleted file mode 100644 index 4c8c169ccdffb..0000000000000 --- a/packages/gatsby/src/utils/validate-page-component.ts +++ /dev/null @@ -1,113 +0,0 @@ -import path from "path" -import fs from "fs-extra" -import { getPathToLayoutComponent } from "gatsby-core-utils/parse-component-path" -import { IGatsbyPage } from "../redux/types" - -const validationCache = new Set<string>() - -interface IErrorMeta { - id: string - context: Record<string, unknown> -} - -const isNotTestEnv = process.env.NODE_ENV !== `test` -const isProductionEnv = process.env.NODE_ENV === `production` - -export function validatePageComponent( - page: IGatsbyPage, - directory: string, - pluginName: string -): { message?: string; error?: IErrorMeta; panicOnBuild?: boolean } { - const { component } = page - if (!component) { - throw new Error(`11322`) - } - - const cleanComponentPath = getPathToLayoutComponent(component) - - if (validationCache.has(cleanComponentPath)) { - return {} - } - if (!path.isAbsolute(cleanComponentPath)) { - return { - error: { - id: `11326`, - context: { - pluginName, - pageObject: page, - component: cleanComponentPath, - }, - }, - message: `${pluginName} must set the absolute path to the page component when create creating a page`, - } - } - - if (isNotTestEnv) { - if (!fs.existsSync(cleanComponentPath)) { - return { - error: { - id: `11325`, - context: { - pluginName, - pageObject: page, - component: cleanComponentPath, - }, - }, - } - } - } - - // Validate that the page component imports React and exports something - // (hopefully a component). - // - - if (!cleanComponentPath.includes(`/.cache/`) && isProductionEnv) { - const fileContent = fs.readFileSync(cleanComponentPath, `utf-8`) - - if (fileContent === ``) { - const relativePath = path.relative(directory, cleanComponentPath) - - return { - error: { - id: `11327`, - context: { - relativePath, - }, - }, - panicOnBuild: true, - } - } - - // this check only applies to js and ts, not mdx - if ( - [`.js`, `.jsx`, `.ts`, `.tsx`].includes(path.extname(cleanComponentPath)) - ) { - const includesDefaultExport = - fileContent.includes(`export default`) || - fileContent.includes(`module.exports`) || - fileContent.includes(`exports.default`) || - fileContent.includes(`exports["default"]`) || - fileContent.match(/export \{.* as default.*\}/s) || - fileContent.match(/export \{\s*default\s*\}/s) - - if (!includesDefaultExport) { - return { - error: { - id: `11328`, - context: { - fileName: cleanComponentPath, - }, - }, - panicOnBuild: true, - } - } - } - } - - validationCache.add(cleanComponentPath) - return {} -} - -export function clearValidationCache(): void { - validationCache.clear() -}
278286a467dc92fecc3df624a0d6365832454aad
2018-11-26 23:00:18
Michal Piechowiak
chore: bump npm-run-all version (#10147)
false
bump npm-run-all version (#10147)
chore
diff --git a/package.json b/package.json index 975b4434839c6..2ba4b8856d497 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "jest-cli": "^23.5.0", "lerna": "^3.3.0", "lint-staged": "^8.0.4", - "npm-run-all": "4.1.2", + "npm-run-all": "4.1.5", "plop": "^1.8.1", "prettier": "^1.14.3", "rimraf": "^2.6.1", diff --git a/yarn.lock b/yarn.lock index 3a1899467c43c..da1a4d0b5d641 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6778,7 +6778,7 @@ duplexer3@^0.1.4: resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= -duplexer@^0.1.1, duplexer@~0.1.1: +duplexer@^0.1.1: version "0.1.1" resolved "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E= @@ -7469,20 +7469,6 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= -event-stream@~3.3.0: - version "3.3.6" - resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.6.tgz#cac1230890e07e73ec9cacd038f60a5b66173eef" - integrity sha512-dGXNg4F/FgVzlApjzItL+7naHutA3fDqbV/zAZqDDlXTjiMnQmZKu+prImWKszeBM5UQeGvAl3u1wBiKeDh61g== - dependencies: - duplexer "^0.1.1" - flatmap-stream "^0.1.0" - from "^0.1.7" - map-stream "0.0.7" - pause-stream "^0.0.11" - split "^1.0.1" - stream-combiner "^0.2.2" - through "^2.3.8" - eventemitter3@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163" @@ -8204,11 +8190,6 @@ flat@^4.0.0: dependencies: is-buffer "~2.0.3" -flatmap-stream@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/flatmap-stream/-/flatmap-stream-0.1.0.tgz#ed54e01422cd29281800914fcb968d58b685d5f1" - integrity sha512-Nlic4ZRYxikqnK5rj3YoxDVKGGtUjcNDUtvQ7XsdGLZmMwdUYnXf10o1zcXtzEZTBgc6GxeRpQxV/Wu3WPIIHA== - flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" @@ -8354,11 +8335,6 @@ from2@^2.1.0, from2@^2.1.1: inherits "^2.0.1" readable-stream "^2.0.0" -from@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" - integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4= - fs-constants@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" @@ -12571,11 +12547,6 @@ map-obj@^2.0.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk= [email protected]: - version "0.0.7" - resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8" - integrity sha1-ih8HiW2CsQkmvTdEokIACfiJdKg= - map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" @@ -13624,17 +13595,17 @@ npm-registry-fetch@^3.0.0, npm-registry-fetch@^3.8.0: make-fetch-happen "^4.0.1" npm-package-arg "^6.1.0" [email protected]: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.2.tgz#90d62d078792d20669139e718621186656cea056" - integrity sha512-Z2aRlajMK4SQ8u19ZA75NZZu7wupfCNQWdYosIi8S6FgBdGf/8Y6Hgyjdc8zU2cYmIRVCx1nM80tJPkdEd+UYg== [email protected]: + version "4.1.5" + resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" + integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== dependencies: - ansi-styles "^3.2.0" - chalk "^2.1.0" - cross-spawn "^5.1.0" + ansi-styles "^3.2.1" + chalk "^2.4.1" + cross-spawn "^6.0.5" memorystream "^0.3.1" minimatch "^3.0.4" - ps-tree "^1.1.0" + pidtree "^0.3.0" read-pkg "^3.0.0" shell-quote "^1.6.1" string.prototype.padend "^3.0.0" @@ -14490,13 +14461,6 @@ pathval@^1.0.0: resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" integrity sha1-uULm1L3mUwBe9rcTYd74cn0GReA= -pause-stream@^0.0.11: - version "0.0.11" - resolved "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" - integrity sha1-/lo0sMvOErWqaitAPuLnO2AvFEU= - dependencies: - through "~2.3" - pbkdf2@^3.0.3: version "3.0.16" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.16.tgz#7404208ec6b01b62d85bf83853a8064f8d9c2a5c" @@ -14554,6 +14518,11 @@ physical-cpu-count@^2.0.0: resolved "https://registry.yarnpkg.com/physical-cpu-count/-/physical-cpu-count-2.0.0.tgz#18de2f97e4bf7a9551ad7511942b5496f7aba660" integrity sha1-GN4vl+S/epVRrXURlCtUlverpmA= +pidtree@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.0.tgz#f6fada10fccc9f99bf50e90d0b23d72c9ebc2e6b" + integrity sha512-9CT4NFlDcosssyg8KVFltgokyKZIFjoBxw8CTGy+5F38Y1eQWrt8tRayiUOXE+zVKQnYu5BR8JjCtvK3BcnBhg== + pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -15328,13 +15297,6 @@ prr@~1.0.1: resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY= -ps-tree@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.1.0.tgz#b421b24140d6203f1ed3c76996b4427b08e8c014" - integrity sha1-tCGyQUDWID8e08dplrRCewjowBQ= - dependencies: - event-stream "~3.3.0" - pseudomap@^1.0.1, pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -17476,7 +17438,7 @@ split2@^2.0.0: dependencies: through2 "^2.0.2" -split@^1.0.0, split@^1.0.1: +split@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== @@ -17665,14 +17627,6 @@ stream-combiner2@^1.1.1: duplexer2 "~0.1.0" readable-stream "^2.0.2" -stream-combiner@^0.2.2: - version "0.2.2" - resolved "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz#aec8cbac177b56b6f4fa479ced8c1912cee52858" - integrity sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg= - dependencies: - duplexer "~0.1.1" - through "~2.3.4" - stream-each@^1.1.0: version "1.2.3" resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" @@ -18384,7 +18338,7 @@ through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@^2.0.3, through2@~2. readable-stream "^2.1.5" xtend "~4.0.1" -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8, through@~2.3, through@~2.3.4: +through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@~2.3.4: version "2.3.8" resolved "http://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
013035b2f75f26f635a32ae1268c99a5e98dbad9
2020-12-02 19:02:52
Peter van der Zee
chore(gatsby): refactor into await syntax (#28435)
false
refactor into await syntax (#28435)
chore
diff --git a/packages/gatsby/src/query/queue.ts b/packages/gatsby/src/query/queue.ts index db313f3a7d121..68152bae7602d 100644 --- a/packages/gatsby/src/query/queue.ts +++ b/packages/gatsby/src/query/queue.ts @@ -36,10 +36,13 @@ const createBuildQueue = ( const queueOptions: BetterQueue.QueueOptions<Task, TaskResult> = { ...createBaseOptions(), - process: ({ job, activity }, callback): void => { - queryRunner(graphqlRunner, job, activity?.span) - .then(result => callback(null, result)) - .catch(callback) + async process({ job, activity }, callback): Promise<void> { + try { + const result = await queryRunner(graphqlRunner, job, activity?.span) + callback(null, result) + } catch (e) { + callback(e) + } }, } return new Queue(queueOptions) @@ -62,20 +65,20 @@ const createDevelopQueue = (getRunner: () => GraphQLRunner): Queue => { ): void => { cb(null, newTask) }, - process: ({ job: queryJob, activity }, callback): void => { - queryRunner(getRunner(), queryJob, activity?.span).then( - result => { - if (!queryJob.isPage) { - websocketManager.emitStaticQueryData({ - result, - id: queryJob.hash, - }) - } - - callback(null, result) - }, - error => callback(error) - ) + async process({ job: queryJob, activity }, callback): Promise<void> { + try { + const result = await queryRunner(getRunner(), queryJob, activity?.span) + if (!queryJob.isPage) { + websocketManager.emitStaticQueryData({ + result, + id: queryJob.hash, + }) + } + + callback(null, result) + } catch (e) { + callback(e) + } }, }
6238a1a2c491e17e04f1b3c43fce163333567f22
2019-07-29 16:13:57
stefanprobst
chore(gatsby): Remove skipped date format tests (#16153)
false
Remove skipped date format tests (#16153)
chore
diff --git a/packages/gatsby/src/schema/types/__tests__/date.js b/packages/gatsby/src/schema/types/__tests__/date.js index 3c146d18c9731..4b452a994a964 100644 --- a/packages/gatsby/src/schema/types/__tests__/date.js +++ b/packages/gatsby/src/schema/types/__tests__/date.js @@ -80,20 +80,6 @@ describe(`isDate`, () => { } ) - it.skip.each([ - `2018-08-31T23:25:16.019345123+02:00`, - `2018-08-31T23:25:16.019345123Z`, - ])(`should return true for nanosecond precision: %s`, dateString => { - expect(isDate(dateString)).toBeTruthy() - }) - - it.skip.each([`2018-08-31T23:25:16.012345678901+02:00`])( - `should return false for precision beyond 9 digits: %s`, - dateString => { - expect(isDate(dateString)).toBeFalsy() - } - ) - it.each([ `2010-00-00`, `2010-01-00`, @@ -124,32 +110,6 @@ describe(`isDate`, () => { ])(`should return false for invalid ISO 8601: %s`, dateString => { expect(isDate(dateString)).toBeFalsy() }) - - it.skip.each([ - 1371065286, - 1379066897.0, - 1379066897.7, - 1379066897.0, - 1379066897.07, - 1379066897.17, - 1379066897.0, - 1379066897.007, - 1379066897.017, - 1379066897.157, - `1371065286`, - `1379066897.`, - `1379066897.0`, - `1379066897.7`, - `1379066897.00`, - `1379066897.07`, - `1379066897.17`, - `1379066897.000`, - `1379066897.007`, - `1379066897.017`, - `1379066897.157`, - ])(`should return true for unix timestamps: %s`, dateString => { - expect(isDate(dateString)).toBeTruthy() - }) }) describe(`looksLikeADate`, () => { @@ -220,27 +180,6 @@ describe(`looksLikeADate`, () => { } ) - it.skip.each([ - `2018-08-31T23:25:16.019345+02:00`, - `2018-08-31T23:25:16.019345Z`, - ])(`should return true for microsecond precision: %s`, dateString => { - expect(looksLikeADate(dateString)).toBeTruthy() - }) - - it.skip.each([ - `2018-08-31T23:25:16.019345123+02:00`, - `2018-08-31T23:25:16.019345123Z`, - ])(`should return true for nanosecond precision: %s`, dateString => { - expect(looksLikeADate(dateString)).toBeTruthy() - }) - - it.skip.each([`2018-08-31T23:25:16.012345678901+02:00`])( - `should return false for precision beyond 9 digits: %s`, - dateString => { - expect(looksLikeADate(dateString)).toBeFalsy() - } - ) - it.each([ `2010-00-00`, `2010-01-00`,
86b3a00ba451aaf980702dc66d6dbad27741bd81
2020-02-18 19:59:34
Michael
chore(www): fix redirects (#21481)
false
fix redirects (#21481)
chore
diff --git a/www/redirects.yaml b/www/redirects.yaml index d400f29ceac0e..b4f1154063ff3 100644 --- a/www/redirects.yaml +++ b/www/redirects.yaml @@ -102,8 +102,6 @@ toPath: /docs/gatsby-internals/ - fromPath: /docs/behind-the-scenes-terminology/ toPath: /docs/gatsby-internals-terminology/ -- fromPath: /docs/themes/getting-started - toPath: /docs/themes/using-a-gatsby-theme - fromPath: /docs/themes/introduction toPath: /docs/themes/what-are-gatsby-themes - fromPath: /docs/hosting-on-netlify/
b024e5a76defcc1699485e6e420f53f91d3bf9aa
2022-07-06 00:47:29
Josh Johnson
chore(docs): Release notes for 4.18 (#36025)
false
Release notes for 4.18 (#36025)
chore
diff --git a/docs/docs/reference/release-notes/v4.18/index.md b/docs/docs/reference/release-notes/v4.18/index.md new file mode 100644 index 0000000000000..82ce03a9ba8ca --- /dev/null +++ b/docs/docs/reference/release-notes/v4.18/index.md @@ -0,0 +1,72 @@ +--- +date: "2022-07-05" +version: "4.18.0" +title: "v4.18 Release Notes" +--- + +Welcome to `[email protected]` release (July 2022 #1) + +Key highlights of this release: + +- [`typesOutputPath` option for GraphQL Typegen](#typesoutputpath-option-for-graphql-typegen) - Configure the location of the generated TypeScript types +- [Server Side Rendering (SSR) in development](#server-side-rendering-ssr-in-development) - Find bugs & hydration errors more easily during `gatsby develop` +- [Open RFCs](#open-rfcs) - MDX v2 & Metadata management + +Also check out [notable bugfixes](#notable-bugfixes--improvements). + +**Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). + +[Previous release notes](/docs/reference/release-notes/v4.17) + +[Full changelog][full-changelog] + +--- + +## `typesOutputPath` option for GraphQL Typegen + +We saw great adoption of the GraphQL Typegen feature we've added in the [4.15 Release](/docs/reference/release-notes/v4.15/#graphql-typegen). We've heard that the location of the automatically generated TypeScript definitions file should be configurable. By default, it's generated in the `src/gatsby-types.d.ts` location. + +You're now able to specify the location of the generated types using the `typesOutputPath` option. The `graphqlTypegen` option accepts both a boolean and an object now. If you don't pass an object (but `graphqlTypegen: true`), the default value for each option will be used. + +```javascript:title=gatsby-config.js +module.exports = { + graphqlTypegen: { + typesOutputPath: `gatsby-types.d.ts`, + }, +} +``` + +The path is relative to the site root, in the example above the file would be generated at `<root>/gatsby-types.d.ts`. For more details and any future options, see the [Gatsby Config API](/docs/reference/config-files/gatsby-config/#graphqltypegen). + +## Server Side Rendering (SSR) in development + +Shortly before v4 release, we disabled [DEV_SSR flag](https://github.com/gatsbyjs/gatsby/discussions/28138) because `getServerData` was not properly handled. In this release, we handled `getServerData` properly and restored the flag. Now you can add the `DEV_SSR` flag to your `gatsby-config` file so you can spot and fix SSR errors (like trying to access the window object) during development. + +## Open RFCs + +We continue to have ongoing RFCs that we’d like your input on. Please give it a read, if applicable a try, and leave feedback! + +- [Support for MDX v2](https://github.com/gatsbyjs/gatsby/discussions/25068): We are updating `gatsby-plugin-mdx` to be compatible with MDX v2. Keep a look out in the discussion for a canary to try! +- [Metadata Management API](https://github.com/gatsbyjs/gatsby/discussions/35841): We will be adding a built-in metadata management solution to Gatsby. Work is in progress and you can try out the canary now! + +## Notable bugfixes & improvements + +- `gatsby` + - Add retry mechanism for `gatsby-node/config.ts` compilation to fix intermittent bug during `gatsby build`, via [PR #35974](https://github.com/gatsbyjs/gatsby/pull/35974) + - Fix potentially wrong query results when querying fields with custom resolvers, via [PR #35369](https://github.com/gatsbyjs/gatsby/pull/35369) +- `gatsby-cli`: Set `NODE_ENV` earlier to fix Jest failing with `Couldn't find temp query result` error, via [PR #35968](https://github.com/gatsbyjs/gatsby/pull/35968) +- `gatsby-source-wordpress`: Always hydrate images and use the right parent element, via [PR #36002](https://github.com/gatsbyjs/gatsby/pull/36002) +- Properly compile all packages for Node and browser environment, via [PR #35948](https://github.com/gatsbyjs/gatsby/pull/35948) +- Use `babel-plugin-lodash` to reduce `lodash` size published packages, via [PR #35947](https://github.com/gatsbyjs/gatsby/pull/35947) + +## Contributors + +A big **Thank You** to [our community who contributed][full-changelog] to this release 💜 + +- [glitton](https://github.com/glitton): chore(docs): Remove trailing slashes section in creating-and-modifying-pages [PR #35843](https://github.com/gatsbyjs/gatsby/pull/35843) +- [rutterjt](https://github.com/rutterjt): chore(docs): fix query type name in Typegen guide [PR #35961](https://github.com/gatsbyjs/gatsby/pull/35961) +- [slaleye](https://github.com/slaleye): chore(docs): Update copy in tutorial part 1 [PR #35992](https://github.com/gatsbyjs/gatsby/pull/35992) +- [cameronbraid](https://github.com/cameronbraid): fix(gatsby): Partytown URI encoding of redirect parameters [PR #35990](https://github.com/gatsbyjs/gatsby/pull/35990) +- [axe312ger](https://github.com/axe312ger): chore(gatsby): Remove MDX `resolutions` [PR #36010](https://github.com/gatsbyjs/gatsby/pull/36010) + +[full-changelog]: https://github.com/gatsbyjs/gatsby/compare/[email protected]@4.18.0
82864cb917ead6b11079b48dc4601b4fa3e3968c
2021-11-15 19:53:22
Laurens Kling
fix(gatsby-source-graphql): Use default export from node-fetch (#33977)
false
Use default export from node-fetch (#33977)
fix
diff --git a/packages/gatsby-source-graphql/src/fetch.js b/packages/gatsby-source-graphql/src/fetch.js index 6b6589a04ff11..0ac9e8dd0071a 100644 --- a/packages/gatsby-source-graphql/src/fetch.js +++ b/packages/gatsby-source-graphql/src/fetch.js @@ -1,4 +1,4 @@ -const nodeFetch = require(`node-fetch`) +const nodeFetch = require(`node-fetch`).default // this is passed to the Apollo Link // https://www.apollographql.com/docs/link/links/http/#fetch-polyfill
9a544fe2b79aa079d54ba27bae98d2d05e902bc1
2018-08-15 18:59:41
Kyle Mathews
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 39010388121fd..8417d551faa1e 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0-beta.104"></a> + +# [2.0.0-beta.104](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.104) (2018-08-15) + +**Note:** Version bump only for package gatsby + <a name="2.0.0-beta.103"></a> # [2.0.0-beta.103](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-beta.103) (2018-08-15) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index d16620ff9a7a8..87237680c5c5c 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "React.js Static Site Generator", - "version": "2.0.0-beta.103", + "version": "2.0.0-beta.104", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
dc95450df6e853d04b0b8c7bd1b6e1a17aaae6b0
2018-09-18 02:09:21
Kyle Mathews
chore(release): Publish
false
Publish
chore
diff --git a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md index a24142e23574c..6433b06337649 100644 --- a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md +++ b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.5.0"></a> + +# [2.5.0](https://github.com/gatsbyjs/gatsby/compare/babel-plugin-remove-graphql-queries@[email protected]) (2018-09-17) + +**Note:** Version bump only for package babel-plugin-remove-graphql-queries + <a name="2.0.2-rc.3"></a> ## [2.0.2-rc.3](https://github.com/gatsbyjs/gatsby/compare/babel-plugin-remove-graphql-queries@[email protected]) (2018-09-05) diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index 3402633c5bca1..ba6e48c84dff8 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-remove-graphql-queries", - "version": "2.5.0-rc.3", + "version": "2.5.0", "author": "Jason Quense <[email protected]>", "devDependencies": { "@babel/cli": "^7.0.0", diff --git a/packages/cypress-gatsby/CHANGELOG.md b/packages/cypress-gatsby/CHANGELOG.md index ff24f9f79e0df..0efe164b50f71 100644 --- a/packages/cypress-gatsby/CHANGELOG.md +++ b/packages/cypress-gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="0.1.1"></a> + +## [0.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/cypress-gatsby-commands/compare/[email protected]@0.1.1) (2018-09-17) + +**Note:** Version bump only for package cypress-gatsby + <a name="0.1.1-rc.1"></a> ## [0.1.1-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/cypress-gatsby-commands/compare/[email protected]@0.1.1-rc.1) (2018-09-17) diff --git a/packages/cypress-gatsby/package.json b/packages/cypress-gatsby/package.json index 0b3866b2f8818..20dea0f422d04 100644 --- a/packages/cypress-gatsby/package.json +++ b/packages/cypress-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "cypress-gatsby", - "version": "0.1.1-rc.1", + "version": "0.1.1", "description": "Cypress tools for Gatsby projects", "main": "index.js", "repository": "https://github.com/gatsbyjs/gatsby/tree/master/packages/cypress-gatsby-commands#readme", diff --git a/packages/gatsby-cli/CHANGELOG.md b/packages/gatsby-cli/CHANGELOG.md index 39b969e1d7639..0144a5a9289f4 100644 --- a/packages/gatsby-cli/CHANGELOG.md +++ b/packages/gatsby-cli/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.4.0"></a> + +# [2.4.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-cli/compare/[email protected]@2.4.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-cli + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-cli/compare/[email protected]@2.0.0-rc.6) (2018-09-17) diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index bb8e267a5ec18..8a95d76461272 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "2.4.0-rc.6", + "version": "2.4.0", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "lib/index.js" diff --git a/packages/gatsby-codemods/CHANGELOG.md b/packages/gatsby-codemods/CHANGELOG.md index 216229ce51514..6a777b4bb0e78 100644 --- a/packages/gatsby-codemods/CHANGELOG.md +++ b/packages/gatsby-codemods/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="1.0.2"></a> + +## [1.0.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.2) (2018-09-17) + +**Note:** Version bump only for package gatsby-codemods + <a name="1.0.0-rc.7"></a> # [1.0.0-rc.7](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.0-rc.7) (2018-09-11) diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json index aee862b76acec..2bc4aad1e2ec0 100644 --- a/packages/gatsby-codemods/package.json +++ b/packages/gatsby-codemods/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-codemods", - "version": "1.0.2-rc.7", + "version": "1.0.2", "description": "Stub description for gatsby-codemods", "main": "index.js", "scripts": { diff --git a/packages/gatsby-dev-cli/CHANGELOG.md b/packages/gatsby-dev-cli/CHANGELOG.md index dd4c93b1e0e39..8c9b80934e02e 100644 --- a/packages/gatsby-dev-cli/CHANGELOG.md +++ b/packages/gatsby-dev-cli/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.4.0"></a> + +# [2.4.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli/compare/[email protected]@2.4.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-dev-cli + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli/compare/[email protected]@2.0.0-rc.6) (2018-09-12) diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index b0c858f3ffd2a..247ba6e83d8e4 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-dev-cli", "description": "CLI helpers for contributors working on Gatsby", - "version": "2.4.0-rc.6", + "version": "2.4.0", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby-dev": "./dist/index.js" diff --git a/packages/gatsby-image/CHANGELOG.md b/packages/gatsby-image/CHANGELOG.md index 44ee24f03c9e7..20b51b8d4aeea 100644 --- a/packages/gatsby-image/CHANGELOG.md +++ b/packages/gatsby-image/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-image + <a name="2.0.0-rc.4"></a> # [2.0.0-rc.4](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image/compare/[email protected]@2.0.0-rc.4) (2018-09-17) diff --git a/packages/gatsby-image/package.json b/packages/gatsby-image/package.json index a36ce2d12166a..e519a0d38e464 100644 --- a/packages/gatsby-image/package.json +++ b/packages/gatsby-image/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-image", "description": "Lazy-loading React image component with optional support for the blur-up effect.", - "version": "2.0.5-rc.4", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-link/CHANGELOG.md b/packages/gatsby-link/CHANGELOG.md index ee782142831fc..04df8df3ec4fd 100644 --- a/packages/gatsby-link/CHANGELOG.md +++ b/packages/gatsby-link/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-link + <a name="2.0.0-rc.4"></a> # [2.0.0-rc.4](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link/compare/[email protected]@2.0.0-rc.4) (2018-09-17) diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index 90977742062ea..ce62e9e186b71 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-link", "description": "An enhanced Link component for Gatsby sites with support for resource prefetching", - "version": "2.0.1-rc.4", + "version": "2.0.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-canonical-urls/CHANGELOG.md b/packages/gatsby-plugin-canonical-urls/CHANGELOG.md index 7394973199d8b..1d551ca8fd30d 100644 --- a/packages/gatsby-plugin-canonical-urls/CHANGELOG.md +++ b/packages/gatsby-plugin-canonical-urls/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-canonical-urls/compare/gatsby-plugin-canonical-urls@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-canonical-urls + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-canonical-urls/compare/gatsby-plugin-canonical-urls@[email protected]) (2018-09-17) diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json index 1c5d1dfb3de67..da3ea248856f6 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-canonical-urls", "description": "Stub description for gatsby-plugin-canonical-urls", - "version": "2.0.5-rc.2", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-catch-links/CHANGELOG.md b/packages/gatsby-plugin-catch-links/CHANGELOG.md index 734859dc21e9b..9b45e1e61a6a0 100644 --- a/packages/gatsby-plugin-catch-links/CHANGELOG.md +++ b/packages/gatsby-plugin-catch-links/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.2"></a> + +## [2.0.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/compare/[email protected]@2.0.2) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-catch-links + <a name="2.0.2-rc.1"></a> ## [2.0.2-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/compare/[email protected]@2.0.2-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json index b1cea329fa731..ddb8b99b0148b 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-catch-links", "description": "Intercepts local links from markdown and other non-react pages and does a client-side pushState to avoid the browser having to refresh the page.", - "version": "2.0.2-rc.1", + "version": "2.0.2", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-coffeescript/CHANGELOG.md b/packages/gatsby-plugin-coffeescript/CHANGELOG.md index 35b5119918d81..95e259512b6bc 100644 --- a/packages/gatsby-plugin-coffeescript/CHANGELOG.md +++ b/packages/gatsby-plugin-coffeescript/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-coffeescript/compare/gatsby-plugin-coffeescript@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-coffeescript + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-coffeescript/compare/gatsby-plugin-coffeescript@[email protected]) (2018-08-29) diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json index a1065ece26fb1..280957b49e13c 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-coffeescript", "description": "Adds CoffeeScript support for Gatsby", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-create-client-paths/CHANGELOG.md b/packages/gatsby-plugin-create-client-paths/CHANGELOG.md index 7697b7faf0489..333a4d95c1828 100644 --- a/packages/gatsby-plugin-create-client-paths/CHANGELOG.md +++ b/packages/gatsby-plugin-create-client-paths/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-create-client-paths/compare/gatsby-plugin-create-client-paths@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-create-client-paths + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-create-client-paths/compare/gatsby-plugin-create-client-paths@[email protected]) (2018-08-29) diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json index c1a2f2be6086a..291695cbed5ff 100644 --- a/packages/gatsby-plugin-create-client-paths/package.json +++ b/packages/gatsby-plugin-create-client-paths/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-create-client-paths", "description": "Gatsby-plugin for creating paths that exist only on the client", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-emotion/CHANGELOG.md b/packages/gatsby-plugin-emotion/CHANGELOG.md index 2b24cd79edbbf..5b588bc893194 100644 --- a/packages/gatsby-plugin-emotion/CHANGELOG.md +++ b/packages/gatsby-plugin-emotion/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-emotion/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-emotion + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-emotion/compare/[email protected]@2.0.0-rc.5) (2018-09-11) diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json index 32a6e18d43b72..3f7bc85569b9a 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-emotion", "description": "Gatsby plugin to add support for Emotion", - "version": "2.0.5-rc.5", + "version": "2.0.5", "author": "Tegan Churchill <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md b/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md index e297bd28e5515..8ecd79fcbc49d 100644 --- a/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md +++ b/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-facebook-analytics@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-facebook-analytics + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-facebook-analytics@[email protected]) (2018-08-29) diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json index d2e63f35b55af..c69acd6db853b 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-facebook-analytics", "description": "Gatsby plugin to add facebook analytics onto a site", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "Yeison Daza <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-feed/CHANGELOG.md b/packages/gatsby-plugin-feed/CHANGELOG.md index 14e8d53b34d93..2464555063dd0 100644 --- a/packages/gatsby-plugin-feed/CHANGELOG.md +++ b/packages/gatsby-plugin-feed/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-feed/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-feed + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-feed/compare/[email protected]@2.0.0-rc.2) (2018-08-29) diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index d0b868785308f..3fee9125a837b 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-feed", "description": "Creates an RSS feed for your Gatsby site.", - "version": "2.0.5-rc.2", + "version": "2.0.5", "author": "Nicholas Young <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-flow/CHANGELOG.md b/packages/gatsby-plugin-flow/CHANGELOG.md index ea4cd36b033d3..af92e2c0720df 100644 --- a/packages/gatsby-plugin-flow/CHANGELOG.md +++ b/packages/gatsby-plugin-flow/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="1.0.1"></a> + +## [1.0.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-flow + <a name="1.0.1-rc.1"></a> ## [1.0.1-rc.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.1-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json index fe940e639fe8f..1c5b0765f5887 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-flow", - "version": "1.0.1-rc.1", + "version": "1.0.1", "description": "Stub description for gatsby-plugin-flow", "main": "index.js", "scripts": { diff --git a/packages/gatsby-plugin-fullstory/CHANGELOG.md b/packages/gatsby-plugin-fullstory/CHANGELOG.md index 6137a0bf61653..8ea2014e417ed 100644 --- a/packages/gatsby-plugin-fullstory/CHANGELOG.md +++ b/packages/gatsby-plugin-fullstory/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-fullstory + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index 7e089effb0679..29bd98126b7e9 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-fullstory", - "version": "2.0.0-rc.1", + "version": "2.0.0", "description": "Plugin to add the tracking code for Fullstory.com", "main": "index.js", "scripts": { diff --git a/packages/gatsby-plugin-glamor/CHANGELOG.md b/packages/gatsby-plugin-glamor/CHANGELOG.md index 64466a38ad787..6a80acd52dfd9 100644 --- a/packages/gatsby-plugin-glamor/CHANGELOG.md +++ b/packages/gatsby-plugin-glamor/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-glamor/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-glamor + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-glamor/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-glamor/package.json b/packages/gatsby-plugin-glamor/package.json index a5dd846308e88..da0536722234f 100644 --- a/packages/gatsby-plugin-glamor/package.json +++ b/packages/gatsby-plugin-glamor/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-glamor", "description": "Gatsby plugin to add support for Glamor", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-google-analytics/CHANGELOG.md b/packages/gatsby-plugin-google-analytics/CHANGELOG.md index c990416cd66e7..ff77270f16b18 100644 --- a/packages/gatsby-plugin-google-analytics/CHANGELOG.md +++ b/packages/gatsby-plugin-google-analytics/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics/compare/gatsby-plugin-google-analytics@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-google-analytics + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics/compare/gatsby-plugin-google-analytics@[email protected]) (2018-09-07) diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index 42bf2724d67c7..77a86e9aa4262 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-analytics", "description": "Gatsby plugin to add google analytics onto a site", - "version": "2.0.5-rc.2", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md b/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md index 74da151fb4b4e..8679f17d6b94f 100644 --- a/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md +++ b/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager/compare/gatsby-plugin-google-tagmanager@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-google-tagmanager + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager/compare/gatsby-plugin-google-tagmanager@[email protected]) (2018-08-29) diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index 54bddf1b397b4..35b796f8f98a0 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-tagmanager", "description": "Gatsby plugin to add google tagmanager onto a site", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Thijs Koerselman <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-guess-js/CHANGELOG.md b/packages/gatsby-plugin-guess-js/CHANGELOG.md index 1cd9c24659d0a..08c31be3701ec 100644 --- a/packages/gatsby-plugin-guess-js/CHANGELOG.md +++ b/packages/gatsby-plugin-guess-js/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="1.0.0"></a> + +# [1.0.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-guess-js + <a name="1.0.0-rc.1"></a> # [1.0.0-rc.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-guess-js/package.json b/packages/gatsby-plugin-guess-js/package.json index e6649886f3d8c..4ef2241bd73a3 100644 --- a/packages/gatsby-plugin-guess-js/package.json +++ b/packages/gatsby-plugin-guess-js/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-guess-js", - "version": "1.0.0-rc.1", + "version": "1.0.0", "description": "Gatsby plugin providing drop-in integration with Guess.js to enabling using machine learning and analytics data to power prefetching", "main": "index.js", "scripts": { diff --git a/packages/gatsby-plugin-jss/CHANGELOG.md b/packages/gatsby-plugin-jss/CHANGELOG.md index 8513b6ea79995..80159a0109646 100644 --- a/packages/gatsby-plugin-jss/CHANGELOG.md +++ b/packages/gatsby-plugin-jss/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.2"></a> + +## [2.0.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-jss/compare/[email protected]@2.0.2) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-jss + <a name="2.0.2-rc.1"></a> ## [2.0.2-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-jss/compare/[email protected]@2.0.2-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 20f6a3bd2e116..1f690fbbad211 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-jss", "description": "Gatsby plugin that adds SSR support for JSS", - "version": "2.0.2-rc.1", + "version": "2.0.2", "author": "Vladimir Guguiev <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-layout/CHANGELOG.md b/packages/gatsby-plugin-layout/CHANGELOG.md index 8c382751c1dd5..cbae6a334e2ac 100644 --- a/packages/gatsby-plugin-layout/CHANGELOG.md +++ b/packages/gatsby-plugin-layout/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="1.0.0"></a> + +# [1.0.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-layout + <a name="1.0.0-rc.4"></a> # [1.0.0-rc.4](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.0-rc.4) (2018-09-07) diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json index 1a2ac879db60a..39d00155e3502 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-layout", - "version": "1.0.0-rc.4", + "version": "1.0.0", "description": "Stub description for gatsby-plugin-layout", "main": "index.js", "scripts": { diff --git a/packages/gatsby-plugin-less/CHANGELOG.md b/packages/gatsby-plugin-less/CHANGELOG.md index 15b80fdef576e..fe1805b8dcb8e 100644 --- a/packages/gatsby-plugin-less/CHANGELOG.md +++ b/packages/gatsby-plugin-less/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-less/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-less + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-less/compare/[email protected]@2.0.0-rc.2) (2018-09-17) diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json index cec804d2d2eeb..d175fb54a3aa7 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-less", "description": "Gatsby plugin to add support for using Less", - "version": "2.0.5-rc.2", + "version": "2.0.5", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-lodash/CHANGELOG.md b/packages/gatsby-plugin-lodash/CHANGELOG.md index 49f90b74bf973..e1593b74d10f9 100644 --- a/packages/gatsby-plugin-lodash/CHANGELOG.md +++ b/packages/gatsby-plugin-lodash/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.1"></a> + +## [3.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-lodash/compare/[email protected]@3.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-lodash + <a name="3.0.1-rc.1"></a> ## [3.0.1-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-lodash/compare/[email protected]@3.0.1-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index e569525b7de65..6e18a1ce61025 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-lodash", "description": "Easy modular Lodash builds. Adds the Lodash webpack & Babel plugins to your Gatsby build", - "version": "3.0.1-rc.1", + "version": "3.0.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-manifest/CHANGELOG.md b/packages/gatsby-plugin-manifest/CHANGELOG.md index 244465cc4eb5c..289354030bd9e 100644 --- a/packages/gatsby-plugin-manifest/CHANGELOG.md +++ b/packages/gatsby-plugin-manifest/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.2"></a> + +## [2.0.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-manifest/compare/[email protected]@2.0.2) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-manifest + <a name="2.0.2-rc.1"></a> ## [2.0.2-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-manifest/compare/[email protected]@2.0.2-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index 492d293e8b2cc..048992f4fec00 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-manifest", "description": "Gatsby plugin which adds a manifest.webmanifest to make sites progressive web apps", - "version": "2.0.2-rc.1", + "version": "2.0.2", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-netlify-cms/CHANGELOG.md b/packages/gatsby-plugin-netlify-cms/CHANGELOG.md index f25b14ec31bf6..b73419eb811e2 100644 --- a/packages/gatsby-plugin-netlify-cms/CHANGELOG.md +++ b/packages/gatsby-plugin-netlify-cms/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify-cms/compare/[email protected]@3.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-netlify-cms + <a name="3.0.0-rc.5"></a> # [3.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify-cms/compare/[email protected]@3.0.0-rc.5) (2018-09-11) diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index d71042ac5433c..f2257d190d817 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-netlify-cms", "description": "A Gatsby plugin which generates the Netlify CMS single page app", - "version": "3.0.0-rc.5", + "version": "3.0.0", "author": "Shawn Erquhart <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-netlify/CHANGELOG.md b/packages/gatsby-plugin-netlify/CHANGELOG.md index 3167be9be7a4d..7fac78f66de89 100644 --- a/packages/gatsby-plugin-netlify/CHANGELOG.md +++ b/packages/gatsby-plugin-netlify/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-netlify + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify/compare/[email protected]@2.0.0-rc.6) (2018-09-11) diff --git a/packages/gatsby-plugin-netlify/package.json b/packages/gatsby-plugin-netlify/package.json index 673b349327436..c582459de2495 100644 --- a/packages/gatsby-plugin-netlify/package.json +++ b/packages/gatsby-plugin-netlify/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-netlify", "description": "A Gatsby plugin which generates a _headers file for netlify", - "version": "2.0.0-rc.6", + "version": "2.0.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md b/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md index b9cc3a771137d..c65caaa0a193f 100644 --- a/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md +++ b/packages/gatsby-plugin-no-sourcemaps/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-no-sourcemaps/compare/gatsby-plugin-no-sourcemaps@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-no-sourcemaps + <a name="2.0.0-rc.0"></a> # [2.0.0-rc.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-no-sourcemaps/compare/gatsby-plugin-no-sourcemaps@[email protected]) (2018-08-21) diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json index a25f95c17779d..1078279911ebd 100644 --- a/packages/gatsby-plugin-no-sourcemaps/package.json +++ b/packages/gatsby-plugin-no-sourcemaps/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-no-sourcemaps", "description": "Disable sourcemaps when building javascript", - "version": "2.0.0-rc.0", + "version": "2.0.0", "author": "Stuart Taylor <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-nprogress/CHANGELOG.md b/packages/gatsby-plugin-nprogress/CHANGELOG.md index d6054bf758a08..966c44fb6358a 100644 --- a/packages/gatsby-plugin-nprogress/CHANGELOG.md +++ b/packages/gatsby-plugin-nprogress/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-nprogress/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-nprogress + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-nprogress/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json index 3e48d37ad475e..0936755ba6ab6 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-nprogress", "description": "Shows page loading indicator when loading page resources is delayed", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Kyle Mathews<[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-offline/CHANGELOG.md b/packages/gatsby-plugin-offline/CHANGELOG.md index a1d5d15f6b48a..4e60901f78410 100644 --- a/packages/gatsby-plugin-offline/CHANGELOG.md +++ b/packages/gatsby-plugin-offline/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-offline + <a name="2.0.0-rc.9"></a> # [2.0.0-rc.9](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline/compare/[email protected]@2.0.0-rc.9) (2018-09-17) diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index 5f81c7f8b637e..3c51de46d6a23 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-offline", "description": "Gatsby plugin which sets up a site to be able to run offline", - "version": "2.0.5-rc.9", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-page-creator/CHANGELOG.md b/packages/gatsby-plugin-page-creator/CHANGELOG.md index 9836b57e1189b..d7a306eb87c30 100644 --- a/packages/gatsby-plugin-page-creator/CHANGELOG.md +++ b/packages/gatsby-plugin-page-creator/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-page-creator@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-page-creator + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-page-creator@[email protected]) (2018-09-11) diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index 3cd562a444e25..b90a6f9e9d495 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-page-creator", - "version": "2.0.0-rc.5", + "version": "2.0.0", "description": "Gatsby plugin that automatically creates pages from React components in specified directories", "main": "index.js", "scripts": { diff --git a/packages/gatsby-plugin-postcss/CHANGELOG.md b/packages/gatsby-plugin-postcss/CHANGELOG.md index e7f0437bf3e89..d0f0e7f1761a1 100644 --- a/packages/gatsby-plugin-postcss/CHANGELOG.md +++ b/packages/gatsby-plugin-postcss/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-postcss/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-postcss + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-postcss/compare/[email protected]@2.0.0-rc.5) (2018-09-17) diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json index 0d4816ac99502..521a5a2b2ac01 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-postcss", "description": "Gatsby plugin to handle PostCSS", - "version": "2.0.0-rc.5", + "version": "2.0.0", "author": "Marat Dreizin <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-preact/CHANGELOG.md b/packages/gatsby-plugin-preact/CHANGELOG.md index 3918c5a325bc7..11b2d19a9799a 100644 --- a/packages/gatsby-plugin-preact/CHANGELOG.md +++ b/packages/gatsby-plugin-preact/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-preact/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-preact + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-preact/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index d2d1c1ca488c0..ec227972aecac 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preact", "description": "A Gatsby plugin which replaces React with Preact", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md index 8f621f37c3206..6bd2522ced04f 100644 --- a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md +++ b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules/compare/gatsby-plugin-react-css-modules@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-react-css-modules + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules/compare/gatsby-plugin-react-css-modules@[email protected]) (2018-09-11) diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index 6b0e6860c57e8..a98bfac32367c 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-css-modules", "description": "Gatsby plugin that transforms styleName to className using compile time CSS module resolution", - "version": "2.0.0-rc.5", + "version": "2.0.0", "author": "Ming Aldrich-Gan <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-react-helmet/CHANGELOG.md b/packages/gatsby-plugin-react-helmet/CHANGELOG.md index 97f06a10bb104..b31a946d32126 100644 --- a/packages/gatsby-plugin-react-helmet/CHANGELOG.md +++ b/packages/gatsby-plugin-react-helmet/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet/compare/gatsby-plugin-react-helmet@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-react-helmet + <a name="3.0.0-rc.1"></a> # [3.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet/compare/gatsby-plugin-react-helmet@[email protected]) (2018-08-29) diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index 8569aea5bfca4..211c913752afb 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-helmet", "description": "Manage document head data with react-helmet. Provides drop-in server rendering support for Gatsby.", - "version": "3.0.0-rc.1", + "version": "3.0.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md b/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md index d1a376207a1df..acf1531c2d584 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md +++ b/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-remove-trailing-slashes/compare/gatsby-plugin-remove-trailing-slashes@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-remove-trailing-slashes + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-remove-trailing-slashes/compare/gatsby-plugin-remove-trailing-slashes@[email protected]) (2018-08-29) diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json index 971aa8bbfa629..98df5f6ddcbbd 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/package.json +++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-remove-trailing-slashes", "description": "Stub description for gatsby-plugin-remove-trailing-slashes", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-sass/CHANGELOG.md b/packages/gatsby-plugin-sass/CHANGELOG.md index f5f0bf8ed725e..9e94e92c19feb 100644 --- a/packages/gatsby-plugin-sass/CHANGELOG.md +++ b/packages/gatsby-plugin-sass/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sass/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-sass + <a name="2.0.0-rc.3"></a> # [2.0.0-rc.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sass/compare/[email protected]@2.0.0-rc.3) (2018-09-17) diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json index 7d9dcf187829d..24bde263c5b5e 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sass", "description": "Gatsby plugin to handle scss/sass files", - "version": "2.0.1-rc.3", + "version": "2.0.1", "author": "Daniel Farrell <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-sharp/CHANGELOG.md b/packages/gatsby-plugin-sharp/CHANGELOG.md index aa4e148376ca2..2415ff7ebbee0 100644 --- a/packages/gatsby-plugin-sharp/CHANGELOG.md +++ b/packages/gatsby-plugin-sharp/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-sharp + <a name="2.0.0-rc.7"></a> # [2.0.0-rc.7](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp/compare/[email protected]@2.0.0-rc.7) (2018-09-11) diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index e7c85be4f3081..65711cb03b74d 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sharp", "description": "Wrapper of the Sharp image manipulation library for Gatsby plugins", - "version": "2.0.5-rc.7", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-sitemap/CHANGELOG.md b/packages/gatsby-plugin-sitemap/CHANGELOG.md index 318a3e2f530e6..faa0bc0d16c9f 100644 --- a/packages/gatsby-plugin-sitemap/CHANGELOG.md +++ b/packages/gatsby-plugin-sitemap/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-sitemap + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap/compare/[email protected]@2.0.0-rc.2) (2018-09-13) diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index 5b457e4e5aa23..8e8a0d5513440 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sitemap", "description": "Gatsby plugin that automatically creates a sitemap for your site", - "version": "2.0.1-rc.2", + "version": "2.0.1", "author": "Nicholas Young &lt;[email protected]&gt;", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-styled-components/CHANGELOG.md b/packages/gatsby-plugin-styled-components/CHANGELOG.md index 1cacd26ed25aa..189a8688ec827 100644 --- a/packages/gatsby-plugin-styled-components/CHANGELOG.md +++ b/packages/gatsby-plugin-styled-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-components/compare/gatsby-plugin-styled-components@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-styled-components + <a name="3.0.0-rc.5"></a> # [3.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-components/compare/gatsby-plugin-styled-components@[email protected]) (2018-09-11) diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index 51df1d511f37e..e9b3bd94d7ec7 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styled-components", "description": "Gatsby plugin to add support for styled components", - "version": "3.0.0-rc.5", + "version": "3.0.0", "author": "Guten Ye <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-styled-jsx/CHANGELOG.md b/packages/gatsby-plugin-styled-jsx/CHANGELOG.md index 9a8ce7401d1ef..455da873d6331 100644 --- a/packages/gatsby-plugin-styled-jsx/CHANGELOG.md +++ b/packages/gatsby-plugin-styled-jsx/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.1"></a> + +## [3.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-jsx/compare/[email protected]@3.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-styled-jsx + <a name="3.0.1-rc.4"></a> ## [3.0.1-rc.4](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-jsx/compare/[email protected]@3.0.1-rc.4) (2018-09-12) diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json index 576d934b33063..e1002c4c6fd66 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styled-jsx", "description": "Adds SSR support for styled-jsx", - "version": "3.0.1-rc.4", + "version": "3.0.1", "author": "Tim Suchanek <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-styletron/CHANGELOG.md b/packages/gatsby-plugin-styletron/CHANGELOG.md index 63119ca26e5ab..015e4571a45a5 100644 --- a/packages/gatsby-plugin-styletron/CHANGELOG.md +++ b/packages/gatsby-plugin-styletron/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styletron/compare/[email protected]@3.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-styletron + <a name="3.0.0-rc.1"></a> # [3.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styletron/compare/[email protected]@3.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index c956bd127c1da..1031a590f1e92 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styletron", "description": "A Gatsby plugin for styletron with built-in server-side rendering support", - "version": "3.0.0-rc.1", + "version": "3.0.0", "author": "Nadiia Dmytrenko <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-stylus/CHANGELOG.md b/packages/gatsby-plugin-stylus/CHANGELOG.md index d3cdfa9f6843e..21870044430f8 100644 --- a/packages/gatsby-plugin-stylus/CHANGELOG.md +++ b/packages/gatsby-plugin-stylus/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-stylus/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-stylus + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-stylus/compare/[email protected]@2.0.0-rc.2) (2018-09-17) diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json index b2f31d2c31a9e..7abffe3cfc1bc 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-stylus", "description": "Gatsby support for Stylus", - "version": "2.0.1-rc.2", + "version": "2.0.1", "author": "Ian Sinnott <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-subfont/CHANGELOG.md b/packages/gatsby-plugin-subfont/CHANGELOG.md index 9612a8faf9074..d6e57a630d084 100644 --- a/packages/gatsby-plugin-subfont/CHANGELOG.md +++ b/packages/gatsby-plugin-subfont/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="1.0.1"></a> + +## [1.0.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-subfont + <a name="1.0.1-rc.1"></a> ## [1.0.1-rc.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.1-rc.1) (2018-09-05) diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index 80020b272217d..9aa7ff19b819a 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-subfont", - "version": "1.0.1-rc.1", + "version": "1.0.1", "description": "Runs the font delivery optimizing CLI tool subfont on the homepage of your site during the Gatsby build", "main": "index.js", "scripts": { diff --git a/packages/gatsby-plugin-twitter/CHANGELOG.md b/packages/gatsby-plugin-twitter/CHANGELOG.md index bd16e5deea6c4..6e16af30b1a63 100644 --- a/packages/gatsby-plugin-twitter/CHANGELOG.md +++ b/packages/gatsby-plugin-twitter/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-twitter/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-twitter + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-twitter/compare/[email protected]@2.0.0-rc.2) (2018-09-05) diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json index 49182b760cbc6..cd863722a8a77 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-twitter", "description": "Stub description for gatsby-plugin-twitter", - "version": "2.0.5-rc.2", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-typescript/CHANGELOG.md b/packages/gatsby-plugin-typescript/CHANGELOG.md index e4635b79d2a0c..d67c6b6da12e7 100644 --- a/packages/gatsby-plugin-typescript/CHANGELOG.md +++ b/packages/gatsby-plugin-typescript/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-typescript + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript/compare/[email protected]@2.0.0-rc.6) (2018-09-13) diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index 575b60ffd4533..2b4fac589cd5a 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typescript", "description": "Adds TypeScript support to Gatsby", - "version": "2.0.0-rc.6", + "version": "2.0.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-typography/CHANGELOG.md b/packages/gatsby-plugin-typography/CHANGELOG.md index 3692239cc5db3..61b4357918258 100644 --- a/packages/gatsby-plugin-typography/CHANGELOG.md +++ b/packages/gatsby-plugin-typography/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.2.0"></a> + +# [2.2.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typography/compare/[email protected]@2.2.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-plugin-typography + <a name="2.2.0-rc.3"></a> # [2.2.0-rc.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typography/compare/[email protected]@2.2.0-rc.3) (2018-09-01) diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index 7f388d029421e..34a1cfe01365b 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typography", "description": "Gatsby plugin to setup server rendering of Typography.js' CSS", - "version": "2.2.0-rc.3", + "version": "2.2.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-react-router-scroll/CHANGELOG.md b/packages/gatsby-react-router-scroll/CHANGELOG.md index c21144e1e1dcf..79e6ee80e1da5 100644 --- a/packages/gatsby-react-router-scroll/CHANGELOG.md +++ b/packages/gatsby-react-router-scroll/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-react-router-scroll/compare/gatsby-react-router-scroll@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-react-router-scroll + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-react-router-scroll/compare/gatsby-react-router-scroll@[email protected]) (2018-08-31) diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 7301675afdfdc..57927d64e3551 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-react-router-scroll", "description": "React Router scroll management forked from https://github.com/ytase/react-router-scroll for Gatsby", - "version": "2.0.0-rc.2", + "version": "2.0.0", "author": "Jimmy Jia", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-autolink-headers/CHANGELOG.md b/packages/gatsby-remark-autolink-headers/CHANGELOG.md index dec125a856969..843a2302b1005 100644 --- a/packages/gatsby-remark-autolink-headers/CHANGELOG.md +++ b/packages/gatsby-remark-autolink-headers/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-autolink-headers/compare/gatsby-remark-autolink-headers@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-autolink-headers + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-autolink-headers/compare/gatsby-remark-autolink-headers@[email protected]) (2018-09-14) diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index 438673b6f5c76..171f0a4cdd569 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-autolink-headers", "description": "Gatsby plugin to autolink headers in markdown processed by Remark", - "version": "2.0.5-rc.2", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-code-repls/CHANGELOG.md b/packages/gatsby-remark-code-repls/CHANGELOG.md index 6c097f5b9117c..bec7b74f67d0e 100644 --- a/packages/gatsby-remark-code-repls/CHANGELOG.md +++ b/packages/gatsby-remark-code-repls/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-code-repls/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-code-repls + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-code-repls/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json index f8fc0c4a744ff..7e403f9de3efa 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-code-repls", "description": "Gatsby plugin to auto-generate links to popular REPLs like Babel and Codepen", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "Brian Vaughn <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md index 51bc4b49793f0..e057ece978b5e 100644 --- a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md +++ b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-copy-linked-files/compare/gatsby-remark-copy-linked-files@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-copy-linked-files + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-copy-linked-files/compare/gatsby-remark-copy-linked-files@[email protected]) (2018-09-11) diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index 2b73be846fe58..df7f4bac8a3de 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-copy-linked-files", "description": "Find files which are linked to from markdown and copy them to the public directory", - "version": "2.0.5-rc.5", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-custom-blocks/CHANGELOG.md b/packages/gatsby-remark-custom-blocks/CHANGELOG.md index 3f99b3b1b69ca..e8364008c953c 100644 --- a/packages/gatsby-remark-custom-blocks/CHANGELOG.md +++ b/packages/gatsby-remark-custom-blocks/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-custom-blocks/compare/gatsby-remark-custom-blocks@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-custom-blocks + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-custom-blocks/compare/gatsby-remark-custom-blocks@[email protected]) (2018-08-29) diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json index dc5c98676dec0..c7a13a465c77a 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-custom-blocks", "description": "Gatsby remark plugin for adding custom blocks in markdown", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "Mohammad Asad Mohammad <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-embed-snippet/CHANGELOG.md b/packages/gatsby-remark-embed-snippet/CHANGELOG.md index 4cf146d448b5b..c6977b0bcc3ed 100644 --- a/packages/gatsby-remark-embed-snippet/CHANGELOG.md +++ b/packages/gatsby-remark-embed-snippet/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-embed-snippet/compare/gatsby-remark-embed-snippet@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-embed-snippet + <a name="3.0.0-rc.1"></a> # [3.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-embed-snippet/compare/gatsby-remark-embed-snippet@[email protected]) (2018-08-29) diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json index aa3de483b1ad7..1c524989ce2ea 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-embed-snippet", "description": "Gatsby plugin to embed formatted code snippets within markdown", - "version": "3.0.0-rc.1", + "version": "3.0.0", "author": "Brian Vaughn <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-graphviz/CHANGELOG.md b/packages/gatsby-remark-graphviz/CHANGELOG.md index a20b2e5e0f97b..8fe61d4ce41b8 100644 --- a/packages/gatsby-remark-graphviz/CHANGELOG.md +++ b/packages/gatsby-remark-graphviz/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="1.0.0"></a> + +# [1.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-graphviz/compare/[email protected]@1.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-graphviz + <a name="1.0.0-rc.5"></a> # [1.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-graphviz/compare/[email protected]@1.0.0-rc.5) (2018-09-11) diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json index d989724373329..5ddee756d571d 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-graphviz", "description": "Processes graphviz code blocks and renders to SVG using viz.js", - "version": "1.0.0-rc.5", + "version": "1.0.0", "author": "Anthony Marcar <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-images-contentful/CHANGELOG.md b/packages/gatsby-remark-images-contentful/CHANGELOG.md index f34c004246da1..65f3fb6048c7c 100644 --- a/packages/gatsby-remark-images-contentful/CHANGELOG.md +++ b/packages/gatsby-remark-images-contentful/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-images-contentful@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-images-contentful + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-images-contentful@[email protected]) (2018-09-11) diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index ef45fd3099cb9..f91e41fd31fe9 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-remark-images-contentful", - "version": "2.0.0-rc.6", + "version": "2.0.0", "description": "Process Images in Contentful markdown so they can use the images API.", "main": "index.js", "scripts": { diff --git a/packages/gatsby-remark-images/CHANGELOG.md b/packages/gatsby-remark-images/CHANGELOG.md index 118b0c02d543e..aed7cfe981849 100644 --- a/packages/gatsby-remark-images/CHANGELOG.md +++ b/packages/gatsby-remark-images/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-images/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-images + <a name="2.0.1-rc.5"></a> ## [2.0.1-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-images/compare/[email protected]@2.0.1-rc.5) (2018-09-11) diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json index 7320622774a4a..a10f0d04b8474 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-images", "description": "Processes images in markdown so they can be used in the production build.", - "version": "2.0.1-rc.5", + "version": "2.0.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-katex/CHANGELOG.md b/packages/gatsby-remark-katex/CHANGELOG.md index 02a0c9b78167c..4fa93b551b9d5 100644 --- a/packages/gatsby-remark-katex/CHANGELOG.md +++ b/packages/gatsby-remark-katex/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-katex/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-katex + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-katex/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json index bb9e68411124f..76b940ad019dd 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-katex", "description": "Transform math nodes to html markup", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Jeffrey Xiao <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-prismjs/CHANGELOG.md b/packages/gatsby-remark-prismjs/CHANGELOG.md index 9f8d6d2a57409..f1f0bef798959 100644 --- a/packages/gatsby-remark-prismjs/CHANGELOG.md +++ b/packages/gatsby-remark-prismjs/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-prismjs/compare/[email protected]@3.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-prismjs + <a name="3.0.0-rc.2"></a> # [3.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-prismjs/compare/[email protected]@3.0.0-rc.2) (2018-08-29) diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index ea3839a96919b..8e533bde1859b 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-prismjs", "description": "Adds syntax highlighting to code blocks at build time using PrismJS", - "version": "3.0.0-rc.2", + "version": "3.0.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md index 23609b25119c2..351d105b544ef 100644 --- a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md +++ b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-responsive-iframe/compare/gatsby-remark-responsive-iframe@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-responsive-iframe + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-responsive-iframe/compare/gatsby-remark-responsive-iframe@[email protected]) (2018-09-11) diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index f4c8a8bd9bfe7..2bf4671fa1834 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-responsive-iframe", "description": "Make iframes in Markdown processed by Remark responsive", - "version": "2.0.5-rc.5", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-remark-smartypants/CHANGELOG.md b/packages/gatsby-remark-smartypants/CHANGELOG.md index f6151006df331..9e1891266a18a 100644 --- a/packages/gatsby-remark-smartypants/CHANGELOG.md +++ b/packages/gatsby-remark-smartypants/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-smartypants/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-remark-smartypants + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-smartypants/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json index 8a1d96be877ea..0bc58b2beb94d 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-smartypants", "description": "Use retext-smartypants to auto-enhance typography of markdown", - "version": "2.0.5-rc.1", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-contentful/CHANGELOG.md b/packages/gatsby-source-contentful/CHANGELOG.md index cefda9f4a2781..36c87543d2a82 100644 --- a/packages/gatsby-source-contentful/CHANGELOG.md +++ b/packages/gatsby-source-contentful/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-contentful/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-contentful + <a name="2.0.1-rc.9"></a> ## [2.0.1-rc.9](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-contentful/compare/[email protected]@2.0.1-rc.9) (2018-09-11) diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index a89ef39056edb..00f07e9da34a8 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-contentful", "description": "Gatsby source plugin for building websites using the Contentful CMS as a data source", - "version": "2.0.1-rc.9", + "version": "2.0.1", "author": "Marcus Ericsson <[email protected]> (mericsson.com)", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-drupal/CHANGELOG.md b/packages/gatsby-source-drupal/CHANGELOG.md index 19357b7904799..c151acb20c763 100644 --- a/packages/gatsby-source-drupal/CHANGELOG.md +++ b/packages/gatsby-source-drupal/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.2.0"></a> + +# [2.2.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-drupal/compare/[email protected]@2.2.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-drupal + <a name="2.2.0-rc.6"></a> # [2.2.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-drupal/compare/[email protected]@2.2.0-rc.6) (2018-09-11) diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index 9381412b74ae7..8efe3db633826 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-drupal", "description": "Gatsby source plugin for building websites using the Drupal CMS as a data source", - "version": "2.2.0-rc.6", + "version": "2.2.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,7 +10,7 @@ "@babel/runtime": "^7.0.0", "axios": "^0.18.0", "bluebird": "^3.5.0", - "gatsby-source-filesystem": "^2.0.1-rc.6", + "gatsby-source-filesystem": "^2.0.1", "lodash": "^4.17.10" }, "devDependencies": { diff --git a/packages/gatsby-source-faker/CHANGELOG.md b/packages/gatsby-source-faker/CHANGELOG.md index 179cb3782c429..275c40417d7e5 100644 --- a/packages/gatsby-source-faker/CHANGELOG.md +++ b/packages/gatsby-source-faker/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-faker/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-faker + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-faker/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json index 457f863d021fb..835be8a163faf 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-faker", "description": "A gatsby plugin to get fake data for testing", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "Pavithra Kodmad<[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-filesystem/CHANGELOG.md b/packages/gatsby-source-filesystem/CHANGELOG.md index d54688b8b1132..8062fc3c8e7cc 100644 --- a/packages/gatsby-source-filesystem/CHANGELOG.md +++ b/packages/gatsby-source-filesystem/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.1"></a> + +## [2.0.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/compare/[email protected]@2.0.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-filesystem + <a name="2.0.1-rc.6"></a> ## [2.0.1-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/compare/[email protected]@2.0.1-rc.6) (2018-09-11) diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index f868eb94533d0..7ab437e5c0249 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-filesystem", "description": "Gatsby plugin which parses files within a directory for further parsing by other plugins", - "version": "2.0.1-rc.6", + "version": "2.0.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-graphql/CHANGELOG.md b/packages/gatsby-source-graphql/CHANGELOG.md index 0fd8bf1da0166..bbc0d8ff5a829 100644 --- a/packages/gatsby-source-graphql/CHANGELOG.md +++ b/packages/gatsby-source-graphql/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-graphql/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-graphql + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-graphql/compare/[email protected]@2.0.0-rc.6) (2018-09-11) diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json index e2361a4c05ef6..4917c181143d4 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-graphql", "description": "Gatsby plugin which adds a third-party GraphQL API to Gatsby GraphQL", - "version": "2.0.0-rc.6", + "version": "2.0.0", "author": "Mikhail Novikov <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-hacker-news/CHANGELOG.md b/packages/gatsby-source-hacker-news/CHANGELOG.md index 7efad0b806ad7..aacb435808677 100644 --- a/packages/gatsby-source-hacker-news/CHANGELOG.md +++ b/packages/gatsby-source-hacker-news/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-hacker-news/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-hacker-news + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-hacker-news/compare/[email protected]@2.0.0-rc.5) (2018-09-11) diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json index c579b065ee57d..98c1d0ede92ab 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-hacker-news", "description": "Gatsby source plugin for building websites using Hacker News as a data source", - "version": "2.0.5-rc.5", + "version": "2.0.5", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-lever/CHANGELOG.md b/packages/gatsby-source-lever/CHANGELOG.md index c5aada3eec4c3..f853ad010c79c 100644 --- a/packages/gatsby-source-lever/CHANGELOG.md +++ b/packages/gatsby-source-lever/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-lever/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-lever + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-lever/compare/[email protected]@2.0.0-rc.5) (2018-09-11) diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json index b0e6fdb30d992..bc861598488f7 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-lever", "description": "Gatsby source plugin for building websites using the Lever.co Recruitment Software as a data source.", - "version": "2.0.0-rc.5", + "version": "2.0.0", "author": "Sebastien Fichot <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-medium/CHANGELOG.md b/packages/gatsby-source-medium/CHANGELOG.md index cdd1fe166d2c1..6d9ef37335daf 100644 --- a/packages/gatsby-source-medium/CHANGELOG.md +++ b/packages/gatsby-source-medium/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-medium/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-medium + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-medium/compare/[email protected]@2.0.0-rc.6) (2018-09-11) diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json index 6af252096ed71..918b2a144bee4 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-medium", "description": "Gatsby source plugin for building websites using Medium as a data source", - "version": "2.0.0-rc.6", + "version": "2.0.0", "author": "Robert Vogt <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-mongodb/CHANGELOG.md b/packages/gatsby-source-mongodb/CHANGELOG.md index 2512989820d92..407d67d694256 100644 --- a/packages/gatsby-source-mongodb/CHANGELOG.md +++ b/packages/gatsby-source-mongodb/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.5"></a> + +## [2.0.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-mongodb/compare/[email protected]@2.0.5) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-mongodb + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-mongodb/compare/[email protected]@2.0.0-rc.5) (2018-09-11) diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json index 2b822e15a3bee..60466ea5fb3c3 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-mongodb", "description": "Source plugin for pulling data into Gatsby from MongoDB collections", - "version": "2.0.5-rc.5", + "version": "2.0.5", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-npm-package-search/CHANGELOG.md b/packages/gatsby-source-npm-package-search/CHANGELOG.md index 4cb35dd7db0fd..80d57b7a7cb38 100644 --- a/packages/gatsby-source-npm-package-search/CHANGELOG.md +++ b/packages/gatsby-source-npm-package-search/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-npm-package-search@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-npm-package-search + <a name="2.0.0-rc.3"></a> # [2.0.0-rc.3](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-npm-package-search@[email protected]) (2018-09-05) diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json index 6e95f100c3255..db4ead25b9dba 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-npm-package-search", "description": "Search NPM packages and pull NPM & GitHub metadata from Algolia's NPM index", - "version": "2.0.0-rc.3", + "version": "2.0.0", "author": "[email protected]", "dependencies": { "@babel/runtime": "^7.0.0", diff --git a/packages/gatsby-source-wikipedia/CHANGELOG.md b/packages/gatsby-source-wikipedia/CHANGELOG.md index edbff6dacb7f2..98c23d52e79d4 100644 --- a/packages/gatsby-source-wikipedia/CHANGELOG.md +++ b/packages/gatsby-source-wikipedia/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-wikipedia + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-rc.1) (2018-08-29) diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json index 8607394bc1f04..d8cf125e9efa6 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-wikipedia", - "version": "2.0.0-rc.1", + "version": "2.0.0", "description": "Gatsby source plugin for pulling articles from Wikipedia", "main": "index.js", "scripts": { diff --git a/packages/gatsby-source-wordpress/CHANGELOG.md b/packages/gatsby-source-wordpress/CHANGELOG.md index c73b4263fea12..988f012f0e13e 100644 --- a/packages/gatsby-source-wordpress/CHANGELOG.md +++ b/packages/gatsby-source-wordpress/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.0"></a> + +# [3.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-wordpress/compare/[email protected]@3.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-source-wordpress + <a name="3.0.0-rc.9"></a> # [3.0.0-rc.9](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-wordpress/compare/[email protected]@3.0.0-rc.9) (2018-09-13) diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index 59ee089697697..52f5b13169ae0 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-wordpress", "description": "Gatsby source plugin for building websites using the Wordpress CMS as a data source.", - "version": "3.0.0-rc.9", + "version": "3.0.0", "author": "Sebastien Fichot <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "bluebird": "^3.5.0", "deep-map": "^1.5.0", "deep-map-keys": "^1.2.0", - "gatsby-source-filesystem": "^2.0.1-rc.6", + "gatsby-source-filesystem": "^2.0.1", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.10", "minimatch": "^3.0.4", diff --git a/packages/gatsby-transformer-csv/CHANGELOG.md b/packages/gatsby-transformer-csv/CHANGELOG.md index 4bc32a8b285a0..bb7707b8ac690 100644 --- a/packages/gatsby-transformer-csv/CHANGELOG.md +++ b/packages/gatsby-transformer-csv/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-csv/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-csv + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-csv/compare/[email protected]@2.0.0-rc.2) (2018-09-05) diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json index 523897cd6f5e8..99a531826c397 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-csv", "description": "Gatsby transformer plugin for CSV files", - "version": "2.0.0-rc.2", + "version": "2.0.0", "author": "Sonal Saldanha <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-documentationjs/CHANGELOG.md b/packages/gatsby-transformer-documentationjs/CHANGELOG.md index e78ed823cbad4..c4684a4e1eb67 100644 --- a/packages/gatsby-transformer-documentationjs/CHANGELOG.md +++ b/packages/gatsby-transformer-documentationjs/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-documentationjs/compare/gatsby-transformer-documentationjs@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-documentationjs + <a name="2.0.0-rc.5"></a> # [2.0.0-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-documentationjs/compare/gatsby-transformer-documentationjs@[email protected]) (2018-09-11) diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json index f8a484647a97c..a44e4493f83ee 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-documentationjs", "description": "Gatsby transformer plugin which uses Documentation.js to extract JavaScript documentation", - "version": "2.0.0-rc.5", + "version": "2.0.0", "author": "Kyle Mathews", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-excel/CHANGELOG.md b/packages/gatsby-transformer-excel/CHANGELOG.md index a7cd668052193..09074ac240118 100644 --- a/packages/gatsby-transformer-excel/CHANGELOG.md +++ b/packages/gatsby-transformer-excel/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-excel/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-excel + <a name="2.1.1-rc.7"></a> ## [2.1.1-rc.7](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-excel/compare/[email protected]@2.1.1-rc.7) (2018-09-11) diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json index 837c941462927..bfd644fc1e5e9 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-excel", "description": "Gatsby transformer plugin for Excel spreadsheets", - "version": "2.1.1-rc.7", + "version": "2.1.1", "author": "SheetJS <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-hjson/CHANGELOG.md b/packages/gatsby-transformer-hjson/CHANGELOG.md index 00ac5be73b8c7..bea4e55489286 100644 --- a/packages/gatsby-transformer-hjson/CHANGELOG.md +++ b/packages/gatsby-transformer-hjson/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-hjson/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-hjson + <a name="2.1.1-rc.1"></a> ## [2.1.1-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-hjson/compare/[email protected]@2.1.1-rc.1) (2018-08-29) diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json index f88b1d90fc897..cb29e478beaaf 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-hjson", "description": "Gatsby transformer plugin for HJSON files", - "version": "2.1.1-rc.1", + "version": "2.1.1", "author": "Remi Barraquand <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md b/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md index a3216e276cc83..ce2bb59a1b43f 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md +++ b/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-frontmatter/compare/gatsby-transformer-javascript-frontmatter@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-javascript-frontmatter + <a name="2.0.0-rc.3"></a> # [2.0.0-rc.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-frontmatter/compare/gatsby-transformer-javascript-frontmatter@2.0.0-rc.2...gatsby-transformer-javascript-frontmatter@2.0.0-rc.3) (2018-09-05) diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json index 66401cca4d871..65b42e48a4239 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-javascript-frontmatter", "description": "Gatsby transformer plugin for JavaScript to extract exports.frontmatter statically.", - "version": "2.0.0-rc.3", + "version": "2.0.0", "author": "Jacob Bolda <[email protected]>", "dependencies": { "@babel/parser": "^7.0.0", diff --git a/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md b/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md index 4d0dc9a0f4409..98353e4b46d17 100644 --- a/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md +++ b/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-static-exports/compare/gatsby-transformer-javascript-static-exports@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-javascript-static-exports + <a name="2.1.1-rc.2"></a> ## [2.1.1-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-static-exports/compare/gatsby-transformer-javascript-static-exports@2.1.1-rc.1...gatsby-transformer-javascript-static-exports@2.1.1-rc.2) (2018-08-29) diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json index df53c292819c4..9609911c960c2 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-javascript-static-exports", "description": "Gatsby transformer plugin for JavaScript to extract exports.data statically.", - "version": "2.1.1-rc.2", + "version": "2.1.1", "author": "Jacob Bolda <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-json/CHANGELOG.md b/packages/gatsby-transformer-json/CHANGELOG.md index d466b99e0c239..eb72b1d9c4f96 100644 --- a/packages/gatsby-transformer-json/CHANGELOG.md +++ b/packages/gatsby-transformer-json/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-json/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-json + <a name="2.1.1-rc.6"></a> ## [2.1.1-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-json/compare/[email protected]@2.1.1-rc.6) (2018-09-11) diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json index 5c9671b7daeb1..53d1b44b850f5 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-json", "description": "Gatsby transformer plugin for JSON files", - "version": "2.1.1-rc.6", + "version": "2.1.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-react-docgen/CHANGELOG.md b/packages/gatsby-transformer-react-docgen/CHANGELOG.md index 8252ac0cafc1c..d751299b4b767 100644 --- a/packages/gatsby-transformer-react-docgen/CHANGELOG.md +++ b/packages/gatsby-transformer-react-docgen/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-react-docgen/compare/gatsby-transformer-react-docgen@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-react-docgen + <a name="2.1.1-rc.5"></a> ## [2.1.1-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-react-docgen/compare/gatsby-transformer-react-docgen@[email protected]) (2018-09-11) diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json index 443db551da52d..94fa68067e46d 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-react-docgen", "description": "Expose React component metadata and prop information as GraphQL types", - "version": "2.1.1-rc.5", + "version": "2.1.1", "author": "Jason Quense <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-remark/CHANGELOG.md b/packages/gatsby-transformer-remark/CHANGELOG.md index 870c24f88b0b6..d1fb173885945 100644 --- a/packages/gatsby-transformer-remark/CHANGELOG.md +++ b/packages/gatsby-transformer-remark/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-remark + <a name="2.1.1-rc.5"></a> ## [2.1.1-rc.5](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark/compare/[email protected]@2.1.1-rc.5) (2018-09-11) diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json index 4ea5cb5e831fe..73cd6e8f8442e 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-remark", "description": "Gatsby transformer plugin for Markdown using the Remark library and ecosystem", - "version": "2.1.1-rc.5", + "version": "2.1.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-screenshot/CHANGELOG.md b/packages/gatsby-transformer-screenshot/CHANGELOG.md index 83020e3020023..36afc22bc1b47 100644 --- a/packages/gatsby-transformer-screenshot/CHANGELOG.md +++ b/packages/gatsby-transformer-screenshot/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-screenshot/compare/gatsby-transformer-screenshot@[email protected]) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-screenshot + <a name="2.0.0-rc.1"></a> # [2.0.0-rc.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-screenshot/compare/gatsby-transformer-screenshot@[email protected]) (2018-08-29) diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index b6e5ae1d43dec..80b5b6c48f95e 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-screenshot", "description": "Gatsby transformer plugin that uses AWS Lambda to take screenshots of websites", - "version": "2.0.0-rc.1", + "version": "2.0.0", "author": "David Beckley <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-sharp/CHANGELOG.md b/packages/gatsby-transformer-sharp/CHANGELOG.md index 245934bedee13..f737142920fef 100644 --- a/packages/gatsby-transformer-sharp/CHANGELOG.md +++ b/packages/gatsby-transformer-sharp/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-sharp/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-sharp + <a name="2.1.1-rc.3"></a> ## [2.1.1-rc.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-sharp/compare/[email protected]@2.1.1-rc.3) (2018-09-07) diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 9ef12f4d6ca99..6193c4a3cf2f1 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-sharp", "description": "Gatsby transformer plugin for images using Sharp", - "version": "2.1.1-rc.3", + "version": "2.1.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-sqip/CHANGELOG.md b/packages/gatsby-transformer-sqip/CHANGELOG.md index 1816df8470783..0188dfe8953a1 100644 --- a/packages/gatsby-transformer-sqip/CHANGELOG.md +++ b/packages/gatsby-transformer-sqip/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-sqip + <a name="2.0.0-rc.7"></a> # [2.0.0-rc.7](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-rc.7) (2018-09-11) diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index bee97dc5567b4..9d79235bda5a9 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-sqip", "description": "Generates geometric primitive version of images", - "version": "2.0.0-rc.7", + "version": "2.0.0", "author": "Benedikt Rötsch <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-toml/CHANGELOG.md b/packages/gatsby-transformer-toml/CHANGELOG.md index 756ee8bbc45df..83c765853d4b8 100644 --- a/packages/gatsby-transformer-toml/CHANGELOG.md +++ b/packages/gatsby-transformer-toml/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-toml/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-toml + <a name="2.1.1-rc.2"></a> ## [2.1.1-rc.2](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-toml/compare/[email protected]@2.1.1-rc.2) (2018-09-05) diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json index 30b86acb1b6a7..b72207da6f7b2 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-toml", "description": "Gatsby transformer plugin for toml", - "version": "2.1.1-rc.2", + "version": "2.1.1", "author": "Ruben Harutyunyan <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-xml/CHANGELOG.md b/packages/gatsby-transformer-xml/CHANGELOG.md index a8ffcb89268a2..3e896ee52a748 100644 --- a/packages/gatsby-transformer-xml/CHANGELOG.md +++ b/packages/gatsby-transformer-xml/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-xml/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-xml + <a name="2.0.0-rc.6"></a> # [2.0.0-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-xml/compare/[email protected]@2.0.0-rc.6) (2018-09-11) diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json index 86f13c7cd581d..b0c009783f8cf 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-xml", "description": "Gatsby plugin for parsing XML files. It supports also attributes", - "version": "2.0.0-rc.6", + "version": "2.0.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-transformer-yaml/CHANGELOG.md b/packages/gatsby-transformer-yaml/CHANGELOG.md index 8904abd9d7ce7..44337d63a205f 100644 --- a/packages/gatsby-transformer-yaml/CHANGELOG.md +++ b/packages/gatsby-transformer-yaml/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.1.1"></a> + +## [2.1.1](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-yaml/compare/[email protected]@2.1.1) (2018-09-17) + +**Note:** Version bump only for package gatsby-transformer-yaml + <a name="2.1.1-rc.6"></a> ## [2.1.1-rc.6](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-yaml/compare/[email protected]@2.1.1-rc.6) (2018-09-11) diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json index 9b57c063fbafd..3eeeae02fef14 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-yaml", "description": "Gatsby transformer plugin for yaml", - "version": "2.1.1-rc.6", + "version": "2.1.1", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index fbeb6887d2282..95394a70ff804 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package gatsby + <a name="2.0.0-rc.28"></a> # [2.0.0-rc.28](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-rc.28) (2018-09-17) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 0f54780fc9b08..404c6aee76c1f 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.0.0-rc.28", + "version": "2.0.0", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js" @@ -63,12 +63,12 @@ "fs-extra": "^5.0.0", "gatsby-cli": "^2.0.0-rc.6", "gatsby-link": "^2.0.0-rc.4", - "gatsby-plugin-page-creator": "^2.0.0-rc.5", - "gatsby-react-router-scroll": "^2.0.0-rc.2", + "gatsby-plugin-page-creator": "^2.0.0", + "gatsby-react-router-scroll": "^2.0.0", "glob": "^7.1.1", "graphql": "^0.13.2", "graphql-relay": "^0.5.5", - "graphql-skip-limit": "^2.0.0-rc.3", + "graphql-skip-limit": "^2.0.0", "graphql-tools": "^3.0.4", "graphql-type-json": "^0.2.1", "hash-mod": "^0.0.5", diff --git a/packages/graphql-skip-limit/CHANGELOG.md b/packages/graphql-skip-limit/CHANGELOG.md index 473711fa6b804..75eb73f513277 100644 --- a/packages/graphql-skip-limit/CHANGELOG.md +++ b/packages/graphql-skip-limit/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0"></a> + +# [2.0.0](https://github.com/gatsbyjs/gatsby/tree/master/packages/graphql-skip-limit/compare/[email protected]@2.0.0) (2018-09-17) + +**Note:** Version bump only for package graphql-skip-limit + <a name="2.0.0-rc.3"></a> # [2.0.0-rc.3](https://github.com/gatsbyjs/gatsby/tree/master/packages/graphql-skip-limit/compare/[email protected]@2.0.0-rc.3) (2018-08-31) diff --git a/packages/graphql-skip-limit/package.json b/packages/graphql-skip-limit/package.json index 9b27ba4b02b38..8e5b2df640e8c 100644 --- a/packages/graphql-skip-limit/package.json +++ b/packages/graphql-skip-limit/package.json @@ -1,7 +1,7 @@ { "name": "graphql-skip-limit", "description": "A library to help construct a graphql-js server supporting skip/relay style pagination. Built for Gatsby but perhaps useful elsewhere.", - "version": "2.0.0-rc.3", + "version": "2.0.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues"
c59fa5bf96ced00e23cd4947ac31311ffb4870fa
2019-06-27 15:53:39
Jason Lengstorf
fix: add null check for codeScopeAbsPaths (#219)
false
add null check for codeScopeAbsPaths (#219)
fix
diff --git a/packages/gatsby-plugin-mdx/component-with-mdx-scope.js b/packages/gatsby-plugin-mdx/component-with-mdx-scope.js index c72f1f2f9eabc..db060c39ac5b4 100644 --- a/packages/gatsby-plugin-mdx/component-with-mdx-scope.js +++ b/packages/gatsby-plugin-mdx/component-with-mdx-scope.js @@ -15,8 +15,8 @@ module.exports = function componentWithMDXScope( codeScopeAbsPaths = [], projectRoot = process.cwd() ) { - if (typeof codeScopeAbsPaths === "string") { - codeScopeAbsPaths = [codeScopeAbsPaths]; + if (!(codeScopeAbsPaths instanceof Array)) { + codeScopeAbsPaths = [codeScopeAbsPaths].filter(Boolean); } const isTS = absWrapperPath.endsWith(".ts"); const isTSX = absWrapperPath.endsWith(".tsx");
7e842dfd5b80d80f5408e5260f69ebfc40540432
2019-12-03 16:09:24
Sam Logan
fix(gatsby-plugin-offline): Replaced cacheOnly with cacheFirst (#19926)
false
Replaced cacheOnly with cacheFirst (#19926)
fix
diff --git a/packages/gatsby-plugin-offline/README.md b/packages/gatsby-plugin-offline/README.md index aaf1594b5964a..3bcf4e5752209 100644 --- a/packages/gatsby-plugin-offline/README.md +++ b/packages/gatsby-plugin-offline/README.md @@ -143,7 +143,7 @@ const options = { // Use cacheFirst since these don't need to be revalidated (same RegExp // and same reason as above) urlPattern: /(\.js$|\.css$|static\/)/, - handler: `cacheOnly`, + handler: `cacheFirst`, }, { // page-data.json files are not content hashed
3858de1954dc6cc6d1e2cb28f0c50a4d5fe741c4
2020-10-01 22:47:35
Michal Piechowiak
test(integration/gatsby-cli): use sandboxed directory to "globally" install gatsby-cli (#27056)
false
use sandboxed directory to "globally" install gatsby-cli (#27056)
test
diff --git a/integration-tests/gatsby-cli/__tests__/new.js b/integration-tests/gatsby-cli/__tests__/new.js index 570a94f5662b1..4465bd805d3a6 100644 --- a/integration-tests/gatsby-cli/__tests__/new.js +++ b/integration-tests/gatsby-cli/__tests__/new.js @@ -14,7 +14,8 @@ const clean = dir => execa(`yarn`, ["del-cli", dir]) describe(`gatsby new`, () => { // make folder for us to create sites into const dir = join(__dirname, "../execution-folder") - const originalPackageManager = getConfigStore().get("cli.packageManager") + const originalPackageManager = + getConfigStore().get("cli.packageManager") || `npm` beforeAll(async () => { await clean(dir) @@ -23,7 +24,7 @@ describe(`gatsby new`, () => { }) afterAll(async () => { - GatsbyCLI.from(cwd).invoke([`options`, `set`,`pm`, originalPackageManager]) + GatsbyCLI.from(cwd).invoke([`options`, `set`, `pm`, originalPackageManager]) await clean(dir) }) diff --git a/integration-tests/gatsby-cli/jest.boot.js b/integration-tests/gatsby-cli/jest.boot.js new file mode 100644 index 0000000000000..242e23ed3b65c --- /dev/null +++ b/integration-tests/gatsby-cli/jest.boot.js @@ -0,0 +1,42 @@ +const path = require(`path`) +const execa = require(`execa`) +const fs = require(`fs-extra`) + +module.exports = async () => { + console.log( + `Installing "gatsby-cli" in sandbox directory: "${process.env.GLOBAL_GATSBY_CLI_LOCATION}"` + ) + console.log( + `Tests will use "${process.env.GLOBAL_GATSBY_CLI_LOCATION}/node_modules/.bin/gatsby" CLI to invoke commands` + ) + + await fs.ensureDir(process.env.GLOBAL_GATSBY_CLI_LOCATION) + + await fs.outputJson( + path.join(process.env.GLOBAL_GATSBY_CLI_LOCATION, `package.json`), + { + dependencies: { + "gatsby-cli": "latest", + }, + } + ) + + const gatsbyDevLocation = path.join( + __dirname, + `..`, + `..`, + `packages`, + `gatsby-dev-cli`, + `dist`, + `index.js` + ) + + await execa.node(gatsbyDevLocation, [`--force-install`, `--scan-once`], { + cwd: process.env.GLOBAL_GATSBY_CLI_LOCATION, + stdio: `inherit`, + env: { + // we don't want to run gatsby-dev in with NODE_ENV=test + NODE_ENV: `production`, + }, + }) +} diff --git a/integration-tests/gatsby-cli/jest.config.js b/integration-tests/gatsby-cli/jest.config.js new file mode 100644 index 0000000000000..a561d40a50ecd --- /dev/null +++ b/integration-tests/gatsby-cli/jest.config.js @@ -0,0 +1,18 @@ +const fs = require(`fs`) +const path = require(`path`) +const os = require(`os`) +const baseConfig = require(`../jest.config.js`) + +// install global gatsby-cli to tmp dir to simulate sandbox +const GLOBAL_GATSBY_CLI_LOCATION = (process.env.GLOBAL_GATSBY_CLI_LOCATION = fs.mkdtempSync( + path.join(os.tmpdir(), `gatsby-cli-`) +)) + +module.exports = { + ...baseConfig, + globalSetup: "<rootDir>/integration-tests/gatsby-cli/jest.boot.js", + rootDir: `../../`, + globals: { + GLOBAL_GATSBY_CLI_LOCATION, + }, +} diff --git a/integration-tests/gatsby-cli/package.json b/integration-tests/gatsby-cli/package.json index 26aab2b690309..8a220609a218f 100644 --- a/integration-tests/gatsby-cli/package.json +++ b/integration-tests/gatsby-cli/package.json @@ -2,12 +2,11 @@ "name": "gatsby-cli-tests", "version": "1.0.0", "dependencies": { - "gatsby-cli": "^2.12.29", "strip-ansi": "^6.0.0" }, "license": "MIT", "scripts": { - "test": "jest --config=../jest.config.js gatsby-cli/" + "test": "jest --config=./jest.config.js gatsby-cli/" }, "devDependencies": { "del-cli": "^3.0.1", diff --git a/integration-tests/gatsby-cli/test-helpers/invoke-cli.js b/integration-tests/gatsby-cli/test-helpers/invoke-cli.js index 809fd82629317..cbf1e1f8cb86e 100644 --- a/integration-tests/gatsby-cli/test-helpers/invoke-cli.js +++ b/integration-tests/gatsby-cli/test-helpers/invoke-cli.js @@ -1,7 +1,14 @@ import execa, { sync } from "execa" -import { join, resolve } from "path" +import { join } from "path" import { createLogsMatcher } from "./matcher" +const gatsbyBinLocation = join( + GLOBAL_GATSBY_CLI_LOCATION, + `node_modules`, + `.bin`, + `gatsby` +) + // Use as `GatsbyCLI.cwd('execution-folder').invoke('new', 'foo')` export const GatsbyCLI = { from(relativeCwd) { @@ -9,14 +16,10 @@ export const GatsbyCLI = { invoke(args) { const NODE_ENV = args[0] === `develop` ? `development` : `production` try { - const results = sync( - resolve(`./node_modules/.bin/gatsby`), - [].concat(args), - { - cwd: join(__dirname, `../`, `./${relativeCwd}`), - env: { NODE_ENV, CI: 1, GATSBY_LOGGER: `ink` }, - } - ) + const results = sync(gatsbyBinLocation, [].concat(args), { + cwd: join(__dirname, `../`, `./${relativeCwd}`), + env: { NODE_ENV, CI: 1, GATSBY_LOGGER: `ink` }, + }) return [ results.exitCode, @@ -32,14 +35,10 @@ export const GatsbyCLI = { invokeAsync: (args, onExit) => { const NODE_ENV = args[0] === `develop` ? `development` : `production` - const res = execa( - resolve(`./node_modules/.bin/gatsby`), - [].concat(args), - { - cwd: join(__dirname, `../`, `./${relativeCwd}`), - env: { NODE_ENV, CI: 1, GATSBY_LOGGER: `ink` }, - } - ) + const res = execa(gatsbyBinLocation, [].concat(args), { + cwd: join(__dirname, `../`, `./${relativeCwd}`), + env: { NODE_ENV, CI: 1, GATSBY_LOGGER: `ink` }, + }) const logs = [] res.stdout.on("data", data => { diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index e7e4fed96b746..71dacef8c9ace 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -1,15 +1,22 @@ #!/bin/bash +set -e # bail on errors + SRC_PATH=$1 CUSTOM_COMMAND="${2:-yarn test}" GATSBY_PATH="${CIRCLE_WORKING_DIRECTORY:-../../}" # cypress docker does not support sudo and does not need it, but the default node executor does -command -v gatsby-dev || command -v sudo && sudo npm install -g gatsby-dev-cli || npm install -g gatsby-dev-cli && +command -v gatsby-dev || command -v sudo && sudo npm install -g gatsby-dev-cli || npm install -g gatsby-dev-cli # setting up child integration test link to gatsby packages -cd "$SRC_PATH" && -gatsby-dev --set-path-to-repo "$GATSBY_PATH" && -gatsby-dev --force-install --scan-once && # install _all_ files in gatsby/packages -chmod +x ./node_modules/.bin/gatsby && # this is sometimes necessary to ensure executable -sh -c "$CUSTOM_COMMAND" && +cd "$SRC_PATH" +gatsby-dev --set-path-to-repo "$GATSBY_PATH" +gatsby-dev --force-install --scan-once # install _all_ files in gatsby/packages +if test -f "./node_modules/.bin/gatsby"; then + chmod +x ./node_modules/.bin/gatsby # this is sometimes necessary to ensure executable + echo "Gatsby bin chmoded" +else + echo "Gatsby bin doesn't exist. Skipping chmod." +fi +sh -c "$CUSTOM_COMMAND" echo "e2e test run succeeded"
9715aaff4be629b7a263263c871f12bcd2545f33
2020-05-08 22:40:17
Francesco Agnoletto
chore(gatsby): convert page-component to typescript (#23277)
false
convert page-component to typescript (#23277)
chore
diff --git a/packages/gatsby/src/redux/machines/__tests__/page-component.js b/packages/gatsby/src/redux/machines/__tests__/page-component.ts similarity index 88% rename from packages/gatsby/src/redux/machines/__tests__/page-component.js rename to packages/gatsby/src/redux/machines/__tests__/page-component.ts index d67fc9e4c52f0..ccaafeb853600 100644 --- a/packages/gatsby/src/redux/machines/__tests__/page-component.js +++ b/packages/gatsby/src/redux/machines/__tests__/page-component.ts @@ -1,12 +1,13 @@ -const { interpret } = require(`xstate`) -const machine = require(`../page-component`) +import { interpret, Interpreter } from "xstate" + +import { componentMachine, IContext, IState, IEvent } from "../page-component" jest.mock(`../../../query`) const { enqueueExtractedQueryId, runQueuedQueries } = require(`../../../query`) -const getService = (args = {}) => +const getService = (args = {}): Interpreter<IContext, IState, IEvent> => interpret( - machine.withContext({ + componentMachine.withContext({ componentPath: `/a/path.js`, query: ``, pages: new Set([`/`]), @@ -15,7 +16,8 @@ const getService = (args = {}) => }) ).start() -const sleep = (delay = 50) => new Promise(resolve => setTimeout(resolve, delay)) +const sleep = (delay = 50): Promise<void> => + new Promise(resolve => setTimeout(resolve, delay)) describe(`bootstrap`, () => { beforeEach(() => { diff --git a/packages/gatsby/src/redux/machines/page-component.js b/packages/gatsby/src/redux/machines/page-component.ts similarity index 65% rename from packages/gatsby/src/redux/machines/page-component.js rename to packages/gatsby/src/redux/machines/page-component.ts index 4881961cb602b..d39bea3fb0853 100644 --- a/packages/gatsby/src/redux/machines/page-component.js +++ b/packages/gatsby/src/redux/machines/page-component.ts @@ -1,17 +1,61 @@ -const { - Machine, - actions: { assign }, -} = require(`xstate`) +import { Machine as machine, assign } from "xstate" -module.exports = Machine( +export interface IContext { + isInBootstrap: boolean + componentPath: string + query: string + pages: Set<string> +} + +export interface IState { + states: { + inactive: {} + inactiveWhileBootstrapping: {} + queryExtractionGraphQLError: {} + queryExtractionBabelError: {} + runningPageQueries: {} + idle: {} + } +} + +/** + * Stricter types for actions are not possible + * as we have different payloads that would require casting. + * The current approach prevents this but makes all payloads optional. + * See https://github.com/gatsbyjs/gatsby/pull/23277#issuecomment-625425023 + */ + +type ActionTypes = + | "BOOTSTRAP_FINISHED" + | "DELETE_PAGE" + | "NEW_PAGE_CREATED" + | "PAGE_CONTEXT_MODIFIED" + | "QUERY_EXTRACTION_GRAPHQL_ERROR" + | "QUERY_EXTRACTION_BABEL_ERROR" + | "QUERY_EXTRACTION_BABEL_SUCCESS" + | "QUERY_CHANGED" + | "QUERY_DID_NOT_CHANGE" + | "QUERIES_COMPLETE" + +export interface IEvent { + type: ActionTypes + path?: string + query?: string + page?: { path: string } +} + +const defaultContext: IContext = { + isInBootstrap: true, + componentPath: ``, + query: ``, + pages: new Set(``), +} + +export const componentMachine = machine<IContext, IState, IEvent>( { id: `pageComponents`, initial: `inactive`, - context: { - isInBootstrap: true, - componentPath: ``, - query: ``, - }, + context: defaultContext, on: { BOOTSTRAP_FINISHED: { actions: `setBootstrapFinished`, @@ -75,11 +119,11 @@ module.exports = Machine( }, { guards: { - isBootstrapping: context => context.isInBootstrap, - isNotBootstrapping: context => !context.isInBootstrap, + isBootstrapping: (context): boolean => context.isInBootstrap, + isNotBootstrapping: (context): boolean => !context.isInBootstrap, }, actions: { - rerunPageQuery: (_ctx, event) => { + rerunPageQuery: (_ctx, event): void => { const queryUtil = require(`../../query`) // Wait a bit as calling this function immediately triggers // an Action call which Redux squawks about. @@ -87,7 +131,7 @@ module.exports = Machine( queryUtil.enqueueExtractedQueryId(event.path) }, 0) }, - runPageComponentQueries: (context, event) => { + runPageComponentQueries: (context): void => { const queryUtil = require(`../../query`) // Wait a bit as calling this function immediately triggers // an Action call which Redux squawks about. @@ -96,8 +140,8 @@ module.exports = Machine( }, 0) }, setQuery: assign({ - query: (ctx, event) => { - if (typeof event.query !== `undefined` || event.query !== null) { + query: (ctx, event): string => { + if (typeof event.query !== `undefined` && event.query !== null) { return event.query } else { return ctx.query @@ -125,11 +169,11 @@ module.exports = Machine( }), deletePage: assign({ pages: (ctx, event) => { - ctx.pages.delete(event.page.path) + ctx.pages.delete(event.page!.path) return ctx.pages }, }), - setBootstrapFinished: assign({ + setBootstrapFinished: assign<IContext>({ isInBootstrap: false, }), }, diff --git a/packages/gatsby/src/redux/reducers/components.js b/packages/gatsby/src/redux/reducers/components.js index 23160e5359bca..c922fa53191ec 100644 --- a/packages/gatsby/src/redux/reducers/components.js +++ b/packages/gatsby/src/redux/reducers/components.js @@ -1,7 +1,7 @@ const normalize = require(`normalize-path`) const { interpret } = require(`xstate`) -const componentMachine = require(`../machines/page-component`) +import { componentMachine } from "../machines/page-component" const services = new Map() let programStatus = `BOOTSTRAPPING`
6adcb9a88791f3ffa580e340d2fe576d3b9b47b2
2019-07-23 20:26:28
Ashrith Reddy
feat(gatsby): Includes ts/tsx files to eslint rules (#15976)
false
Includes ts/tsx files to eslint rules (#15976)
feat
diff --git a/packages/gatsby/src/utils/webpack-utils.js b/packages/gatsby/src/utils/webpack-utils.js index 8fffbca7dc3b5..3229696788c61 100644 --- a/packages/gatsby/src/utils/webpack-utils.js +++ b/packages/gatsby/src/utils/webpack-utils.js @@ -396,7 +396,7 @@ module.exports = async ({ let eslint = schema => { return { enforce: `pre`, - test: /\.jsx?$/, + test: /\.(jsx?|tsx?)$/, exclude: vendorRegex, use: [loaders.eslint(schema)], }
399942e53355fb93ccc33fbc1c8c0278e8c361c7
2021-11-02 13:49:10
renovate[bot]
fix(deps): update minor and patch dependencies for gatsby-source-filesystem (#33771)
false
update minor and patch dependencies for gatsby-source-filesystem (#33771)
fix
diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index 6cdcdf25cdf33..0c4a58a7f12f6 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -9,7 +9,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "chokidar": "^3.5.2", - "fastq": "^1.11.1", + "fastq": "^1.13.0", "file-type": "^16.5.3", "fs-extra": "^10.0.0", "gatsby-core-utils": "^3.2.0-next.0", @@ -19,7 +19,7 @@ "pretty-bytes": "^5.4.1", "progress": "^2.0.3", "valid-url": "^1.0.9", - "xstate": "^4.14.0" + "xstate": "^4.25.0" }, "devDependencies": { "@babel/cli": "^7.15.4", diff --git a/yarn.lock b/yarn.lock index 9cb4cc04c5e68..5d70ed99f14bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -27096,7 +27096,7 @@ xss@^1.0.6: commander "^2.20.3" cssfilter "0.0.10" -xstate@^4.14.0, xstate@^4.25.0, xstate@^4.9.1: +xstate@^4.25.0, xstate@^4.9.1: version "4.25.0" resolved "https://registry.yarnpkg.com/xstate/-/xstate-4.25.0.tgz#d902ef33137532043f7a88597af8e5e1c7ad6bdf" integrity sha512-qP7lc/ypOuuWME4ArOBnzaCa90TfHkjiqYDmxpiCjPy6FcXstInA2vH6qRVAHbPXRK4KQIYfIEOk1X38P+TldQ==
28ac8895f21065a53e0abfe45b2623d04f0517cb
2018-11-29 17:07:04
Michal Piechowiak
chore(gatsby-transformer-remark): update gitignore (#10199)
false
update gitignore (#10199)
chore
diff --git a/packages/gatsby-transformer-remark/.gitignore b/packages/gatsby-transformer-remark/.gitignore index bd9dc129f8b7c..08ddb94941023 100644 --- a/packages/gatsby-transformer-remark/.gitignore +++ b/packages/gatsby-transformer-remark/.gitignore @@ -1,3 +1,2 @@ -/gatsby-node.js -/extend-node-type.js -/on-node-create.js +/*.js +!index.js
0ad9e2da3df2168eef844d4b875c1ecde8cf4eab
2019-01-22 15:05:32
Sidhartha Chatterjee
docs(www): Add docs for partially matching a Link to a url (#11191)
false
Add docs for partially matching a Link to a url (#11191)
docs
diff --git a/docs/docs/gatsby-link.md b/docs/docs/gatsby-link.md index fec99c1bb880c..62b1a5c544d51 100644 --- a/docs/docs/gatsby-link.md +++ b/docs/docs/gatsby-link.md @@ -54,6 +54,30 @@ class Page extends React.Component { } ``` +## Partial Link matching + +The `activeStyle` or `activeClassName` prop are only set on a `<Link>` component if the current URL matches its `to` prop _exactly_. Sometimes, we may want to style a `<Link>` as active even if it partially matches the current URL. For example: + +- We may want `/blog/hello-world` to match `<Link to="/blog">` +- Or `/gatsby-link/#passing-state-through-link-and-navigate` to match `<Link to="/gatsby-link">` + +In instances like these, we can use [@reach/router's](https://reach.tech/router/api/Link) `getProps` API to to set active styles like in the following example: + +```jsx +import React from "react" +import { Link } from "gatsby" +// This link will get the active class when it partially matches the current URL +const PartialNavLink = props => ( + <Link + getProps={({ isPartiallyCurrent }) => { + return isPartiallyCurrent ? { className: "active" } : null + }} + /> +) +``` + +Check out this [codesandbox](https://codesandbox.io/s/p92vm09m37) for a working example! + ## Replacing history entry You can pass boolean `replace` property to replace previous history entry.
e79623c2708378ea18169a1061144bd9b866e588
2022-09-08 12:47:36
Lennart
fix(create-gatsby): Missing "plugins" in cmses.json (#36566)
false
Missing "plugins" in cmses.json (#36566)
fix
diff --git a/packages/create-gatsby/src/questions/cmses.json b/packages/create-gatsby/src/questions/cmses.json index 555417d5807f0..76e434447e394 100644 --- a/packages/create-gatsby/src/questions/cmses.json +++ b/packages/create-gatsby/src/questions/cmses.json @@ -1,15 +1,18 @@ { "gatsby-source-contentful": { "message": "Contentful", - "dependencies": [ + "plugins": [ "gatsby-plugin-image", - "gatsby-plugin-sharp" + "gatsby-plugin-sharp", + "gatsby-transformer-sharp" ] }, "gatsby-source-datocms": { "message": "DatoCMS", - "dependences": [ - "gatsby-plugin-image" + "plugins": [ + "gatsby-plugin-image", + "gatsby-plugin-sharp", + "gatsby-transformer-sharp" ] }, "gatsby-plugin-netlify-cms": { @@ -20,19 +23,23 @@ }, "gatsby-source-sanity": { "message": "Sanity", - "dependencies": [ - "gatsby-plugin-image" + "plugins": [ + "gatsby-plugin-image", + "gatsby-plugin-sharp", + "gatsby-transformer-sharp" ] }, "gatsby-source-shopify": { "message": "Shopify", - "dependencies": [ - "gatsby-plugin-image" + "plugins": [ + "gatsby-plugin-image", + "gatsby-plugin-sharp", + "gatsby-transformer-sharp" ] }, "gatsby-source-wordpress": { "message": "WordPress", - "dependencies": [ + "plugins": [ "gatsby-plugin-image", "gatsby-plugin-sharp", "gatsby-transformer-sharp"
b95120b3d59a4135a7aafc1b1ae49a5b68dbb9a8
2022-01-06 21:37:15
LekoArts
chore(release): Publish next pre-minor
false
Publish next pre-minor
chore
diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index bfa3621135b4e..52045d4bbdae5 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-remove-graphql-queries", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Jason Quense <[email protected]>", "repository": { "type": "git", @@ -10,12 +10,12 @@ "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-plugin-remove-graphql-queries#readme", "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.5.0-next.3" + "gatsby-core-utils": "^3.6.0-next.0" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/babel-preset-gatsby-package/package.json b/packages/babel-preset-gatsby-package/package.json index 534eb241aa931..aeb3b1d93fb78 100644 --- a/packages/babel-preset-gatsby-package/package.json +++ b/packages/babel-preset-gatsby-package/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-gatsby-package", - "version": "2.5.0-next.0", + "version": "2.6.0-next.0", "author": "Philipp Spiess <[email protected]>", "repository": { "type": "git", diff --git a/packages/babel-preset-gatsby/package.json b/packages/babel-preset-gatsby/package.json index 01984d8b95ba0..60fb20c0affc0 100644 --- a/packages/babel-preset-gatsby/package.json +++ b/packages/babel-preset-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-gatsby", - "version": "2.5.0-next.3", + "version": "2.6.0-next.0", "author": "Philipp Spiess <[email protected]>", "repository": { "type": "git", @@ -22,8 +22,8 @@ "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-macros": "^2.8.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-legacy-polyfills": "^2.5.0-next.0" + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-legacy-polyfills": "^2.6.0-next.0" }, "peerDependencies": { "@babel/core": "^7.11.6", @@ -38,7 +38,7 @@ }, "devDependencies": { "@babel/cli": "^7.15.4", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "slash": "^3.0.0" }, diff --git a/packages/create-gatsby/package.json b/packages/create-gatsby/package.json index e6c01967df653..170d4e130a297 100644 --- a/packages/create-gatsby/package.json +++ b/packages/create-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "create-gatsby", - "version": "2.5.0-next.2", + "version": "2.6.0-next.0", "main": "lib/index.js", "bin": "cli.js", "license": "MIT", @@ -28,7 +28,7 @@ "eslint": "^7.32.0", "execa": "^5.1.1", "fs-extra": "^10.0.0", - "gatsby-plugin-utils": "^2.5.0-next.1", + "gatsby-plugin-utils": "^2.6.0-next.0", "joi": "^17.4.2", "microbundle": "^0.14.2", "node-fetch": "^2.6.6", diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 1f7d42a1eb1de..f0770ea5d2aad 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "cli.js" @@ -20,13 +20,13 @@ "common-tags": "^1.8.2", "configstore": "^5.0.1", "convert-hrtime": "^3.0.0", - "create-gatsby": "^2.5.0-next.2", + "create-gatsby": "^2.6.0-next.0", "envinfo": "^7.8.1", "execa": "^5.1.1", "fs-exists-cached": "^1.0.0", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-telemetry": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-telemetry": "^3.6.0-next.0", "hosted-git-info": "^3.0.8", "is-valid-path": "^0.1.1", "joi": "^17.4.2", @@ -60,7 +60,7 @@ "@rollup/plugin-replace": "^2.4.2", "@types/hosted-git-info": "^3.0.2", "@types/yargs": "^15.0.14", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "ink": "^3.2.0", "ink-spinner": "^4.0.3", diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json index a96a4cfd49c0c..cb6aaa28f2068 100644 --- a/packages/gatsby-codemods/package.json +++ b/packages/gatsby-codemods/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-codemods", - "version": "3.5.0-next.1", + "version": "3.6.0-next.0", "description": "A collection of codemod scripts for use with JSCodeshift that help migrate to newer versions of Gatsby.", "main": "index.js", "scripts": { @@ -36,7 +36,7 @@ }, "devDependencies": { "@babel/cli": "^7.15.4", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-core-utils/package.json b/packages/gatsby-core-utils/package.json index 86f079f9387b0..e8b40b0f39b84 100644 --- a/packages/gatsby-core-utils/package.json +++ b/packages/gatsby-core-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-core-utils", - "version": "3.5.0-next.3", + "version": "3.6.0-next.0", "description": "A collection of gatsby utils used in different gatsby packages", "keywords": [ "gatsby", @@ -45,7 +45,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@types/ci-info": "2.0.0", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "is-uuid": "^1.0.2", "msw": "^0.36.3", diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json index 0c66fa05fe218..2e1c35d7ec01c 100644 --- a/packages/gatsby-cypress/package.json +++ b/packages/gatsby-cypress/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-cypress", - "version": "2.5.0-next.0", + "version": "2.6.0-next.0", "description": "Cypress tools for Gatsby projects", "main": "index.js", "repository": { @@ -20,7 +20,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-design-tokens/package.json b/packages/gatsby-design-tokens/package.json index 2d8e08a6eba4f..fb166531cdb7f 100644 --- a/packages/gatsby-design-tokens/package.json +++ b/packages/gatsby-design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-design-tokens", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "description": "Gatsby Design Tokens", "main": "dist/index.js", "module": "dist/index.esm.js", diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index e0f54c0376a7c..4eed60b1cc870 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-dev-cli", "description": "CLI helpers for contributors working on Gatsby", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby-dev": "./dist/index.js" @@ -27,7 +27,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli#readme", diff --git a/packages/gatsby-graphiql-explorer/package.json b/packages/gatsby-graphiql-explorer/package.json index 7120b9853ee09..2f8f06bd65912 100644 --- a/packages/gatsby-graphiql-explorer/package.json +++ b/packages/gatsby-graphiql-explorer/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-graphiql-explorer", - "version": "2.5.0-next.0", + "version": "2.6.0-next.0", "description": "GraphiQL IDE with custom features for Gatsby users", "main": "index.js", "scripts": { @@ -38,7 +38,7 @@ "@babel/preset-env": "^7.15.4", "@babel/preset-react": "^7.14.0", "babel-loader": "^8.2.2", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "core-js": "^3.17.2", "cross-env": "^7.0.3", "css-loader": "^6.2.0", diff --git a/packages/gatsby-legacy-polyfills/package.json b/packages/gatsby-legacy-polyfills/package.json index e6283e569e682..2233cfa62c813 100644 --- a/packages/gatsby-legacy-polyfills/package.json +++ b/packages/gatsby-legacy-polyfills/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-legacy-polyfills", "description": "Polyfills for legacy browsers", - "version": "2.5.0-next.0", + "version": "2.6.0-next.0", "main": "dist/polyfills.js", "author": "Ward Peeters <[email protected]>", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-legacy-polyfills#readme", diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index b9b7245f92e0e..9b59297cfda35 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-link", "description": "An enhanced Link component for Gatsby sites with support for resource prefetching", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@testing-library/react": "^11.2.7", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-page-utils/package.json b/packages/gatsby-page-utils/package.json index b6362b947a04f..056ab2c5ee88d 100644 --- a/packages/gatsby-page-utils/package.json +++ b/packages/gatsby-page-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-page-utils", - "version": "2.5.0-next.3", + "version": "2.6.0-next.0", "description": "Gatsby library that helps creating pages", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -26,7 +26,7 @@ "bluebird": "^3.7.2", "chokidar": "^3.5.2", "fs-exists-cached": "^1.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "glob": "^7.2.0", "lodash": "^4.17.21", "micromatch": "^4.0.4" @@ -35,7 +35,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@types/micromatch": "^4.0.2", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.5.4" diff --git a/packages/gatsby-plugin-benchmark-reporting/package.json b/packages/gatsby-plugin-benchmark-reporting/package.json index 95ff359ce0061..1664c73a8f8f6 100644 --- a/packages/gatsby-plugin-benchmark-reporting/package.json +++ b/packages/gatsby-plugin-benchmark-reporting/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-benchmark-reporting", "description": "Gatsby Benchmark Reporting", - "version": "2.5.0-next.3", + "version": "2.6.0-next.0", "author": "Peter van der Zee <pvdz@github>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,12 +16,12 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0" + "babel-preset-gatsby-package": "^2.6.0-next.0" }, "dependencies": { "@babel/runtime": "^7.15.4", "fast-glob": "^3.2.7", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "node-fetch": "^2.6.6" }, "scripts": { diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json index a44b980da28d2..c2af70db7978f 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-canonical-urls", "description": "Add canonical links to HTML pages Gatsby generates.", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-canonical-urls#readme", diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json index 3b10f90e1ed29..528795ab1832a 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-catch-links", "description": "Intercepts local links from markdown and other non-react pages and does a client-side pushState to avoid the browser having to refresh the page.", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links#readme", diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json index 6344a2829c7de..8f416b27a23f7 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-coffeescript", "description": "Adds CoffeeScript support for Gatsby", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-coffeescript#readme", diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json index d874769cd5767..7123bd879596b 100644 --- a/packages/gatsby-plugin-create-client-paths/package.json +++ b/packages/gatsby-plugin-create-client-paths/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-create-client-paths", "description": "Gatsby-plugin for creating paths that exist only on the client", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-create-client-paths#readme", diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json index 13f49e4c62b0d..62ba0fc2847d2 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-cxs", "description": "Gatsby plugin to add SSR support for ctx", - "version": "4.5.0-next.1", + "version": "4.6.0-next.0", "author": "Chen-Tai Hou <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,10 +12,10 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "cxs": "^6.2.0", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-cxs#readme", "keywords": [ diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json index 208c0e870fed5..4a4e9fc317f60 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-emotion", "description": "Gatsby plugin to add support for Emotion", - "version": "7.5.0-next.0", + "version": "7.6.0-next.0", "author": "Tegan Churchill <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json index d9afe24d06fff..6f452b3c0554a 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-facebook-analytics", "description": "Gatsby plugin to add facebook analytics onto a site", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Yeison Daza <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-facebook-analytics#readme", diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index 24c6159aa28a3..16f0d7261c4d5 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-feed", "description": "Creates an RSS feed for your Gatsby site.", - "version": "4.5.0-next.1", + "version": "4.6.0-next.0", "author": "Nicholas Young <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -11,14 +11,14 @@ "@hapi/joi": "^15.1.1", "common-tags": "^1.8.2", "fs-extra": "^10.0.0", - "gatsby-plugin-utils": "^2.5.0-next.1", + "gatsby-plugin-utils": "^2.6.0-next.0", "lodash.merge": "^4.6.2", "rss": "^1.2.2" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-feed#readme", diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json index 002189284939c..a4154ff1e2613 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-flow", - "version": "3.5.0-next.1", + "version": "3.6.0-next.0", "description": "Provides drop-in support for Flow by adding @babel/preset-flow.", "main": "index.js", "scripts": { @@ -30,9 +30,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "peerDependencies": { "gatsby": "^4.0.0-next" diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index 5e4c79269bbda..69977c555b08e 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-fullstory", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "description": "Plugin to add the tracking code for Fullstory.com", "main": "index.js", "scripts": { @@ -29,7 +29,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json index 68b56cb4f6786..df22c755ef4ca 100644 --- a/packages/gatsby-plugin-gatsby-cloud/package.json +++ b/packages/gatsby-plugin-gatsby-cloud/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-gatsby-cloud", "description": "A Gatsby plugin which optimizes working with Gatsby Cloud", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,8 +10,8 @@ "@babel/runtime": "^7.15.4", "date-fns": "^2.28.0", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-telemetry": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-telemetry": "^3.6.0-next.0", "kebab-hash": "^0.1.2", "lodash": "^4.17.21", "webpack-assets-manifest": "^5.0.6" @@ -23,7 +23,7 @@ "@testing-library/jest-dom": "^5.16.1", "@testing-library/react": "^11.2.7", "@testing-library/user-event": "^13.5.0", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cpy-cli": "^3.1.1", "cross-env": "^7.0.3", "del-cli": "^3.0.1", diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index 5e96a7770de04..aa9108f1ad6c4 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-analytics", "description": "Gatsby plugin to add google analytics onto a site", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@testing-library/react": "^11.2.7", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics#readme", diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json index cfd6e0ffd8550..b31e4da1688c8 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-gtag", "description": "Gatsby plugin to add google gtag onto a site", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Tyler Buchea <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-gtag#readme", diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index e333e1434e141..309842352b65c 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-google-tagmanager", "description": "Gatsby plugin to add google tagmanager onto a site", - "version": "4.5.0-next.1", + "version": "4.6.0-next.0", "author": "Thijs Koerselman <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,9 +13,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager#readme", "keywords": [ diff --git a/packages/gatsby-plugin-graphql-config/package.json b/packages/gatsby-plugin-graphql-config/package.json index 2719bcc0eecf9..c0c638bdeb8f4 100644 --- a/packages/gatsby-plugin-graphql-config/package.json +++ b/packages/gatsby-plugin-graphql-config/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-graphql-config", "description": "Gatsby plugin to write out a graphql-config with develop process endpoint configured", - "version": "1.5.0-next.0", + "version": "1.6.0-next.0", "author": "Rikki Schulte <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index 664456d6d1290..5143c9e98a0cd 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-image", - "version": "2.5.0-next.3", + "version": "2.6.0-next.0", "scripts": { "build": "npm-run-all -s clean -p build:*", "build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src", @@ -77,12 +77,12 @@ "@babel/runtime": "^7.15.4", "@babel/traverse": "^7.15.4", "babel-jsx-utils": "^1.1.0", - "babel-plugin-remove-graphql-queries": "^4.5.0-next.3", + "babel-plugin-remove-graphql-queries": "^4.6.0-next.0", "camelcase": "^5.3.1", "chokidar": "^3.5.2", "common-tags": "^1.8.2", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "objectFitPolyfill": "^2.3.5", "prop-types": "^15.7.2" }, diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 750c919fa7321..f1ee062175a96 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-jss", "description": "Gatsby plugin that adds SSR support for JSS", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Vladimir Guguiev <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-jss#readme", diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json index d0902c0d9a2fc..532caaef91bfe 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-layout", - "version": "3.5.0-next.0", + "version": "3.6.0-next.0", "description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.", "main": "index.js", "scripts": { @@ -29,7 +29,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json index 0efcc1b6ecc38..5155564002a5f 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-less", "description": "Gatsby plugin to add support for using Less", - "version": "6.5.0-next.1", + "version": "6.6.0-next.0", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-less#readme", diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index 95873806213e1..d6e5ed420fc38 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-lodash", "description": "Easy modular Lodash builds. Adds the Lodash webpack & Babel plugins to your Gatsby build", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-lodash#readme", diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index f1071ab75e09d..ebaa9064a5de5 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -1,22 +1,22 @@ { "name": "gatsby-plugin-manifest", "description": "Gatsby plugin which adds a manifest.webmanifest to make sites progressive web apps", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-plugin-utils": "^2.5.0-next.1", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-plugin-utils": "^2.6.0-next.0", "semver": "^7.3.5", "sharp": "^0.29.3" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-manifest#readme", diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json index 25c49566ea4c9..59bfff60202f6 100644 --- a/packages/gatsby-plugin-mdx/package.json +++ b/packages/gatsby-plugin-mdx/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-mdx", - "version": "3.5.0-next.3", + "version": "3.6.0-next.0", "description": "MDX integration for Gatsby", "main": "index.js", "license": "MIT", @@ -37,7 +37,7 @@ "escape-string-regexp": "^1.0.5", "eval": "^0.1.4", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "gray-matter": "^4.0.2", "json5": "^2.1.3", "loader-utils": "^1.4.0", @@ -63,7 +63,7 @@ "devDependencies": { "@mdx-js/mdx": "^1.6.16", "@mdx-js/react": "^1.6.16", - "gatsby-plugin-utils": "^2.5.0-next.1", + "gatsby-plugin-utils": "^2.6.0-next.0", "js-combinatorics": "^1.4.5", "react-test-renderer": "^16.13.1" }, diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index e19da9e879026..fa2d44f5fd143 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-netlify-cms", "description": "A Gatsby plugin which generates the Netlify CMS single page app", - "version": "6.5.0-next.1", + "version": "6.6.0-next.0", "author": "Shawn Erquhart <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -20,7 +20,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "react": "^16.12.0", "react-dom": "^16.12.0" diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json index 1ae68ecb125c3..384fb4a4566c8 100644 --- a/packages/gatsby-plugin-no-sourcemaps/package.json +++ b/packages/gatsby-plugin-no-sourcemaps/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-no-sourcemaps", "description": "Disable sourcemaps when building JavaScript", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Stuart Taylor <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json index dd77b4b080c2f..f9023bb4d82ca 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-nprogress", "description": "Shows page loading indicator when loading page resources is delayed", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews<[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-nprogress#readme", diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index 71a66b2744e3c..30f45a3b43730 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-offline", "description": "Gatsby plugin which sets up a site to be able to run offline", - "version": "5.5.0-next.4", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -9,7 +9,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "cheerio": "^1.0.0-rc.10", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "glob": "^7.2.0", "idb-keyval": "^3.2.0", "lodash": "^4.17.21", @@ -18,10 +18,10 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cpy-cli": "^3.1.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1", + "gatsby-plugin-utils": "^2.6.0-next.0", "rewire": "^6.0.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline#readme", diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index 48abacdfda37d..3def501975aaa 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-page-creator", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "description": "Gatsby plugin that automatically creates pages from React components in specified directories", "main": "index.js", "scripts": { @@ -29,17 +29,17 @@ "@sindresorhus/slugify": "^1.1.2", "chokidar": "^3.5.2", "fs-exists-cached": "^1.0.0", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-page-utils": "^2.5.0-next.3", - "gatsby-plugin-utils": "^2.5.0-next.1", - "gatsby-telemetry": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-page-utils": "^2.6.0-next.0", + "gatsby-plugin-utils": "^2.6.0-next.0", + "gatsby-telemetry": "^3.6.0-next.0", "globby": "^11.0.4", "lodash": "^4.17.21" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json index 06303a086e1a4..c88a9df43ac86 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-postcss", "description": "Gatsby plugin to handle PostCSS", - "version": "5.5.0-next.1", + "version": "5.6.0-next.0", "author": "Marat Dreizin <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-postcss#readme", diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index f018ffef09eec..3a03acfc640fd 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preact", "description": "A Gatsby plugin which replaces React with Preact", - "version": "6.5.0-next.1", + "version": "6.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,7 +16,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@pmmmwh/react-refresh-webpack-plugin": "^0.4.3", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "preact": "^10.6.4" }, diff --git a/packages/gatsby-plugin-preload-fonts/package.json b/packages/gatsby-plugin-preload-fonts/package.json index a660fe5c8809e..4bf2be202c316 100644 --- a/packages/gatsby-plugin-preload-fonts/package.json +++ b/packages/gatsby-plugin-preload-fonts/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preload-fonts", "description": "Gatsby plugin for preloading fonts per page", - "version": "3.5.0-next.3", + "version": "3.6.0-next.0", "author": "Aaron Ross <[email protected]>", "main": "index.js", "bin": { @@ -15,7 +15,7 @@ "chalk": "^4.1.2", "date-fns": "^2.25.0", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "graphql-request": "^1.8.2", "progress": "^2.0.3", "puppeteer": "^3.3.0" @@ -23,7 +23,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "del-cli": "^3.0.1" }, diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index 7b4b456f7a6bd..3d3432d72518d 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-css-modules", "description": "Gatsby plugin that transforms styleName to className using compile time CSS module resolution", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Ming Aldrich-Gan <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules#readme", diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index e0aca8942111e..9c9f2006fd808 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-helmet", "description": "Manage document head data with react-helmet. Provides drop-in server rendering support for Gatsby.", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet#readme", diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json index 0621f8934a3a9..4b8fec021c056 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/package.json +++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-remove-trailing-slashes", "description": "Removes trailing slashes from your project's paths. For example, yoursite.com/about/ becomes yoursite.com/about", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "[email protected]", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-remove-trailing-slashes#readme", diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json index fe66396172774..f889bbdcec026 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sass", "description": "Gatsby plugin to handle SCSS/Sass files", - "version": "5.5.0-next.2", + "version": "5.6.0-next.0", "author": "Daniel Farrell <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,9 +15,9 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "autoprefixer": "^10.4.1", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sass#readme", "keywords": [ diff --git a/packages/gatsby-plugin-schema-snapshot/package.json b/packages/gatsby-plugin-schema-snapshot/package.json index e7a8cccf8d6e3..9d3acedc09ec1 100644 --- a/packages/gatsby-plugin-schema-snapshot/package.json +++ b/packages/gatsby-plugin-schema-snapshot/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-schema-snapshot", - "version": "3.5.0-next.0", + "version": "3.6.0-next.0", "main": "index.js", "license": "MIT", "keywords": [ diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index d61679519db9f..275785ceef416 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sharp", "description": "Wrapper of the Sharp image manipulation library for Gatsby plugins", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,9 +12,9 @@ "bluebird": "^3.7.2", "filenamify": "^4.3.0", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-plugin-utils": "^2.5.0-next.1", - "gatsby-telemetry": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-plugin-utils": "^2.6.0-next.0", + "gatsby-telemetry": "^3.6.0-next.0", "got": "^11.8.3", "lodash": "^4.17.21", "mini-svg-data-uri": "^1.4.3", @@ -30,9 +30,9 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@types/sharp": "^0.29.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^2.5.0-next.3" + "gatsby-plugin-image": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp#readme", "keywords": [ diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index 18f4411363e52..afd2c7877da44 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sitemap", "description": "Gatsby plugin that automatically creates a sitemap for your site", - "version": "5.5.0-next.1", + "version": "5.6.0-next.0", "contributors": [ "Alex Moon <[email protected]>", "Nicholas Young <[email protected]>" @@ -18,9 +18,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap#readme", "keywords": [ diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index 9341b8a145e6c..83d59c207e319 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styled-components", "description": "Gatsby plugin to add support for styled components", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Guten Ye <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-components#readme", diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json index 17e0c4ad92a28..90b7770bc4583 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styled-jsx", "description": "Adds SSR support for styled-jsx", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Tim Suchanek <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-jsx#readme", diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index 2cbc7588546ea..964de9573d83e 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-styletron", "description": "A Gatsby plugin for styletron with built-in server-side rendering support", - "version": "7.5.0-next.0", + "version": "7.6.0-next.0", "author": "Nadiia Dmytrenko <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "styletron-engine-atomic": "^1.4.8", "styletron-react": "^6.0.2" diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json index ea4cc2be39dbb..4442d0e37add6 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-stylus", "description": "Gatsby support for Stylus", - "version": "4.5.0-next.1", + "version": "4.6.0-next.0", "author": "Ian Sinnott <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-stylus#readme", diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index e514c05eeacf5..334e2b028b68c 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-subfont", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "description": "Runs the font delivery optimizing CLI tool subfont on the homepage of your site during the Gatsby build", "main": "index.js", "scripts": { @@ -30,7 +30,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json index c8506bb4ac9c8..2dbdf267dcf30 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-twitter", "description": "Loads the Twitter JavaScript for embedding tweets.", - "version": "4.5.0-next.1", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,9 +12,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-twitter#readme", "keywords": [ diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index 5e28f7c88d829..709bf51b3e3c4 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typescript", "description": "Adds TypeScript support to Gatsby", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,12 +16,12 @@ "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/preset-typescript": "^7.15.0", "@babel/runtime": "^7.15.4", - "babel-plugin-remove-graphql-queries": "^4.5.0-next.3" + "babel-plugin-remove-graphql-queries": "^4.6.0-next.0" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index 2c866394ec2e3..caddde8f7b4fa 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typography", "description": "Gatsby plugin to setup server rendering of Typography.js' CSS", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "react": "^16.12.0", "react-dom": "^16.12.0", diff --git a/packages/gatsby-plugin-utils/package.json b/packages/gatsby-plugin-utils/package.json index d74454dd1f517..f03bd18d2ab37 100644 --- a/packages/gatsby-plugin-utils/package.json +++ b/packages/gatsby-plugin-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-utils", - "version": "2.5.0-next.1", + "version": "2.6.0-next.0", "description": "Gatsby utils that help creating plugins", "main": "dist/index.js", "scripts": { @@ -27,7 +27,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.5.4" diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 75499d349b5b5..e503138417688 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-react-router-scroll", "description": "React Router scroll management forked from https://github.com/ytase/react-router-scroll for Gatsby", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Jimmy Jia", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "babel-plugin-dev-expression": "^0.2.3", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "history": "^5.0.1" }, diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index dc721d87da4a9..8ae331485e19b 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-autolink-headers", "description": "Gatsby plugin to autolink headers in markdown processed by Remark", - "version": "5.5.0-next.1", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,9 +16,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-autolink-headers#readme", "keywords": [ diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json index e4062b41800f1..e1c0d9d270da0 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-code-repls", "description": "Gatsby plugin to auto-generate links to popular REPLs like Babel and Codepen", - "version": "6.5.0-next.0", + "version": "6.6.0-next.0", "author": "Brian Vaughn <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-code-repls#readme", diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index 3bee3d885e9e7..7864dfc636ba2 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-copy-linked-files", "description": "Find files which are linked to from markdown and copy them to the public directory", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -19,7 +19,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "remark": "^13.0.0", "remark-mdx": "^1.6.22" diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json index 7bd4723b02b3e..2d4e63d54e148 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-custom-blocks", "description": "Gatsby remark plugin for adding custom blocks in markdown", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Mohammad Asad Mohammad <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "unist-util-find": "^1.0.2" diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json index 28a64a3432ebe..1a5c111fb298b 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-embed-snippet", "description": "Gatsby plugin to embed formatted code snippets within markdown", - "version": "7.5.0-next.0", + "version": "7.6.0-next.0", "author": "Brian Vaughn <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-embed-snippet#readme", diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json index e13e49a2b6e00..a0c2db036641a 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-graphviz", "description": "Processes graphviz code blocks and renders to SVG using viz.js", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Anthony Marcar <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "hast-util-to-html": "^7.1.3", "mdast-util-to-hast": "^10.2.0", diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index f940d02c7a4b5..d621c73d9b8a5 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-remark-images-contentful", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "description": "Process Images in Contentful markdown so they can use the images API.", "main": "index.js", "scripts": { @@ -28,7 +28,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json index 1f29eb4bf6766..bd20255328ea2 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-images", "description": "Processes images in markdown so they can be used in the production build.", - "version": "6.5.0-next.3", + "version": "6.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,7 +10,7 @@ "@babel/runtime": "^7.15.4", "chalk": "^4.1.2", "cheerio": "^1.0.0-rc.10", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "is-relative-url": "^3.0.0", "lodash": "^4.17.21", "mdast-util-definitions": "^4.0.0", @@ -22,9 +22,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1", + "gatsby-plugin-utils": "^2.6.0-next.0", "hast-util-to-html": "^7.1.3", "mdast-util-to-hast": "^10.2.0" }, diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json index 92a7acb3cf635..d6f75d9802877 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-katex", "description": "Transform math nodes to html markup", - "version": "6.5.0-next.0", + "version": "6.6.0-next.0", "author": "Jeffrey Xiao <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,7 +16,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "katex": "^0.13.18", "remark": "^13.0.0" diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index 30723a598c767..17be295dba522 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-prismjs", "description": "Adds syntax highlighting to code blocks at build time using PrismJS", - "version": "6.5.0-next.1", + "version": "6.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cheerio": "^1.0.0-rc.10", "cross-env": "^7.0.3", "prismjs": "^1.21.0", diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index 760abbba5b978..1f913c793198a 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-responsive-iframe", "description": "Make iframes in Markdown processed by Remark responsive", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -16,7 +16,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "remark": "^13.0.0", "remark-mdx": "^1.6.22", diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json index 2772a0626077b..5261ef3c0432f 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-remark-smartypants", "description": "Use retext-smartypants to auto-enhance typography of markdown", - "version": "5.5.0-next.0", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-smartypants#readme", diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index 7d786abe83e4a..9fd5f4064bd80 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-contentful", "description": "Gatsby source plugin for building websites using the Contentful CMS as a data source", - "version": "7.3.0-next.5", + "version": "7.4.0-next.0", "author": "Marcus Ericsson <[email protected]> (mericsson.com)", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -17,9 +17,9 @@ "common-tags": "^1.8.2", "contentful": "^8.5.8", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-plugin-utils": "^2.5.0-next.1", - "gatsby-source-filesystem": "^4.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-plugin-utils": "^2.6.0-next.0", + "gatsby-source-filesystem": "^4.6.0-next.0", "is-online": "^8.5.1", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.21", @@ -31,7 +31,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "nock": "^13.2.1" }, diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index e14248dacd948..c864a7dc21373 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-drupal", "description": "Gatsby source plugin for building websites using the Drupal CMS as a data source", - "version": "5.5.0-next.3", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "bluebird": "^3.7.2", "body-parser": "^1.19.1", "fastq": "^1.13.0", - "gatsby-source-filesystem": "^4.5.0-next.3", + "gatsby-source-filesystem": "^4.6.0-next.0", "got": "^11.8.3", "http2-wrapper": "^2.1.10", "lodash": "^4.17.21", @@ -24,7 +24,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json index 8e15d1eac17f6..a284961f4a210 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-faker", "description": "A gatsby plugin to get fake data for testing", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Pavithra Kodmad<[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-faker#readme", diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index e182bc1010f28..33b84e90e0b62 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-filesystem", "description": "Gatsby source plugin for building websites from local data. Markdown, JSON, images, YAML, CSV, and dozens of other data types supported.", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,7 +12,7 @@ "fastq": "^1.13.0", "file-type": "^16.5.3", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "got": "^9.6.0", "md5-file": "^5.0.0", "mime": "^2.5.2", @@ -24,7 +24,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem#readme", diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json index 584dc05391516..d00a8d0908a9a 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-graphql", "description": "Gatsby plugin which adds a third-party GraphQL API to Gatsby GraphQL", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Mikhail Novikov <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,14 +14,14 @@ "apollo-link": "1.2.14", "apollo-link-http": "^1.5.17", "dataloader": "^2.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "invariant": "^2.2.4", "node-fetch": "^2.6.6" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-graphql#readme", diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json index f57ac0740e6c2..ed821f2d4adce 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-hacker-news", "description": "Gatsby source plugin for building websites using Hacker News as a data source", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-hacker-news#readme", diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json index 96d51a1426b01..c71029de09a99 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-lever", "description": "Gatsby source plugin for building websites using the Lever.co Recruitment Software as a data source.", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Sebastien Fichot <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -20,7 +20,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-lever#readme", diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json index c4e34e34e9ae2..ade0a99763960 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-medium", "description": "Gatsby source plugin for building websites using Medium as a data source", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Robert Vogt <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-medium#readme", diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json index 2576770b90962..e2bd58b36addf 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-mongodb", "description": "Source plugin for pulling data into Gatsby from MongoDB collections", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "authors": [ "[email protected]", "[email protected]" @@ -19,7 +19,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-mongodb#readme", diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json index fc23cf133e80b..c596e5d4cbd6d 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-npm-package-search", "description": "Search NPM packages and pull NPM & GitHub metadata from Algolia's NPM index", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "[email protected]", "repository": { "type": "git", @@ -17,7 +17,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-source-shopify/package.json b/packages/gatsby-source-shopify/package.json index 06f22007ada12..c665cdddc9450 100644 --- a/packages/gatsby-source-shopify/package.json +++ b/packages/gatsby-source-shopify/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-shopify", - "version": "6.5.0-next.3", + "version": "6.6.0-next.0", "description": "Gatsby source plugin for building websites using Shopify as a data source.", "scripts": { "watch": "tsc-watch --outDir .", @@ -20,9 +20,9 @@ "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-shopify#readme", "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-plugin-utils": "^2.5.0-next.1", - "gatsby-source-filesystem": "^4.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-plugin-utils": "^2.6.0-next.0", + "gatsby-source-filesystem": "^4.6.0-next.0", "node-fetch": "^2.6.6", "sharp": "^0.29.3", "shift-left": "^0.1.5" @@ -32,7 +32,7 @@ "@types/node-fetch": "^2.5.12", "@types/sharp": "^0.29.5", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^2.5.0-next.3", + "gatsby-plugin-image": "^2.6.0-next.0", "msw": "^0.35.0", "prettier": "^2.5.1", "prettier-check": "^2.0.0", diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json index f47a0b1efa4a1..be2d515fe5c09 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-wikipedia", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "description": "Gatsby source plugin for pulling articles from Wikipedia", "main": "index.js", "scripts": { @@ -37,7 +37,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index 3bcb7c5605140..3e707e013a8be 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -2,7 +2,7 @@ "name": "gatsby-source-wordpress", "description": "Source data from WordPress in an efficient and scalable way.", "author": "Tyler Barnes <[email protected]>", - "version": "6.5.0-next.3", + "version": "6.6.0-next.0", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, @@ -28,9 +28,9 @@ "file-type": "^15.0.1", "filesize": "^6.4.0", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-plugin-catch-links": "^4.5.0-next.0", - "gatsby-source-filesystem": "^4.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-plugin-catch-links": "^4.6.0-next.0", + "gatsby-source-filesystem": "^4.6.0-next.0", "glob": "^7.2.0", "got": "^11.8.3", "lodash": "^4.17.21", @@ -53,10 +53,10 @@ "@types/semver": "^7.3.9", "babel-plugin-import-globals": "^2.0.0", "babel-plugin-module-resolver": "4.1.0", - "babel-preset-gatsby": "^2.5.0-next.3", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby": "^2.6.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^2.5.0-next.3", + "gatsby-plugin-image": "^2.6.0-next.0", "identity-obj-proxy": "^3.0.0", "react-test-renderer": "^16.14.0", "rimraf": "^3.0.2", diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 13eb85d1af743..a40651e39ab41 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-telemetry", "description": "Gatsby Telemetry", - "version": "3.5.0-next.3", + "version": "3.6.0-next.0", "author": "Jarmo Isotalo <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "boxen": "^4.2.0", "configstore": "^5.0.1", "fs-extra": "^10.0.0", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "git-up": "^4.0.5", "is-docker": "^2.2.1", "lodash": "^4.17.21", @@ -24,7 +24,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.5.4" diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json index 1d74624e0062b..b9db4beebed65 100644 --- a/packages/gatsby-transformer-asciidoc/package.json +++ b/packages/gatsby-transformer-asciidoc/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-asciidoc", "description": "Gatsby transformer plugin for Asciidocs using the Asciidoctor.js library", - "version": "3.5.0-next.0", + "version": "3.6.0-next.0", "author": "Daniel Oliver <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "lodash": "^4.17.21" }, diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json index 4c02b8fc46459..c404e5988ef7b 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-csv", "description": "Gatsby transformer plugin for CSV files", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Sonal Saldanha <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "json2csv": "^5.0.6" }, diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json index 940f23e081612..9c375d73126d1 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-documentationjs", "description": "Gatsby transformer plugin which uses Documentation.js to extract JavaScript documentation", - "version": "6.5.0-next.0", + "version": "6.6.0-next.0", "author": "Kyle Mathews", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-documentationjs#readme", diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json index a14df58a79942..46cc0331fb796 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-excel", "description": "Gatsby transformer plugin for Excel spreadsheets", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "SheetJS <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-excel#readme", diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json index 00e0a6f1e3832..e1523cc90686d 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-hjson", "description": "Gatsby transformer plugin for HJSON files", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Remi Barraquand <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-hjson#readme", diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json index 4a3d335f71314..b60cbb9fb0d4b 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-javascript-frontmatter", "description": "Gatsby transformer plugin for JavaScript to extract exports.frontmatter statically.", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Jacob Bolda <[email protected]>", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-frontmatter#readme", "dependencies": { @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json index 1dc1eaa4e0e60..f28b6fb7d1f36 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-javascript-static-exports", "description": "Gatsby transformer plugin for JavaScript to extract exports.data statically.", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Jacob Bolda <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-static-exports#readme", diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json index 34bf252e8daf2..f3df574337f2b 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-json", "description": "Gatsby transformer plugin for JSON files", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-json#readme", diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json index 6d71eb853defc..d46d094f9ca57 100644 --- a/packages/gatsby-transformer-pdf/package.json +++ b/packages/gatsby-transformer-pdf/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-pdf", "description": "Gatsby transformer plugin for pdf files", - "version": "3.5.0-next.0", + "version": "3.6.0-next.0", "author": "Alex Munoz <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-pdf#readme", diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json index d4a076119612f..c57ae8cc15ce1 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-react-docgen", "description": "Expose React component metadata and prop information as GraphQL types", - "version": "7.5.0-next.0", + "version": "7.6.0-next.0", "author": "Jason Quense <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -17,7 +17,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "lodash": "^4.17.21" }, diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json index 138502654c3f6..9dad976fb7cbe 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -1,14 +1,14 @@ { "name": "gatsby-transformer-remark", "description": "Gatsby transformer plugin for Markdown using the Remark library and ecosystem", - "version": "5.5.0-next.3", + "version": "5.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { "@babel/runtime": "^7.15.4", - "gatsby-core-utils": "^3.5.0-next.3", + "gatsby-core-utils": "^3.6.0-next.0", "gray-matter": "^4.0.3", "hast-util-raw": "^6.0.2", "hast-util-to-html": "^7.1.3", @@ -33,9 +33,9 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^2.5.0-next.1" + "gatsby-plugin-utils": "^2.6.0-next.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark#readme", "keywords": [ diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index 80d3841bd19e0..837d804ed0417 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-screenshot", "description": "Gatsby transformer plugin that uses AWS Lambda to take screenshots of websites", - "version": "4.5.0-next.2", + "version": "4.6.0-next.0", "author": "Cassandra Beckley <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-screenshot#readme", diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 16ee43658a9c7..dfa08aa7b3d1c 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-sharp", "description": "Gatsby transformer plugin for images using Sharp", - "version": "4.5.0-next.1", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -20,7 +20,7 @@ "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", "@types/sharp": "^0.29.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-sharp#readme", diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index f9e52b8b56a70..98f7d935732f7 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-sqip", "description": "Generates geometric primitive version of images", - "version": "4.5.0-next.3", + "version": "4.6.0-next.0", "author": "Benedikt Rötsch <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -9,7 +9,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "fs-extra": "^10.0.0", - "gatsby-plugin-sharp": "^4.5.0-next.3", + "gatsby-plugin-sharp": "^4.6.0-next.0", "md5-file": "^5.0.0", "mini-svg-data-uri": "^1.4.3", "p-queue": "^6.6.2", @@ -18,7 +18,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "debug": "^4.3.3" }, diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json index 9c4d7c2cb3816..941450b498052 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-toml", "description": "Gatsby transformer plugin for toml", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Ruben Harutyunyan <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-toml#readme", diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json index 02dfb9b6708bd..8ad5ad7b6218e 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-xml", "description": "Gatsby plugin for parsing XML files. It supports also attributes", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-xml#readme", diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json index 7da16c3d3e6b4..57061ab86a504 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-yaml", "description": "Gatsby transformer plugin for yaml", - "version": "4.5.0-next.0", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -15,7 +15,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.5", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-yaml#readme", diff --git a/packages/gatsby-worker/package.json b/packages/gatsby-worker/package.json index 0c937fd59f8e9..fb6ed0f05c468 100644 --- a/packages/gatsby-worker/package.json +++ b/packages/gatsby-worker/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-worker", "description": "Utility to create worker pools", - "version": "1.5.0-next.1", + "version": "1.6.0-next.0", "author": "Michal Piechowiak<[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,7 +13,7 @@ "devDependencies": { "@babel/cli": "^7.15.4", "@babel/register": "^7.15.3", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.5.4" diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 2784bf399f531..cd97c51557043 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "4.5.0-next.5", + "version": "4.6.0-next.0", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./cli.js" @@ -34,8 +34,8 @@ "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-lodash": "^3.3.4", - "babel-plugin-remove-graphql-queries": "^4.5.0-next.3", - "babel-preset-gatsby": "^2.5.0-next.3", + "babel-plugin-remove-graphql-queries": "^4.6.0-next.0", + "babel-preset-gatsby": "^2.6.0-next.0", "better-opn": "^2.1.1", "bluebird": "^3.7.2", "body-parser": "^1.19.0", @@ -77,17 +77,17 @@ "find-cache-dir": "^3.3.2", "fs-exists-cached": "1.0.0", "fs-extra": "^10.0.0", - "gatsby-cli": "^4.5.0-next.3", - "gatsby-core-utils": "^3.5.0-next.3", - "gatsby-graphiql-explorer": "^2.5.0-next.0", - "gatsby-legacy-polyfills": "^2.5.0-next.0", - "gatsby-link": "^4.5.0-next.0", - "gatsby-plugin-page-creator": "^4.5.0-next.3", - "gatsby-plugin-typescript": "^4.5.0-next.3", - "gatsby-plugin-utils": "^2.5.0-next.1", - "gatsby-react-router-scroll": "^5.5.0-next.0", - "gatsby-telemetry": "^3.5.0-next.3", - "gatsby-worker": "^1.5.0-next.1", + "gatsby-cli": "^4.6.0-next.0", + "gatsby-core-utils": "^3.6.0-next.0", + "gatsby-graphiql-explorer": "^2.6.0-next.0", + "gatsby-legacy-polyfills": "^2.6.0-next.0", + "gatsby-link": "^4.6.0-next.0", + "gatsby-plugin-page-creator": "^4.6.0-next.0", + "gatsby-plugin-typescript": "^4.6.0-next.0", + "gatsby-plugin-utils": "^2.6.0-next.0", + "gatsby-react-router-scroll": "^5.6.0-next.0", + "gatsby-telemetry": "^3.6.0-next.0", + "gatsby-worker": "^1.6.0-next.0", "glob": "^7.2.0", "got": "^11.8.2", "graphql": "^15.7.2", @@ -174,7 +174,7 @@ "@types/string-similarity": "^4.0.0", "@types/tmp": "^0.2.0", "@types/webpack-virtual-modules": "^0.1.1", - "babel-preset-gatsby-package": "^2.5.0-next.0", + "babel-preset-gatsby-package": "^2.6.0-next.0", "copyfiles": "^2.3.0", "cross-env": "^7.0.3", "documentation": "^13.1.0",
c5e0786562c60e1e6ca82063c09ac6377fd85cf0
2019-10-03 15:14:08
renovate[bot]
chore: update dependency flow-bin to ^0.109.0 (#18049)
false
update dependency flow-bin to ^0.109.0 (#18049)
chore
diff --git a/package.json b/package.json index b39f62aec8543..f222a9d7d234f 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-react": "^7.15.1", - "flow-bin": "^0.108.0", + "flow-bin": "^0.109.0", "fs-extra": "^8.1.0", "glob": "^7.1.4", "husky": "3.0.7", diff --git a/yarn.lock b/yarn.lock index 7705f32a84b07..e4a16d615c3d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8688,10 +8688,10 @@ flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" -flow-bin@^0.108.0: - version "0.108.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.108.0.tgz#6a42c85fd664d23dd937d925851e8e6ab5d71393" - integrity sha512-hPEyCP1J8rdhNDfCAA5w7bN6HUNBDcHVg/ABU5JVo0gUFMx+uRewpyEH8LlLBGjVQuIpbaPpaqpoaQhAVyaYww== +flow-bin@^0.109.0: + version "0.109.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.109.0.tgz#dcdcb7402dd85b58200392d8716ccf14e5a8c24c" + integrity sha512-tpcMTpAGIRivYhFV3KJq+zHI2HzcXo8MoGe9pXS4G/UZuey2Faq/e8/gdph2WF0erRlML5hmwfwiq7v9c25c7w== flow-parser@0.*: version "0.105.2"
bd76b0ab55a5ba17e3309b9d0eaa5b138c5e6d9b
2019-09-24 20:21:54
Michal Piechowiak
test(gatsby): add some tests for query running caching (#17813)
false
add some tests for query running caching (#17813)
test
diff --git a/packages/gatsby/src/db/loki/index.js b/packages/gatsby/src/db/loki/index.js index 4cd1426383bac..e7b394663a4c3 100644 --- a/packages/gatsby/src/db/loki/index.js +++ b/packages/gatsby/src/db/loki/index.js @@ -61,7 +61,7 @@ function ensureNodeCollections(db) { }) } -function startFileDb(saveFile) { +function startFileDb({ saveFile, lokiDBOptions = {} }) { return new Promise((resolve, reject) => { const dbOptions = { autoload: true, @@ -72,6 +72,7 @@ function startFileDb(saveFile) { resolve() } }, + ...lokiDBOptions, } db = new loki(saveFile, dbOptions) }) @@ -94,14 +95,14 @@ async function startInMemory() { * the existing state has been loaded (if there was an existing * saveFile) */ -async function start({ saveFile } = {}) { +async function start({ saveFile, lokiDBOptions } = {}) { if (saveFile && !_.isString(saveFile)) { throw new Error(`saveFile must be a path`) } if (saveFile) { const saveDir = path.dirname(saveFile) await fs.ensureDir(saveDir) - await startFileDb(saveFile) + await startFileDb({ saveFile, lokiDBOptions }) } else { await startInMemory() } diff --git a/packages/gatsby/src/query/__tests__/data-tracking.js b/packages/gatsby/src/query/__tests__/data-tracking.js new file mode 100644 index 0000000000000..e4845556a8d15 --- /dev/null +++ b/packages/gatsby/src/query/__tests__/data-tracking.js @@ -0,0 +1,971 @@ +/** + * This test suite assert correctness of caching query results. + * + * It checks if: + * - gatsby will run all expected queries when running with empty cache + * - gatsby will rerun queries that should be invalidated + * - gatsby will NOT run any unneeded queries (if it reuses cached queries) + * Usual test structure: + * - sanity check that gatsby runs all queries after cache is cleaned + * - changing single node, rerunning queries and asserting only expected queries were run + * - without restarting gatsby process (relying on in-memory cache) + * - with restarting gatsby process (relying on data loaded from persisted cache) + * + * Tests rely on query running adding data dependencies on top level connection and single fields correctly + * (asserting correctness of this is not part of this test suite). + * + * Mocked systems: + * - fs-extra (to not write query results to filesystem) + * - reporter (to not spam output of test runner) + * - api-runner-node (to be able to dynamically adjust `sourceNodes` and `createPage` API hooks) + * - query-runner (it's not really mocked - it still uses real query-runner, this is just cleanest way to add spy to default commonJS export I could find) + * + * Concerns: + * - `setup()` function re-implements subset of gatsby functionality (parts of bootstrap, develop and build commands) to limit time cost of running this test + * - this test might need extra maintenance when gatsby internals are being changed, + * - it might report false positives in unforeseen scenarios after internal changes. + */ + +jest.mock(`fs-extra`, () => { + return { + outputFile: jest.fn(), + ensureDir: jest.fn(), + } +}) + +jest.mock(`gatsby-cli/lib/reporter`, () => { + return { + log: jest.fn(), + info: jest.fn(), + warn: jest.fn(), + error: jest.fn(), + panicOnBuild: console.log, + activityTimer: () => { + return { + start: jest.fn(), + setStatus: jest.fn(), + end: jest.fn(), + } + }, + } +}) + +let mockPersistedState = {} +let lokiStorage = {} +jest.mock(`../../redux/persist`, () => { + return { + readFromCache: () => mockPersistedState, + writeToCache: state => { + mockPersistedState = state + }, + } +}) + +let mockedLokiFsAdapter = { + loadDatabase: (dbname, callback) => { + callback(lokiStorage[dbname]) + }, + + saveDatabase: (dbname, dbstring, callback) => { + lokiStorage[dbname] = dbstring + callback(null) + }, +} + +let pluginOptions = {} + +let mockAPIs = {} +const setAPIhooks = hooks => (mockAPIs = { ...mockAPIs, ...hooks }) + +let pageQueries = {} +const setPageQueries = queries => (pageQueries = queries) + +let staticQueries = {} +const setStaticQueries = queries => (staticQueries = queries) + +const getTypedNodeCreators = ({ + actions: { createNode }, + createContentDigest, +}) => { + const typedNodeCreator = type => node => { + node.internal = { + type, + contentDigest: createContentDigest(node), + } + return createNode(node) + } + + return { + createSiteNode: typedNodeCreator(`Site`), + createTestNode: typedNodeCreator(`Test`), + createTestBNode: typedNodeCreator(`TestB`), + createNotUsedNode: typedNodeCreator(`NotUsed`), + } +} + +let isFirstRun = true +const setup = async ({ restart = isFirstRun, clearCache = false } = {}) => { + isFirstRun = false + if (restart) { + jest.resetModules() + if (clearCache) { + mockPersistedState = {} + lokiStorage = {} + } + } else if (clearCache) { + console.error(`Can't clear cache without restarting`) + process.exit(1) + } + + jest.doMock(`../query-runner`, () => { + const actualQueryRunner = jest.requireActual(`../query-runner`) + return jest.fn(actualQueryRunner) + }) + + jest.doMock(`../../utils/api-runner-node`, () => apiName => { + if (mockAPIs[apiName]) { + return mockAPIs[apiName]( + { + actions: doubleBoundActionCreators, + createContentDigest: require(`gatsby-core-utils`).createContentDigest, + }, + pluginOptions + ) + } + return undefined + }) + + const queryUtil = require(`../`) + const { store, emitter } = require(`../../redux`) + const { saveState } = require(`../../db`) + const reporter = require(`gatsby-cli/lib/reporter`) + const queryRunner = require(`../query-runner`) + const { boundActionCreators } = require(`../../redux/actions`) + const doubleBoundActionCreators = Object.keys(boundActionCreators).reduce( + (acc, actionName) => { + acc[actionName] = (...args) => + boundActionCreators[actionName](...args, { + name: `gatsby-source-test`, + version: `1.0.0`, + }) + return acc + }, + {} + ) + const apiRunner = require(`../../utils/api-runner-node`) + + if (restart) { + const { backend } = require(`../../db/nodes`) + if (backend === `loki`) { + const loki = require(`../../db/loki`) + const dbSaveFile = `${__dirname}/fixtures/loki.db` + await loki.start({ + saveFile: dbSaveFile, + lokiDBOptions: { + adapter: mockedLokiFsAdapter, + }, + }) + } + } + + queryRunner.mockClear() + + store.dispatch({ + type: `SET_PROGRAM`, + payload: { + directory: __dirname, + }, + }) + + await require(`../../utils/source-nodes`)({}) + // trigger page-hot-reloader (if it was setup in previous test) + emitter.emit(`API_RUNNING_QUEUE_EMPTY`) + + if (restart) { + await require(`../../schema`).build({}) + await apiRunner(`createPages`) + } + + Object.entries(pageQueries).forEach(([componentPath, query]) => { + store.dispatch({ + type: `QUERY_EXTRACTED`, + payload: { + componentPath, + query, + }, + }) + }) + + Object.entries(staticQueries).forEach(([id, query]) => { + store.dispatch({ + type: `REPLACE_STATIC_QUERY`, + payload: { + id: `sq--${id}`, + hash: `sq--${id}`, + query, + }, + }) + }) + + const queryIds = queryUtil.calcInitialDirtyQueryIds(store.getState()) + const { staticQueryIds, pageQueryIds } = queryUtil.groupQueryIds(queryIds) + const activity = reporter.activityTimer(`query running`) + activity.start() + await queryUtil.processStaticQueries(staticQueryIds, { + activity, + state: store.getState(), + }) + await queryUtil.processPageQueries(pageQueryIds, { activity }) + activity.end() + + await saveState() + + if (restart) { + require(`../../bootstrap/page-hot-reloader`) + } + + const idsOfQueriesThatRan = queryRunner.mock.calls.map(call => call[1].id) + + const pathsOfPagesWithQueriesThatRan = idsOfQueriesThatRan + .filter(p => !p.startsWith(`sq--`)) + .sort() + + const staticQueriesThatRan = idsOfQueriesThatRan + .filter(p => p.startsWith(`sq--`)) + .map(p => p.slice(4)) + .sort() + + return { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages: [...store.getState().pages.keys()].sort(), + } +} + +describe(`query caching between builds`, () => { + beforeAll(() => { + setAPIhooks({ + createPages: ({ actions: { createPage } }, _pluginOptions) => { + createPage({ + component: `/src/templates/listing.js`, + path: `/`, + context: {}, + }) + + createPage({ + component: `/src/templates/details.js`, + path: `/foo`, + context: { + slug: `foo`, + }, + }) + + createPage({ + component: `/src/templates/details.js`, + path: `/bar`, + context: { + slug: `bar`, + }, + }) + }, + }) + setPageQueries({ + "/src/templates/listing.js": ` + { + allTest { + nodes { + slug + content + } + } + } + `, + "/src/templates/details.js": ` + query($slug: String!) { + test(slug: { eq: $slug}) { + slug + content + } + } + `, + }) + + setStaticQueries({ + "static-query-1": ` + { + site { + siteMetadata { + title + description + } + } + } + `, + }) + }) + + describe(`Baseline`, () => { + beforeAll(() => { + setAPIhooks({ + sourceNodes: (nodeApiContext, _pluginOptions) => { + const { createSiteNode, createTestNode } = getTypedNodeCreators( + nodeApiContext + ) + + createTestNode({ + id: `test-1`, + slug: `foo`, + content: `Lorem ipsum.`, + }) + createTestNode({ + id: `test-2`, + slug: `bar`, + content: `Dolor sit amet.`, + }) + createSiteNode({ + id: `Site`, + siteMetadata: { + title: `My Site`, + description: `Description of site`, + }, + }) + }, + }) + }) + + it(`first run - should run all queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`, `/foo`]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 99999) + + it(`rerunning without data changes and without restart shouldn't run any queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // no changes should mean no queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([]) + }, 99999) + + it(`rerunning without data changes after restart shouldn't run any queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // no changes should mean no queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([]) + }, 99999) + + it(`rerunning after cache clearing - should run all queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + clearCache: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`, `/foo`]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 99999) + }) + + describe(`Changed data node used for static query`, () => { + let nodeChangeCounter = 1 + beforeEach(() => { + setAPIhooks({ + sourceNodes: (nodeApiContext, _pluginOptions) => { + const { createSiteNode, createTestNode } = getTypedNodeCreators( + nodeApiContext + ) + + createTestNode({ + id: `test-1`, + slug: `foo`, + content: `Lorem ipsum.`, + }) + createTestNode({ + id: `test-2`, + slug: `bar`, + content: `Dolor sit amet.`, + }) + createSiteNode({ + id: `Site`, + siteMetadata: { + title: `My Site`, + description: `Description of site + + --edited + edited content #${nodeChangeCounter++} + `, + }, + }) + }, + }) + }) + + it(`rerunning after cache clearing - should run all queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + clearCache: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`, `/foo`]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 99999) + + it(`reruns only static query (no restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // it should not rerun any page query + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 999999) + + it(`reruns only static query (with restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // it should not rerun any page query + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 999999) + }) + + describe(`Changed data node used for pages`, () => { + let nodeChangeCounter = 1 + beforeEach(() => { + setAPIhooks({ + sourceNodes: (nodeApiContext, _pluginOptions) => { + const { createSiteNode, createTestNode } = getTypedNodeCreators( + nodeApiContext + ) + + createTestNode({ + id: `test-1`, + slug: `foo`, + content: `Lorem ipsum.`, + }) + createTestNode({ + id: `test-2`, + slug: `bar`, + content: `Dolor sit amet. + + --edited + edited content #${nodeChangeCounter++} + `, + }) + createSiteNode({ + id: `Site`, + siteMetadata: { + title: `My Site`, + description: `Description of site`, + }, + }) + }, + }) + }) + + it(`rerunning after cache clearing - should run all queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + clearCache: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`, `/foo`]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 99999) + + it(`reruns queries only for listing and detail page that uses that node (no restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // we changed one node, so connection (`/`) and one detail page (`/bar`) should run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`]) + expect(staticQueriesThatRan).toEqual([]) + }, 999999) + + it(`reruns queries only for listing and detail page that uses that node (with restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // we changed one node, so connection (`/`) and one detail page (`/bar`) should run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`]) + expect(staticQueriesThatRan).toEqual([]) + }, 999999) + }) + + describe(`Changed data not used by either page or static queries`, () => { + let nodeChangeCounter = 1 + beforeEach(() => { + setAPIhooks({ + sourceNodes: (nodeApiContext, _pluginOptions) => { + const { + createSiteNode, + createTestNode, + createNotUsedNode, + } = getTypedNodeCreators(nodeApiContext) + + createTestNode({ + id: `test-1`, + slug: `foo`, + content: `Lorem ipsum.`, + }) + createTestNode({ + id: `test-2`, + slug: `bar`, + content: `Dolor sit amet.`, + }) + createSiteNode({ + id: `Site`, + siteMetadata: { + title: `My Site`, + description: `Description of site`, + }, + }) + createNotUsedNode({ + id: `not-used`, + content: `Content + + --edited + edited content #${nodeChangeCounter++}`, + }) + }, + }) + }) + + it(`rerunning after cache clearing - should run all queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + clearCache: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`, `/bar`, `/foo`]) + expect(staticQueriesThatRan).toEqual([`static-query-1`]) + }, 99999) + + it(`changing node not used by anything doesn't trigger running any queries (no restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // no queries should run + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([]) + }, 999999) + + it(`changing node not used by anything doesn't trigger running any queries (with restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`, `/bar`, `/foo`]) + + // no queries should run + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([]) + }, 999999) + }) + + describe(`Changing data used in multiple queries properly invalidates them`, () => { + let nodeChangeCounter = 1 + beforeAll(() => { + setAPIhooks({ + sourceNodes: (nodeApiContext, _pluginOptions) => { + const { createTestNode, createTestBNode } = getTypedNodeCreators( + nodeApiContext + ) + + createTestNode({ + id: `test-1`, + slug: `foo`, + content: `Lorem ipsum. + + --edited + edited content #${nodeChangeCounter++}`, + }) + + // this node will not change + createTestBNode({ + id: `test-b`, + slug: `foo`, + content: `Lorem ipsum.`, + }) + }, + createPages: () => {}, + }) + setPageQueries({}) + setStaticQueries({ + "all-test-query-1": ` + { + allTest { + nodes { + slug + } + } + } + `, + "all-test-query-2": ` + { + allTest { + nodes { + content + } + } + } + `, + "all-test-b-query-1": ` + { + allTestB { + nodes { + slug + } + } + } + `, + "all-test-b-query-2": ` + { + allTestB { + nodes { + content + } + } + } + `, + "single-test-1": ` + { + test(slug: { eq: "foo"}) { + slug + } + } + `, + "single-test-2": ` + { + test(slug: { eq: "foo"}) { + content + } + } + `, + "single-test-b-1": ` + { + testB(slug: { eq: "foo"}) { + slug + } + } + `, + "single-test-b-2": ` + { + testB(slug: { eq: "foo"}) { + content + } + } + `, + }) + }) + + it(`should run all queries after clearing cache`, async () => { + const { staticQueriesThatRan } = await setup({ + restart: true, + clearCache: true, + }) + + // on initial we want all queries to run + expect(staticQueriesThatRan).toEqual([ + `all-test-b-query-1`, + `all-test-b-query-2`, + `all-test-query-1`, + `all-test-query-2`, + `single-test-1`, + `single-test-2`, + `single-test-b-1`, + `single-test-b-2`, + ]) + }, 99999) + + it(`should run only queries that use changed data (no restart)`, async () => { + const { staticQueriesThatRan } = await setup() + + expect(staticQueriesThatRan).toEqual([ + `all-test-query-1`, + `all-test-query-2`, + `single-test-1`, + `single-test-2`, + ]) + }, 99999) + + it(`should run only queries that use changed data (with restart)`, async () => { + const { staticQueriesThatRan } = await setup({ + restart: true, + }) + + expect(staticQueriesThatRan).toEqual([ + `all-test-query-1`, + `all-test-query-2`, + `single-test-1`, + `single-test-2`, + ]) + }, 99999) + }) + + describe.skip(`Changing page context invalidates page queries`, () => { + beforeAll(() => { + let pageChangeCounter = 1 + let nodeChangeCounter = 1 + setAPIhooks({ + sourceNodes: (nodeApiContext, _pluginOptions) => { + const { createTestNode, createSiteNode } = getTypedNodeCreators( + nodeApiContext + ) + + createTestNode({ + id: `test-1`, + slug: `foo1`, + content: `Lorem ipsum.`, + }) + createTestNode({ + id: `test-2`, + slug: `foo2`, + content: `Dolor sit amet.`, + }) + createTestNode({ + id: `test-3`, + slug: `foo3`, + content: `Consectetur adipiscing elit.`, + }) + + // this is just to trigger createPages without restarting + createSiteNode({ + id: `Site`, + siteMetadata: { + title: `My Site`, + description: `Description of site + + --edited + edited content #${nodeChangeCounter++} + `, + }, + }) + }, + createPages: ({ actions: { createPage } }, _pluginOptions) => { + createPage({ + component: `/src/templates/details.js`, + path: `/`, + context: { + slug: `foo-${pageChangeCounter}`, + }, + }) + + pageChangeCounter++ + }, + }) + setPageQueries({ + "/src/templates/details.js": ` + query($slug: String!) { + test(slug: { eq: $slug}) { + slug + content + } + } + `, + }) + setStaticQueries({}) + }) + + it(`rerunning after cache clearing - should run all queries`, async () => { + const { pathsOfPagesWithQueriesThatRan, pages } = await setup({ + restart: true, + clearCache: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`]) + }, 99999) + + it(`changing page context should rerun query (no restart)`, async () => { + const { pathsOfPagesWithQueriesThatRan, pages } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`]) + + // it should rerun query for page with changed context + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`]) + }, 999999) + + it(`changing page context should rerun query (with restart)`, async () => { + const { pathsOfPagesWithQueriesThatRan, pages } = await setup({ + restart: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/`]) + + // it should rerun query for page with changed context + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/`]) + }, 999999) + }) + + // this should be last test, it adds page that doesn't have queries (so it won't create any dependencies) + describe(`Running "queries" for page without query`, () => { + beforeAll(() => { + setAPIhooks({ + createPages: ({ actions: { createPage } }, _pluginOptions) => { + createPage({ + component: `/src/templates/no-dep-page.js`, + path: `/no-dep-page`, + context: {}, + }) + }, + }) + setPageQueries({}) + setStaticQueries({}) + }) + + it(`rerunning after cache clearing - should run all queries`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + clearCache: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/no-dep-page`]) + + // on initial we want all queries to run + expect(pathsOfPagesWithQueriesThatRan).toEqual([`/no-dep-page`]) + expect(staticQueriesThatRan).toEqual([]) + }, 99999) + + it(`rerunning should not run any queries (no restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup() + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/no-dep-page`]) + + // no queries should run + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([]) + }, 999999) + + // TO-DO: this is known issue - we always rerun queries for pages with no dependencies + // this mean that we will retry to rerun them every time we restart gatsby + it.skip(`rerunning should not run any queries (with restart)`, async () => { + const { + pathsOfPagesWithQueriesThatRan, + staticQueriesThatRan, + pages, + } = await setup({ + restart: true, + }) + + // sanity check, to make sure test setup is correct + expect(pages).toEqual([`/no-dep-page`]) + + // no queries should run + // Currently it actually re-run query for `/no-dep-page` + expect(pathsOfPagesWithQueriesThatRan).toEqual([]) + expect(staticQueriesThatRan).toEqual([]) + }, 999999) + }) +})
be36b4a833b40d01d66995d36507a1e2cec4b6c2
2023-12-01 22:13:13
Michal Piechowiak
fix(gatsby-source-contentful): don't apply parent node links to child nodes (#38728)
false
don't apply parent node links to child nodes (#38728)
fix
diff --git a/packages/gatsby-source-contentful/src/__fixtures__/editing-node-referencing-nodes-with-child-links.js b/packages/gatsby-source-contentful/src/__fixtures__/editing-node-referencing-nodes-with-child-links.js new file mode 100644 index 0000000000000..f23d2d18d9a54 --- /dev/null +++ b/packages/gatsby-source-contentful/src/__fixtures__/editing-node-referencing-nodes-with-child-links.js @@ -0,0 +1,339 @@ +exports.contentTypeItems = () => [ + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `8itggr1zebzx`, + }, + }, + id: `blogPost`, + type: `ContentType`, + createdAt: `2023-01-11T14:52:56.250Z`, + updatedAt: `2023-01-11T14:54:56.940Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + }, + }, + revision: 4, + }, + displayField: `title`, + name: `Blog Post`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `category`, + name: `Category`, + type: `Link`, + localized: false, + required: false, + disabled: false, + omitted: false, + linkType: `Entry`, + validations: [ + { + linkContentType: [`blogCategory`], + }, + ], + }, + ], + }, + { + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `8itggr1zebzx`, + }, + }, + id: `blogCategory`, + type: `ContentType`, + createdAt: `2023-01-11T14:54:22.680Z`, + updatedAt: `2023-01-11T14:54:22.680Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + }, + }, + revision: 1, + }, + displayField: `title`, + name: `Blog Category`, + description: ``, + fields: [ + { + id: `title`, + name: `Title`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `slug`, + name: `Slug`, + type: `Symbol`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + { + id: `body`, + name: `Body`, + type: `Text`, + localized: false, + required: true, + disabled: false, + omitted: false, + }, + ], + }, +] + +exports.initialSync = () => { + return { + currentSyncData: { + entries: [ + { + metadata: { + tags: [], + }, + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `8itggr1zebzx`, + }, + }, + id: `3jXBlUgXmubzPI3I6d9hLr`, + type: `Entry`, + createdAt: `2023-01-11T14:56:37.418Z`, + updatedAt: `2023-01-11T15:04:37.640Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + }, + }, + revision: 3, + contentType: { + sys: { + type: `Link`, + linkType: `ContentType`, + id: `blogCategory`, + }, + }, + }, + fields: { + title: { + "en-US": `CMS`, + }, + slug: { + "en-US": `cms`, + }, + body: { + "en-US": `cms`, + }, + }, + }, + { + metadata: { + tags: [], + }, + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `8itggr1zebzx`, + }, + }, + id: `3oTFYoNKoVZcp8svbn8P2z`, + type: `Entry`, + createdAt: `2023-01-11T14:56:42.655Z`, + updatedAt: `2023-01-11T14:56:42.655Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + }, + }, + revision: 1, + contentType: { + sys: { + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + }, + }, + }, + fields: { + title: { + "en-US": `Hello World`, + }, + slug: { + "en-US": `hello-world`, + }, + }, + }, + ], + assets: [], + deletedEntries: [], + deletedAssets: [], + nextSyncToken: `dDFSNcK6bMO7woHDuMK7A8O_KWQDPkhAwpF6w7ovw49fQjrDj2gKH0xvwofCkMKDJcKgBMKCYcK9wr3DoVozwqEUC8OwWlVJBBt-F8K0BMKTP8OAwr8Xw6bCkcO2w6MpwqBmVX7CmsOwM3DDvWZvw5Q`, + }, + tagItems: [], + defaultLocale: `en-US`, + locales: [ + { + code: `en-US`, + name: `English (United States)`, + default: true, + fallbackCode: null, + sys: { + id: `2jpGtQkqT01zpSIqC9UQOS`, + type: `Locale`, + version: 1, + }, + }, + ], + space: { + sys: { + type: `Space`, + id: `8itggr1zebzx`, + }, + name: `test`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + ], + }, + } +} + +exports.addALink = () => { + return { + currentSyncData: { + entries: [ + { + metadata: { + tags: [], + }, + sys: { + space: { + sys: { + type: `Link`, + linkType: `Space`, + id: `8itggr1zebzx`, + }, + }, + id: `3oTFYoNKoVZcp8svbn8P2z`, + type: `Entry`, + createdAt: `2023-01-11T14:56:42.655Z`, + updatedAt: `2023-01-11T14:56:42.655Z`, + environment: { + sys: { + id: `master`, + type: `Link`, + linkType: `Environment`, + }, + }, + revision: 1, + contentType: { + sys: { + type: `Link`, + linkType: `ContentType`, + id: `blogPost`, + }, + }, + }, + fields: { + title: { + "en-US": `Hello World`, + }, + slug: { + "en-US": `hello-world`, + }, + category: { + "en-US": { + sys: { + type: `Link`, + linkType: `Entry`, + id: `3jXBlUgXmubzPI3I6d9hLr`, + }, + }, + }, + }, + }, + ], + assets: [], + deletedEntries: [], + deletedAssets: [], + nextSyncToken: `dDFSNcK6bMO7woHDuMK7A8O_KWQDPkhAwpF6w7ovw49fQjrDj2gKH0xvQMODwpLDkMK3Oj9Jw6jDkSoBMkc4woTCtMOFwoTDisKlT8O1w4AaKsOjasK1wrVSwrU3YsKVE8KPVMKyw4_CmVpwPsOew4IVwoA`, + }, + tagItems: [], + defaultLocale: `en-US`, + locales: [ + { + code: `en-US`, + name: `English (United States)`, + default: true, + fallbackCode: null, + sys: { + id: `2jpGtQkqT01zpSIqC9UQOS`, + type: `Locale`, + version: 1, + }, + }, + ], + space: { + sys: { + type: `Space`, + id: `8itggr1zebzx`, + }, + name: `test`, + locales: [ + { + code: `en-US`, + default: true, + name: `English (United States)`, + fallbackCode: null, + }, + ], + }, + } +} diff --git a/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js b/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js index 3954599a0d238..b366f3902c5fb 100644 --- a/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js +++ b/packages/gatsby-source-contentful/src/__tests__/gatsby-node.js @@ -16,6 +16,7 @@ import restrictedContentTypeFixture from "../__fixtures__/restricted-content-typ import unpublishedFieldDelivery from "../__fixtures__/unpublished-fields-delivery" import unpublishedFieldPreview from "../__fixtures__/unpublished-fields-preview" import preserveBackLinks from "../__fixtures__/preserve-back-links" +import editingNodeReferecingNodeWithChildLink from "../__fixtures__/editing-node-referencing-nodes-with-child-links" jest.mock(`../fetch`) jest.mock(`gatsby-core-utils`, () => { @@ -1422,4 +1423,68 @@ describe(`gatsby-node`, () => { ]) expect(blogCategoryNodes[0][`title`]).toEqual(`CMS edit #1`) }) + + it(`should not apply parent node links to child nodes`, async () => { + // @ts-ignore + fetchContentTypes.mockImplementation( + editingNodeReferecingNodeWithChildLink.contentTypeItems + ) + fetchContent + // @ts-ignore + .mockImplementationOnce( + editingNodeReferecingNodeWithChildLink.initialSync + ) + .mockImplementationOnce(editingNodeReferecingNodeWithChildLink.addALink) + + let blogPostNodes + let blogCategoryNodes + let blogCategoryChildNodes + await simulateGatsbyBuild() + + blogPostNodes = getNodes().filter( + node => node.internal.type === `ContentfulBlogPost` + ) + blogCategoryNodes = getNodes().filter( + node => node.internal.type === `ContentfulBlogCategory` + ) + blogCategoryChildNodes = blogCategoryNodes.flatMap(node => + node.children.map(childId => getNode(childId)) + ) + + expect(blogPostNodes.length).toEqual(1) + expect(blogCategoryNodes.length).toEqual(1) + expect(blogCategoryChildNodes.length).toEqual(1) + // no backref yet + expect(blogCategoryNodes[0][`blog post___NODE`]).toBeUndefined() + expect(blogCategoryNodes[0][`title`]).toEqual(`CMS`) + + // `body` field on child node is concrete value and not a link + expect(blogCategoryChildNodes[0][`body`]).toEqual(`cms`) + expect(blogCategoryChildNodes[0][`body___NODE`]).toBeUndefined() + + await simulateGatsbyBuild() + + blogPostNodes = getNodes().filter( + node => node.internal.type === `ContentfulBlogPost` + ) + blogCategoryNodes = getNodes().filter( + node => node.internal.type === `ContentfulBlogCategory` + ) + blogCategoryChildNodes = blogCategoryNodes.flatMap(node => + node.children.map(childId => getNode(childId)) + ) + + expect(blogPostNodes.length).toEqual(1) + expect(blogCategoryNodes.length).toEqual(1) + expect(blogCategoryChildNodes.length).toEqual(1) + // backref was added when entries were linked + expect(blogCategoryNodes[0][`blog post___NODE`]).toEqual([ + blogPostNodes[0].id, + ]) + expect(blogCategoryNodes[0][`title`]).toEqual(`CMS`) + + // `body` field on child node is concrete value and not a link + expect(blogCategoryChildNodes[0][`body`]).toEqual(`cms`) + expect(blogCategoryChildNodes[0][`body___NODE`]).toBeUndefined() + }) }) diff --git a/packages/gatsby-source-contentful/src/source-nodes.js b/packages/gatsby-source-contentful/src/source-nodes.js index d10b150542550..baea1ca1aa215 100644 --- a/packages/gatsby-source-contentful/src/source-nodes.js +++ b/packages/gatsby-source-contentful/src/source-nodes.js @@ -463,13 +463,13 @@ export async function sourceNodes( // memory cached nodes are mutated during back reference checks // so we need to carry over the changes to the updated node - if (node.__memcache) { - for (const key of Object.keys(node)) { + if (nodeToUpdateOriginal.__memcache) { + for (const key of Object.keys(nodeToUpdateOriginal)) { if (!key.endsWith(`___NODE`)) { continue } - newNode[key] = node[key] + newNode[key] = nodeToUpdateOriginal[key] } }
fcb65e2e52135b0866277df35dec40f35f7873d1
2021-01-28 21:12:47
renovate[bot]
fix(deps): update minor and patch for gatsby-plugin-graphql-config (#29178)
false
update minor and patch for gatsby-plugin-graphql-config (#29178)
fix
diff --git a/packages/gatsby-plugin-graphql-config/package.json b/packages/gatsby-plugin-graphql-config/package.json index 44713d3986b09..c7623121fc6e1 100644 --- a/packages/gatsby-plugin-graphql-config/package.json +++ b/packages/gatsby-plugin-graphql-config/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "fs-extra": "^9.0.1" + "fs-extra": "^9.1.0" }, "devDependencies": { "@babel/cli": "^7.12.1",
2c5e3b83785de6d1842d33b782604c8d744c67c7
2020-04-17 20:42:25
Kyle Mathews
feat(recipes): Update gatsby-recipes README.md (#23232)
false
Update gatsby-recipes README.md (#23232)
feat
diff --git a/packages/gatsby-recipes/README.md b/packages/gatsby-recipes/README.md index a46cd91f10153..bc81b96591465 100644 --- a/packages/gatsby-recipes/README.md +++ b/packages/gatsby-recipes/README.md @@ -12,7 +12,7 @@ enables us to port our dozens of recipes from https://www.gatsbyjs.org/docs/recipes/ as well as in the future, entire tutorials. -[Read more about Recipes on the RFC](https://github.com/gatsbyjs/gatsby/pull/22610) +[Read more about Recipes on the launch blog post](https://www.gatsbyjs.org/blog/2020-04-15-announcing-gatsby-recipes/) There's an umbrella issue for testing / using Recipes during its incubation stage. @@ -106,6 +106,8 @@ Read more about Emotion on the official Emotion docs site: https://emotion.sh/docs/introduction ``` +You can browse the [source of the official recipes](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-recipes/recipes). The [recipes umbrella issue](https://github.com/gatsbyjs/gatsby/issues/22991) also has a number of recipes posted by community members. + ### How to run recipes You can run built-in recipes, ones you write locally, and ones people have posted online.
cfc5126ba604ceaaf561d51007d6b67d115106b3
2019-03-16 22:35:16
Michal Piechowiak
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby-plugin-react-helmet/CHANGELOG.md b/packages/gatsby-plugin-react-helmet/CHANGELOG.md index d4a1f0bea002f..eef13c956f2cb 100644 --- a/packages/gatsby-plugin-react-helmet/CHANGELOG.md +++ b/packages/gatsby-plugin-react-helmet/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.10](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet/compare/[email protected]@3.0.10) (2019-03-16) + +**Note:** Version bump only for package gatsby-plugin-react-helmet + ## [3.0.9](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet/compare/[email protected]@3.0.9) (2019-03-11) **Note:** Version bump only for package gatsby-plugin-react-helmet diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index d699ef9a31fee..6b03214ae9700 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-react-helmet", "description": "Manage document head data with react-helmet. Provides drop-in server rendering support for Gatsby.", - "version": "3.0.9", + "version": "3.0.10", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-plugin-sitemap/CHANGELOG.md b/packages/gatsby-plugin-sitemap/CHANGELOG.md index 84fcfb7048634..2e77472cfccae 100644 --- a/packages/gatsby-plugin-sitemap/CHANGELOG.md +++ b/packages/gatsby-plugin-sitemap/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.10](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap/compare/[email protected]@2.0.10) (2019-03-16) + +### Features + +- **gatsby-plugin-sitemap:** sanitize siteUrl ([#12613](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap/issues/12613)) ([41bd265](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap/commit/41bd265)) + ## [2.0.9](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap/compare/[email protected]@2.0.9) (2019-03-12) ### Bug Fixes diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index 18701289c0170..3481343822dca 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sitemap", "description": "Gatsby plugin that automatically creates a sitemap for your site", - "version": "2.0.9", + "version": "2.0.10", "author": "Nicholas Young &lt;[email protected]&gt;", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 3bfab05b1e6d6..d6adb6f891457 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.37](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.1.37) (2019-03-16) + +### Bug Fixes + +- **gatsby:** extract queries from themes not starting with "gatsby-theme-\*" name ([#12604](https://github.com/gatsbyjs/gatsby/issues/12604)) ([b9808f2](https://github.com/gatsbyjs/gatsby/commit/b9808f2)) + ## [2.1.36](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.1.36) (2019-03-16) **Note:** Version bump only for package gatsby diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 3e60b638e5638..0355ee667f298 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.1.36", + "version": "2.1.37", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
aa58dcdeacec9045c8d7760dfac44e18f27e5d64
2018-11-26 19:45:02
Dustin Schau
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby-source-drupal/CHANGELOG.md b/packages/gatsby-source-drupal/CHANGELOG.md index af478c6a8c65a..2ba2469dfd583 100644 --- a/packages/gatsby-source-drupal/CHANGELOG.md +++ b/packages/gatsby-source-drupal/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.11"></a> + +## [3.0.11](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-drupal/compare/[email protected]@3.0.11) (2018-11-26) + +**Note:** Version bump only for package gatsby-source-drupal + <a name="3.0.10"></a> ## [3.0.10](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-drupal/compare/[email protected]@3.0.10) (2018-11-16) diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index fc6bc0128269f..e451670aad8c7 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-drupal", "description": "Gatsby source plugin for building websites using the Drupal CMS as a data source", - "version": "3.0.10", + "version": "3.0.11", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,7 +10,7 @@ "@babel/runtime": "^7.0.0", "axios": "^0.18.0", "bluebird": "^3.5.0", - "gatsby-source-filesystem": "^2.0.8", + "gatsby-source-filesystem": "^2.0.9", "lodash": "^4.17.10" }, "devDependencies": { diff --git a/packages/gatsby-source-filesystem/CHANGELOG.md b/packages/gatsby-source-filesystem/CHANGELOG.md index 98658143015bd..2fef9750d3fc7 100644 --- a/packages/gatsby-source-filesystem/CHANGELOG.md +++ b/packages/gatsby-source-filesystem/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.9"></a> + +## [2.0.9](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/compare/[email protected]@2.0.9) (2018-11-26) + +### Bug Fixes + +- **gatsby-plugin-filesystem:** throw meaningful errors on bad inputs ([#10123](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/issues/10123)) ([21ebf2c](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/commit/21ebf2c)), closes [#6643](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/issues/6643) + <a name="2.0.8"></a> ## [2.0.8](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-filesystem/compare/[email protected]@2.0.8) (2018-11-08) diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index d0d12c54bd679..ab56df925b221 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-filesystem", "description": "Gatsby plugin which parses files within a directory for further parsing by other plugins", - "version": "2.0.8", + "version": "2.0.9", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-source-wordpress/CHANGELOG.md b/packages/gatsby-source-wordpress/CHANGELOG.md index a26776330abae..37711acfd7f01 100644 --- a/packages/gatsby-source-wordpress/CHANGELOG.md +++ b/packages/gatsby-source-wordpress/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="3.0.15"></a> + +## [3.0.15](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-wordpress/compare/[email protected]@3.0.15) (2018-11-26) + +**Note:** Version bump only for package gatsby-source-wordpress + <a name="3.0.14"></a> ## [3.0.14](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-wordpress/compare/[email protected]@3.0.14) (2018-11-14) diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index bb0e02840f6c6..a09b5e7d92f11 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-wordpress", "description": "Gatsby source plugin for building websites using the Wordpress CMS as a data source.", - "version": "3.0.14", + "version": "3.0.15", "author": "Sebastien Fichot <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,7 +14,7 @@ "bluebird": "^3.5.0", "deep-map": "^1.5.0", "deep-map-keys": "^1.2.0", - "gatsby-source-filesystem": "^2.0.8", + "gatsby-source-filesystem": "^2.0.9", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.10", "minimatch": "^3.0.4",
be577c10af0a8612819f8e4d729886229ad72e03
2024-08-26 22:17:02
GatsbyJS Bot
chore(changelogs): update changelogs (#39070)
false
update changelogs (#39070)
chore
diff --git a/packages/gatsby-plugin-offline/CHANGELOG.md b/packages/gatsby-plugin-offline/CHANGELOG.md index a733f6aa20c46..d94d384e65411 100644 --- a/packages/gatsby-plugin-offline/CHANGELOG.md +++ b/packages/gatsby-plugin-offline/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [6.13.3](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-offline) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [6.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-plugin-offline) (2024-04-10) #### Bug Fixes diff --git a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md index 95caf3cb00a4b..5b77f8cd01f55 100644 --- a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md +++ b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [6.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-copy-linked-files) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [6.13.1](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-copy-linked-files) (2024-01-23) **Note:** Version bump only for package gatsby-remark-copy-linked-files diff --git a/packages/gatsby-remark-graphviz/CHANGELOG.md b/packages/gatsby-remark-graphviz/CHANGELOG.md index bbb06c461bb82..3c257f1a46dbd 100644 --- a/packages/gatsby-remark-graphviz/CHANGELOG.md +++ b/packages/gatsby-remark-graphviz/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [5.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-graphviz) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [5.13.1](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-graphviz) (2024-01-23) **Note:** Version bump only for package gatsby-remark-graphviz diff --git a/packages/gatsby-remark-images-contentful/CHANGELOG.md b/packages/gatsby-remark-images-contentful/CHANGELOG.md index 8bde153c2f4d6..59509b9fb806b 100644 --- a/packages/gatsby-remark-images-contentful/CHANGELOG.md +++ b/packages/gatsby-remark-images-contentful/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [6.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images-contentful) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [6.13.1](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images-contentful) (2024-01-23) **Note:** Version bump only for package gatsby-remark-images-contentful diff --git a/packages/gatsby-remark-images/CHANGELOG.md b/packages/gatsby-remark-images/CHANGELOG.md index 346c7cfb12ff1..03acd4edd1213 100644 --- a/packages/gatsby-remark-images/CHANGELOG.md +++ b/packages/gatsby-remark-images/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [7.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [7.13.1](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-images) (2024-01-23) **Note:** Version bump only for package gatsby-remark-images diff --git a/packages/gatsby-remark-prismjs/CHANGELOG.md b/packages/gatsby-remark-prismjs/CHANGELOG.md index 1b2bbad68171f..88f3183040728 100644 --- a/packages/gatsby-remark-prismjs/CHANGELOG.md +++ b/packages/gatsby-remark-prismjs/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [7.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-prismjs) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [7.13.1](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-prismjs) (2024-01-23) **Note:** Version bump only for package gatsby-remark-prismjs diff --git a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md index b3164b2b5a0d3..40174ebad271e 100644 --- a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md +++ b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [6.13.2](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-responsive-iframe) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [6.13.1](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-remark-responsive-iframe) (2024-01-23) **Note:** Version bump only for package gatsby-remark-responsive-iframe diff --git a/packages/gatsby-source-wordpress/CHANGELOG.md b/packages/gatsby-source-wordpress/CHANGELOG.md index d6c0994c2de65..fe3e8bea76175 100644 --- a/packages/gatsby-source-wordpress/CHANGELOG.md +++ b/packages/gatsby-source-wordpress/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +### [7.13.5](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-source-wordpress) (2024-08-26) + +#### Bug Fixes + +- pin cheerio [#39066](https://github.com/gatsbyjs/gatsby/issues/39066) [#39069](https://github.com/gatsbyjs/gatsby/issues/39069) ([282caaf](https://github.com/gatsbyjs/gatsby/commit/282caafe45ff3f8f4a8bd0d82807ca5b9b742dd1)) + ### [7.13.4](https://github.com/gatsbyjs/gatsby/commits/[email protected]/packages/gatsby-source-wordpress) (2024-04-10) **Note:** Version bump only for package gatsby-source-wordpress
50854fb03784864416879e34ebeb8196b6bf3788
2020-06-22 19:19:57
Ward Peeters
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby-admin/CHANGELOG.md b/packages/gatsby-admin/CHANGELOG.md index 03527d91a88f1..f92e934b07503 100644 --- a/packages/gatsby-admin/CHANGELOG.md +++ b/packages/gatsby-admin/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.72](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.1.72) (2020-06-22) + +**Note:** Version bump only for package gatsby-admin + ## [0.1.71](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.1.71) (2020-06-20) **Note:** Version bump only for package gatsby-admin diff --git a/packages/gatsby-admin/package.json b/packages/gatsby-admin/package.json index 8ca9890846c5a..0c346ad9292ed 100644 --- a/packages/gatsby-admin/package.json +++ b/packages/gatsby-admin/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-admin", - "version": "0.1.71", + "version": "0.1.72", "main": "index.js", "author": "Max Stoiber", "license": "MIT", @@ -17,7 +17,7 @@ "@typescript-eslint/parser": "^2.28.0", "csstype": "^2.6.10", "formik": "^2.1.4", - "gatsby": "^2.23.7", + "gatsby": "^2.23.8", "gatsby-interface": "0.0.167", "gatsby-plugin-typescript": "^2.4.6", "gatsby-source-graphql": "^2.5.5", diff --git a/packages/gatsby-dev-cli/CHANGELOG.md b/packages/gatsby-dev-cli/CHANGELOG.md index b4ff429845c95..abc2f0071836d 100644 --- a/packages/gatsby-dev-cli/CHANGELOG.md +++ b/packages/gatsby-dev-cli/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.7.10](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.7.10) (2020-06-22) + +### Bug Fixes + +- **gatsby-dev-cli:** chmod new bin files ([#25194](https://github.com/gatsbyjs/gatsby/issues/25194)) ([e288131](https://github.com/gatsbyjs/gatsby/commit/e288131)) + ## [2.7.9](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.7.9) (2020-06-09) **Note:** Version bump only for package gatsby-dev-cli diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index c91683db5c839..f8c241585f81e 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-dev-cli", "description": "CLI helpers for contributors working on Gatsby", - "version": "2.7.9", + "version": "2.7.10", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby-dev": "./dist/index.js" diff --git a/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md b/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md index ae4b8a8a2725f..9915515580398 100644 --- a/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md +++ b/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.8](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-benchmark-reporting@[email protected]) (2020-06-22) + +**Note:** Version bump only for package gatsby-plugin-benchmark-reporting + ## [0.2.7](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-benchmark-reporting@[email protected]) (2020-06-09) **Note:** Version bump only for package gatsby-plugin-benchmark-reporting diff --git a/packages/gatsby-plugin-benchmark-reporting/package.json b/packages/gatsby-plugin-benchmark-reporting/package.json index 18763c4267345..758d68556e2f4 100644 --- a/packages/gatsby-plugin-benchmark-reporting/package.json +++ b/packages/gatsby-plugin-benchmark-reporting/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-benchmark-reporting", "description": "Gatsby Benchmark Reporting", - "version": "0.2.7", + "version": "0.2.8", "author": "Peter van der Zee <pvdz@github>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-theme-blog-core/CHANGELOG.md b/packages/gatsby-theme-blog-core/CHANGELOG.md index db1c49f4244af..a3bc8cc0f56e4 100644 --- a/packages/gatsby-theme-blog-core/CHANGELOG.md +++ b/packages/gatsby-theme-blog-core/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.5.47](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.5.47) (2020-06-22) + +**Note:** Version bump only for package gatsby-theme-blog-core + ## [1.5.46](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.5.46) (2020-06-20) **Note:** Version bump only for package gatsby-theme-blog-core diff --git a/packages/gatsby-theme-blog-core/package.json b/packages/gatsby-theme-blog-core/package.json index e5906a3d2b0e0..0ab18a2825795 100644 --- a/packages/gatsby-theme-blog-core/package.json +++ b/packages/gatsby-theme-blog-core/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-blog-core", - "version": "1.5.46", + "version": "1.5.47", "main": "index.js", "author": "christopherbiscardi <[email protected]> (@chrisbiscardi)", "license": "MIT", @@ -30,7 +30,7 @@ }, "devDependencies": { "@mdx-js/react": "^1.6.5", - "gatsby": "^2.23.7", + "gatsby": "^2.23.8", "prettier": "2.0.5", "react": "^16.12.0", "react-dom": "^16.12.0" diff --git a/packages/gatsby-theme-blog/CHANGELOG.md b/packages/gatsby-theme-blog/CHANGELOG.md index 4c983001e867d..3dc008f13c73b 100644 --- a/packages/gatsby-theme-blog/CHANGELOG.md +++ b/packages/gatsby-theme-blog/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.6.47](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.6.47) (2020-06-22) + +**Note:** Version bump only for package gatsby-theme-blog + ## [1.6.46](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.6.46) (2020-06-20) **Note:** Version bump only for package gatsby-theme-blog diff --git a/packages/gatsby-theme-blog/package.json b/packages/gatsby-theme-blog/package.json index 06b2315153d8e..f618733d3918a 100644 --- a/packages/gatsby-theme-blog/package.json +++ b/packages/gatsby-theme-blog/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-blog", - "version": "1.6.46", + "version": "1.6.47", "description": "A Gatsby theme for miscellaneous blogging with a dark/light mode", "main": "index.js", "keywords": [ @@ -29,7 +29,7 @@ "gatsby-plugin-react-helmet": "^3.3.4", "gatsby-plugin-theme-ui": "^0.2.53", "gatsby-plugin-twitter": "^2.3.4", - "gatsby-theme-blog-core": "^1.5.46", + "gatsby-theme-blog-core": "^1.5.47", "mdx-utils": "0.2.0", "react-helmet": "^5.2.1", "react-switch": "^5.0.1", @@ -39,7 +39,7 @@ "typography-theme-wordpress-2016": "^0.16.19" }, "devDependencies": { - "gatsby": "^2.23.7", + "gatsby": "^2.23.8", "prettier": "2.0.5", "react": "^16.12.0", "react-dom": "^16.12.0" diff --git a/packages/gatsby-theme-notes/CHANGELOG.md b/packages/gatsby-theme-notes/CHANGELOG.md index e59c426476cf1..1c700905cd688 100644 --- a/packages/gatsby-theme-notes/CHANGELOG.md +++ b/packages/gatsby-theme-notes/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.3.73](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.3.73) (2020-06-22) + +**Note:** Version bump only for package gatsby-theme-notes + ## [1.3.72](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.3.72) (2020-06-20) **Note:** Version bump only for package gatsby-theme-notes diff --git a/packages/gatsby-theme-notes/package.json b/packages/gatsby-theme-notes/package.json index c12e8cbd88615..ee37a8dc37390 100644 --- a/packages/gatsby-theme-notes/package.json +++ b/packages/gatsby-theme-notes/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-theme-notes", "description": "Gatsby Theme for adding a notes section to your website", - "version": "1.3.72", + "version": "1.3.73", "author": "John Otander", "license": "MIT", "main": "index.js", @@ -20,7 +20,7 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-theme-notes#readme", "devDependencies": { - "gatsby": "^2.23.7", + "gatsby": "^2.23.8", "react": "^16.12.0", "react-dom": "^16.12.0" }, diff --git a/packages/gatsby-theme-ui-preset/CHANGELOG.md b/packages/gatsby-theme-ui-preset/CHANGELOG.md index f08535af7a5f7..49d44c76ce512 100644 --- a/packages/gatsby-theme-ui-preset/CHANGELOG.md +++ b/packages/gatsby-theme-ui-preset/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.62](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.0.62) (2020-06-22) + +**Note:** Version bump only for package gatsby-theme-ui-preset + ## [0.0.61](https://github.com/gatsbyjs/gatsby/compare/[email protected]@0.0.61) (2020-06-20) **Note:** Version bump only for package gatsby-theme-ui-preset diff --git a/packages/gatsby-theme-ui-preset/package.json b/packages/gatsby-theme-ui-preset/package.json index 34657f1891488..2b6d5f4551da1 100644 --- a/packages/gatsby-theme-ui-preset/package.json +++ b/packages/gatsby-theme-ui-preset/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-ui-preset", - "version": "0.0.61", + "version": "0.0.62", "description": "A Gatsby theme for theme-ui styles", "main": "index.js", "keywords": [ @@ -30,7 +30,7 @@ "typography-theme-wordpress-2016": "^0.16.19" }, "devDependencies": { - "gatsby": "^2.23.7", + "gatsby": "^2.23.8", "prettier": "2.0.5", "react": "^16.12.0", "react-dom": "^16.12.0" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 4b4cc1e4cd1de..085c385cb5bde 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.23.8](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.23.8) (2020-06-22) + +### Bug Fixes + +- **gatsby:** convert module.exports to es6 in redux/filters ([#25191](https://github.com/gatsbyjs/gatsby/issues/25191)) ([3934c37](https://github.com/gatsbyjs/gatsby/commit/3934c37)) +- **gatsby:** show error message instead of [Object object](<[#25182](https://github.com/gatsbyjs/gatsby/issues/25182)>) ([445e315](https://github.com/gatsbyjs/gatsby/commit/445e315)) + ## [2.23.7](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.23.7) (2020-06-20) ### Bug Fixes diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index f021b02d896bc..4a8df7aed0b94 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.23.7", + "version": "2.23.8", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./cli.js"
64bb0b55110f1a4be61b4fc93225e3f7434108fc
2020-02-11 16:43:26
Nate Finch
chore(starter): Add a WordPress GraphQL Gatsby Starter (#21294)
false
Add a WordPress GraphQL Gatsby Starter (#21294)
chore
diff --git a/docs/starters.yml b/docs/starters.yml index 74270d2135bde..97a92407c4d68 100644 --- a/docs/starters.yml +++ b/docs/starters.yml @@ -5199,3 +5199,18 @@ - Disqus - Resume - Place plan on the top +- url: https://wp-graphql-gatsby-starter.netlify.com/ + repo: https://github.com/n8finch/wp-graphql-gatsby-starter + description: A super simple, bare-bone starter based on the Gatsby Starter for the front end and the WP GraphQL plugin on your WordPress install. This is a basic "headless CMS" setup. This starter will pull posts, pages, categories, tags, and a menu from your WordPress site. You should use either the TwentyNineteen or TwentyTwenty WordPress themes on your WordPress install. See the starter repo for more detailed instructions on getting set up. The example here uses the WordPress Theme Unit Test Data for post and page dummy content. Find something wrong? Issues are welcome on the starter reository. + tags: + - Blog + - CMS:Headless + - CMS:WordPress + - Netlify + features: + - WP GraphQL plugin integration + - Light/Dark Mode + - React Helmet for SEO + - Integrated navigation + - Verbose (i.e., not D.R.Y.) GraphQL queries to get data from + - Includes plugins for offline support out of the box
f859947c5fc1dfe0f99a1ac29ebd30bbbc9b95d1
2019-10-15 19:57:55
Vladimir Razuvaev
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby-theme/CHANGELOG.md b/packages/gatsby-theme/CHANGELOG.md index 58662b7cb5001..a3e59d9d41b70 100644 --- a/packages/gatsby-theme/CHANGELOG.md +++ b/packages/gatsby-theme/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@1.0.2) (2019-10-15) + +### Bug Fixes + +- update dependency @babel/core to ^7.6.4 ([#18626](https://github.com/gatsbyjs/gatsby/issues/18626)) ([0370151](https://github.com/gatsbyjs/gatsby/commit/0370151)) +- update dependency commander to ^2.20.3 ([#18627](https://github.com/gatsbyjs/gatsby/issues/18627)) ([438d6df](https://github.com/gatsbyjs/gatsby/commit/438d6df)) +- update dependency inquirer to ^6.5.2 ([#18628](https://github.com/gatsbyjs/gatsby/issues/18628)) ([bfcd67d](https://github.com/gatsbyjs/gatsby/commit/bfcd67d)) +- update dependency lodash to ^4.17.15 ([#18629](https://github.com/gatsbyjs/gatsby/issues/18629)) ([630e3d3](https://github.com/gatsbyjs/gatsby/commit/630e3d3)) + ## 1.0.1 (2019-10-14) **Note:** Version bump only for package gatsby-theme-workspace diff --git a/packages/gatsby-theme/package.json b/packages/gatsby-theme/package.json index 1214b568bb7d0..962d2a8b5f0d3 100644 --- a/packages/gatsby-theme/package.json +++ b/packages/gatsby-theme/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-theme-workspace", - "version": "1.0.1", + "version": "1.0.2", "main": "index.js", "private": true, "author": "christopherbiscardi <[email protected]> (@chrisbiscardi)", diff --git a/packages/gatsby-transformer-screenshot/CHANGELOG.md b/packages/gatsby-transformer-screenshot/CHANGELOG.md index 13e18aa6b24b2..0cf985cd1682c 100644 --- a/packages/gatsby-transformer-screenshot/CHANGELOG.md +++ b/packages/gatsby-transformer-screenshot/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.36](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-screenshot@[email protected]) (2019-10-15) + +**Note:** Version bump only for package gatsby-transformer-screenshot + ## [2.1.35](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-screenshot@[email protected]) (2019-10-14) **Note:** Version bump only for package gatsby-transformer-screenshot diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index 2739d0e11cb10..bdab8a06edafd 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-screenshot", "description": "Gatsby transformer plugin that uses AWS Lambda to take screenshots of websites", - "version": "2.1.35", + "version": "2.1.36", "author": "David Beckley <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 9f42e39cf8668..decc3f067fe94 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.16.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.16.2) (2019-10-15) + +### Bug Fixes + +- **gatsby:** create page dependencies from contextual node model methods even if no path is passed ([#18650](https://github.com/gatsbyjs/gatsby/issues/18650)) ([3d38af2](https://github.com/gatsbyjs/gatsby/commit/3d38af2)) +- **gatsby:** Extend fields when merging types ([#18500](https://github.com/gatsbyjs/gatsby/issues/18500)) ([302aa26](https://github.com/gatsbyjs/gatsby/commit/302aa26)) + ## [2.16.1](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.16.1) (2019-10-14) ### Bug Fixes diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 0ffd76b740d4a..137b9d90d09b8 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.16.1", + "version": "2.16.2", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
b4c5bfbf8f1ebbf356d17dfb9bebbe725c730b0c
2020-01-24 21:02:16
Ward Peeters
feat(gatsby): enable external jobs with ipc (#20835)
false
enable external jobs with ipc (#20835)
feat
diff --git a/packages/gatsby/ipc.json b/packages/gatsby/ipc.json index 61a2092b1b7fa..85deee8e24190 100644 --- a/packages/gatsby/ipc.json +++ b/packages/gatsby/ipc.json @@ -1,3 +1,3 @@ { - "version": 1 + "version": 2 } diff --git a/packages/gatsby/src/utils/__tests__/jobs-manager.js b/packages/gatsby/src/utils/__tests__/jobs-manager.js index 1462add8c26c7..4ead79c281863 100644 --- a/packages/gatsby/src/utils/__tests__/jobs-manager.js +++ b/packages/gatsby/src/utils/__tests__/jobs-manager.js @@ -11,6 +11,7 @@ jest.mock(`p-defer`, () => jest.mock(`gatsby-cli/lib/reporter`, () => { return { phantomActivity: jest.fn(), + warn: jest.fn(), } }) @@ -24,6 +25,16 @@ jest.mock( { virtual: true } ) +jest.mock( + `/gatsby-plugin-local/gatsby-worker.js`, + () => { + return { + TEST_JOB: jest.fn(), + } + }, + { virtual: true } +) + jest.mock(`uuid/v4`, () => jest.fn().mockImplementation(jest.requireActual(`uuid/v4`)) ) @@ -216,7 +227,9 @@ describe(`Jobs manager`, () => { try { await enqueueJob(jobArgs) } catch (err) { - expect(err).toMatchInlineSnapshot(`[WorkerError: An error occured]`) + expect(err).toMatchInlineSnapshot( + `[WorkerError: Error: An error occured]` + ) } try { await enqueueJob(jobArgs2) @@ -334,4 +347,165 @@ describe(`Jobs manager`, () => { expect(isJobStale({ inputPaths })).toBe(false) }) }) + + describe(`IPC jobs`, () => { + let listeners = [] + beforeAll(() => { + jest.useFakeTimers() + }) + + let originalProcessOn + let originalSend + beforeEach(() => { + process.env.ENABLE_GATSBY_EXTERNAL_JOBS = `true` + listeners = [] + originalProcessOn = process.on + originalSend = process.send + process.on = (type, cb) => { + listeners.push(cb) + } + + process.send = jest.fn() + }) + + afterAll(() => { + delete process.env.ENABLE_GATSBY_EXTERNAL_JOBS + jest.useRealTimers() + process.on = originalProcessOn + process.send = originalSend + }) + + it(`should schedule a remote job when ipc and env variable are enabled`, async () => { + const { enqueueJob } = jobManager + const jobArgs = createInternalMockJob() + + enqueueJob(jobArgs) + + jest.runAllTimers() + + expect(process.send).toHaveBeenCalled() + expect(process.send).toHaveBeenCalledWith({ + type: `JOB_CREATED`, + payload: jobArgs, + }) + + expect(listeners.length).toBe(1) + expect(worker.TEST_JOB).not.toHaveBeenCalled() + }) + + it(`should resolve a job when complete message is received`, async () => { + const { enqueueJob } = jobManager + const jobArgs = createInternalMockJob() + + const promise = enqueueJob(jobArgs) + jest.runAllTimers() + + listeners[0]({ + type: `JOB_COMPLETED`, + payload: { + id: jobArgs.id, + result: { + output: `hello`, + }, + }, + }) + + jest.runAllTimers() + + await expect(promise).resolves.toStrictEqual({ + output: `hello`, + }) + expect(worker.TEST_JOB).not.toHaveBeenCalled() + }) + + it(`should reject a job when failed message is received`, async () => { + const { enqueueJob } = jobManager + const jobArgs = createInternalMockJob() + + const promise = enqueueJob(jobArgs) + + jest.runAllTimers() + + listeners[0]({ + type: `JOB_FAILED`, + payload: { + id: jobArgs.id, + error: `JOB failed...`, + }, + }) + + jest.runAllTimers() + + await expect(promise).rejects.toStrictEqual( + new jobManager.WorkerError(`JOB failed...`) + ) + expect(worker.TEST_JOB).not.toHaveBeenCalled() + }) + + it(`should run the worker locally when it's not available externally`, async () => { + worker.TEST_JOB.mockReturnValue({ output: `myresult` }) + const { enqueueJob } = jobManager + const jobArgs = createInternalMockJob() + + const promise = enqueueJob(jobArgs) + + jest.runAllTimers() + + listeners[0]({ + type: `JOB_NOT_WHITELISTED`, + payload: { + id: jobArgs.id, + }, + }) + + jest.runAllTimers() + + await expect(promise).resolves.toStrictEqual({ output: `myresult` }) + expect(worker.TEST_JOB).toHaveBeenCalledTimes(1) + }) + + it(`should run the worker locally when it's a local plugin`, async () => { + jest.useRealTimers() + const worker = require(`/gatsby-plugin-local/gatsby-worker.js`) + const { enqueueJob, createInternalJob } = jobManager + const jobArgs = createInternalJob(createMockJob(), { + name: `gatsby-plugin-local`, + version: `1.0.0`, + resolve: `/gatsby-plugin-local`, + }) + + await expect(enqueueJob(jobArgs)).resolves.toBeUndefined() + expect(process.send).not.toHaveBeenCalled() + expect(worker.TEST_JOB).toHaveBeenCalledTimes(1) + }) + + it(`shouldn't schedule a remote job when ipc is enabled and env variable is false`, async () => { + process.env.ENABLE_GATSBY_EXTERNAL_JOBS = `false` + jest.useRealTimers() + const { enqueueJob } = jobManager + const jobArgs = createInternalMockJob() + + await enqueueJob(jobArgs) + + expect(process.send).not.toHaveBeenCalled() + expect(worker.TEST_JOB).toHaveBeenCalled() + }) + + it(`should warn when external jobs are enabled but ipc isn't used`, async () => { + process.env.ENABLE_GATSBY_EXTERNAL_JOBS = `true` + process.send = null + jest.useRealTimers() + const { enqueueJob } = jobManager + const jobArgs = createInternalMockJob() + const jobArgs2 = createInternalMockJob({ + args: { key: `val` }, + }) + + await enqueueJob(jobArgs) + await enqueueJob(jobArgs2) + + expect(reporter.warn).toHaveBeenCalledTimes(1) + expect(worker.TEST_JOB).toHaveBeenCalled() + }) + }) }) diff --git a/packages/gatsby/src/utils/jobs-manager.js b/packages/gatsby/src/utils/jobs-manager.js index 47bb9b95e9968..60a6941e5e134 100644 --- a/packages/gatsby/src/utils/jobs-manager.js +++ b/packages/gatsby/src/utils/jobs-manager.js @@ -7,11 +7,22 @@ const _ = require(`lodash`) const { createContentDigest, slash } = require(`gatsby-core-utils`) const reporter = require(`gatsby-cli/lib/reporter`) +const MESSAGE_TYPES = { + JOB_CREATED: `JOB_CREATED`, + JOB_COMPLETED: `JOB_COMPLETED`, + JOB_FAILED: `JOB_FAILED`, + JOB_NOT_WHITELISTED: `JOB_NOT_WHITELISTED`, +} + let activityForJobs = null let activeJobs = 0 +let isListeningForMessages = false +let hasShownIPCDisabledWarning = false /** @type {Map<string, {id: string, deferred: pDefer.DeferredPromise<any>}>} */ const jobsInProcess = new Map() +/** @type {Map<string, {job: InternalJob, deferred: pDefer.DeferredPromise<any>}>} */ +const externalJobsMap = new Map() /** * We want to use absolute paths to make sure they are on the filesystem @@ -57,6 +68,10 @@ const createFileHash = path => hasha.fromFileSync(path, { algorithm: `sha1` }) /** @type {pDefer.DeferredPromise<void>|null} */ let hasActiveJobs = null +const hasExternalJobsEnabled = () => + process.env.ENABLE_GATSBY_EXTERNAL_JOBS === `true` || + process.env.ENABLE_GATSBY_EXTERNAL_JOBS === `1` + /** * Get the local worker function and execute it on the user's machine * @@ -81,12 +96,60 @@ const runLocalWorker = async (workerFn, job) => { }) ) } catch (err) { - reject(err) + reject(new WorkerError(err)) } }) }) } +const listenForJobMessages = () => { + process.on(`message`, msg => { + if ( + msg && + msg.type && + msg.payload && + msg.payload.id && + externalJobsMap.has(msg.payload.id) + ) { + const { job, deferred } = externalJobsMap.get(msg.payload.id) + switch (msg.type) { + case MESSAGE_TYPES.JOB_COMPLETED: { + deferred.resolve(msg.payload.result) + break + } + case MESSAGE_TYPES.JOB_FAILED: { + deferred.reject(new WorkerError(msg.payload.error)) + break + } + case MESSAGE_TYPES.JOB_NOT_WHITELISTED: { + deferred.resolve(runJob(job, true)) + break + } + } + + externalJobsMap.delete(msg.payload.id) + } + }) +} + +/** + * @param {InternalJob} job + */ +const runExternalWorker = job => { + const deferred = pDefer() + externalJobsMap.set(job.id, { + job, + deferred, + }) + + process.send({ + type: MESSAGE_TYPES.JOB_CREATED, + payload: job, + }) + + return deferred.promise +} + /** * Make sure we have everything we need to run a job * If we do, run it locally. @@ -95,7 +158,7 @@ const runLocalWorker = async (workerFn, job) => { * @param {InternalJob} job * @return {Promise<object>} */ -const runJob = job => { +const runJob = (job, forceLocal = false) => { const { plugin } = job try { const worker = require(path.posix.join(plugin.resolve, `gatsby-worker.js`)) @@ -103,6 +166,24 @@ const runJob = job => { throw new Error(`No worker function found for ${job.name}`) } + if (!forceLocal && !job.plugin.isLocal && hasExternalJobsEnabled()) { + if (process.send) { + if (!isListeningForMessages) { + isListeningForMessages = true + listenForJobMessages() + } + + return runExternalWorker(job) + } else { + // only show the offloading warning once + if (!hasShownIPCDisabledWarning) { + hasShownIPCDisabledWarning = true + reporter.warn( + `Offloading of a job failed as IPC could not be detected. Running job locally.` + ) + } + } + } return runLocalWorker(worker[job.name], job) } catch (err) { throw new Error(
2429459f7e6dba3c84cbba67028c8f4cca855c26
2019-01-03 19:46:30
stefanprobst
feat: update builtin ESLint to v5 (#10220)
false
update builtin ESLint to v5 (#10220)
feat
diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 8c0e223a1a375..991dbddb5750f 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -21,8 +21,8 @@ "address": "1.0.3", "autoprefixer": "^8.6.5", "babel-core": "7.0.0-bridge.0", - "babel-eslint": "^8.2.2", - "babel-loader": "8.0.0-beta.4", + "babel-eslint": "^9.0.0", + "babel-loader": "^8.0.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dynamic-import-node": "^1.2.0", "babel-plugin-remove-graphql-queries": "^2.5.2", @@ -47,9 +47,9 @@ "devcert-san": "^0.3.3", "domready": "^1.0.8", "dotenv": "^4.0.0", - "eslint": "^4.19.1", - "eslint-config-react-app": "3.0.0-next.66cc7a90", - "eslint-loader": "^2.0.0", + "eslint": "^5.6.0", + "eslint-config-react-app": "^3.0.0", + "eslint-loader": "^2.1.0", "eslint-plugin-flowtype": "^2.46.1", "eslint-plugin-graphql": "^2.0.0", "eslint-plugin-import": "^2.9.0", diff --git a/packages/gatsby/src/utils/eslint-config.js b/packages/gatsby/src/utils/eslint-config.js index a0eba6c52365f..0f5136124a040 100644 --- a/packages/gatsby/src/utils/eslint-config.js +++ b/packages/gatsby/src/utils/eslint-config.js @@ -6,6 +6,7 @@ module.exports = schema => { baseConfig: { globals: { graphql: true, + __PATH_PREFIX__: true, }, extends: `react-app`, plugins: [`graphql`], diff --git a/yarn.lock b/yarn.lock index 696cd10b93471..cd0bf399d2edb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -52,13 +52,6 @@ esutils "^2.0.2" js-tokens "^3.0.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9" - integrity sha512-cuAuTTIQ9RqcFRJ/Y8PvTh+paepNcaGxwQwjIDRWPXmzzyAeCO4KqS9ikMvq0MCbRk6GlYKwfzStrcP3/jSL8g== - dependencies: - "@babel/highlight" "7.0.0-beta.44" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.51.tgz#bd71d9b192af978df915829d39d4094456439a0c" @@ -93,17 +86,6 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42" - integrity sha512-5xVb7hlhjGcdkKpMXgicAVgx8syK5VJz193k0i/0sLP6DzE6lRrU1K3B/rFefgdo9LPGMAOOOAWW4jycj07ShQ== - dependencies: - "@babel/types" "7.0.0-beta.44" - jsesc "^2.5.1" - lodash "^4.2.0" - source-map "^0.5.0" - trim-right "^1.0.1" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.51.tgz#6c7575ffde761d07485e04baedc0392c6d9e30f6" @@ -184,15 +166,6 @@ "@babel/template" "7.0.0-beta.36" "@babel/types" "7.0.0-beta.36" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd" - integrity sha512-MHRG2qZMKMFaBavX0LWpfZ2e+hLloT++N7rfM3DYOMUOGCD8cVjqZpwiL8a0bOX3IYcQev1ruciT0gdFFRTxzg== - dependencies: - "@babel/helper-get-function-arity" "7.0.0-beta.44" - "@babel/template" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.51.tgz#21b4874a227cf99ecafcc30a90302da5a2640561" @@ -218,13 +191,6 @@ dependencies: "@babel/types" "7.0.0-beta.36" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15" - integrity sha512-w0YjWVwrM2HwP6/H3sEgrSQdkCaxppqFeJtAnB23pRiJB5E/O9Yp7JAAeWBl+gGEgmBFinnTyOv2RN7rcSmMiw== - dependencies: - "@babel/types" "7.0.0-beta.44" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.51.tgz#3281b2d045af95c172ce91b20825d85ea4676411" @@ -320,13 +286,6 @@ "@babel/template" "^7.0.0" "@babel/types" "^7.0.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc" - integrity sha512-aQ7QowtkgKKzPGf0j6u77kBMdUFVBKNHw2p/3HX/POt5/oz8ec5cs0GwlgM8Hz7ui5EwJnzyfRmkNF1Nx1N7aA== - dependencies: - "@babel/types" "7.0.0-beta.44" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.51.tgz#8a6c3f66c4d265352fc077484f9f6e80a51ab978" @@ -360,15 +319,6 @@ "@babel/traverse" "^7.0.0" "@babel/types" "^7.0.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5" - integrity sha512-Il19yJvy7vMFm8AVAh6OZzaFoAd0hbkeMZiX3P5HGD+z7dyI7RzndHB0dg6Urh/VAFfHtpOIzDUSxmY6coyZWQ== - dependencies: - chalk "^2.0.0" - esutils "^2.0.2" - js-tokens "^3.0.0" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.51.tgz#e8844ae25a1595ccfd42b89623b4376ca06d225d" @@ -935,16 +885,6 @@ babylon "7.0.0-beta.36" lodash "^4.2.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" - integrity sha512-w750Sloq0UNifLx1rUqwfbnC6uSUk0mfwwgGRfdLiaUzfAOiH0tHJE6ILQIUi3KYkjiCDTskoIsnfqZvWLBDng== - dependencies: - "@babel/code-frame" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - babylon "7.0.0-beta.44" - lodash "^4.2.0" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.51.tgz#9602a40aebcf357ae9677e2532ef5fc810f5fbff" @@ -978,22 +918,6 @@ invariant "^2.2.0" lodash "^4.2.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966" - integrity sha512-UHuDz8ukQkJCDASKHf+oDt3FVUzFd+QYfuBIsiNu/4+/ix6pP/C+uQZJ6K1oEfbCMv/IKWbgDEh7fcsnIE5AtA== - dependencies: - "@babel/code-frame" "7.0.0-beta.44" - "@babel/generator" "7.0.0-beta.44" - "@babel/helper-function-name" "7.0.0-beta.44" - "@babel/helper-split-export-declaration" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - babylon "7.0.0-beta.44" - debug "^3.1.0" - globals "^11.1.0" - invariant "^2.2.0" - lodash "^4.2.0" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.51.tgz#981daf2cec347a6231d3aa1d9e1803b03aaaa4a8" @@ -1034,15 +958,6 @@ lodash "^4.2.0" to-fast-properties "^2.0.0" -"@babel/[email protected]": - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757" - integrity sha512-5eTV4WRmqbaFM3v9gHAIljEQJU4Ssc6fxL61JN+Oe2ga/BwyjzjamwkCVVAQjHGuAX8i0BWo42dshL8eO5KfLQ== - dependencies: - esutils "^2.0.2" - lodash "^4.2.0" - to-fast-properties "^2.0.0" - "@babel/[email protected]": version "7.0.0-beta.51" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.51.tgz#d802b7b543b5836c778aa691797abf00f3d97ea9" @@ -2017,13 +1932,6 @@ acorn-globals@^4.1.0: dependencies: acorn "^5.0.0" -acorn-jsx@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" - integrity sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s= - dependencies: - acorn "^3.0.4" - acorn-jsx@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-4.1.1.tgz#e8e41e48ea2fe0c896740610ab6a4ffd8add225e" @@ -2031,16 +1939,21 @@ acorn-jsx@^4.1.1: dependencies: acorn "^5.0.3" -acorn@^3.0.4: - version "3.3.0" - resolved "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" - integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= +acorn-jsx@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.0.1.tgz#32a064fd925429216a09b141102bfdd185fae40e" + integrity sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg== -acorn@^5.0.0, acorn@^5.0.3, acorn@^5.2.1, acorn@^5.5.0, acorn@^5.5.3, acorn@^5.6.0, acorn@^5.6.2, acorn@^5.7.1: +acorn@^5.0.0, acorn@^5.0.3, acorn@^5.2.1, acorn@^5.5.3, acorn@^5.6.0, acorn@^5.6.2, acorn@^5.7.1: version "5.7.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== +acorn@^6.0.2: + version "6.0.5" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.0.5.tgz#81730c0815f3f3b34d8efa95cb7430965f4d887a" + integrity sha512-i33Zgp3XWtmZBMNvCr4azvOFeWVw1Rk6p3hfi3LUDvIFraOMywb1kAtrbi+med14m4Xfpqm3zRZMT+c0FNE7kg== + add-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -2104,17 +2017,12 @@ ajv-errors@^1.0.0: resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-1.0.0.tgz#ecf021fa108fd17dfb5e6b383f2dd233e31ffc59" integrity sha1-7PAh+hCP0X37Xms4Py3SM+Mf/Fk= -ajv-keywords@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" - integrity sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I= - ajv-keywords@^3.0.0, ajv-keywords@^3.1.0, ajv-keywords@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" integrity sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo= -ajv@^5.2.3, ajv@^5.3.0: +ajv@^5.3.0: version "5.5.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" integrity sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU= @@ -2144,6 +2052,16 @@ ajv@^6.1.0, ajv@^6.5.0: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^6.6.1: + version "6.6.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.6.2.tgz#caceccf474bf3fc3ce3b147443711a24063cc30d" + integrity sha512-FBHEW6Jf5TB9MGBgUUA9XHkTbjXYfAUjY43ACMfmdMRHniyoMHjHjzD50OK8LGDWQwp4rWEsIq5kEqq7rvIM1g== + dependencies: + fast-deep-equal "^2.0.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + algoliasearch@^3.25.1: version "3.30.0" resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-3.30.0.tgz#355585e49b672e5f71d45b9c2b371ecdff129cd1" @@ -2717,7 +2635,7 @@ axobject-query@^2.0.1: dependencies: ast-types-flow "0.0.7" [email protected], babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: [email protected], babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= @@ -2768,15 +2686,15 @@ [email protected]: eslint-scope "~3.7.1" eslint-visitor-keys "^1.0.0" -babel-eslint@^8.2.2: - version "8.2.6" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-8.2.6.tgz#6270d0c73205628067c0f7ae1693a9e797acefd9" - integrity sha512-aCdHjhzcILdP8c9lej7hvXKvQieyRt20SF102SIGyY4cUIiw6UaAtK4j2o3dXX74jEmy0TJ0CEhv4fTIM3SzcA== +babel-eslint@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-9.0.0.tgz#7d9445f81ed9f60aff38115f838970df9f2b6220" + integrity sha512-itv1MwE3TMbY0QtNfeL7wzak1mV47Uy+n6HtSOO4Xd7rvmO+tsGQSgyOEEgo6Y2vHZKZphaoelNeSVj4vkLA1g== dependencies: - "@babel/code-frame" "7.0.0-beta.44" - "@babel/traverse" "7.0.0-beta.44" - "@babel/types" "7.0.0-beta.44" - babylon "7.0.0-beta.44" + "@babel/code-frame" "^7.0.0" + "@babel/parser" "^7.0.0" + "@babel/traverse" "^7.0.0" + "@babel/types" "^7.0.0" eslint-scope "3.7.1" eslint-visitor-keys "^1.0.0" @@ -2966,10 +2884,10 @@ babel-jest@^23.6.0: babel-plugin-istanbul "^4.1.6" babel-preset-jest "^23.2.0" [email protected]: - version "8.0.0-beta.4" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.0-beta.4.tgz#c3fab00696c385c70c04dbe486391f0eb996f345" - integrity sha512-fQMCj8jRpF/2CPuVnpFrOb8+8pRuquKqoC+tspy5RWBmL37/2qc104sLLLqpwWltrFzpYb30utPpKc3H6P3ETQ== +babel-loader@^8.0.0: + version "8.0.4" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.0.4.tgz#7bbf20cbe4560629e2e41534147692d3fecbdce6" + integrity sha512-fhBhNkUToJcW9nV46v8w87AJOwAJDz84c1CL57n3Stj73FANM/b9TbCUK4YhdOwEyZ+OxhYpdeZDNzSI29Firw== dependencies: find-cache-dir "^1.0.0" loader-utils "^1.0.2" @@ -3776,11 +3694,6 @@ [email protected]: resolved "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.40.tgz#91fc8cd56d5eb98b28e6fde41045f2957779940a" integrity sha512-AVxF2EcxvGD5hhOuLTOLAXBb0VhwWpEX0HyHdAI2zU+AAP4qEwtQj8voz1JR3uclGai0rfcE+dCTHnNMOnimFg== [email protected]: - version "7.0.0-beta.44" - resolved "http://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d" - integrity sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g== - babylon@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" @@ -5208,10 +5121,10 @@ configstore@^3.0.0, configstore@^3.1.0: write-file-atomic "^2.0.0" xdg-basedir "^3.0.0" [email protected]: - version "2.0.0-next.66cc7a90" - resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-2.0.0-next.66cc7a90.tgz#438e83bb16602abf1cd5c5aa9d6e4d61d924743e" - integrity sha512-pVhpqs/CvjFgJm6pIamnHI7xxutxywZr4WaG7/g3+1uTrJldBS+jKe/4NvGv0etgAAY6z2+iaogt4pkXM+6wag== +confusing-browser-globals@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.5.tgz#0171050cfdd4261e278978078bc00c4d88e135f4" + integrity sha512-tHo1tQL/9Ox5RELbkCAJhnViqWlzBz3MG1bB2czbHjH2mWd4aYUgNCNLfysFL7c4LoDws7pjg2tj48Gmpw4QHA== connect-history-api-fallback@^1.3.0: version "1.5.0" @@ -5659,7 +5572,7 @@ [email protected]: node-fetch "2.1.2" whatwg-fetch "2.0.4" [email protected], cross-spawn@^5.0.1, cross-spawn@^5.1.0: [email protected], cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= @@ -7157,12 +7070,12 @@ eslint-config-prettier@^3.1.0: dependencies: get-stdin "^6.0.0" [email protected]: - version "3.0.0-next.66cc7a90" - resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-3.0.0-next.66cc7a90.tgz#f8c7bb3cca0f1e8f60bbf567ec71f6af1cce7edd" - integrity sha512-6J+fEOLy7uE+fxpGERi8Yts9vNEgul6AXbHhdvGRj+4Xpus7jR7Q4fu1oXmnuRwVPBxJ/MQkcpdFa2m8iBG20Q== +eslint-config-react-app@^3.0.0: + version "3.0.6" + resolved "https://registry.yarnpkg.com/eslint-config-react-app/-/eslint-config-react-app-3.0.6.tgz#addcae1359235941e95f3c96970b7ac8552e1130" + integrity sha512-VL5rA1EBZv7f9toc9x71or7nr4jRmwCH4V9JKB9DFVaTLOLI9+vjWLgQLjMu3xR9iUT80dty86RbCfNaKyrFFg== dependencies: - confusing-browser-globals "2.0.0-next.66cc7a90" + confusing-browser-globals "^1.0.5" eslint-import-resolver-node@^0.3.1: version "0.3.2" @@ -7172,10 +7085,10 @@ eslint-import-resolver-node@^0.3.1: debug "^2.6.9" resolve "^1.5.0" -eslint-loader@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-loader/-/eslint-loader-2.1.0.tgz#61334c548aeb0b8e20ec3a552fb7a88c47261c6a" - integrity sha512-f4A/Yk7qF+HcFSz5Tck2QoKIwJVHlX0soJk5MkROYahb5uvspad5Ba60rrz4u/V2/MEj1dtp/uBi6LlLWVaY7Q== +eslint-loader@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/eslint-loader/-/eslint-loader-2.1.1.tgz#2a9251523652430bfdd643efdb0afc1a2a89546a" + integrity sha512-1GrJFfSevQdYpoDzx8mEE2TDWsb/zmFuY09l6hURg1AeFIKQOvZ+vH0UPjzmd1CZIbfTV5HUkMeBmFiDBkgIsQ== dependencies: loader-fs-cache "^1.0.0" loader-utils "^1.0.2" @@ -7288,14 +7201,6 @@ [email protected]: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^3.7.1, eslint-scope@~3.7.1: - version "3.7.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.3.tgz#bb507200d3d17f60247636160b4826284b108535" - integrity sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - eslint-scope@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.0.tgz#50bf3071e9338bcdc43331794a0cb533f0136172" @@ -7304,6 +7209,14 @@ eslint-scope@^4.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@~3.7.1: + version "3.7.3" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.3.tgz#bb507200d3d17f60247636160b4826284b108535" + integrity sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + eslint-utils@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.3.1.tgz#9a851ba89ee7c460346f97cf8939c7298827e512" @@ -7314,49 +7227,48 @@ eslint-visitor-keys@^1.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ== -eslint@^4.19.1: - version "4.19.1" - resolved "http://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz#32d1d653e1d90408854bfb296f076ec7e186a300" - integrity sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ== +eslint@^5.6.0: + version "5.11.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.11.1.tgz#8deda83db9f354bf9d3f53f9677af7e0e13eadda" + integrity sha512-gOKhM8JwlFOc2acbOrkYR05NW8M6DCMSvfcJiBB5NDxRE1gv8kbvxKaC9u69e6ZGEMWXcswA/7eKR229cEIpvg== dependencies: - ajv "^5.3.0" - babel-code-frame "^6.22.0" + "@babel/code-frame" "^7.0.0" + ajv "^6.5.3" chalk "^2.1.0" - concat-stream "^1.6.0" - cross-spawn "^5.1.0" - debug "^3.1.0" + cross-spawn "^6.0.5" + debug "^4.0.1" doctrine "^2.1.0" - eslint-scope "^3.7.1" + eslint-scope "^4.0.0" + eslint-utils "^1.3.1" eslint-visitor-keys "^1.0.0" - espree "^3.5.4" - esquery "^1.0.0" + espree "^5.0.0" + esquery "^1.0.1" esutils "^2.0.2" file-entry-cache "^2.0.0" functional-red-black-tree "^1.0.1" glob "^7.1.2" - globals "^11.0.1" - ignore "^3.3.3" + globals "^11.7.0" + ignore "^4.0.6" imurmurhash "^0.1.4" - inquirer "^3.0.6" - is-resolvable "^1.0.0" - js-yaml "^3.9.1" + inquirer "^6.1.0" + js-yaml "^3.12.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.3.0" - lodash "^4.17.4" - minimatch "^3.0.2" + lodash "^4.17.5" + minimatch "^3.0.4" mkdirp "^0.5.1" natural-compare "^1.4.0" optionator "^0.8.2" path-is-inside "^1.0.2" pluralize "^7.0.0" progress "^2.0.0" - regexpp "^1.0.1" + regexpp "^2.0.1" require-uncached "^1.0.3" - semver "^5.3.0" + semver "^5.5.1" strip-ansi "^4.0.0" - strip-json-comments "~2.0.1" - table "4.0.2" - text-table "~0.2.0" + strip-json-comments "^2.0.1" + table "^5.0.2" + text-table "^0.2.0" eslint@^5.6.1: version "5.6.1" @@ -7402,14 +7314,6 @@ eslint@^5.6.1: table "^4.0.3" text-table "^0.2.0" -espree@^3.5.4: - version "3.5.4" - resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" - integrity sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A== - dependencies: - acorn "^5.5.0" - acorn-jsx "^3.0.0" - espree@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/espree/-/espree-4.0.0.tgz#253998f20a0f82db5d866385799d912a83a36634" @@ -7418,6 +7322,15 @@ espree@^4.0.0: acorn "^5.6.0" acorn-jsx "^4.1.1" +espree@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.0.tgz#fc7f984b62b36a0f543b13fb9cd7b9f4a7f5b65c" + integrity sha512-1MpUfwsdS9MMoN7ZXqAr9e9UKdVHDcvrJpyx7mm1WuQlx/ygErEQBzgi5Nh5qBHIoYweprhtMkTCb9GhcAIcsA== + dependencies: + acorn "^6.0.2" + acorn-jsx "^5.0.0" + eslint-visitor-keys "^1.0.0" + esprima@^2.6.0: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" @@ -7445,7 +7358,7 @@ espurify@^1.7.0: dependencies: core-js "^2.0.0" -esquery@^1.0.0, esquery@^1.0.1: +esquery@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" integrity sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== @@ -8784,7 +8697,7 @@ globals-docs@^2.4.0: resolved "https://registry.yarnpkg.com/globals-docs/-/globals-docs-2.4.0.tgz#f2c647544eb6161c7c38452808e16e693c2dafbb" integrity sha512-B69mWcqCmT3jNYmSxRxxOXWfzu3Go8NQXPfl2o0qPd1EEFhwW0dFUg9ztTu915zPQzqwIhWAlw6hmfIcCK4kkQ== -globals@^11.0.1, globals@^11.1.0, globals@^11.7.0: +globals@^11.1.0, globals@^11.7.0: version "11.7.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673" integrity sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg== @@ -9770,7 +9683,7 @@ ignore-walk@^3.0.1: dependencies: minimatch "^3.0.4" -ignore@^3.3.3, ignore@^3.3.5: +ignore@^3.3.5: version "3.3.10" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" integrity sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug== @@ -9947,7 +9860,7 @@ inline-style-prefixer@^4.0.0: bowser "^1.7.3" css-in-js-utils "^2.0.0" [email protected], inquirer@^3.0.6, inquirer@^3.2.2, inquirer@^3.3.0: [email protected], inquirer@^3.2.2, inquirer@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" integrity sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ== @@ -11276,7 +11189,7 @@ [email protected]: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^3.10.0, js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.5.2, js-yaml@^3.7.0, js-yaml@^3.8.1, js-yaml@^3.9.0, js-yaml@^3.9.1: +js-yaml@^3.10.0, js-yaml@^3.11.0, js-yaml@^3.12.0, js-yaml@^3.5.2, js-yaml@^3.7.0, js-yaml@^3.8.1, js-yaml@^3.9.0: version "3.12.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" integrity sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A== @@ -12198,7 +12111,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@^4.11.1, lodash@^4.11.2, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0: +lodash@^4.11.1, lodash@^4.11.2, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0: version "4.17.11" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== @@ -15880,16 +15793,16 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab" - integrity sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw== - regexpp@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.0.tgz#b2a7534a85ca1b033bcf5ce9ff8e56d4e0755365" integrity sha512-g2FAVtR8Uh8GO1Nv5wpxW7VFVwHcCEr4wyA8/MHiRkO8uHoR5ntAA8Uq3P1vvMTX/BeQiRVSpDGLd+Wn5HNOTA== +regexpp@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" + integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== + regexpu-core@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b" @@ -17031,6 +16944,15 @@ [email protected]: dependencies: is-fullwidth-code-point "^2.0.0" [email protected]: + version "2.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.0.0.tgz#5373bdb8559b45676e8541c66916cdd6251612e7" + integrity sha512-4j2WTWjp3GsZ+AOagyzVbzp4vWGtZ0hEZ/gDY/uTvm6MTxUfTUIsnMIFb1bn8o0RuXiqUw15H1bue8f22Vw2oQ== + dependencies: + ansi-styles "^3.2.0" + astral-regex "^1.0.0" + is-fullwidth-code-point "^2.0.0" + slide@^1.1.5, slide@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" @@ -18036,18 +17958,6 @@ sync-request@^3.0.1: http-response-object "^1.0.1" then-request "^2.0.1" [email protected]: - version "4.0.2" - resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" - integrity sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA== - dependencies: - ajv "^5.2.3" - ajv-keywords "^2.1.0" - chalk "^2.1.0" - lodash "^4.17.4" - slice-ansi "1.0.0" - string-width "^2.1.1" - table@^4.0.3: version "4.0.3" resolved "http://registry.npmjs.org/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc" @@ -18060,6 +17970,16 @@ table@^4.0.3: slice-ansi "1.0.0" string-width "^2.1.1" +table@^5.0.2: + version "5.1.1" + resolved "https://registry.yarnpkg.com/table/-/table-5.1.1.tgz#92030192f1b7b51b6eeab23ed416862e47b70837" + integrity sha512-NUjapYb/qd4PeFW03HnAuOJ7OMcBkJlqeClWxeNlQ0lXGSb52oZXGzkO0/I0ARegQ2eUT1g2VDJH0eUxDRcHmw== + dependencies: + ajv "^6.6.1" + lodash "^4.17.11" + slice-ansi "2.0.0" + string-width "^2.1.1" + tapable@^1.0.0, tapable@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.0.tgz#0d076a172e3d9ba088fd2272b2668fb8d194b78c" @@ -18216,7 +18136,7 @@ text-extensions@^1.0.0: resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.8.0.tgz#6f343c62268843019b21a616a003557bdb952d2b" integrity sha512-mVzjRxuWnDKs/qH1rbOJEVHLlSX9kty9lpi7lMvLgU9S74mQ8/Ozg9UPcKxShh0qG2NZ+NyPOPpcZU4C1Eld9A== [email protected], text-table@^0.2.0, text-table@~0.2.0: [email protected], text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=
7a1697c21071ee406392ef0fd951abeb9784a7ae
2021-01-04 17:25:53
Tarek
chore(docs): Update migrate-remark-to-mdx (#28811)
false
Update migrate-remark-to-mdx (#28811)
chore
diff --git a/docs/docs/how-to/routing/migrate-remark-to-mdx.md b/docs/docs/how-to/routing/migrate-remark-to-mdx.md index 91a3bf478d7ae..684adb9f9750a 100644 --- a/docs/docs/how-to/routing/migrate-remark-to-mdx.md +++ b/docs/docs/how-to/routing/migrate-remark-to-mdx.md @@ -62,6 +62,13 @@ const result = await graphql( ) { ``` +Don't forget to update the `posts` constant by replacing `allMarkdownRemark` with `allMdx`. + +```diff:title=gatsby-node.js +-const posts = result.data.allMarkdownRemark.nodes ++const posts = result.data.allMdx.nodes +``` + Also, update `onCreateNode` which creates the blog post slugs to watch for the node type of `Mdx` instead of `MarkdownRemark`. ```diff:title=gatsby-node.js
3e26eeb00c78341e2dda13a62c46ec683a1d33ba
2019-07-09 14:12:58
Carsten
feat(gatsby-plugin-google-tagmanager): defaultDataLayer (#11379)
false
defaultDataLayer (#11379)
feat
diff --git a/packages/gatsby-plugin-google-tagmanager/README.md b/packages/gatsby-plugin-google-tagmanager/README.md index 5ca6c5b9ca22b..b691e43c96fc1 100644 --- a/packages/gatsby-plugin-google-tagmanager/README.md +++ b/packages/gatsby-plugin-google-tagmanager/README.md @@ -12,7 +12,7 @@ Easily add Google Tagmanager to your Gatsby site. // In your gatsby-config.js plugins: [ { - resolve: `gatsby-plugin-google-tagmanager`, + resolve: "gatsby-plugin-google-tagmanager", options: { id: "YOUR_GOOGLE_TAGMANAGER_ID", @@ -20,6 +20,11 @@ plugins: [ // Defaults to false meaning GTM will only be loaded in production. includeInDevelopment: false, + // datalayer to be set before GTM is loaded + // should be an object or a function that is executed in the browser + // Defaults to null + defaultDataLayer: { platform: "gatsby" }, + // Specify optional GTM environment details. gtmAuth: "YOUR_GOOGLE_TAGMANAGER_ENVIRONMENT_AUTH_STRING", gtmPreview: "YOUR_GOOGLE_TAGMANAGER_ENVIRONMENT_PREVIEW_NAME", @@ -29,6 +34,27 @@ plugins: [ ] ``` +If you like to use data at runtime for your defaultDataLayer you can do that by defining it as a function. + +```javascript +// In your gatsby-config.js +plugins: [ + { + resolve: "gatsby-plugin-google-tagmanager", + options: { + // datalayer to be set before GTM is loaded + // should be a stringified object or object + // Defaults to null + defaultDataLayer: function() { + return { + pageType: window.pageType, + } + }, + }, + }, +] +``` + #### Tracking routes This plugin will fire a new event called `gatsby-route-change` whenever a route is changed in your Gatsby application. To record this in Google Tag Manager, we will need to add a trigger to the desired tag to listen for the event: diff --git a/packages/gatsby-plugin-google-tagmanager/src/__tests__/__snapshots__/gatsby-ssr.js.snap b/packages/gatsby-plugin-google-tagmanager/src/__tests__/__snapshots__/gatsby-ssr.js.snap new file mode 100644 index 0000000000000..94aee010f1bc1 --- /dev/null +++ b/packages/gatsby-plugin-google-tagmanager/src/__tests__/__snapshots__/gatsby-ssr.js.snap @@ -0,0 +1,9 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`gatsby-plugin-google-tagmanager defaultDatalayer should add a function as defaultDatalayer 1`] = `"window.dataLayer = window.dataLayer || [];window.dataLayer.push((function () { return { pageCategory: window.pageType }; })()); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl+'';f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer', 'undefined');"`; + +exports[`gatsby-plugin-google-tagmanager defaultDatalayer should add a static object as defaultDatalayer 1`] = `"window.dataLayer = window.dataLayer || [];window.dataLayer.push({\\"pageCategory\\":\\"home\\"}); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl+'';f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer', 'undefined');"`; + +exports[`gatsby-plugin-google-tagmanager should load gtm 1`] = `"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl+'';f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer', 'undefined');"`; + +exports[`gatsby-plugin-google-tagmanager should load gtm 2`] = `"<iframe src=\\"https://www.googletagmanager.com/ns.html?id=undefined\\" height=\\"0\\" width=\\"0\\" style=\\"display: none; visibility: hidden\\"></iframe>"`; diff --git a/packages/gatsby-plugin-google-tagmanager/src/__tests__/gatsby-ssr.js b/packages/gatsby-plugin-google-tagmanager/src/__tests__/gatsby-ssr.js new file mode 100644 index 0000000000000..92e0fe323e051 --- /dev/null +++ b/packages/gatsby-plugin-google-tagmanager/src/__tests__/gatsby-ssr.js @@ -0,0 +1,128 @@ +const { oneLine } = require(`common-tags`) +const { onRenderBody } = require(`../gatsby-ssr`) + +describe(`gatsby-plugin-google-tagmanager`, () => { + it(`should load gtm`, () => { + const mocks = { + setHeadComponents: jest.fn(), + setPreBodyComponents: jest.fn(), + } + const pluginOptions = { + includeInDevelopment: true, + } + + onRenderBody(mocks, pluginOptions) + const [headConfig] = mocks.setHeadComponents.mock.calls[0][0] + const [preBodyConfig] = mocks.setPreBodyComponents.mock.calls[0][0] + + expect(headConfig.props.dangerouslySetInnerHTML.__html).toMatchSnapshot() + expect(preBodyConfig.props.dangerouslySetInnerHTML.__html).toMatchSnapshot() + // check if no newlines were added + expect(preBodyConfig.props.dangerouslySetInnerHTML.__html).not.toContain( + `\n` + ) + }) + + describe(`defaultDatalayer`, () => { + it(`should add no dataLayer by default`, () => { + const mocks = { + setHeadComponents: jest.fn(), + setPreBodyComponents: jest.fn(), + } + const pluginOptions = { + id: `123`, + includeInDevelopment: true, + } + + onRenderBody(mocks, pluginOptions) + const [headConfig] = mocks.setHeadComponents.mock.calls[0][0] + // eslint-disable-next-line no-useless-escape + expect(headConfig.props.dangerouslySetInnerHTML.__html).not.toContain( + `window.dataLayer` + ) + expect(headConfig.props.dangerouslySetInnerHTML.__html).not.toContain( + `undefined` + ) + }) + + it(`should add a static object as defaultDatalayer`, () => { + const mocks = { + setHeadComponents: jest.fn(), + setPreBodyComponents: jest.fn(), + } + const pluginOptions = { + includeInDevelopment: true, + defaultDataLayer: { + type: `object`, + value: { pageCategory: `home` }, + }, + } + + onRenderBody(mocks, pluginOptions) + const [headConfig] = mocks.setHeadComponents.mock.calls[0][0] + expect(headConfig.props.dangerouslySetInnerHTML.__html).toMatchSnapshot() + expect(headConfig.props.dangerouslySetInnerHTML.__html).toContain( + `window.dataLayer` + ) + }) + + it(`should add a function as defaultDatalayer`, () => { + const mocks = { + setHeadComponents: jest.fn(), + setPreBodyComponents: jest.fn(), + } + const pluginOptions = { + includeInDevelopment: true, + defaultDataLayer: { + type: `function`, + value: function() { + return { pageCategory: window.pageType } + }.toString(), + }, + } + + const datalayerFuncAsString = oneLine`${ + pluginOptions.defaultDataLayer.value + }` + + onRenderBody(mocks, pluginOptions) + const [headConfig] = mocks.setHeadComponents.mock.calls[0][0] + expect(headConfig.props.dangerouslySetInnerHTML.__html).toMatchSnapshot() + expect(headConfig.props.dangerouslySetInnerHTML.__html).toContain( + `window.dataLayer.push((${datalayerFuncAsString})());` + ) + }) + + it(`should report an error when data is not valid`, () => { + const mocks = { + setHeadComponents: jest.fn(), + setPreBodyComponents: jest.fn(), + reporter: { + panic: msg => { + throw new Error(msg) + }, + }, + } + let pluginOptions = { + includeInDevelopment: true, + defaultDataLayer: { + type: `number`, + value: 5, + }, + } + + expect(() => onRenderBody(mocks, pluginOptions)).toThrow() + + class Test {} + pluginOptions = { + includeInDevelopment: true, + defaultDataLayer: { + type: `object`, + value: new Test(), + }, + } + + expect(() => onRenderBody(mocks, pluginOptions)).toThrow() + }) + }) +}) diff --git a/packages/gatsby-plugin-google-tagmanager/src/gatsby-node.js b/packages/gatsby-plugin-google-tagmanager/src/gatsby-node.js new file mode 100644 index 0000000000000..d167c44bb02eb --- /dev/null +++ b/packages/gatsby-plugin-google-tagmanager/src/gatsby-node.js @@ -0,0 +1,13 @@ +/** @type {import('gatsby').GatsbyNode["onPreInit"]} */ +exports.onPreInit = (args, options) => { + if (options.defaultDataLayer) { + options.defaultDataLayer = { + type: typeof options.defaultDataLayer, + value: options.defaultDataLayer, + } + + if (options.defaultDataLayer.type === `function`) { + options.defaultDataLayer.value = options.defaultDataLayer.value.toString() + } + } +} diff --git a/packages/gatsby-plugin-google-tagmanager/src/gatsby-ssr.js b/packages/gatsby-plugin-google-tagmanager/src/gatsby-ssr.js index 99bdd060719e7..40f55eca1bb4f 100644 --- a/packages/gatsby-plugin-google-tagmanager/src/gatsby-ssr.js +++ b/packages/gatsby-plugin-google-tagmanager/src/gatsby-ssr.js @@ -1,47 +1,70 @@ import React from "react" import { oneLine, stripIndent } from "common-tags" +const generateGTM = ({ id, environmentParamStr }) => stripIndent` + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= + 'https://www.googletagmanager.com/gtm.js?id='+i+dl+'${environmentParamStr}';f.parentNode.insertBefore(j,f); + })(window,document,'script','dataLayer', '${id}');` + +const generateGTMIframe = ({ id, environmentParamStr }) => + oneLine`<iframe src="https://www.googletagmanager.com/ns.html?id=${id}${environmentParamStr}" height="0" width="0" style="display: none; visibility: hidden"></iframe>` + +const generateDefaultDataLayer = (dataLayer, reporter) => { + let result = `window.dataLayer = window.dataLayer || [];` + + if (dataLayer.type === `function`) { + result += `window.dataLayer.push((${dataLayer.value})());` + } else { + if (dataLayer.type !== `object` || dataLayer.value.constructor !== Object) { + reporter.panic( + `Oops the plugin option "defaultDataLayer" should be a plain object. "${dataLayer}" is not valid.` + ) + } + + result += `window.dataLayer.push(${JSON.stringify(dataLayer.value)});` + } + + return stripIndent`${result}` +} + exports.onRenderBody = ( - { setHeadComponents, setPreBodyComponents }, - pluginOptions + { setHeadComponents, setPreBodyComponents, reporter }, + { id, includeInDevelopment = false, gtmAuth, gtmPreview, defaultDataLayer } ) => { - if ( - process.env.NODE_ENV === `production` || - pluginOptions.includeInDevelopment - ) { + if (process.env.NODE_ENV === `production` || includeInDevelopment) { const environmentParamStr = - pluginOptions.gtmAuth && pluginOptions.gtmPreview + gtmAuth && gtmPreview ? oneLine` - &gtm_auth=${pluginOptions.gtmAuth}&gtm_preview=${ - pluginOptions.gtmPreview - }&gtm_cookies_win=x + &gtm_auth=${gtmAuth}&gtm_preview=${gtmPreview}&gtm_cookies_win=x ` : `` + let defaultDataLayerCode = `` + if (defaultDataLayer) { + defaultDataLayerCode = generateDefaultDataLayer( + defaultDataLayer, + reporter + ) + } + setHeadComponents([ <script key="plugin-google-tagmanager" dangerouslySetInnerHTML={{ - __html: stripIndent` - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': - new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], - j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - 'https://www.googletagmanager.com/gtm.js?id='+i+dl+'${environmentParamStr}';f.parentNode.insertBefore(j,f); - })(window,document,'script','${pluginOptions.dataLayerName || - `dataLayer`}', '${pluginOptions.id}');`, + __html: oneLine` + ${defaultDataLayerCode} + ${generateGTM({ id, environmentParamStr })}`, }} />, ]) - // TODO: add a test to verify iframe contains no line breaks. Ref: https://github.com/gatsbyjs/gatsby/issues/11014 setPreBodyComponents([ <noscript key="plugin-google-tagmanager" dangerouslySetInnerHTML={{ - __html: stripIndent` - <iframe src="https://www.googletagmanager.com/ns.html?id=${ - pluginOptions.id - }${environmentParamStr}" height="0" width="0" style="display: none; visibility: hidden"></iframe>`, + __html: generateGTMIframe({ id, environmentParamStr }), }} />, ])
279f470db2322389d4fc99e88139fcec0258e250
2021-10-01 20:41:10
Carsten
docs: fix "(r)esource congestion" (#33392)
false
fix "(r)esource congestion" (#33392)
docs
diff --git a/docs/docs/how-to/performance/improving-site-performance.md b/docs/docs/how-to/performance/improving-site-performance.md index f933daa194375..b638424a3c317 100644 --- a/docs/docs/how-to/performance/improving-site-performance.md +++ b/docs/docs/how-to/performance/improving-site-performance.md @@ -194,7 +194,7 @@ Media files are often the largest files on a site, and so can delay page load si [Gatsby Plugin Image](/docs/how-to/images-and-media/using-gatsby-image/) is our approach to optimizing image loading performance. It does three basic things: -1. It delays non-essential work for images not above the fold to avoid esource congestion. +1. It delays non-essential work for images not above the fold to avoid resource congestion. 2. It provides a placeholder during image fetch. 3. It minimizes image file size to reduce request roundtrip time.
aa9df5c3e3d96cdc019403bcf8617183b24d8a8d
2020-11-27 03:11:31
Vladimir Razuvaev
chore: fix publishing scripts (#28292)
false
fix publishing scripts (#28292)
chore
diff --git a/package.json b/package.json index 1ca3de1cd9934..907bfd68044b5 100644 --- a/package.json +++ b/package.json @@ -141,13 +141,12 @@ "prebootstrap": "yarn", "prettier": "prettier \"**/*.{md,css,scss,yaml,yml}\"", "prepublishOnly": "node scripts/check-publish-access", - "prepack": "node scripts/clear-package-dir --verbose", "publish": "echo \"Use `yarn publish-next` or `yarn publish-release` instead of `yarn run publish`\"", "publish-canary": "lerna publish --canary --yes", - "publish-preminor": "lerna publish preminor --pre-dist-tag=next --preid=next --force-publish --allow-branch=master --message=\"chore(release): Publish next pre-minor\"", - "publish-next": "lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"", - "publish-rc": "lerna publish prerelease --pre-dist-tag=rc --preid=rc --message=\"chore(release): Publish rc\"", - "publish-release": "lerna publish", + "publish-preminor": "node scripts/clear-package-dir preminor --verbose && lerna publish preminor --pre-dist-tag=next --preid=next --force-publish --allow-branch=master --message=\"chore(release): Publish next pre-minor\"", + "publish-next": "node scripts/clear-package-dir prerelease --verbose && lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"", + "publish-rc": "node scripts/clear-package-dir prerelease --verbose && lerna publish prerelease --pre-dist-tag=rc --preid=rc --message=\"chore(release): Publish rc\"", + "publish-release": "node scripts/clear-package-dir patch --verbose && lerna publish patch", "test": "npm-run-all -s lint jest test:peril", "test:coverage": "jest --coverage", "test:update": "jest --updateSnapshot", diff --git a/scripts/clear-package-dir.js b/scripts/clear-package-dir.js index 0f65e00f1c88e..f8fec2e95ef77 100644 --- a/scripts/clear-package-dir.js +++ b/scripts/clear-package-dir.js @@ -2,6 +2,9 @@ const ignore = require(`ignore`) const fs = require(`fs-extra`) const yargs = require(`yargs`) const chalk = require(`chalk`) +const collectUpdates = require(`@lerna/collect-updates`) +const PackageGraph = require(`@lerna/package-graph`) +const Project = require(`@lerna/project`) const PromptUtilities = require(`@lerna/prompt`) const _ = require(`lodash`) const path = require(`path`) @@ -9,6 +12,24 @@ const packlist = require(`npm-packlist`) const { execSync } = require(`child_process`) let argv = yargs + .command( + `* <bump>`, + `Clear previously built and potentially stale files in packages`, + commandBuilder => { + commandBuilder.positional(`bump`, { + choices: [ + `major`, + `minor`, + `patch`, + `premajor`, + `preminor`, + `prepatch`, + `prerelease`, + ], + }) + } + ) + .option(`dry-run`, { default: false, describe: `Don't delete files - just show what would be deleted`, @@ -94,12 +115,20 @@ const getListOfFilesToClear = async ({ location, name }) => { const run = async () => { try { - const changed = JSON.parse( - execSync( - `${path.resolve( - `node_modules/.bin/lerna` - )} changed --json --loglevel=silent` - ).toString() + const project = new Project(process.cwd()) + + const packages = await project.getPackages() + const packageGraph = new PackageGraph(packages) + + const changed = collectUpdates( + packageGraph.rawPackageList, + packageGraph, + { cwd: process.cwd() }, + { + ...project.config, + loglevel: `silent`, + bump: argv.bump, + } ) const filesToDelete = _.flatten(
c232a58a7d8b6813a9b1467e10a52f9c979e7db8
2019-01-10 19:30:55
Dustin Schau
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby-image/CHANGELOG.md b/packages/gatsby-image/CHANGELOG.md index 91adbf984067f..fec290ac8112f 100644 --- a/packages/gatsby-image/CHANGELOG.md +++ b/packages/gatsby-image/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.26"></a> + +## [2.0.26](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image/compare/[email protected]@2.0.26) (2019-01-10) + +**Note:** Version bump only for package gatsby-image + <a name="2.0.25"></a> ## [2.0.25](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-image/compare/[email protected]@2.0.25) (2018-12-13) diff --git a/packages/gatsby-image/package.json b/packages/gatsby-image/package.json index df4cb3ad7fdc8..14981e86f04aa 100644 --- a/packages/gatsby-image/package.json +++ b/packages/gatsby-image/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-image", "description": "Lazy-loading React image component with optional support for the blur-up effect.", - "version": "2.0.25", + "version": "2.0.26", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby-link/CHANGELOG.md b/packages/gatsby-link/CHANGELOG.md index fde70c9633c9a..c531684572c94 100644 --- a/packages/gatsby-link/CHANGELOG.md +++ b/packages/gatsby-link/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.8"></a> + +## [2.0.8](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link/compare/[email protected]@2.0.8) (2019-01-10) + +### Bug Fixes + +- enable ref forwarding with forwardRef ([#9892](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link/issues/9892)) ([b6d9775](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link/commit/b6d9775)) + <a name="2.0.7"></a> ## [2.0.7](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link/compare/[email protected]@2.0.7) (2018-11-29) diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index a7801dc1cd964..62e59a6004c93 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-link", "description": "An enhanced Link component for Gatsby sites with support for resource prefetching", - "version": "2.0.7", + "version": "2.0.8", "author": "Kyle Mathews <[email protected]>", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 0126ef4d9359e..5117d40d58eb7 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.91"></a> + +## [2.0.91](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.91) (2019-01-10) + +**Note:** Version bump only for package gatsby + <a name="2.0.90"></a> ## [2.0.90](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.90) (2019-01-09) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 222873c2986d1..f0c71362472f0 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.0.90", + "version": "2.0.91", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js" @@ -64,7 +64,7 @@ "fs-exists-cached": "1.0.0", "fs-extra": "^5.0.0", "gatsby-cli": "^2.4.8", - "gatsby-link": "^2.0.7", + "gatsby-link": "^2.0.8", "gatsby-plugin-page-creator": "^2.0.5", "gatsby-react-router-scroll": "^2.0.2", "glob": "^7.1.1",
412b523fcb2909eabc3fae00f4bba5c3b59cc466
2020-11-12 19:09:07
Max Stoiber
fix(gatsby): allow unknown plugin options (#27938)
false
allow unknown plugin options (#27938)
fix
diff --git a/packages/gatsby/src/bootstrap/load-plugins/__tests__/load-plugins.ts b/packages/gatsby/src/bootstrap/load-plugins/__tests__/load-plugins.ts index c8d98d76e1d31..76c7552d58e57 100644 --- a/packages/gatsby/src/bootstrap/load-plugins/__tests__/load-plugins.ts +++ b/packages/gatsby/src/bootstrap/load-plugins/__tests__/load-plugins.ts @@ -18,6 +18,7 @@ afterEach(() => { Object.keys(reporter).forEach(method => { reporter[method].mockClear() }) + mockProcessExit.mockClear() }) describe(`Load plugins`, () => { @@ -287,6 +288,31 @@ describe(`Load plugins`, () => { expect(mockProcessExit).toHaveBeenCalledWith(1) }) + it(`allows unknown options`, async () => { + const plugins = [ + { + resolve: `gatsby-plugin-google-analytics`, + options: { + trackingId: `yes`, + doesThisExistInTheSchema: `no`, + }, + }, + ] + await loadPlugins({ + plugins, + }) + + expect(reporter.error as jest.Mock).toHaveBeenCalledTimes(0) + expect(reporter.warn as jest.Mock).toHaveBeenCalledTimes(1) + expect((reporter.warn as jest.Mock).mock.calls[0]).toMatchInlineSnapshot(` + Array [ + "Warning: there are unknown plugin options for \\"gatsby-plugin-google-analytics\\": doesThisExistInTheSchema + Please open an issue at ghub.io/gatsby-plugin-google-analytics if you believe this option is valid.", + ] + `) + expect(mockProcessExit).not.toHaveBeenCalled() + }) + it(`defaults plugin options to the ones defined in the schema`, async () => { let plugins = await loadPlugins({ plugins: [ diff --git a/packages/gatsby/src/bootstrap/load-plugins/validate.ts b/packages/gatsby/src/bootstrap/load-plugins/validate.ts index b29107379e2e2..5edfd6e5033be 100644 --- a/packages/gatsby/src/bootstrap/load-plugins/validate.ts +++ b/packages/gatsby/src/bootstrap/load-plugins/validate.ts @@ -15,6 +15,8 @@ import { ISiteConfig, } from "./types" import { IPluginRefObject } from "gatsby-plugin-utils/dist/types" +import { stripIndent } from "common-tags" +import { trackCli } from "gatsby-telemetry" interface IApi { version?: string @@ -237,6 +239,14 @@ async function validatePluginsOptions( } } catch (error) { if (error instanceof Joi.ValidationError) { + // Show a small warning on unknown options rather than erroring + const validationWarnings = error.details.filter( + err => err.type === `object.unknown` + ) + const validationErrors = error.details.filter( + err => err.type !== `object.unknown` + ) + // If rootDir and plugin.parentDir are the same, i.e. if this is a plugin a user configured in their gatsby-config.js (and not a sub-theme that added it), this will be "" // Otherwise, this will contain (and show) the relative path const configDir = @@ -244,15 +254,41 @@ async function validatePluginsOptions( rootDir && path.relative(rootDir, plugin.parentDir)) || null - reporter.error({ - id: `11331`, - context: { - configDir, - validationErrors: error.details, - pluginName: plugin.resolve, - }, - }) - errors++ + if (validationErrors.length > 0) { + reporter.error({ + id: `11331`, + context: { + configDir, + validationErrors, + pluginName: plugin.resolve, + }, + }) + errors++ + } + + if (validationWarnings.length > 0) { + reporter.warn( + stripIndent(` + Warning: there are unknown plugin options for "${ + plugin.resolve + }"${ + configDir ? `, configured by ${configDir}` : `` + }: ${validationWarnings + .map(error => error.path.join(`.`)) + .join(`, `)} + Please open an issue at ghub.io/${ + plugin.resolve + } if you believe this option is valid. + `) + ) + trackCli(`UNKNOWN_PLUGIN_OPTION`, { + name: plugin.resolve, + valueString: validationWarnings + .map(error => error.path.join(`.`)) + .join(`, `), + }) + // We do not increment errors++ here as we do not want to process.exit if there are only warnings + } return plugin }
f1c6cf1b76a7013b272fbb7c0d6dfd17c045bb12
2018-08-30 01:07:54
Kyle Mathews
chore(release): Publish
false
Publish
chore
diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 0077bf4a66176..4a9e96703ab45 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<a name="2.0.0-rc.3"></a> + +# [2.0.0-rc.3](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-rc.3) (2018-08-29) + +**Note:** Version bump only for package gatsby + <a name="2.0.0-rc.2"></a> # [2.0.0-rc.2](https://github.com/gatsbyjs/gatsby/compare/[email protected]@2.0.0-rc.2) (2018-08-29) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index cb44f43a76ead..0c27c6e0f285c 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "2.0.0-rc.2", + "version": "2.0.0-rc.3", "author": "Kyle Mathews <[email protected]>", "bin": { "gatsby": "./dist/bin/gatsby.js"
3d1512ebd70dab24b40819590bf4b977003390b0
2018-11-09 07:33:08
Michal Piechowiak
chore: restore version script (#9830)
false
restore version script (#9830)
chore
diff --git a/package.json b/package.json index 61cec6ec68b89..753bcb6a017c5 100644 --- a/package.json +++ b/package.json @@ -81,6 +81,7 @@ "test:update": "jest --updateSnapshot", "test:watch": "jest --watch", "test:integration": "jest --config=integration-tests/jest.config.js", + "version": "prettier --write \"**/CHANGELOG.md\"", "watch": "lerna run watch --no-sort --stream --concurrency 999" }, "workspaces": [ diff --git a/packages/gatsby-plugin-catch-links/CHANGELOG.md b/packages/gatsby-plugin-catch-links/CHANGELOG.md index 05b8f009e5f9f..b25dc77da7352 100644 --- a/packages/gatsby-plugin-catch-links/CHANGELOG.md +++ b/packages/gatsby-plugin-catch-links/CHANGELOG.md @@ -4,16 +4,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. <a name="2.0.8"></a> -## [2.0.8](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/compare/[email protected]@2.0.8) (2018-11-09) +## [2.0.8](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/compare/[email protected]@2.0.8) (2018-11-09) ### Bug Fixes -* **gatsby-plugin-catch-links:** handle SVGAnimatedString href values ([#9829](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/issues/9829)) ([4538ff3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/commit/4538ff3)), closes [#9816](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/issues/9816) - - - - +- **gatsby-plugin-catch-links:** handle SVGAnimatedString href values ([#9829](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/issues/9829)) ([4538ff3](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/commit/4538ff3)), closes [#9816](https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links/issues/9816) <a name="2.0.7"></a>
f32c0167605baf156108bdd600b9f0cd19bab6ce
2019-02-21 02:56:43
Benjamin Lannon
fix(gatsby): Stopped queueing further calls to onCreatePage after a page is deleted (#11777)
false
Stopped queueing further calls to onCreatePage after a page is deleted (#11777)
fix
diff --git a/packages/gatsby/src/utils/api-runner-node.js b/packages/gatsby/src/utils/api-runner-node.js index c9a8ae89b7b30..a4cf64e97b5f0 100644 --- a/packages/gatsby/src/utils/api-runner-node.js +++ b/packages/gatsby/src/utils/api-runner-node.js @@ -9,6 +9,7 @@ const getCache = require(`./get-cache`) const apiList = require(`./api-node-docs`) const createNodeId = require(`./create-node-id`) const createContentDigest = require(`./create-content-digest`) +const { emitter } = require(`../redux`) const { getNonGatsbyCodeFrame } = require(`./stack-trace-utils`) // Bind action creators per plugin so we can auto-add @@ -277,7 +278,26 @@ module.exports = async (api, args = {}, pluginSource) => apisRunningByTraceId.set(apiRunInstance.traceId, 1) } + let stopQueuedApiRuns = false + let onAPIRunComplete = null + if (api === `onCreatePage`) { + const path = args.page.path + const actionHandler = action => { + if (action.payload.path === path) { + stopQueuedApiRuns = true + } + } + emitter.on(`DELETE_PAGE`, actionHandler) + onAPIRunComplete = () => { + emitter.off(`DELETE_PAGE`, actionHandler) + } + } + Promise.mapSeries(noSourcePluginPlugins, plugin => { + if (stopQueuedApiRuns) { + return null + } + let pluginName = plugin.name === `default-site-plugin` ? `gatsby-node.js` @@ -290,6 +310,9 @@ module.exports = async (api, args = {}, pluginSource) => return null }) }).then(results => { + if (onAPIRunComplete) { + onAPIRunComplete() + } // Remove runner instance apisRunningById.delete(apiRunInstance.id) const currentCount = apisRunningByTraceId.get(apiRunInstance.traceId)
d95b258fcc3a8e9b8b1c6d7f121690a5d4f44bf6
2021-05-17 16:54:16
Alex Moon
fix(gatsby-plugin-sitemap): Sitemap path bug (#31184)
false
Sitemap path bug (#31184)
fix
diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index ed512430862f5..18e3889559232 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -2,7 +2,10 @@ "name": "gatsby-plugin-sitemap", "description": "Gatsby plugin that automatically creates a sitemap for your site", "version": "4.2.0-next.1", - "author": "Nicholas Young &lt;[email protected]&gt;", + "contributors": [ + "Alex Moon <[email protected]>", + "Nicholas Young <[email protected]>" + ], "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, @@ -10,7 +13,7 @@ "@babel/runtime": "^7.12.5", "common-tags": "^1.8.0", "minimatch": "^3.0.4", - "sitemap": "^6.3.0" + "sitemap": "^7.0.0" }, "devDependencies": { "@babel/cli": "^7.12.1", diff --git a/packages/gatsby-plugin-sitemap/src/__tests__/gatsby-node.js b/packages/gatsby-plugin-sitemap/src/__tests__/gatsby-node.js index ecf5877737966..44f11c269e478 100644 --- a/packages/gatsby-plugin-sitemap/src/__tests__/gatsby-node.js +++ b/packages/gatsby-plugin-sitemap/src/__tests__/gatsby-node.js @@ -155,4 +155,42 @@ describe(`gatsby-plugin-sitemap Node API`, () => { expect(page.url).toEqual(expect.stringContaining(prefix)) }) }) + + it(`should output modified paths to sitemap`, async () => { + const graphql = jest.fn() + graphql.mockResolvedValue({ + data: { + site: { + siteMetadata: { + siteUrl: `http://dummy.url`, + }, + }, + allSitePage: { + nodes: [ + { + path: `/page-1`, + }, + { + path: `/page-2`, + }, + ], + }, + }, + }) + const prefix = `/test` + const subdir = `/subdir` + const options = { + output: subdir, + } + await onPostBuild( + { graphql, pathPrefix: prefix, reporter }, + await schema.validateAsync(options) + ) + expect(sitemap.simpleSitemapAndIndex.mock.calls[0][0].publicBasePath).toBe( + path.posix.join(prefix, subdir) + ) + expect(sitemap.simpleSitemapAndIndex.mock.calls[0][0].destinationDir).toBe( + path.join(`public`, subdir) + ) + }) }) diff --git a/packages/gatsby-plugin-sitemap/src/gatsby-node.js b/packages/gatsby-plugin-sitemap/src/gatsby-node.js index 68f517d63b391..b295ecca12bad 100644 --- a/packages/gatsby-plugin-sitemap/src/gatsby-node.js +++ b/packages/gatsby-plugin-sitemap/src/gatsby-node.js @@ -83,11 +83,13 @@ exports.onPostBuild = async ( } } - const sitemapPath = path.join(`public`, output) + const sitemapWritePath = path.join(`public`, output) + const sitemapPublicPath = path.posix.join(pathPrefix, output) return simpleSitemapAndIndex({ hostname: siteUrl, - destinationDir: sitemapPath, + publicBasePath: sitemapPublicPath, + destinationDir: sitemapWritePath, sourceData: serializedPages, limit: entryLimit, gzip: false, diff --git a/yarn.lock b/yarn.lock index 2a1ba599b3baa..436f1dc8d457b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4631,7 +4631,7 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@>= 8", "@types/node@^14.10.2", "@types/node@^14.14.10", "@types/node@^14.14.5", "@types/node@^14.6.4": +"@types/node@*", "@types/node@>= 8", "@types/node@^14.10.2", "@types/node@^14.14.10", "@types/node@^14.14.5": version "14.14.31" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055" integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g== @@ -4641,6 +4641,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.6.tgz#7b73cce37352936e628c5ba40326193443cfba25" integrity sha512-sRVq8d+ApGslmkE9e3i+D3gFGk7aZHAT+G4cIpIEdLJYPsWiSPwcAnJEjddLQQDqV3Ra2jOclX/Sv6YrvGYiWA== +"@types/node@^15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.1.tgz#ef34dea0881028d11398be5bf4e856743e3dc35a" + integrity sha512-TMkXt0Ck1y0KKsGr9gJtWGjttxlZnnvDtphxUOSd0bfaR6Q1jle+sPvrzNR1urqYTWMinoKvjKfXUGsumaO1PA== + "@types/node@^8.5.7": version "8.10.59" resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.59.tgz#9e34261f30183f9777017a13d185dfac6b899e04" @@ -5965,10 +5970,10 @@ are-we-there-yet@~1.1.2: delegates "^1.0.0" readable-stream "^2.0.6" -arg@^4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" - integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== +arg@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.0.tgz#a20e2bb5710e82950a516b3f933fee5ed478be90" + integrity sha512-4P8Zm2H+BRS+c/xX1LrHw0qKpEhdlZjLCgWy+d78T9vqa2Z2SiD2wMrYuWIAFy5IZUD7nnNXroRttz+0RzlrzQ== argparse@^1.0.10, argparse@^1.0.6, argparse@^1.0.7: version "1.0.10" @@ -24910,14 +24915,14 @@ sisteransi@^1.0.5: resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== -sitemap@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-6.3.0.tgz#c9affa49d654b5bd76a56a8e67cee3c17560a8f3" - integrity sha512-U0jS5b+V/MQOkmkqwq3ow++sE1A+F4Yo/nDU5wksiGFO7ww7VutOXJWdM2wk54Ztvl4UmlX65l2GVz5jeI4rgw== +sitemap@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-7.0.0.tgz#022bef4df8cba42e38e1fe77039f234cab0372b6" + integrity sha512-Ud0jrRQO2k7fEtPAM+cQkBKoMvxQyPKNXKDLn8tRVHxRCsdDQ2JZvw+aZ5IRYYQVAV9iGxEar6boTwZzev+x3g== dependencies: - "@types/node" "^14.6.4" + "@types/node" "^15.0.1" "@types/sax" "^1.2.1" - arg "^4.1.3" + arg "^5.0.0" sax "^1.2.4" slash@^1.0.0:
f21a63b91f21dcf2565017a18f514159fefe0447
2022-03-03 18:05:21
Nicholas Martin
chore(docs): typo in typescript documentation (#35040)
false
typo in typescript documentation (#35040)
chore
diff --git a/docs/docs/how-to/custom-configuration/typescript.md b/docs/docs/how-to/custom-configuration/typescript.md index 9ab9bb2e67397..3297312b76b5f 100644 --- a/docs/docs/how-to/custom-configuration/typescript.md +++ b/docs/docs/how-to/custom-configuration/typescript.md @@ -265,7 +265,7 @@ Gatsby natively supports JavaScript and TypeScript, you can change files from `. - Run `gatsby clean` to remove any old artifacts - Convert your `.js`/`.jsx` files to `.ts/.tsx` - Install `@types/node`, `@types/react`, `@types/react-dom`, `typescript` as `devDependencies` -- Add a `tsconfig.json` file using `npx tsc init` or use the one from [gatsby-minimal-starter-ts](https://github.com/gatsbyjs/gatsby/blob/master/starters/gatsby-starter-minimal-ts/tsconfig.json) +- Add a `tsconfig.json` file using `npx tsc --init` or use the one from [gatsby-minimal-starter-ts](https://github.com/gatsbyjs/gatsby/blob/master/starters/gatsby-starter-minimal-ts/tsconfig.json) - Rename `gatsby-*` files: - `gatsby-node.js` to `gatsby-node.ts` - `gatsby-config.js` to `gatsby-config.ts`
0def3ac966ef16dda9405252aafc70a304855898
2021-10-26 01:26:39
Kyle Mathews
fix(gatsby-source-drupal): cache backlink records (#33444)
false
cache backlink records (#33444)
fix
diff --git a/packages/gatsby-source-drupal/src/__tests__/index.js b/packages/gatsby-source-drupal/src/__tests__/index.js index a06e84cf1f3dc..2df04931d516b 100644 --- a/packages/gatsby-source-drupal/src/__tests__/index.js +++ b/packages/gatsby-source-drupal/src/__tests__/index.js @@ -20,6 +20,15 @@ jest.mock(`gatsby-source-filesystem`, () => { } }) +function makeCache() { + const store = new Map() + return { + get: async id => store.get(id), + set: async (key, value) => store.set(key, value), + store, + } +} + const normalize = require(`../normalize`) const downloadFileSpy = jest.spyOn(normalize, `downloadFile`) @@ -75,6 +84,7 @@ describe(`gatsby-source-drupal`, () => { store, getNode: id => nodes[id], getNodes, + cache: makeCache(), } beforeAll(async () => { diff --git a/packages/gatsby-source-drupal/src/gatsby-node.js b/packages/gatsby-source-drupal/src/gatsby-node.js index 7ca4bdb25a0ac..14b961e1e9a16 100644 --- a/packages/gatsby-source-drupal/src/gatsby-node.js +++ b/packages/gatsby-source-drupal/src/gatsby-node.js @@ -12,6 +12,8 @@ const { setOptions, getOptions } = require(`./plugin-options`) const { nodeFromData, downloadFile, isFileNode } = require(`./normalize`) const { + initRefsLookups, + storeRefsLookups, handleReferences, handleWebhookUpdate, handleDeletedNode, @@ -150,6 +152,8 @@ exports.sourceNodes = async ( } = pluginOptions const { createNode, setPluginStatus, touchNode } = actions + await initRefsLookups({ cache, getNode }) + // Update the concurrency limit from the plugin options requestQueue.concurrency = concurrentAPIRequests @@ -202,6 +206,7 @@ ${JSON.stringify(webhookBody, null, 4)}` } changesActivity.end() + await storeRefsLookups({ cache }) return } @@ -232,6 +237,7 @@ ${JSON.stringify(webhookBody, null, 4)}` return } changesActivity.end() + await storeRefsLookups({ cache }) return } @@ -362,6 +368,7 @@ ${JSON.stringify(webhookBody, null, 4)}` drupalFetchIncrementalActivity.end() fastBuildsSpan.finish() + await storeRefsLookups({ cache }) return } @@ -372,6 +379,7 @@ ${JSON.stringify(webhookBody, null, 4)}` initialSourcing = false if (!requireFullRebuild) { + await storeRefsLookups({ cache }) return } } @@ -635,6 +643,7 @@ ${JSON.stringify(webhookBody, null, 4)}` initialSourcing = false createNodesSpan.finish() + await storeRefsLookups({ cache, getNodes }) return } diff --git a/packages/gatsby-source-drupal/src/utils.js b/packages/gatsby-source-drupal/src/utils.js index eda40f3437987..858d861db447e 100644 --- a/packages/gatsby-source-drupal/src/utils.js +++ b/packages/gatsby-source-drupal/src/utils.js @@ -9,8 +9,38 @@ const { const { getOptions } = require(`./plugin-options`) -const backRefsNamesLookup = new Map() -const referencedNodesLookup = new Map() +let backRefsNamesLookup = new Map() +let referencedNodesLookup = new Map() + +const initRefsLookups = async ({ cache }) => { + const backRefsNamesLookupStr = await cache.get(`backRefsNamesLookup`) + const referencedNodesLookupStr = await cache.get(`referencedNodesLookup`) + + if (backRefsNamesLookupStr) { + backRefsNamesLookup = new Map(JSON.parse(backRefsNamesLookupStr)) + } + + if (referencedNodesLookupStr) { + referencedNodesLookup = new Map(JSON.parse(referencedNodesLookupStr)) + } +} + +exports.initRefsLookups = initRefsLookups + +const storeRefsLookups = async ({ cache }) => { + await Promise.all([ + cache.set( + `backRefsNamesLookup`, + JSON.stringify(Array.from(backRefsNamesLookup.entries())) + ), + cache.set( + `referencedNodesLookup`, + JSON.stringify(Array.from(referencedNodesLookup.entries())) + ), + ]) +} + +exports.storeRefsLookups = storeRefsLookups const handleReferences = ( node, @@ -333,7 +363,9 @@ ${JSON.stringify(nodeToUpdate, null, 4)} } node.internal.contentDigest = createContentDigest(node) createNode(node) - reporter.log(`Updated Gatsby node: ${node.id}`) + reporter.log( + `Updated Gatsby node: id: ${node.id} — type: ${node.internal.type}` + ) } }
9509d01e404c855e07e87dee4aeef503108edef5
2020-09-07 14:44:25
Ward Peeters
fix(gatsby): catch when lock already unlocked (#26805)
false
catch when lock already unlocked (#26805)
fix
diff --git a/packages/gatsby/src/commands/develop.ts b/packages/gatsby/src/commands/develop.ts index 93f938e243cff..4d11daba111b4 100644 --- a/packages/gatsby/src/commands/develop.ts +++ b/packages/gatsby/src/commands/develop.ts @@ -465,5 +465,7 @@ function shutdownServices( services.push(unlock()) }) - return Promise.all(services).then(() => {}) + return Promise.all(services) + .catch(() => {}) + .then(() => {}) }
69f538a870fcf75223916fdf074177966119a22b
2021-03-02 14:05:35
Janson Hartliep
chore(docs): update readme (#29837)
false
update readme (#29837)
chore
diff --git a/README.md b/README.md index cb1bdae24a31a..04f244f00f15d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ </a> </p> <h1 align="center"> - Gatsby v2 + Gatsby v3 </h1> <h3 align="center"> @@ -36,7 +36,7 @@ <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" /> </a> <a href="https://twitter.com/intent/follow?screen_name=gatsbyjs"> - <img src="https://img.shields.io/twitter/follow/gatsbyjs.svg?label=Follow%20@gatsbyjs" alt="Follow @gatsbyjs" /> + <img src="https://img.shields.io/twitter/follow/gatsbyjs.svg?label=Follow%20@gatsbyjs" alt="Follow @GatsbyJS" /> </a> </p> @@ -52,8 +52,8 @@ <a href="https://www.gatsbyjs.com/showcase/">Showcase</a> <span> · </span> <a href="https://www.gatsbyjs.com/contributing/how-to-contribute/">Contribute</a> - <span> · </span> - Support: <a href="https://twitter.com/AskGatsbyJS">Twitter</a> + <br /> + Support: <a href="https://twitter.com/AskGatsbyJS">Twitter</a>, <a href="https://github.com/gatsbyjs/gatsby/discussions">Discussions</a> <span> & </span> <a href="https://gatsby.dev/discord">Discord</a> </h3> @@ -78,7 +78,7 @@ Gatsby is a modern web framework for blazing fast websites. - **Host at Scale for Pennies.** Gatsby sites don’t require servers so you can host your entire site on a CDN for a fraction of the cost of a server-rendered site. Many Gatsby sites can be - hosted entirely free on services like GitHub Pages and Netlify. + hosted entirely free on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/) and other similar services. [**Learn how to use Gatsby for your next project.**](https://www.gatsbyjs.com/docs/) @@ -88,8 +88,8 @@ Gatsby is a modern web framework for blazing fast websites. - [Learning Gatsby](#-learning-gatsby) - [Migration Guides](#-migration-guides) - [How to Contribute](#-how-to-contribute) -- [License](#memo-license) -- [Thanks to Our Contributors and Sponsors](#-thanks) +- [License](#-license) +- [Thanks to Our Contributors](#-thanks) ## 🚀 Get Up and Running in 5 Minutes @@ -107,8 +107,9 @@ You can get a new Gatsby site up and running on your local dev environment in 5 Get your Gatsby blog set up in a single command: ```shell - # create a new Gatsby site using the default starter - gatsby new my-blazing-fast-site + # Create a new Gatsby site using the interactive setup wizard + # Give it this name: My Gatsby site + gatsby new ``` 3. **Start the site in `develop` mode.** @@ -116,13 +117,13 @@ You can get a new Gatsby site up and running on your local dev environment in 5 Next, move into your new site’s directory and start it up: ```shell - cd my-blazing-fast-site/ + cd my-gatsby-site/ gatsby develop ``` 4. **Open the source code and start editing!** - Your site is now running at `http://localhost:8000`. Open the `my-blazing-fast-site` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes, and the browser will update in real time! + Your site is now running at `http://localhost:8000`. Open the `my-gatsby-site` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes, and the browser will update in real time! At this point, you’ve got a fully functional Gatsby website. For additional information on how you can customize your Gatsby site, see our [plugins](https://gatsbyjs.com/plugins/) and [the official tutorial](https://www.gatsbyjs.com/tutorial/). @@ -132,7 +133,7 @@ Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.com/). - **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process. -- **To dive straight into code samples head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the “<i>Guides</i>”, “<i>API Reference</i>”, and “<i>Advanced Tutorials</i>” sections in the sidebar. +- **To dive straight into code samples head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the “<i>How-to Guides</i>”, “<i>Reference</i>”, and “<i>Conceptual Guides</i>” sections in the sidebar. We welcome suggestions for improving our docs. See the [“how to contribute”](https://www.gatsbyjs.com/contributing/how-to-contribute/) documentation for more details. @@ -140,10 +141,10 @@ We welcome suggestions for improving our docs. See the [“how to contribute”] ## 💼 Migration Guides -Already have a Gatsby site? These handy guides will help you add the improvements of Gatsby v2 to your site without starting from scratch! +Already have a Gatsby site? These handy guides will help you add the improvements of Gatsby v3 to your site without starting from scratch! -- [Migrate a Gatsby site from v1 to v2](https://www.gatsbyjs.com/docs/migrating-from-v1-to-v2/) -- Still on v0? Start here: [Migrate a Gatsby site from v0 to v1](https://www.gatsbyjs.com/docs/migrating-from-v0-to-v1/) +- [Migrate from v2 to v3](https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/) +- [Migrate from v1 to v2](https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v1-to-v2/) ## ❗ Code of Conduct @@ -157,16 +158,18 @@ Check out our [**Contributing Guide**](https://www.gatsbyjs.com/contributing/how ### A note on how this repository is organized -This repository is a [monorepo](https://trunkbaseddevelopment.com/monorepos/) managed using [Lerna](https://github.com/lerna/lerna). This means there are [multiple packages](/packages) managed in this codebase, even though we publish them to NPM as separate packages. +This repository is a [monorepo](https://trunkbaseddevelopment.com/monorepos/) managed using [Lerna](https://github.com/lerna/lerna). This means there are [multiple packages](https://github.com/gatsbyjs/gatsby/tree/master/packages) managed in this codebase, even though we publish them to NPM as separate packages. -### Contributing to Gatsby v1 +### Contributing to Gatsby v2 -We are currently only accepting bug fixes for Gatsby v1. No new features will be accepted. +We are currently only accepting bug fixes for Gatsby v2. No new features will be accepted. -## :memo: License +## 📝 License Licensed under the [MIT License](./LICENSE). ## 💜 Thanks -Thanks to our many contributors and to [Netlify](https://www.netlify.com/) for hosting [Gatsby](https://www.gatsbyjs.com) and our example sites. +Thanks goes out to all our many contributors creating plugins, starters, videos, and blog posts. And a special appreciation for our community members helping with issues and PRs, or answering questions on Discord and GitHub Discussions. + +A big part of what makes Gatsby great is each and every one of you in the community. Your contributions enrich the Gatsby experience and make it better every day. diff --git a/packages/gatsby/README.md b/packages/gatsby/README.md index 3fed4853cb343..04f244f00f15d 100644 --- a/packages/gatsby/README.md +++ b/packages/gatsby/README.md @@ -1,59 +1,67 @@ <p align="center"> - <a href="https://gatsbyjs.com"> + <a href="https://www.gatsbyjs.com"> <img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" /> </a> </p> <h1 align="center"> - Gatsby v2 + Gatsby v3 </h1> <h3 align="center"> - ⚛️ 📄 :rocket: + ⚛️ 📄 🚀 +</h3> +<h3 align="center"> + Fast in every way that matters </h3> <p align="center"> - <strong>Blazing fast modern site generator for React</strong><br> - Go beyond static sites: build blogs, e-commerce sites, full-blown apps, and more with Gatsby. + Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps </p> <p align="center"> <a href="https://github.com/gatsbyjs/gatsby/blob/master/LICENSE"> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Gatsby is released under the MIT license." /> </a> - <a href="https://travis-ci.org/gatsbyjs/gatsby"> - <img src="https://travis-ci.org/gatsbyjs/gatsby.svg?branch=master" alt="Current TravisCI build status." /> + <a href="https://circleci.com/gh/gatsbyjs/gatsby"> + <img src="https://circleci.com/gh/gatsbyjs/gatsby.svg?style=shield" alt="Current CircleCI build status." /> </a> - <a href="https://www.npmjs.org/package/gatsby"> - <img src="https://img.shields.io/npm/v/gatsby.svg?style=flat-square" alt="Current npm package version." /> + <a href="https://www.npmjs.com/package/gatsby"> + <img src="https://img.shields.io/npm/v/gatsby.svg" alt="Current npm package version." /> </a> <a href="https://npmcharts.com/compare/gatsby?minimal=true"> <img src="https://img.shields.io/npm/dm/gatsby.svg" alt="Downloads per month on npm." /> </a> + <a href="https://npmcharts.com/compare/gatsby?minimal=true"> + <img src="https://img.shields.io/npm/dt/gatsby.svg" alt="Total downloads on npm." /> + </a> <a href="https://gatsbyjs.com/contributing/how-to-contribute/"> <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" /> </a> + <a href="https://twitter.com/intent/follow?screen_name=gatsbyjs"> + <img src="https://img.shields.io/twitter/follow/gatsbyjs.svg?label=Follow%20@gatsbyjs" alt="Follow @GatsbyJS" /> + </a> </p> <h3 align="center"> - <a href="https://gatsbyjs.com/docs/">Quickstart</a> - <span> · </span> - <a href="https://gatsbyjs.com/tutorial/">Tutorial</a> + <a href="https://www.gatsbyjs.com/docs/">Quickstart</a> <span> · </span> - <a href="https://gatsbyjs.com/plugins/">Plugins</a> + <a href="https://www.gatsbyjs.com/tutorial/">Tutorial</a> <span> · </span> - <a href="https://gatsbyjs.com/docs/gatsby-starters/">Starters</a> + <a href="https://www.gatsbyjs.com/plugins/">Plugins</a> <span> · </span> - <a href="https://gatsbyjs.com/showcase/">Showcase</a> + <a href="https://www.gatsbyjs.com/starters/">Starters</a> <span> · </span> - <a href="https://gatsbyjs.com/contributing/how-to-contribute/">Contribute</a> + <a href="https://www.gatsbyjs.com/showcase/">Showcase</a> <span> · </span> - Support: <a href="https://twitter.com/AskGatsbyJS">Twitter</a> + <a href="https://www.gatsbyjs.com/contributing/how-to-contribute/">Contribute</a> + <br /> + Support: <a href="https://twitter.com/AskGatsbyJS">Twitter</a>, <a href="https://github.com/gatsbyjs/gatsby/discussions">Discussions</a> <span> & </span> <a href="https://gatsby.dev/discord">Discord</a> </h3> -Gatsby is a modern framework for blazing fast websites. +Gatsby is a modern web framework for blazing fast websites. - **Go Beyond Static Websites.** Get all the benefits of static websites with none of the - limitations. Gatsby sites are fully functional React apps, so you can create high-quality, + limitations. Gatsby sites are fully functional React apps so you can create high-quality, dynamic web apps, from blogs to e-commerce sites to user dashboards. - **Use a Modern Stack for Every Site.** No matter where the data comes from, Gatsby sites are @@ -65,14 +73,14 @@ Gatsby is a modern framework for blazing fast websites. to load your data, then develop using Gatsby’s uniform GraphQL interface. - **Performance Is Baked In.** Ace your performance audits by default. Gatsby automates code - splitting, image optimization, inlining critical styles, lazy-loading and prefetching resources, + splitting, image optimization, inlining critical styles, lazy-loading, prefetching resources, and more to ensure your site is fast — no manual tuning required. -- **Host at Scale for Pennies.** Gatsby sites don’t require servers, so you can host your entire +- **Host at Scale for Pennies.** Gatsby sites don’t require servers so you can host your entire site on a CDN for a fraction of the cost of a server-rendered site. Many Gatsby sites can be - hosted entirely free on services like GitHub Pages and Netlify. + hosted entirely free on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/) and other similar services. -[**Learn how to use Gatsby for your next project.**](https://gatsbyjs.com/docs/) +[**Learn how to use Gatsby for your next project.**](https://www.gatsbyjs.com/docs/) ## What’s In This Document @@ -80,78 +88,88 @@ Gatsby is a modern framework for blazing fast websites. - [Learning Gatsby](#-learning-gatsby) - [Migration Guides](#-migration-guides) - [How to Contribute](#-how-to-contribute) -- [Thanks to Our Contributors and Sponsors](#-thanks-to-our-contributors-and-sponsors) +- [License](#-license) +- [Thanks to Our Contributors](#-thanks) ## 🚀 Get Up and Running in 5 Minutes -You can get a new Gatsby site up and running on your local dev environment in 5 minutes with these three steps: +You can get a new Gatsby site up and running on your local dev environment in 5 minutes with these four steps: + +1. **Install the Gatsby CLI.** -1. **Create a Gatsby site from a Gatsby starter.** + ```shell + npm install -g gatsby-cli - Get your Gatsby blog set up in a single command: + ``` - ```shell - # create a new Gatsby site using the default starter - gatsby new my-blazing-fast-site - ``` +2. **Create a Gatsby site from a Gatsby starter.** -2. **Start the site in `develop` mode.** + Get your Gatsby blog set up in a single command: - Next, move into your new site’s directory and start it up: + ```shell + # Create a new Gatsby site using the interactive setup wizard + # Give it this name: My Gatsby site + gatsby new + ``` - ```shell - cd my-blazing-fast-site/ - npm run develop - ``` +3. **Start the site in `develop` mode.** -3. **Open the source code and start editing!** + Next, move into your new site’s directory and start it up: - Your site is now running at `http://localhost:8000`. Open the `my-blazing-fast-site` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time! + ```shell + cd my-gatsby-site/ + gatsby develop + ``` -At this point, you’ve got a fully functional Gatsby website. For additional information on how you can customize your Gatsby site, see our [plugins](https://gatsbyjs.com/plugins/) and [the official tutorial](https://gatsbyjs.com/tutorial/). +4. **Open the source code and start editing!** + + Your site is now running at `http://localhost:8000`. Open the `my-gatsby-site` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes, and the browser will update in real time! + +At this point, you’ve got a fully functional Gatsby website. For additional information on how you can customize your Gatsby site, see our [plugins](https://gatsbyjs.com/plugins/) and [the official tutorial](https://www.gatsbyjs.com/tutorial/). ## 🎓 Learning Gatsby -Full documentation for Gatsby lives [on the website](https://gatsbyjs.com/). +Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.com/). -- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process. +- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.com/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process. -- **To dive straight into code samples head [to our documentation](https://gatsbyjs.com/docs/).** In particular, check out the “Guides”, API reference, and “Advanced Tutorials” sections in the sidebar. +- **To dive straight into code samples head [to our documentation](https://www.gatsbyjs.com/docs/).** In particular, check out the “<i>How-to Guides</i>”, “<i>Reference</i>”, and “<i>Conceptual Guides</i>” sections in the sidebar. -We welcome suggestions for improving our docs. See the [“how to contribute”](https://gatsbyjs.com/contributing/how-to-contribute/) documentation for more details. +We welcome suggestions for improving our docs. See the [“how to contribute”](https://www.gatsbyjs.com/contributing/how-to-contribute/) documentation for more details. -**Start Learning Gatsby: [Follow the Tutorial](https://gatsbyjs.com/tutorial/) · [Read the Docs](https://gatsbyjs.com/docs/)** +**Start Learning Gatsby: [Follow the Tutorial](https://www.gatsbyjs.com/tutorial/) · [Read the Docs](https://www.gatsbyjs.com/docs/)** ## 💼 Migration Guides -Already have a Gatsby site? These handy guides will help you add the improvements of Gatsby v2 to your site without starting from scratch! +Already have a Gatsby site? These handy guides will help you add the improvements of Gatsby v3 to your site without starting from scratch! + +- [Migrate from v2 to v3](https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v2-to-v3/) +- [Migrate from v1 to v2](https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v1-to-v2/) + +## ❗ Code of Conduct -- [Migrate a Gatsby site from v1 to v2](https://gatsbyjs.com/docs/migrating-from-v1-to-v2/) -- Still on v0? Start here: [Migrate a Gatsby site from v0 to v1](https://gatsbyjs.com/docs/migrating-from-v0-to-v1/) +Gatsby is dedicated to building a welcoming, diverse, safe community. We expect everyone participating in the Gatsby community to abide by our [**Code of Conduct**](https://www.gatsbyjs.com/contributing/code-of-conduct/). Please read it. Please follow it. In the Gatsby community, we work hard to build each other up and create amazing things together. 💪💜 ## 🤝 How to Contribute Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the Gatsby community! :muscle::purple_heart: -Check out our [contributor onboarding docs](https://gatsbyjs.com/contributing/how-to-contribute/) for ideas on contributing and setup steps for getting our repos up and running on your local machine. +Check out our [**Contributing Guide**](https://www.gatsbyjs.com/contributing/how-to-contribute/) for ideas on contributing and setup steps for getting our repositories up and running on your local machine. -[**Read the Contributing Guide**](https://gatsbyjs.com/contributing/how-to-contribute/) - -### Code of Conduct +### A note on how this repository is organized -Gatsby is dedicated to building a welcoming, diverse, safe community. We expect everyone participating in the Gatsby community to abide by our [Code of Conduct](https://gatsbyjs.com/contributing/code-of-conduct/). Please read it. Please follow it. In the Gatsby community, we work hard to build each other up and create amazing things together. 💪💜 +This repository is a [monorepo](https://trunkbaseddevelopment.com/monorepos/) managed using [Lerna](https://github.com/lerna/lerna). This means there are [multiple packages](https://github.com/gatsbyjs/gatsby/tree/master/packages) managed in this codebase, even though we publish them to NPM as separate packages. -[**Read the Code of Conduct**](https://gatsbyjs.com/contributing/code-of-conduct/) +### Contributing to Gatsby v2 -### A note on how this repository is organized +We are currently only accepting bug fixes for Gatsby v2. No new features will be accepted. -This repository is a [monorepo](https://trunkbaseddevelopment.com/monorepos/) managed using [Lerna](https://github.com/lerna/lerna). This means there are [multiple packages](/plugins) managed in this codebase, even though we publish them to NPM as separate packages. +## 📝 License -### Contributing to Gatsby v1 +Licensed under the [MIT License](./LICENSE). -We are currently only accepting bug fixes for Gatsby v1. No new features will be accepted. +## 💜 Thanks -## 💜 Thanks to Our Contributors and Sponsors +Thanks goes out to all our many contributors creating plugins, starters, videos, and blog posts. And a special appreciation for our community members helping with issues and PRs, or answering questions on Discord and GitHub Discussions. -Thanks to our many contributors and sponsors as well as the companies sponsoring -our testing and hosting infrastructure: [Travis CI](https://travis-ci.com/), [Appveyor](https://www.appveyor.com/), and [Netlify](https://www.netlify.com/). +A big part of what makes Gatsby great is each and every one of you in the community. Your contributions enrich the Gatsby experience and make it better every day.
e95b876545fccaf3647f80496da107ec5baf1acb
2020-07-16 18:02:19
Muescha
chore(www): fix regex in gatsby-config (#25765)
false
fix regex in gatsby-config (#25765)
chore
diff --git a/www/gatsby-config.js b/www/gatsby-config.js index 554e145318edb..6db193d483795 100644 --- a/www/gatsby-config.js +++ b/www/gatsby-config.js @@ -250,7 +250,7 @@ module.exports = { resolve: `gatsby-plugin-react-svg`, options: { rule: { - include: /assets\/(guidelines|icons|ornaments)\/.*.svg$/, + include: /assets\/(guidelines|icons|ornaments)\/.*\.svg$/, }, }, },
289acf936439f1669c5d7d142978e12d876425e5
2019-08-31 06:12:47
James Kaviyil Jose
docs(gatsby-image): Add Table of Contents to Readme (#17174)
false
Add Table of Contents to Readme (#17174)
docs
diff --git a/packages/gatsby-image/README.md b/packages/gatsby-image/README.md index b4b436e63357c..5370e3845e00f 100644 --- a/packages/gatsby-image/README.md +++ b/packages/gatsby-image/README.md @@ -16,6 +16,26 @@ of a container. Some ways you can use `<img />` won't work with gatsby-image._ **[Demo](https://using-gatsby-image.gatsbyjs.org)** +## Table of Contents + +- [Problem](#problem) +- [Solution](#solution) +- [Install](#install) +- [How to use](#how-to-use) +- [Polyfilling object-fit/object-position for IE](#polyfilling-object-fitobject-position-for-ie) +- [Types of Responsive Images](#two-types-of-responsive-images) +- [Fragments](#fragments) + - [gatsby-transformer-sharp](#gatsby-transformer-sharp) + - [gatsby-source-contentful](#gatsby-source-contentful) + - [gatsby-source-datocms](#gatsby-source-datocms) + - [gatsby-source-sanity](#gatsby-source-sanity) +- [Fixed Queries](#fixed-queries) +- [Fluid Queries](#fluid-queries) +- [Art directing multiple images](#art-directing-multiple-images) +- [Gatsby Image Props](#gatsby-image-props) +- [Image Processing Arguments](#image-processing-arguments) +- [Other Stuff](#some-other-stuff-to-be-aware-of) + ## Problem Large, unoptimized images dramatically slow down your site.
bf2430c2864282e86d30fb897fa76b7a67a8b81e
2020-10-08 12:31:48
Megan Sullivan
fix: add gatsby-admin public folders to prettierignore (#27329)
false
add gatsby-admin public folders to prettierignore (#27329)
fix
diff --git a/.prettierignore b/.prettierignore index 669951d4eb352..c027869c6d105 100644 --- a/.prettierignore +++ b/.prettierignore @@ -22,6 +22,8 @@ packages/**/*.js !packages/gatsby-plugin-mdx/**/*.js packages/gatsby-plugin-mdx/node_modules/**/*.js packages/gatsby/cache-dir/commonjs/**/*.js +packages/gatsby-admin/public/styles.* +packages/gatsby/gatsby-admin-public/styles.* # fixtures **/__testfixtures__/**
90e96cccf8c6d7a176b46e930e485131e6bcb346
2019-06-22 14:58:56
Ward Peeters
feat(www): enable new resource-loading feature (#14967)
false
enable new resource-loading feature (#14967)
feat
diff --git a/www/package.json b/www/package.json index fa919db901063..3d68b9dbb9475 100644 --- a/www/package.json +++ b/www/package.json @@ -21,7 +21,7 @@ "email-validator": "^1.1.1", "emotion-theming": "^10.0.10", "fuse.js": "^3.2.0", - "gatsby": "^2.9.1", + "gatsby": "^2.10.1-resource-loading.10", "gatsby-image": "^2.0.5", "gatsby-plugin-canonical-urls": "^2.0.5", "gatsby-plugin-catch-links": "^2.0.2",
c41beac5e18ff335a93be0db0924c5c70e7a6ccb
2022-12-07 13:06:03
renovate[bot]
chore(deps): update dependency msw to ^0.49.1 for gatsby-core-utils (#37187)
false
update dependency msw to ^0.49.1 for gatsby-core-utils (#37187)
chore
diff --git a/packages/gatsby-core-utils/package.json b/packages/gatsby-core-utils/package.json index e451c82ca5e02..9d0cc590fe75c 100644 --- a/packages/gatsby-core-utils/package.json +++ b/packages/gatsby-core-utils/package.json @@ -85,7 +85,7 @@ "cross-env": "^7.0.3", "del-cli": "^5.0.0", "is-uuid": "^1.0.2", - "msw": "^0.38.2", + "msw": "^0.49.1", "npm-run-all": "^4.1.5", "typescript": "^4.7.4" },
5a7f6b8fa8ccb7971885798b284309bd419d06b3
2018-09-07 18:41:48
mackie
refactor(transformer-sharp): remove lodash as depdendency (#7909)
false
remove lodash as depdendency (#7909)
refactor
diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 4ed366b5a8738..52fa3b9a2f3ce 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -10,7 +10,6 @@ "@babel/runtime": "^7.0.0", "bluebird": "^3.5.0", "fs-extra": "^4.0.2", - "lodash": "^4.16.4", "potrace": "^2.1.1", "probe-image-size": "^4.0.0", "sharp": "^0.20.2" diff --git a/packages/gatsby-transformer-sharp/src/on-node-create.js b/packages/gatsby-transformer-sharp/src/on-node-create.js index 455948841d1ad..7a2007222e892 100644 --- a/packages/gatsby-transformer-sharp/src/on-node-create.js +++ b/packages/gatsby-transformer-sharp/src/on-node-create.js @@ -1,10 +1,16 @@ -const _ = require(`lodash`) +const supportedExtensions = { + jpeg: true, + jpg: true, + png: true, + webp: true, + tif: true, + tiff: true, +} module.exports = async function onCreateNode({ node, actions, createNodeId }) { const { createNode, createParentChildLink } = actions - const extensions = [`jpeg`, `jpg`, `png`, `webp`, `tif`, `tiff`] - if (!_.includes(extensions, node.extension)) { + if (!supportedExtensions[node.extension]) { return } diff --git a/yarn.lock b/yarn.lock index 3f419d7a6ac77..3529bd6116d2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10209,7 +10209,7 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" -lodash@^4.11.1, lodash@^4.11.2, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.16.4, lodash@^4.17.10, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0: +lodash@^4.11.1, lodash@^4.11.2, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0: version "4.17.10" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
312d0baa96735cc9535eefaa3e4f4b81bdbed88c
2023-06-15 15:11:33
GatsbyJS Bot
chore(docs): Release Notes for 5.11 (#38237)
false
Release Notes for 5.11 (#38237)
chore
diff --git a/docs/docs/reference/release-notes/v5.11/index.md b/docs/docs/reference/release-notes/v5.11/index.md new file mode 100644 index 0000000000000..df485c57c4548 --- /dev/null +++ b/docs/docs/reference/release-notes/v5.11/index.md @@ -0,0 +1,114 @@ +--- +date: "2023-06-15" +version: "5.11.0" +title: "v5.11 Release Notes" +--- + +Welcome to `[email protected]` release (June 2023 #1) + +Key highlights of this release: + +- [RFC: Adapters](#rfc-adapters) +- [`gatsby-source-wordpress`: Support for multiple instances](#gatsby-source-wordpress-support-for-multiple-instances) + +Also check out [notable bugfixes](#notable-bugfixes--improvements). + +**Bleeding Edge:** Want to try new features as soon as possible? Install `gatsby@next` and let us know if you have any [issues](https://github.com/gatsbyjs/gatsby/issues). + +[Previous release notes](/docs/reference/release-notes/v5.10) + +[Full changelog][full-changelog] + +--- + +## RFC: Adapters + +We intend to add an additional type of plugin to Gatsby called Adapter. Adapters are responsible for taking the production output from Gatsby and turning it into something your deployment platform (e.g. Netlify, Vercel, Self-Hosted, etc.) understands. As part of this work we also intend to add a `headers` and `adapter` option to `gatsby-config`. + +**We want to make it easier to deploy and host Gatsby on any platform.** + +If you want to read all the details and try it out, head over to [RFC: Adapters](https://github.com/gatsbyjs/gatsby/discussions/38231). We also prepared a demo project at [gatsby-adapters-alpha-demo](https://github.com/LekoArts/gatsby-adapters-alpha-demo) and a [Codesandbox](https://githubbox.com/LekoArts/gatsby-adapters-alpha-demo). + +You'll be able to use an adapter inside your `gatsby-config` like so: + +```js:title=gatsby-config.js +const adapter = require("gatsby-adapter-foo") + +module.exports = { + adapter: adapter() +} +``` + +As part of this RFC we also saw the need to allow setting HTTP headers for request paths which you’ll be able to do with the new `headers` option: + +```js:title=gatsby-config.js +module.exports = { + headers: [ + { + source: "/some-path", + headers: [ + { + key: "x-custom-header", + value: "hello world" + } + ] + } + ] +} +``` + +Please give [RFC: Adapters](https://github.com/gatsbyjs/gatsby/discussions/38231) a read and let us know what you think! + +## `gatsby-source-wordpress`: Support for multiple instances + +Up until now you could only have one instance of `gatsby-source-wordpress` inside your `gatsby-config`. You're now able to use as many instances as you want as long as you provide a [`typePrefix`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/plugin-options.md#schematypeprefix). + +```js:title=gatsby-config.js +module.exports = { + plugins: [ + { + resolve: `gatsby-source-wordpress`, + options: { + url: `https://burgerplace.com/graphql`, + schema: { + typePrefix: `Burger`, + }, + }, + }, + { + resolve: `gatsby-source-wordpress`, + options: { + url: `https://tacoplace.com/graphql`, + schema: { + typePrefix: `Taco`, + }, + }, + }, + ] +} +``` + +Internally, `gatsby-source-wordpress` uses a global store to pass information around. This store is now scoped to the `typePrefix` which in turn enables support for multiple instances. + +In case you missed it, we also enabled [typePrefix support for `gatsby-source-contentful`](https://github.com/gatsbyjs/gatsby/pull/37981) to enable multiple instances. + +## Notable bugfixes & improvements + +- We merged 50 [renovate](https://www.mend.io/free-developer-tools/renovate/) PRs to update dependencies across various packages. If you're curious about the changes, you can use [this GitHub search](https://github.com/gatsbyjs/gatsby/pulls?q=is%3Apr+sort%3Aupdated-desc+author%3Aapp%2Frenovate+merged%3A2023-05-16..2023-06-15). +- `gatsby` + - Support `style` attribute on `html` & `body`, via [PR #38098](https://github.com/gatsbyjs/gatsby/pull/38098) + - Fix regression in type ownership, via [PR #38235](https://github.com/gatsbyjs/gatsby/pull/38235) +- `gatsby-plugin-mdx`: Allow modern JS syntax in MDX layout components, via [PR #38126](https://github.com/gatsbyjs/gatsby/pull/38126) +- `gatsby-source-wordpress`: Allow using SSR/DSG when using `options.auth`, via [PR #38103](https://github.com/gatsbyjs/gatsby/pull/38103) +- `gatsby-transformer-screenshot`: Add `screenshotEndpoint` option, via [PR #38136](https://github.com/gatsbyjs/gatsby/pull/38136) + +## Contributors + +A big **Thank You** to [our community who contributed][full-changelog] to this release 💜 + +- [ModupeD](https://github.com/ModupeD): chore(docs): Add Flightcontrol to "Deploying to Other Services" [PR #38194](https://github.com/gatsbyjs/gatsby/pull/38194) +- [averysmithproductions](https://github.com/averysmithproductions): chore(docs): Update schema-customization type builder types [PR #38095](https://github.com/gatsbyjs/gatsby/pull/38095) +- [davwheat](https://github.com/davwheat): chore(docs): Add note about TS limitations on MDX layout components [PR #38104](https://github.com/gatsbyjs/gatsby/pull/38104) +- [naveen521kk](https://github.com/naveen521kk): chore(gatsby-plugin-feed): Remove `@hapi/joi` dependency [PR #38205](https://github.com/gatsbyjs/gatsby/pull/38205) + +[full-changelog]: https://github.com/gatsbyjs/gatsby/compare/[email protected]@5.11.0
dac2b73ec57077a4a74baa652eff6b3cabf1c1d3
2021-09-08 20:42:50
Kyle Mathews
fix(gatsby-source-drupal): validate webhook bodies & updated node data (#33079)
false
validate webhook bodies & updated node data (#33079)
fix
diff --git a/packages/gatsby-source-drupal/src/gatsby-node.js b/packages/gatsby-source-drupal/src/gatsby-node.js index 2703a0c5d92d6..53a77d41e5da9 100644 --- a/packages/gatsby-source-drupal/src/gatsby-node.js +++ b/packages/gatsby-source-drupal/src/gatsby-node.js @@ -146,6 +146,20 @@ exports.sourceNodes = async ( changesActivity.end() return } + + if (!action || !data) { + reporter.warn( + `The webhook body was malformed + +${JSON.stringify(webhookBody, null, 4)} + + ` + ) + + changesActivity.end() + return + } + if (action === `delete`) { let nodesToDelete = data if (!Array.isArray(data)) { diff --git a/packages/gatsby-source-drupal/src/utils.js b/packages/gatsby-source-drupal/src/utils.js index 8e8a42fced0ab..7cdd67ef4e928 100644 --- a/packages/gatsby-source-drupal/src/utils.js +++ b/packages/gatsby-source-drupal/src/utils.js @@ -196,6 +196,17 @@ const handleWebhookUpdate = async ( }, pluginOptions = {} ) => { + if (!nodeToUpdate || !nodeToUpdate.attributes) { + reporter.warn( + `The updated node was empty or is missing the required attributes field. The fact you're seeing this warning means there's probably a bug in how we're creating and processing updates from Drupal. + +${JSON.stringify(nodeToUpdate, null, 4)} + ` + ) + + return + } + const { createNode } = actions const newNode = nodeFromData(
9efcc0cf53034069c8813d32622c968f0edb212a
2020-08-19 13:32:34
Ward Peeters
fix(www): remove double redirect & link preload headers (#26545)
false
remove double redirect & link preload headers (#26545)
fix
diff --git a/www/cloud-redirects.yaml b/www/cloud-redirects.yaml index 0818a5f6323f9..fc4dc3666fdf0 100644 --- a/www/cloud-redirects.yaml +++ b/www/cloud-redirects.yaml @@ -1,45 +1,45 @@ # slugified tags on .org had dashes that WP doesn't include - fromPath: /blog/tags/a-11-y/ - toPath: https://gatsbyjs.com/blog/tags/a11y/ + toPath: https://www.gatsbyjs.com/blog/tags/a11y/ - fromPath: /blog/tags/i-18-n/ - toPath: https://gatsbyjs.com/blog/tags/i18n/ + toPath: https://www.gatsbyjs.com/blog/tags/i18n/ - fromPath: /blog/tags/s-3/ - toPath: https://gatsbyjs.com/blog/tags/s3/ + toPath: https://www.gatsbyjs.com/blog/tags/s3/ - fromPath: /blog/tags/v-1/ - toPath: https://gatsbyjs.com/blog/tags/v1/ + toPath: https://www.gatsbyjs.com/blog/tags/v1/ - fromPath: /blog/tags/v-2/ - toPath: https://gatsbyjs.com/blog/tags/v2/ + toPath: https://www.gatsbyjs.com/blog/tags/v2/ # 100days posts lived under another folder, WP doesn't support "-" in slugs - fromPath: /blog/100days/accessibility/ - toPath: https://gatsbyjs.com/blog/100days-accessibility/ + toPath: https://www.gatsbyjs.com/blog/100days-accessibility/ - fromPath: /blog/100days/apps/ - toPath: https://gatsbyjs.com/blog/100days-apps/ + toPath: https://www.gatsbyjs.com/blog/100days-apps/ - fromPath: /blog/100days/cms/ - toPath: https://gatsbyjs.com/blog/100days-cms/ + toPath: https://www.gatsbyjs.com/blog/100days-cms/ - fromPath: /blog/100days/comments/ - toPath: https://gatsbyjs.com/blog/100days-comments/ + toPath: https://www.gatsbyjs.com/blog/100days-comments/ - fromPath: /blog/100days/create-themes/ - toPath: https://gatsbyjs.com/blog/100days-create-themes/ + toPath: https://www.gatsbyjs.com/blog/100days-create-themes/ - fromPath: /blog/100days/free-hosting/ - toPath: https://gatsbyjs.com/blog/100days-free-hosting/ + toPath: https://www.gatsbyjs.com/blog/100days-free-hosting/ - fromPath: /blog/100days/gatsby-image/ - toPath: https://gatsbyjs.com/blog/100days-gatsby-image/ + toPath: https://www.gatsbyjs.com/blog/100days-gatsby-image/ - fromPath: /blog/100days/mdx/ - toPath: https://gatsbyjs.com/blog/100days-mdx/ + toPath: https://www.gatsbyjs.com/blog/100days-mdx/ - fromPath: /blog/100days/performance/ - toPath: https://gatsbyjs.com/blog/100days-performance/ + toPath: https://www.gatsbyjs.com/blog/100days-performance/ - fromPath: /blog/100days/pwa/ - toPath: https://gatsbyjs.com/blog/100days-pwa/ + toPath: https://www.gatsbyjs.com/blog/100days-pwa/ - fromPath: /blog/100days/react-component/ - toPath: https://gatsbyjs.com/blog/100days-react-component/ + toPath: https://www.gatsbyjs.com/blog/100days-react-component/ - fromPath: /blog/100days/seo/ - toPath: https://gatsbyjs.com/blog/100days-seo/ + toPath: https://www.gatsbyjs.com/blog/100days-seo/ - fromPath: /blog/100days/serverless/ - toPath: https://gatsbyjs.com/blog/100days-serverless/ + toPath: https://www.gatsbyjs.com/blog/100days-serverless/ - fromPath: /blog/100days/start-blog/ - toPath: https://gatsbyjs.com/blog/100days-start-blog/ + toPath: https://www.gatsbyjs.com/blog/100days-start-blog/ - fromPath: /blog/100days/use-themes/ - toPath: https://gatsbyjs.com/blog/100days-use-themes/ + toPath: https://www.gatsbyjs.com/blog/100days-use-themes/ # sunsetting /ecosystem, directing to plugins makes sense - fromPath: /ecosystem - toPath: https://gatsbyjs.com/plugins/ + toPath: https://www.gatsbyjs.com/plugins/ diff --git a/www/gatsby-config.js b/www/gatsby-config.js index f9899bd09c1d5..c23f9a0f96384 100644 --- a/www/gatsby-config.js +++ b/www/gatsby-config.js @@ -342,7 +342,9 @@ module.exports = { headers.splice(1, 1) } - return headers + return headers.filter( + header => !header.toLowerCase().includes(`link:`) + ) }, }, }, diff --git a/www/gatsby-node.js b/www/gatsby-node.js index 60818ab91bec5..e0a0a9adfd650 100644 --- a/www/gatsby-node.js +++ b/www/gatsby-node.js @@ -151,14 +151,14 @@ exports.createPages = async helpers => { // splat redirects await createRedirect({ fromPath: `/packages/*`, - toPath: `https://gatsbyjs.com/plugins/:splat`, + toPath: `https://www.gatsbyjs.com/plugins/:splat`, isPermanent: true, force: true, }) await createRedirect({ fromPath: `/creators/*`, - toPath: `https://gatsbyjs.com/partner/`, + toPath: `https://www.gatsbyjs.com/partner/`, isPermanent: true, force: true, }) @@ -167,7 +167,7 @@ exports.createPages = async helpers => { // this needs to be the last redirect created or it'll match everything await createRedirect({ fromPath: `/*`, - toPath: `https://gatsbyjs.com/:splat`, + toPath: `https://www.gatsbyjs.com/:splat`, isPermanent: true, force: true, }) diff --git a/www/src/components/shared/cloud-callout.js b/www/src/components/shared/cloud-callout.js index d55c9b89962b1..b0a17d338b88d 100644 --- a/www/src/components/shared/cloud-callout.js +++ b/www/src/components/shared/cloud-callout.js @@ -46,7 +46,7 @@ const CloudCallout = ({ narrow = true, children }) => ( <CloudCalloutRoot narrow={narrow}> <CloudText>{children}</CloudText> Try it on{` `} - <OutboundLink href="https://gatsbyjs.com">Gatsby Cloud</OutboundLink>! + <OutboundLink href="https://www.gatsbyjs.com">Gatsby Cloud</OutboundLink>! <Circles> <CirclesOrnament /> </Circles>
b34680487cff802ed36f7c328da8542e16cbda9d
2020-11-24 02:40:28
Vladimir Razuvaev
docs: temporary fix to emotion tutorial (#28248)
false
temporary fix to emotion tutorial (#28248)
docs
diff --git a/docs/docs/emotion.md b/docs/docs/emotion.md index d8a283d7d2c2e..3c4dbe079e13f 100644 --- a/docs/docs/emotion.md +++ b/docs/docs/emotion.md @@ -17,7 +17,7 @@ gatsby new emotion-tutorial https://github.com/gatsbyjs/gatsby-starter-hello-wor Second, install the necessary dependencies for Emotion and Gatsby. ```shell -npm install gatsby-plugin-emotion @emotion/react @emotion/styled +npm install gatsby-plugin-emotion @emotion/core@^10.0.5 @emotion/styled ``` And then add the plugin to your site's `gatsby-config.js`: @@ -35,7 +35,7 @@ Now create a sample Emotion page at `src/pages/index.js`: ```jsx:title=src/pages/index.js import React from "react" import styled from "@emotion/styled" -import { css } from "@emotion/react" +import { css } from "@emotion/core" const Container = styled.div` margin: 3rem auto; @@ -123,7 +123,7 @@ To start, create a new Gatsby site with the [hello world starter](https://github ```shell gatsby new global-styles https://github.com/gatsbyjs/gatsby-starter-hello-world cd global-styles -npm install gatsby-plugin-emotion @emotion/react @emotion/styled +npm install gatsby-plugin-emotion @emotion/core@^10.0.5 @emotion/styled ``` Create `gatsby-config.js` and add the Emotion plugin: @@ -138,7 +138,7 @@ Next, add a layout component at `src/components/layout.js`: ```jsx:title=src/components/layout.js import React from "react" -import { Global, css } from "@emotion/react" +import { Global, css } from "@emotion/core" import styled from "@emotion/styled" const Wrapper = styled("div")`