profile
viewpoint
Matt Kane ascorbic @VelaLabs @gatsbyjs UK mk.gg @Gatsbyjs core team

ascorbic/clevrlib 15

CLEVR Actionscript Library

ascorbic/airbed 5

Lightweight CouchDB client library for Adobe AIR

ascorbic/canvas-paint-tool 4

Realistic canvas paint tool

ascorbic/gatsby 2

⚛️📄🚀 Blazing fast static site generator for React

ascorbic/actionscript3-tmbundle 1

ActionScript 3 TextMate Bundle

ascorbic/core-plot 1

Unofficial core-plot mirror

ascorbic/doctrine-tracker 1

Just a tracker for the Doctrine svn server, so I can add it as a submodule in my /vendor/ project

ascorbic/adas-bake 0

Gatsby starter for a Contentful project.

push eventgatsbyjs/gatsby

Matt Kane

commit sha 9edd938a2aa55d38c9464462db0190678425fe01

Typefix

view details

push time in 13 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha e514a76127940bcfffa2a70a2f4922e4598fd381

Changes from review

view details

push time in 14 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 module.exports = async (program: IProgram): Promise<void> => {         },       },       doingEverythingElse: {+        on: {+          QUERY_FILE_CHANGED,+          ADD_NODE_MUTATION,+          WEBHOOK_RECEIVED,+        },

Yes, that's the best way. I'll do that.

ascorbic

comment created time in 14 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha 9c1e5cbeaef17aee8f148b985df87bbae6f26722

Remove console.log

view details

Matt Kane

commit sha e03c544f8eaa092a86b314a95be792ee6194ed26

Changes from review

view details

push time in 15 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 const initAPICallTracing = parentSpan => {   } } +const deferredAction = type => (...args) => {+  emitter.emit(`ENQUEUE_NODE_MUTATION`, {+    type,+    payload: args,+  })+}++const NODE_MUTATION_ACTIONS = [+  `createNode`,+  `deleteNode`,+  `deleteNodes`,+  `touchNode`,+  `createParentChildLink`,+  `createNodeField`,+]++const deferActions = actions => {+  // console.log(`actual actions`, actions)+  const returnValue = NODE_MUTATION_ACTIONS.reduce((prev, next) => {+    prev[next] = deferredAction(next)+    return prev+  }, actions)+  // console.log(`returnValue`, returnValue)+  return returnValue+}+ const getLocalReporter = (activity, reporter) =>   activity     ? { ...reporter, panicOnBuild: activity.panicOnBuild.bind(activity) }     : reporter +const pluginNodeCache = new Map()+ const runAPI = (plugin, api, args, activity) => {-  const gatsbyNode = require(`${plugin.resolve}/gatsby-node`)+  let gatsbyNode = pluginNodeCache.get(plugin.name)+  if (!gatsbyNode) {+    gatsbyNode = require(`${plugin.resolve}/gatsby-node`)+    pluginNodeCache.set(plugin.name, gatsbyNode)+  }+

Yeah. Dynamic requires are expensive at scale

ascorbic

comment created time in 17 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 module.exports = async (program: IProgram): Promise<void> => {         },       },       doingEverythingElse: {+        on: {+          QUERY_FILE_CHANGED,+          ADD_NODE_MUTATION,+          WEBHOOK_RECEIVED,+        },

Good point. Terseness got the better of me.

ascorbic

comment created time in 17 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 const watchComponent = componentPath => {   } } -const debounceCompile = _.debounce(() => {-  updateStateAndRunQueries()-}, 100)-

We don't need to debounce anymore, because we're not actually compiling on these events, just dispatching an event to the state machine to say that we'd like to compile when ready.

ascorbic

comment created time in 17 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 export async function sourceNodes({       .join(`, `)}]`   ) -  // reporter.info(`Checking for deleted pages`)+  reporter.info(`Checking for deleted pages`)    // Add this back when we enable page creation outside of onCreatePages-  // const tim = reporter.activityTimer(`Checking for changed pages`)-  // tim.start()+  const tim = reporter.activityTimer(`Checking for changed pages`)+  tim.start()

Yes, it should. This isn't the bit that enables it, but it is needed for that

ascorbic

comment created time in 17 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 export async function createPages({   )   activity.end() -  // reporter.info(`Checking for deleted pages`)+  reporter.info(`Checking for deleted pages`)

The reason I had it was because in some cases it was taking a few seconds, and it was confusing working out where this was happening. It should be super quick now though, so I guess it's not needed at that level. I'll change to verbose

ascorbic

comment created time in 17 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 interface IServer {   webpackWatching: IWebpackWatchingPauseResume } -interface IWebpackWatchingPauseResume {+export interface IWebpackWatchingPauseResume extends webpack.Watching {

Ah yes. I'm going to use this in the next PR, where I'll be pausing and resuming it.

ascorbic

comment created time in 17 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for query running in develop

+import { MachineConfig, Machine } from "xstate"+import { IQueryRunningContext } from "./types"+import { queryRunningServices } from "./services"+import { queryActions } from "./actions"++export const queryStates: MachineConfig<IQueryRunningContext, any, any> = {+  initial: `extractingQueries`,+  states: {+    extractingQueries: {+      id: `extracting-queries`,+      invoke: {+        id: `extracting-queries`,+        src: `extractQueries`,+        onDone: [+          {+            actions: `resetGraphQLRunner`,

OK, I'll move it into the data layer so it runs after schema inference. This shouldn't be breaking though, right? It just means that it will be addtionally reset if it rebuilds from a code change, as well as from a data change.

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for query running in develop

 module.exports = async (program: IProgram): Promise<void> => {           (_, { data }): DataLayerResult => data         ),       },-    }).withContext({ program, parentSpan: bootstrapSpan, app })+    }).withContext({ program, parentSpan: bootstrapSpan, app, firstRun: true })   )++  const isInterpreter = <T>(+    actor: Actor<T> | Interpreter<T>+  ): actor is Interpreter<T> => `machine` in actor++  const listeners = new WeakSet()+  let last: State<IBuildContext, AnyEventObject, any, any>+   service.onTransition(state => {-    reporter.verbose(`transition to ${JSON.stringify(state.value)}`)+    if (!last) {

This is just so we can log the state transitions

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import {+  assign,+  AnyEventObject,+  ActionFunction,+  spawn,+  ActionFunctionMap,+  DoneEventObject,+} from "xstate"+import { Store } from "redux"+import { IBuildContext, IMutationAction } from "../services"+import { actions } from "../redux/actions"+import { listenForMutations } from "../services/listen-for-mutations"+import { DataLayerResult } from "./data-layer"+import { assertStore } from "../utils/assert-store"++export const callRealApi = async (+  event: IMutationAction,+  store?: Store+): Promise<unknown> => {+  assertStore(store)+  const { type, payload } = event+  if (type in actions) {

It shouldn't, but it could in theory have a redux action dispatched that doesn;t have a handler. This avoids runtime errors in that case.

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import { boundActionCreators } from "../redux/actions"+const { deletePage, deleteComponentsDependencies } = boundActionCreators++import { isEqualWith, IsEqualCustomizer } from "lodash"+import { IGatsbyPage } from "../redux/types"++export function deleteUntouchedPages(+  currentPages: Map<string, IGatsbyPage>,+  timestamp: number+): string[] {+  const deletedPages: string[] = []++  // Delete pages that weren't updated when running createPages.+  currentPages.forEach(page => {+    if (+      !page.isCreatedByStatefulCreatePages &&+      page.updatedAt < timestamp &&+      page.path !== `/404.html`+    ) {+      deleteComponentsDependencies([page.path])+      deletePage(page)+      deletedPages.push(page.path, `/page-data${page.path}`)+    }+  })+  return deletedPages+}++export function findChangedPages(

At 100k pages it's < 1s. There was an implementation of this in the inc build cli that was O(n^2), and which was the reason the 100k site initially took 4 hours to build! This one is much quicker.

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 const watch = async rootDir => {   })    watcher = chokidar-    .watch([-      slash(path.join(rootDir, `/src/**/*.{js,jsx,ts,tsx}`)),-      ...packagePaths,-    ])+    .watch(+      [slash(path.join(rootDir, `/src/**/*.{js,jsx,ts,tsx}`)), ...packagePaths],+      { ignoreInitial: true }+    )     .on(`change`, path => {-      report.pendingActivity({ id: `query-extraction` })-      debounceCompile()+      emitter.emit(`QUERY_FILE_CHANGED`, path)+    })+    .on(`add`, path => {+      emitter.emit(`QUERY_FILE_CHANGED`, path)+    })+    .on(`unlink`, path => {+      emitter.emit(`QUERY_FILE_CHANGED`, path)

It gives a unlink and an add

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import {+  assign,+  AnyEventObject,+  ActionFunction,+  spawn,+  ActionFunctionMap,+  DoneEventObject,+} from "xstate"+import { Store } from "redux"+import { IBuildContext, IMutationAction } from "../services"+import { actions } from "../redux/actions"+import { listenForMutations } from "../services/listen-for-mutations"+import { DataLayerResult } from "./data-layer"+import { assertStore } from "../utils/assert-store"++export const callRealApi = async (+  event: IMutationAction,+  store?: Store+): Promise<unknown> => {

Yes, this doesn't need to be async at all in fact.

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import {+  assign,+  AnyEventObject,+  ActionFunction,+  spawn,+  ActionFunctionMap,+  DoneEventObject,+} from "xstate"+import { Store } from "redux"+import { IBuildContext, IMutationAction } from "../services"+import { actions } from "../redux/actions"+import { listenForMutations } from "../services/listen-for-mutations"+import { DataLayerResult } from "./data-layer"+import { assertStore } from "../utils/assert-store"++export const callRealApi = async (+  event: IMutationAction,+  store?: Store+): Promise<unknown> => {+  assertStore(store)

Yes, it's optional as with all of the context values, and assertStore is both a runtime null check but also a TypeScript assert that narrows the type.

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import {+  assign,+  AnyEventObject,+  ActionFunction,+  spawn,+  ActionFunctionMap,+  DoneEventObject,+} from "xstate"+import { Store } from "redux"+import { IBuildContext, IMutationAction } from "../services"+import { actions } from "../redux/actions"+import { listenForMutations } from "../services/listen-for-mutations"+import { DataLayerResult } from "./data-layer"+import { assertStore } from "../utils/assert-store"++export const callRealApi = async (+  event: IMutationAction,+  store?: Store+): Promise<unknown> => {+  assertStore(store)+  const { type, payload } = event+  if (type in actions) {

At 100k pages it's < 1s. There was an implementation of this in the inc build cli that was O(n^2), and which was the reason the 100k site initially took 4 hours to build! This one is much quicker.

ascorbic

comment created time in 18 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import { boundActionCreators } from "../redux/actions"+const { deletePage, deleteComponentsDependencies } = boundActionCreators++import { isEqualWith, IsEqualCustomizer } from "lodash"+import { IGatsbyPage } from "../redux/types"++export function deleteUntouchedPages(+  currentPages: Map<string, IGatsbyPage>,+  timestamp: number+): string[] {+  const deletedPages: string[] = []++  // Delete pages that weren't updated when running createPages.+  currentPages.forEach(page => {+    if (+      !page.isCreatedByStatefulCreatePages &&+      page.updatedAt < timestamp &&+      page.path !== `/404.html`+    ) {+      deleteComponentsDependencies([page.path])+      deletePage(page)+      deletedPages.push(page.path, `/page-data${page.path}`)+    }+  })+  return deletedPages+}++export function findChangedPages(+  oldPages: Map<string, IGatsbyPage>,+  currentPages: Map<string, IGatsbyPage>+): {+  changedPages: string[]+  deletedPages: string[]+} {+  const changedPages: string[] = []++  const compareWithoutUpdated: IsEqualCustomizer = (_left, _right, key) =>+    key === `updatedAt` || undefined++  currentPages.forEach((newPage, key) => {+    const oldPage = oldPages.get(key)+    if (!oldPage || !isEqualWith(newPage, oldPage, compareWithoutUpdated)) {

That won't work. It's confused by the different meanings of key. On line 42 it's the page id, but on 37 it's the field in the object. I'll use better names

ascorbic

comment created time in 19 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import { IMutationAction } from "../state-machines/data-layer/types"+import { Store, AnyAction } from "redux"+import { IGatsbyState } from "../redux/types"+import { IWaitingContext } from "../state-machines/waiting/types"+import { assertStore } from "../utils/assert-store"+import { actions } from "../redux/actions"++const callRealApi = async (+  event: IMutationAction,+  store?: Store<IGatsbyState, AnyAction>+): Promise<void> => {+  assertStore(store)+  const { type, payload } = event+  if (type in actions) {+    store.dispatch(actions[type](...payload))+  }+}++export const runMutationBatch = ({+  runningBatch = [],+  store,+}: Partial<IWaitingContext>): Promise<void> =>+  // Consume the entire batch and run actions+  Promise.all(runningBatch.map(payload => callRealApi(payload, store))).then(+    () => void 0+  )

It's not async anymore anyway, so I've removed al the promise stuff

ascorbic

comment created time in 19 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import { boundActionCreators } from "../redux/actions"+const { deletePage, deleteComponentsDependencies } = boundActionCreators++import { isEqualWith, IsEqualCustomizer } from "lodash"+import { IGatsbyPage } from "../redux/types"++export function deleteUntouchedPages(+  currentPages: Map<string, IGatsbyPage>,+  timestamp: number+): string[] {+  const deletedPages: string[] = []++  // Delete pages that weren't updated when running createPages.+  currentPages.forEach(page => {+    if (+      !page.isCreatedByStatefulCreatePages &&+      page.updatedAt < timestamp &&

It's subtly different though. It's not now now, it's the time before we ran the APIs. I'll give it a better name.

ascorbic

comment created time in 19 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import { IMutationAction } from "../state-machines/data-layer/types"+import { Store, AnyAction } from "redux"+import { IGatsbyState } from "../redux/types"+import { IWaitingContext } from "../state-machines/waiting/types"+import { assertStore } from "../utils/assert-store"+import { actions } from "../redux/actions"++const callRealApi = async (+  event: IMutationAction,+  store?: Store<IGatsbyState, AnyAction>+): Promise<void> => {+  assertStore(store)+  const { type, payload } = event+  if (type in actions) {+    store.dispatch(actions[type](...payload))+  }+}++export const runMutationBatch = ({+  runningBatch = [],+  store,

The params are explicitly typed. See line 22.

ascorbic

comment created time in 19 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

+import { MachineConfig, assign, Machine } from "xstate"+import { IWaitingContext } from "./types"+import { waitingActions } from "./actions"+import { waitingServices } from "./services"++const NODE_MUTATION_BATCH_SIZE = 100+const NODE_MUTATION_BATCH_TIMEOUT = 1000++export type WaitingResult = Pick<IWaitingContext, "nodeMutationBatch">++export const waitingStates: MachineConfig<IWaitingContext, any, any> = {+  initial: `idle`,+  context: {},

As above, this isn't actually used. But as suggested I will make it required and pass it in.

ascorbic

comment created time in 19 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 import { IQueryRunningContext } from "./types" import { queryRunningServices } from "./services" import { queryActions } from "./actions" +const extractQueriesIfFilesAreDirty = {+  cond: (ctx): boolean => !!ctx.filesDirty,+  target: `extractingQueries`,+}+ export const queryStates: MachineConfig<IQueryRunningContext, any, any> = {   initial: `extractingQueries`,+  context: {},

This context isn't actually used, as it's replaced by the context from data when it's invoked. This empty context is to work around an xstate bug.

ascorbic

comment created time in 19 hours

pull request commentgatsbyjs/gatsby

fix(refresh-endpoint): call refresh while refreshing

@xavivars Yes, I think it's best to hold off on this until #25479 and the other state machine PRs are in. We can then see how much of this makes sense to keep (and whether it's still needed). The state machine work makes some fundamental changes to how we handle develop, which should make things more reliable in all cases, so maybe this won't be needed.

apaniel90vp

comment created time in 19 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

 const initAPICallTracing = parentSpan => {   } } +const deferredAction = type => (...args) => {+  emitter.emit(`ENQUEUE_NODE_MUTATION`, {+    type,+    payload: args,+  })+}++const NODE_MUTATION_ACTIONS = [+  `createNode`,+  `deleteNode`,+  `deleteNodes`,+  `touchNode`,+  `createParentChildLink`,+  `createNodeField`,+]++const deferActions = actions => {+  // console.log(`actual actions`, actions)+  const returnValue = NODE_MUTATION_ACTIONS.reduce((prev, next) => {+    prev[next] = deferredAction(next)+    return prev+  }, actions)+  // console.log(`returnValue`, returnValue)

Yeah, I have ignored my own rule of thumb, where if I'm using reduce there's a good chance I'm being too clever by half and could refactor to make it clearer! :)

ascorbic

comment created time in 19 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha e5ce35b9456784288634f2070a0f319b8fe76873

feat(gatsby): Use state machine for query running in develop (#25378) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Log child state transitions * Add state machine for query running * Changes from review * Changes from review * Switch to reporter * Use assertStore * Remove unused action * Remove unusued config * Remove unusued config * Add gql runner reset * Use new pagedata utils * Use develop queue * Track first run * Changes from review

view details

Matt Kane

commit sha 425fdac890ac5260edb7419635f97bec1e58871b

chore(release): Publish - gatsby-admin@0.1.87 - gatsby-cli@2.12.59 - gatsby-page-utils@0.2.16 - gatsby-plugin-page-creator@2.3.16 - gatsby-recipes@0.1.50 - gatsby-source-contentful@2.3.24 - gatsby-source-shopify@3.2.19 - gatsby-theme-blog-core@1.5.61 - gatsby-theme-blog@1.6.61 - gatsby-theme-notes@1.3.87 - gatsby-theme-ui-preset@0.0.76 - gatsby@2.23.22

view details

Matt Kane

commit sha 2116857ad9c1f8dda46ab50ed09bffb7b3d56da0

Merge branch 'master' into feat/defer-node-mutation

view details

push time in 19 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha e9bf25996f4b61e77f1efe8c1a27a0334150b25b

Fix typings

view details

push time in 19 hours

pull request commentgatsbyjs/gatsby

Update `tsc --init` to `typescript --init`

This is not correct. If you have installed TypeScript in the project (as per the instructions), npx tsc will run node_modules/.bin/tsc. If you run npx typescript, it will install typescript globally and then run tsc from that, which isn;t what you want. It's only if you are trying to run it without TypeScript installed locally or globally that npx tsc it won't work.

EddyVinck

comment created time in 20 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha 425fdac890ac5260edb7419635f97bec1e58871b

chore(release): Publish - gatsby-admin@0.1.87 - gatsby-cli@2.12.59 - gatsby-page-utils@0.2.16 - gatsby-plugin-page-creator@2.3.16 - gatsby-recipes@0.1.50 - gatsby-source-contentful@2.3.24 - gatsby-source-shopify@3.2.19 - gatsby-theme-blog-core@1.5.61 - gatsby-theme-blog@1.6.61 - gatsby-theme-notes@1.3.87 - gatsby-theme-ui-preset@0.0.76 - gatsby@2.23.22

view details

push time in 20 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha e5ce35b9456784288634f2070a0f319b8fe76873

feat(gatsby): Use state machine for query running in develop (#25378) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Log child state transitions * Add state machine for query running * Changes from review * Changes from review * Switch to reporter * Use assertStore * Remove unused action * Remove unusued config * Remove unusued config * Add gql runner reset * Use new pagedata utils * Use develop queue * Track first run * Changes from review

view details

push time in 20 hours

PR merged gatsbyjs/gatsby

Reviewers
feat(gatsby): Use state machine for query running in develop status: needs core review topic: develop state machine

This adds the query running machine as a service to the develop state machine. It keeps most of the watchers, so these are not controlled by the state machine yet. e.g. schema hot reloader, page hot reloader and the file watcher for query extraction. These will be brought in later.

Currently this machine includes the following states:

  • extractingQueries
  • writingRequires
  • calculatingDirtyQueries
  • runningStaticQueries
  • runningPageQueries
  • waitingForJobs

Because we're still using the watchers from the existing develop command, the logic in the machine that would normally loop back to re-run queries if a node had been mutated during query running is not enabled, nor is the handling of file changes. My plan is to get the rest of the machine states in, then add the logic that replaces watchers.

+303 -47

1 comment

17 changed files

ascorbic

pr closed time in 20 hours

push eventgatsbyjs/gatsby

Rock Hu

commit sha c41a800cd052e3984f5f87684e609b64a881a615

Fix file name typo (#25494) `jest.preprocess.js` should be `jest-preprocess.js`

view details

Nisarag

commit sha 88cfa774c50c369fb86c38c7a087865c99be3e90

enhancement(docs): dictionary.txt -> Infer* -> putting all code prefixed with infer into code blocks (#25339) * putting inferInputObjectStructureFromNodes into code block * removing inferInputObjectStructureFromNodes from dictionary.txt file * putting inferInputObjectStructureFromFields into code block * removing inferInputObjectStructureFromFields from dictionary.txt file * putting inferObjectStructureFromNodes into code block * removing inferObjectStructureFromNodes from dictionary.txt file * putting inferFromFieldName into code block * removing inferFromFieldName from dictionary.txt file * putting inferFromMapping into code block * removing inferFromMapping from dictionary.txt file * putting inferGraphQLType into code block * removing inferGraphQLType from dictionary.txt file

view details

Nat Alison

commit sha 6e68f17dcb89800ad84c113bbfc8083a6611fce8

refactor(www): Turn HubspotForm to function component (#25495) * Turn HubspotForm to function component * fix error

view details

James Garbutt

commit sha 04b9ea6e1374cff30f93f58ce22c689fa3e626a9

Remove micro modules (#23916) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Jacob Arriola

commit sha 96ba315599ee4ecf1ca33478ae25f839fb54f01a

chore(showcase): Showcase addition: Real Estate Shows (#25340) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Benjamin Lannon

commit sha 35cf175d1aeafbdf036390149198115945f29982

chore(showcase): Removing my site from the showcase (#25322)

view details

Riccardo Caroli

commit sha bc4a39bec463a197612b0639fd5fee6b99612730

chore(gatsby-plugin-less): less-loader version 6.1.0 with tests and doc… (#24893)

view details

Ward Peeters

commit sha 0049249e241597f60ccc05a2cb022103a850441a

chore(release): Publish - gatsby-admin@0.1.85 - gatsby-cli@2.12.58 - gatsby-plugin-google-analytics@2.3.10 - gatsby-plugin-less@4.0.0 - gatsby-recipes@0.1.49 - gatsby-telemetry@1.3.18 - gatsby-theme-blog-core@1.5.59 - gatsby-theme-blog@1.6.59 - gatsby-theme-notes@1.3.85 - gatsby-theme-ui-preset@0.0.74 - gatsby-transformer-documentationjs@4.3.12 - gatsby@2.23.20

view details

Ramón Chancay Ortega

commit sha 5b24e3e7f58e9d652256649ad5d298de6cef82a1

chore(showcase): https://lidabox.com website (#25357) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Joseph Race

commit sha dff764c381699db06d7d72bbaaf70ecd15a85979

chore(showcase): Add mindkit.fr (#25259) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Michal Piechowiak

commit sha d943ee69f7562189ad8e05906e6507851054b97c

refactor(gatsby): use virtual modules for `(a)sync-requires` and `match-paths.json` (#25057)

view details

Peter van der Zee

commit sha 0c5aea806c8cb1618d0fdb72139686e612536d1b

fix(gatsby-source-contentful): dont ship fixtures when publishing (#25472)

view details

Adam Siekierski

commit sha 01b57970aba53460e36cc100cf7ae18fc49b6da8

chore(showcase): Add Require Podcast website to the sites showcase (#25372) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

LeanyLabs

commit sha 6b44519d3d1bc78b228be9b541637741a6cd1cba

chore(showcase): LeanyLabs website (#25410) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Zach Hoskins

commit sha f0f7be8cf01dee24aee5924dbb445bee86e163c6

chore(starters): starters.yml -> Fixed many typos, capitalization, and grammatical errors (#25323) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

ivjose

commit sha 2394276c1554f15d2cfd93800b18ffbe09b58480

chore(showcase): Add ivjose.com (#25491) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Florian Kissling

commit sha da68914fc59b00e83018a24c35fd22717ef0f7b7

chore(www): Refactor `homepage-newsletter` (#25350) * chore(www): Refactor to `sx` * ☀️ * 🌻 * no need to `calc`, fix and rm stray `rhythm` * no need for literal * mv `NewsletterFormOrnament` styles inline * combine imports * func-y * Update www/src/components/homepage/homepage-newsletter.js Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com> * don't use shorthand for `border` * ditch "functional value" for border color * `border: 1` doesn't work, we need `borderStyle: solid`, thus went for the explicit `borderWidth` Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com>

view details

Dan Dascalescu

commit sha 415702eb725f62ec187864631a939fd355d1aa04

docs: improve style in Creating & Modifying pages (#24987) Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Dana Jones

commit sha 9042a7607463cdd7f4156db11bf3ef8dffe60257

docs(contributing): Anonymized contact information for reaching DevRel (#25341)

view details

ungvert

commit sha a5459bc162f83f7308587d2d728b80303e382502

fix(gatsby-transformer-sharp): removed unnecessary conversion to webp (#25325) * fix(gatsby-transformer-sharp): removed unnecessary conversion to webp * Restore deleted code, which converts to webp with `sharp` and added condition to not convert to webp with `imagemin` second time in Windows. * Deleted everything related to imagemin-webp Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

push time in 20 hours

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for query running in develop

 module.exports = async (program: IProgram): Promise<void> => {           (_, { data }): DataLayerResult => data         ),       },-    }).withContext({ program, parentSpan: bootstrapSpan, app })+    }).withContext({ program, parentSpan: bootstrapSpan, app, firstRun: true })   )++  const isInterpreter = <T>(+    actor: Actor<T> | Interpreter<T>+  ): actor is Interpreter<T> => `machine` in actor++  const listeners = new WeakSet()   service.onTransition(state => {-    reporter.verbose(`transition to ${JSON.stringify(state.value)}`)+    report.verbose(`Transition to ${JSON.stringify(state.value)}`)+    // eslint-disable-next-line no-unused-expressions+    service.children?.forEach(child => {+      // We want to ensure we don't attach a listener to the same+      // actor. We don't need to worry about detaching the listener+      // because xstate handles that for us when the actor is stopped.++      if (isInterpreter(child) && !listeners.has(child)) {+        child.onTransition(substate => {+          report.verbose(+            `Transition to ${JSON.stringify(state.value)} > ${JSON.stringify(+              substate.value+            )}`+          )+        })

Realised that this isn't a problem, because this is only used in develop!

ascorbic

comment created time in 20 hours

push eventgatsbyjs/gatsby

Rock Hu

commit sha c41a800cd052e3984f5f87684e609b64a881a615

Fix file name typo (#25494) `jest.preprocess.js` should be `jest-preprocess.js`

view details

Nisarag

commit sha 88cfa774c50c369fb86c38c7a087865c99be3e90

enhancement(docs): dictionary.txt -> Infer* -> putting all code prefixed with infer into code blocks (#25339) * putting inferInputObjectStructureFromNodes into code block * removing inferInputObjectStructureFromNodes from dictionary.txt file * putting inferInputObjectStructureFromFields into code block * removing inferInputObjectStructureFromFields from dictionary.txt file * putting inferObjectStructureFromNodes into code block * removing inferObjectStructureFromNodes from dictionary.txt file * putting inferFromFieldName into code block * removing inferFromFieldName from dictionary.txt file * putting inferFromMapping into code block * removing inferFromMapping from dictionary.txt file * putting inferGraphQLType into code block * removing inferGraphQLType from dictionary.txt file

view details

Nat Alison

commit sha 6e68f17dcb89800ad84c113bbfc8083a6611fce8

refactor(www): Turn HubspotForm to function component (#25495) * Turn HubspotForm to function component * fix error

view details

James Garbutt

commit sha 04b9ea6e1374cff30f93f58ce22c689fa3e626a9

Remove micro modules (#23916) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Jacob Arriola

commit sha 96ba315599ee4ecf1ca33478ae25f839fb54f01a

chore(showcase): Showcase addition: Real Estate Shows (#25340) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Benjamin Lannon

commit sha 35cf175d1aeafbdf036390149198115945f29982

chore(showcase): Removing my site from the showcase (#25322)

view details

Riccardo Caroli

commit sha bc4a39bec463a197612b0639fd5fee6b99612730

chore(gatsby-plugin-less): less-loader version 6.1.0 with tests and doc… (#24893)

view details

Ward Peeters

commit sha 0049249e241597f60ccc05a2cb022103a850441a

chore(release): Publish - gatsby-admin@0.1.85 - gatsby-cli@2.12.58 - gatsby-plugin-google-analytics@2.3.10 - gatsby-plugin-less@4.0.0 - gatsby-recipes@0.1.49 - gatsby-telemetry@1.3.18 - gatsby-theme-blog-core@1.5.59 - gatsby-theme-blog@1.6.59 - gatsby-theme-notes@1.3.85 - gatsby-theme-ui-preset@0.0.74 - gatsby-transformer-documentationjs@4.3.12 - gatsby@2.23.20

view details

Ramón Chancay Ortega

commit sha 5b24e3e7f58e9d652256649ad5d298de6cef82a1

chore(showcase): https://lidabox.com website (#25357) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Joseph Race

commit sha dff764c381699db06d7d72bbaaf70ecd15a85979

chore(showcase): Add mindkit.fr (#25259) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Michal Piechowiak

commit sha d943ee69f7562189ad8e05906e6507851054b97c

refactor(gatsby): use virtual modules for `(a)sync-requires` and `match-paths.json` (#25057)

view details

Peter van der Zee

commit sha 0c5aea806c8cb1618d0fdb72139686e612536d1b

fix(gatsby-source-contentful): dont ship fixtures when publishing (#25472)

view details

Adam Siekierski

commit sha 01b57970aba53460e36cc100cf7ae18fc49b6da8

chore(showcase): Add Require Podcast website to the sites showcase (#25372) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

LeanyLabs

commit sha 6b44519d3d1bc78b228be9b541637741a6cd1cba

chore(showcase): LeanyLabs website (#25410) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Zach Hoskins

commit sha f0f7be8cf01dee24aee5924dbb445bee86e163c6

chore(starters): starters.yml -> Fixed many typos, capitalization, and grammatical errors (#25323) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

ivjose

commit sha 2394276c1554f15d2cfd93800b18ffbe09b58480

chore(showcase): Add ivjose.com (#25491) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Florian Kissling

commit sha da68914fc59b00e83018a24c35fd22717ef0f7b7

chore(www): Refactor `homepage-newsletter` (#25350) * chore(www): Refactor to `sx` * ☀️ * 🌻 * no need to `calc`, fix and rm stray `rhythm` * no need for literal * mv `NewsletterFormOrnament` styles inline * combine imports * func-y * Update www/src/components/homepage/homepage-newsletter.js Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com> * don't use shorthand for `border` * ditch "functional value" for border color * `border: 1` doesn't work, we need `borderStyle: solid`, thus went for the explicit `borderWidth` Co-authored-by: Nat Alison <1278991+tesseralis@users.noreply.github.com>

view details

Dan Dascalescu

commit sha 415702eb725f62ec187864631a939fd355d1aa04

docs: improve style in Creating & Modifying pages (#24987) Co-authored-by: LB <laurie@gatsbyjs.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Dana Jones

commit sha 9042a7607463cdd7f4156db11bf3ef8dffe60257

docs(contributing): Anonymized contact information for reaching DevRel (#25341)

view details

ungvert

commit sha a5459bc162f83f7308587d2d728b80303e382502

fix(gatsby-transformer-sharp): removed unnecessary conversion to webp (#25325) * fix(gatsby-transformer-sharp): removed unnecessary conversion to webp * Restore deleted code, which converts to webp with `sharp` and added condition to not convert to webp with `imagemin` second time in Windows. * Deleted everything related to imagemin-webp Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

push time in 20 hours

push eventgatsbyjs/gatsby

Matt Kane

commit sha 50faf938c1287cc31f9ff92dd96677df1bc3e846

Handle webhook

view details

push time in 2 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha aceb8948bde54f6db9951563ec6906c399ad3458

Handle webhook

view details

push time in 2 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 33dc4fa2478a78a80bfa549edb3f1ce77004094b

Lint

view details

push time in 2 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha aadc60be9d2ad9cd3209d326ab1da105e83da6a3

Listen for query file changes

view details

push time in 2 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for query running in develop

 module.exports = async (program: IProgram): Promise<void> => {           (_, { data }): DataLayerResult => data         ),       },-    }).withContext({ program, parentSpan: bootstrapSpan, app })+    }).withContext({ program, parentSpan: bootstrapSpan, app, firstRun: true })   )++  const isInterpreter = <T>(+    actor: Actor<T> | Interpreter<T>+  ): actor is Interpreter<T> => `machine` in actor++  const listeners = new WeakSet()   service.onTransition(state => {-    reporter.verbose(`transition to ${JSON.stringify(state.value)}`)+    report.verbose(`Transition to ${JSON.stringify(state.value)}`)+    // eslint-disable-next-line no-unused-expressions+    service.children?.forEach(child => {+      // We want to ensure we don't attach a listener to the same+      // actor. We don't need to worry about detaching the listener+      // because xstate handles that for us when the actor is stopped.++      if (isInterpreter(child) && !listeners.has(child)) {+        child.onTransition(substate => {+          report.verbose(+            `Transition to ${JSON.stringify(state.value)} > ${JSON.stringify(+              substate.value+            )}`+          )+        })

Shouldn't be much, as it's only executed if the state has changed, but I'll wrap it in a NODE_ENV check to be sure.

ascorbic

comment created time in 2 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for query running in develop

 const createDevelopQueue = getRunner => {   return new Queue(handler, queueOptions) } +const createAppropriateQueue = (graphqlRunner, runnerOptions = {}) => {+  if (process.env.NODE_ENV === `production`) {+    return createBuildQueue(graphqlRunner, runnerOptions)+  }

In the old version, when running develop it explicitly created the develop queue in startListeningToDevelopQueue, which was then used in the notorious API_RUNNING_QUEUE_EMPTY listener. Now we're using the same queue for the first build and subsequent builds, so we want the develop on in production because it has nice stuff like prioritising active pages, and sending the updated data to the websocket.

ascorbic

comment created time in 2 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 4e8609fdb22c6e17dfc8570bf92727a305df4c69

Don't defer node mutation if we're outside the state machine

view details

Matt Kane

commit sha 425eafc2965d8efdaafe4ad7278d2d31c3ce0d0d

Re-quieten e2e

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha fa05e0df95e07fc5d8a72e7a93c41f93d73ac24c

Disable --quiet in e2e

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 8987299c937e5dc2ff749c9fdcaf6adf60a3ec72

Track first run

view details

Matt Kane

commit sha dc3fb42021e9bc049e8202d328f0ae99682a7ce5

Merge branch 'feat/query-state-machine' into feat/defer-node-mutation

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 8987299c937e5dc2ff749c9fdcaf6adf60a3ec72

Track first run

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 12d5f2000b72c2e4c8c25a92cbdf8e50ea70cd18

Track first run

view details

Matt Kane

commit sha 78463b708770c703e6bfb192399df459b6976eac

Merge branch 'feat/query-state-machine' into feat/defer-node-mutation

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 12d5f2000b72c2e4c8c25a92cbdf8e50ea70cd18

Track first run

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha c0acfe1828d01676e4c687b504052e1021d26281

Work-around xstate bug

view details

push time in 5 days

issue openeddavidkpiano/xstate

Eventless/transient transitions in invoked machines are evaluated without context from parent

Description

If an invoked machine has an eventless or transient transition defined, it is evaluated twice: first with the default context, and second with the context passed from the parent. This is changed from behaviour <4.11.0, where transient transitions were not evaluated before the context was passed. This is problematic where there are guards defined that rely on the passed context. In my case I had no default context on the child machine, so the guards threw exceptions because of the undefined context.

Expected Result

Transitions are only evaluated with the context passed from the parent.

Actual Result

Transitions are evaluated twice: once with the default (or undefined) context, then immediately after with the passed context.

Reproduction

https://codesandbox.io/s/sad-lake-3e0bh - switch to use a transient transition, then change back to 4.10.0 and see there is no longer an error.

Additional context <!-- Add any other context about the problem here (e.g., XState version) --> Version 4.11.0

created time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 186eb0cb16d6dda2ac150766abdc19f421c9c558

New xstate syntax

view details

push time in 5 days

push eventgatsbyjs/gatsby

Lennart

commit sha 1d568f5594ee8d4dd12379ea42a2340fd9e77210

chore(starters): Change LICENSES to 0BSD (#25441) * update licenses in starters * fix starters directory link

view details

Ward Peeters

commit sha a5396ef3651a2ad1848ab6bf7fe623ed950d270b

chore: upgrade core-js to version 3 (#25158) * chore: upgrade to core-js@3 * add tests to core-js resolver * update babel-preset tests

view details

Blaine Kasten

commit sha cc650272e78daa1d277e9164bcdecf4a229aee1d

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.8 - babel-preset-gatsby-package@0.4.7 - babel-preset-gatsby@0.4.13 - gatsby-admin@0.1.77 - gatsby-cli@2.12.53 - gatsby-codemods@1.3.7 - gatsby-core-utils@1.3.9 - gatsby-cypress@0.4.7 - gatsby-dev-cli@2.7.13 - gatsby-graphiql-explorer@0.4.8 - gatsby-image@2.4.10 - gatsby-link@2.4.9 - gatsby-page-utils@0.2.13 - gatsby-plugin-benchmark-reporting@0.2.11 - gatsby-plugin-canonical-urls@2.3.7 - gatsby-plugin-catch-links@2.3.8 - gatsby-plugin-coffeescript@2.3.7 - gatsby-plugin-create-client-paths@2.3.7 - gatsby-plugin-cxs@2.3.7 - gatsby-plugin-emotion@4.3.7 - gatsby-plugin-facebook-analytics@2.4.7 - gatsby-plugin-feed@2.5.8 - gatsby-plugin-flow@1.3.8 - gatsby-plugin-fullstory@2.3.8 - gatsby-plugin-glamor@2.3.7 - gatsby-plugin-google-analytics@2.3.7 - gatsby-plugin-google-gtag@2.1.7 - gatsby-plugin-google-tagmanager@2.3.8 - gatsby-plugin-guess-js@1.3.8 - gatsby-plugin-jss@2.3.7 - gatsby-plugin-layout@1.3.7 - gatsby-plugin-less@3.2.7 - gatsby-plugin-lodash@3.3.7 - gatsby-plugin-manifest@2.4.15 - gatsby-plugin-mdx@1.2.20 - gatsby-plugin-netlify-cms@4.3.8 - gatsby-plugin-netlify@2.3.8 - gatsby-plugin-nprogress@2.3.7 - gatsby-plugin-offline@3.2.14 - gatsby-plugin-page-creator@2.3.13 - gatsby-plugin-postcss@2.3.7 - gatsby-plugin-preact@4.0.6 - gatsby-plugin-preload-fonts@1.2.14 - gatsby-plugin-react-css-modules@2.3.7 - gatsby-plugin-react-helmet@3.3.7 - gatsby-plugin-remove-trailing-slashes@2.3.8 - gatsby-plugin-sass@2.3.8 - gatsby-plugin-sharp@2.6.15 - gatsby-plugin-sitemap@2.4.8 - gatsby-plugin-styled-components@3.3.7 - gatsby-plugin-styled-jsx@3.3.8 - gatsby-plugin-styletron@5.0.6 - gatsby-plugin-stylus@2.3.7 - gatsby-plugin-subfont@2.2.8 - gatsby-plugin-twitter@2.3.7 - gatsby-plugin-typescript@2.4.9 - gatsby-plugin-typography@2.5.7 - gatsby-react-router-scroll@3.0.8 - gatsby-recipes@0.1.45 - gatsby-remark-autolink-headers@2.3.8 - gatsby-remark-code-repls@3.2.7 - gatsby-remark-copy-linked-files@2.3.8 - gatsby-remark-custom-blocks@2.3.7 - gatsby-remark-embed-snippet@4.3.10 - gatsby-remark-graphviz@1.3.7 - gatsby-remark-images-contentful@2.3.8 - gatsby-remark-images@3.3.15 - gatsby-remark-katex@3.3.7 - gatsby-remark-prismjs@3.5.7 - gatsby-remark-responsive-iframe@2.4.8 - gatsby-remark-smartypants@2.3.7 - gatsby-source-contentful@2.3.19 - gatsby-source-drupal@3.5.16 - gatsby-source-faker@2.3.7 - gatsby-source-filesystem@2.3.15 - gatsby-source-graphql@2.5.8 - gatsby-source-hacker-news@2.4.7 - gatsby-source-lever@2.3.8 - gatsby-source-medium@2.3.7 - gatsby-source-mongodb@2.3.7 - gatsby-source-npm-package-search@2.3.9 - gatsby-source-shopify@3.2.15 - gatsby-source-wikipedia@2.3.8 - gatsby-source-wordpress@3.3.16 - gatsby-telemetry@1.3.15 - gatsby-theme-blog-core@1.5.52 - gatsby-theme-blog@1.6.52 - gatsby-theme-notes@1.3.78 - gatsby-theme-ui-preset@0.0.67 - gatsby-transformer-asciidoc@1.3.8 - gatsby-transformer-csv@2.3.7 - gatsby-transformer-documentationjs@4.3.9 - gatsby-transformer-excel@2.4.7 - gatsby-transformer-hjson@2.4.7 - gatsby-transformer-javascript-frontmatter@2.3.8 - gatsby-transformer-javascript-static-exports@2.4.7 - gatsby-transformer-json@2.4.8 - gatsby-transformer-pdf@1.3.8 - gatsby-transformer-react-docgen@5.2.8 - gatsby-transformer-remark@2.8.21 - gatsby-transformer-screenshot@2.3.13 - gatsby-transformer-sharp@2.5.8 - gatsby-transformer-sqip@2.3.15 - gatsby-transformer-toml@2.4.9 - gatsby-transformer-xml@2.3.7 - gatsby-transformer-yaml@2.4.7 - gatsby@2.23.13

view details

Ward Peeters

commit sha ed034d4e39e8990233ff6325db642f16aec65437

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.9 - babel-preset-gatsby-package@0.5.0 - babel-preset-gatsby@0.5.0 - gatsby-admin@0.1.78 - gatsby-cli@2.12.54 - gatsby-codemods@1.3.8 - gatsby-core-utils@1.3.10 - gatsby-cypress@0.4.8 - gatsby-dev-cli@2.7.14 - gatsby-graphiql-explorer@0.4.9 - gatsby-image@2.4.11 - gatsby-link@2.4.10 - gatsby-page-utils@0.2.14 - gatsby-plugin-benchmark-reporting@0.2.12 - gatsby-plugin-canonical-urls@2.3.8 - gatsby-plugin-catch-links@2.3.9 - gatsby-plugin-coffeescript@2.3.8 - gatsby-plugin-create-client-paths@2.3.8 - gatsby-plugin-cxs@2.3.8 - gatsby-plugin-emotion@4.3.8 - gatsby-plugin-facebook-analytics@2.4.8 - gatsby-plugin-feed@2.5.9 - gatsby-plugin-flow@1.3.9 - gatsby-plugin-fullstory@2.3.9 - gatsby-plugin-glamor@2.3.8 - gatsby-plugin-google-analytics@2.3.8 - gatsby-plugin-google-gtag@2.1.8 - gatsby-plugin-google-tagmanager@2.3.9 - gatsby-plugin-guess-js@1.3.9 - gatsby-plugin-jss@2.3.8 - gatsby-plugin-layout@1.3.8 - gatsby-plugin-less@3.2.8 - gatsby-plugin-lodash@3.3.8 - gatsby-plugin-manifest@2.4.16 - gatsby-plugin-mdx@1.2.21 - gatsby-plugin-netlify-cms@4.3.9 - gatsby-plugin-netlify@2.3.9 - gatsby-plugin-nprogress@2.3.8 - gatsby-plugin-offline@3.2.15 - gatsby-plugin-page-creator@2.3.14 - gatsby-plugin-postcss@2.3.8 - gatsby-plugin-preact@4.0.7 - gatsby-plugin-preload-fonts@1.2.15 - gatsby-plugin-react-css-modules@2.3.8 - gatsby-plugin-react-helmet@3.3.8 - gatsby-plugin-remove-trailing-slashes@2.3.9 - gatsby-plugin-sass@2.3.9 - gatsby-plugin-sharp@2.6.16 - gatsby-plugin-sitemap@2.4.9 - gatsby-plugin-styled-components@3.3.8 - gatsby-plugin-styled-jsx@3.3.9 - gatsby-plugin-styletron@5.0.7 - gatsby-plugin-stylus@2.3.8 - gatsby-plugin-subfont@2.2.9 - gatsby-plugin-twitter@2.3.8 - gatsby-plugin-typescript@2.4.10 - gatsby-plugin-typography@2.5.8 - gatsby-react-router-scroll@3.0.9 - gatsby-recipes@0.1.46 - gatsby-remark-autolink-headers@2.3.9 - gatsby-remark-code-repls@3.2.8 - gatsby-remark-copy-linked-files@2.3.9 - gatsby-remark-custom-blocks@2.3.8 - gatsby-remark-embed-snippet@4.3.11 - gatsby-remark-graphviz@1.3.8 - gatsby-remark-images-contentful@2.3.9 - gatsby-remark-images@3.3.16 - gatsby-remark-katex@3.3.8 - gatsby-remark-prismjs@3.5.8 - gatsby-remark-responsive-iframe@2.4.9 - gatsby-remark-smartypants@2.3.8 - gatsby-source-contentful@2.3.20 - gatsby-source-drupal@3.5.17 - gatsby-source-faker@2.3.8 - gatsby-source-filesystem@2.3.16 - gatsby-source-graphql@2.5.9 - gatsby-source-hacker-news@2.4.8 - gatsby-source-lever@2.3.9 - gatsby-source-medium@2.3.8 - gatsby-source-mongodb@2.3.8 - gatsby-source-npm-package-search@2.3.10 - gatsby-source-shopify@3.2.16 - gatsby-source-wikipedia@2.3.9 - gatsby-source-wordpress@3.3.17 - gatsby-telemetry@1.3.16 - gatsby-theme-blog-core@1.5.53 - gatsby-theme-blog@1.6.53 - gatsby-theme-notes@1.3.79 - gatsby-theme-ui-preset@0.0.68 - gatsby-transformer-asciidoc@1.3.9 - gatsby-transformer-csv@2.3.8 - gatsby-transformer-documentationjs@4.3.10 - gatsby-transformer-excel@2.4.8 - gatsby-transformer-hjson@2.4.8 - gatsby-transformer-javascript-frontmatter@2.3.9 - gatsby-transformer-javascript-static-exports@2.4.8 - gatsby-transformer-json@2.4.9 - gatsby-transformer-pdf@1.3.9 - gatsby-transformer-react-docgen@5.2.9 - gatsby-transformer-remark@2.8.22 - gatsby-transformer-screenshot@2.3.14 - gatsby-transformer-sharp@2.5.9 - gatsby-transformer-sqip@2.3.16 - gatsby-transformer-toml@2.4.10 - gatsby-transformer-xml@2.3.8 - gatsby-transformer-yaml@2.4.8 - gatsby@2.23.14

view details

Hashim Warren

commit sha 7fa21a89327a55c4018c76e58ddf0a7ba96a74ee

(blog) Draft of June Gatsby Gazette (#25423) * Draft of June Gazette * Wiil It Build - Sanity screenshot * Add screenshot and correct frontmatter * chore: format * Change curly quotes * Reformat title * Add revised Sanity benchmark screenshot * Add Reflex screenshot * Add new content, correct more typos * Fix typos * Update with Ashley's suggestion * chore: format * Update docs/blog/gazette-june-2020/index.md Co-authored-by: Ashley McClelland <ashumz@github.com> * Update docs/blog/gazette-june-2020/index.md Co-authored-by: Ashley McClelland <ashumz@github.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Ashley McClelland <ashumz@github.com>

view details

Michal Piechowiak

commit sha 1466fe27a3c7fc3ef9a3cca6b4e16aaffa010c2a

fix(blog): fix linting errors (#25452)

view details

Peter Hironaka

commit sha 8bceaa24e2562a5f566c925e655a1f4206538536

chore(showcase): add ellingtonhammond.com (#25301) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Thamizh

commit sha a96ee157ceb56883fc11f2de4ef1056dba0b4e4b

chore(showcase): Add playbook of fidisys (#25347) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Dana Jones

commit sha fd12f147b1bd17c18d2da341a78ab80f7bdfb6e5

docs(contributing): Update contributor counts (#25337) * Update number of docs contributors Also makes more specific the name of the documentation label for filtering on Github * Updated the number of Gatsby contributors Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Tanmay Desai

commit sha 51d28bb5da93af9783720d88d72f18bfb31259cb

chore(showcase): Add OnTravelDiary to list of sites (#25247) * chore(sites): Add OnTravelDiary to list of sites * chore: format * Update docs/sites.yml Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>

view details

Nat Alison

commit sha 5ad9582fa174c75c4ea67daf3e4e312c464a3421

Remove unnecessary overview from frontmatter (#25288)

view details

Yaacov Rydzinski

commit sha c424dc1df25060f393f8b5eed22d1bdfe3cea4f0

chore(gatsby-source-graphql): upgrade to graphql-tools v6 (#24158) * upgrade gatsby-source-graphql to graphql-tools v6 * Update yarn.lock * fix broken introspectSchema call * Update yarn.lock (again) Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>

view details

Vladimir Razuvaev

commit sha 9875dfd564512afc25aa16fbbfb45a68fc10199e

chore(release): Publish - gatsby-admin@0.1.79 - gatsby-source-graphql@2.6.0

view details

Michal Piechowiak

commit sha fae19acef9cf182292a24f507793c54ce3126583

fix(gatsby-source-drupal): end activities if errors are thrown (#25447) * fix(gatsby-source-drupal): end activities if errors are thrown * Update packages/gatsby-source-drupal/src/__tests__/index.js Co-authored-by: Ward Peeters <ward@coding-tech.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Ward Peeters <ward@coding-tech.com>

view details

Sidhartha Chatterjee

commit sha 6b3964506a64f6dc9d9da288142af3975f67fb69

feat(gatsby): Track static queries by template (#25120) Avoid single char names Sort at traversal time Refactor reduce to forEach Refactor another reduce to forEach Fix type check

view details

Mikhail Novikov

commit sha fa41d8a5bce683cddb3d271a09baed9ee25fe6b5

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.10 - gatsby-admin@0.1.80 - gatsby-plugin-typescript@2.4.11 - gatsby-source-drupal@3.5.18 - gatsby-theme-blog-core@1.5.54 - gatsby-theme-blog@1.6.54 - gatsby-theme-notes@1.3.80 - gatsby-theme-ui-preset@0.0.69 - gatsby@2.23.15

view details

Michal Piechowiak

commit sha 3b1cc2f3c7dddd6b694a1259aab143a6bc5c5ba1

chore: chmod +X cli.js (#25471)

view details

Mikhail Novikov

commit sha e8784f91b0535933c39f7d4667b168a3f3baa405

chore(release): Publish - gatsby-admin@0.1.81 - gatsby-cli@2.12.55 - gatsby-theme-blog-core@1.5.55 - gatsby-theme-blog@1.6.55 - gatsby-theme-notes@1.3.81 - gatsby-theme-ui-preset@0.0.70 - gatsby@2.23.16

view details

Ward Peeters

commit sha a50cd3d18e7388fd93efe66993f454bd47ffc7bb

Revert "chore: upgrade core-js to version 3" (#25474)

view details

Ward Peeters

commit sha e623913b2cf9a6fc2894b2c3bf0ebe0f6d8ecb1a

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.11 - babel-preset-gatsby-package@0.5.1 - babel-preset-gatsby@0.5.1 - gatsby-admin@0.1.82 - gatsby-cli@2.12.56 - gatsby-codemods@1.3.9 - gatsby-core-utils@1.3.11 - gatsby-cypress@0.4.9 - gatsby-dev-cli@2.7.15 - gatsby-graphiql-explorer@0.4.10 - gatsby-image@2.4.12 - gatsby-link@2.4.11 - gatsby-page-utils@0.2.15 - gatsby-plugin-benchmark-reporting@0.2.13 - gatsby-plugin-canonical-urls@2.3.9 - gatsby-plugin-catch-links@2.3.10 - gatsby-plugin-coffeescript@2.3.9 - gatsby-plugin-create-client-paths@2.3.9 - gatsby-plugin-cxs@2.3.9 - gatsby-plugin-emotion@4.3.9 - gatsby-plugin-facebook-analytics@2.4.9 - gatsby-plugin-feed@2.5.10 - gatsby-plugin-flow@1.3.10 - gatsby-plugin-fullstory@2.3.10 - gatsby-plugin-glamor@2.3.9 - gatsby-plugin-google-analytics@2.3.9 - gatsby-plugin-google-gtag@2.1.9 - gatsby-plugin-google-tagmanager@2.3.10 - gatsby-plugin-guess-js@1.3.10 - gatsby-plugin-jss@2.3.9 - gatsby-plugin-layout@1.3.9 - gatsby-plugin-less@3.2.9 - gatsby-plugin-lodash@3.3.9 - gatsby-plugin-manifest@2.4.17 - gatsby-plugin-mdx@1.2.22 - gatsby-plugin-netlify-cms@4.3.10 - gatsby-plugin-netlify@2.3.10 - gatsby-plugin-nprogress@2.3.9 - gatsby-plugin-offline@3.2.16 - gatsby-plugin-page-creator@2.3.15 - gatsby-plugin-postcss@2.3.9 - gatsby-plugin-preact@4.0.8 - gatsby-plugin-preload-fonts@1.2.16 - gatsby-plugin-react-css-modules@2.3.9 - gatsby-plugin-react-helmet@3.3.9 - gatsby-plugin-remove-trailing-slashes@2.3.10 - gatsby-plugin-sass@2.3.10 - gatsby-plugin-sharp@2.6.17 - gatsby-plugin-sitemap@2.4.10 - gatsby-plugin-styled-components@3.3.9 - gatsby-plugin-styled-jsx@3.3.10 - gatsby-plugin-styletron@5.0.8 - gatsby-plugin-stylus@2.3.9 - gatsby-plugin-subfont@2.2.10 - gatsby-plugin-twitter@2.3.9 - gatsby-plugin-typescript@2.4.12 - gatsby-plugin-typography@2.5.9 - gatsby-react-router-scroll@3.0.10 - gatsby-recipes@0.1.47 - gatsby-remark-autolink-headers@2.3.10 - gatsby-remark-code-repls@3.2.9 - gatsby-remark-copy-linked-files@2.3.10 - gatsby-remark-custom-blocks@2.3.9 - gatsby-remark-embed-snippet@4.3.12 - gatsby-remark-graphviz@1.3.9 - gatsby-remark-images-contentful@2.3.10 - gatsby-remark-images@3.3.17 - gatsby-remark-katex@3.3.9 - gatsby-remark-prismjs@3.5.9 - gatsby-remark-responsive-iframe@2.4.10 - gatsby-remark-smartypants@2.3.9 - gatsby-source-contentful@2.3.21 - gatsby-source-drupal@3.5.19 - gatsby-source-faker@2.3.9 - gatsby-source-filesystem@2.3.17 - gatsby-source-graphql@2.6.1 - gatsby-source-hacker-news@2.4.9 - gatsby-source-lever@2.3.10 - gatsby-source-medium@2.3.9 - gatsby-source-mongodb@2.3.9 - gatsby-source-npm-package-search@2.3.11 - gatsby-source-shopify@3.2.17 - gatsby-source-wikipedia@2.3.10 - gatsby-source-wordpress@3.3.18 - gatsby-telemetry@1.3.17 - gatsby-theme-blog-core@1.5.56 - gatsby-theme-blog@1.6.56 - gatsby-theme-notes@1.3.82 - gatsby-theme-ui-preset@0.0.71 - gatsby-transformer-asciidoc@1.3.10 - gatsby-transformer-csv@2.3.9 - gatsby-transformer-documentationjs@4.3.11 - gatsby-transformer-excel@2.4.9 - gatsby-transformer-hjson@2.4.9 - gatsby-transformer-javascript-frontmatter@2.3.10 - gatsby-transformer-javascript-static-exports@2.4.9 - gatsby-transformer-json@2.4.10 - gatsby-transformer-pdf@1.3.10 - gatsby-transformer-react-docgen@5.2.10 - gatsby-transformer-remark@2.8.23 - gatsby-transformer-screenshot@2.3.15 - gatsby-transformer-sharp@2.5.10 - gatsby-transformer-sqip@2.3.17 - gatsby-transformer-toml@2.4.11 - gatsby-transformer-xml@2.3.9 - gatsby-transformer-yaml@2.4.9 - gatsby@2.23.17

view details

push time in 5 days

push eventgatsbyjs/gatsby

Lennart

commit sha 1d568f5594ee8d4dd12379ea42a2340fd9e77210

chore(starters): Change LICENSES to 0BSD (#25441) * update licenses in starters * fix starters directory link

view details

Ward Peeters

commit sha a5396ef3651a2ad1848ab6bf7fe623ed950d270b

chore: upgrade core-js to version 3 (#25158) * chore: upgrade to core-js@3 * add tests to core-js resolver * update babel-preset tests

view details

Blaine Kasten

commit sha cc650272e78daa1d277e9164bcdecf4a229aee1d

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.8 - babel-preset-gatsby-package@0.4.7 - babel-preset-gatsby@0.4.13 - gatsby-admin@0.1.77 - gatsby-cli@2.12.53 - gatsby-codemods@1.3.7 - gatsby-core-utils@1.3.9 - gatsby-cypress@0.4.7 - gatsby-dev-cli@2.7.13 - gatsby-graphiql-explorer@0.4.8 - gatsby-image@2.4.10 - gatsby-link@2.4.9 - gatsby-page-utils@0.2.13 - gatsby-plugin-benchmark-reporting@0.2.11 - gatsby-plugin-canonical-urls@2.3.7 - gatsby-plugin-catch-links@2.3.8 - gatsby-plugin-coffeescript@2.3.7 - gatsby-plugin-create-client-paths@2.3.7 - gatsby-plugin-cxs@2.3.7 - gatsby-plugin-emotion@4.3.7 - gatsby-plugin-facebook-analytics@2.4.7 - gatsby-plugin-feed@2.5.8 - gatsby-plugin-flow@1.3.8 - gatsby-plugin-fullstory@2.3.8 - gatsby-plugin-glamor@2.3.7 - gatsby-plugin-google-analytics@2.3.7 - gatsby-plugin-google-gtag@2.1.7 - gatsby-plugin-google-tagmanager@2.3.8 - gatsby-plugin-guess-js@1.3.8 - gatsby-plugin-jss@2.3.7 - gatsby-plugin-layout@1.3.7 - gatsby-plugin-less@3.2.7 - gatsby-plugin-lodash@3.3.7 - gatsby-plugin-manifest@2.4.15 - gatsby-plugin-mdx@1.2.20 - gatsby-plugin-netlify-cms@4.3.8 - gatsby-plugin-netlify@2.3.8 - gatsby-plugin-nprogress@2.3.7 - gatsby-plugin-offline@3.2.14 - gatsby-plugin-page-creator@2.3.13 - gatsby-plugin-postcss@2.3.7 - gatsby-plugin-preact@4.0.6 - gatsby-plugin-preload-fonts@1.2.14 - gatsby-plugin-react-css-modules@2.3.7 - gatsby-plugin-react-helmet@3.3.7 - gatsby-plugin-remove-trailing-slashes@2.3.8 - gatsby-plugin-sass@2.3.8 - gatsby-plugin-sharp@2.6.15 - gatsby-plugin-sitemap@2.4.8 - gatsby-plugin-styled-components@3.3.7 - gatsby-plugin-styled-jsx@3.3.8 - gatsby-plugin-styletron@5.0.6 - gatsby-plugin-stylus@2.3.7 - gatsby-plugin-subfont@2.2.8 - gatsby-plugin-twitter@2.3.7 - gatsby-plugin-typescript@2.4.9 - gatsby-plugin-typography@2.5.7 - gatsby-react-router-scroll@3.0.8 - gatsby-recipes@0.1.45 - gatsby-remark-autolink-headers@2.3.8 - gatsby-remark-code-repls@3.2.7 - gatsby-remark-copy-linked-files@2.3.8 - gatsby-remark-custom-blocks@2.3.7 - gatsby-remark-embed-snippet@4.3.10 - gatsby-remark-graphviz@1.3.7 - gatsby-remark-images-contentful@2.3.8 - gatsby-remark-images@3.3.15 - gatsby-remark-katex@3.3.7 - gatsby-remark-prismjs@3.5.7 - gatsby-remark-responsive-iframe@2.4.8 - gatsby-remark-smartypants@2.3.7 - gatsby-source-contentful@2.3.19 - gatsby-source-drupal@3.5.16 - gatsby-source-faker@2.3.7 - gatsby-source-filesystem@2.3.15 - gatsby-source-graphql@2.5.8 - gatsby-source-hacker-news@2.4.7 - gatsby-source-lever@2.3.8 - gatsby-source-medium@2.3.7 - gatsby-source-mongodb@2.3.7 - gatsby-source-npm-package-search@2.3.9 - gatsby-source-shopify@3.2.15 - gatsby-source-wikipedia@2.3.8 - gatsby-source-wordpress@3.3.16 - gatsby-telemetry@1.3.15 - gatsby-theme-blog-core@1.5.52 - gatsby-theme-blog@1.6.52 - gatsby-theme-notes@1.3.78 - gatsby-theme-ui-preset@0.0.67 - gatsby-transformer-asciidoc@1.3.8 - gatsby-transformer-csv@2.3.7 - gatsby-transformer-documentationjs@4.3.9 - gatsby-transformer-excel@2.4.7 - gatsby-transformer-hjson@2.4.7 - gatsby-transformer-javascript-frontmatter@2.3.8 - gatsby-transformer-javascript-static-exports@2.4.7 - gatsby-transformer-json@2.4.8 - gatsby-transformer-pdf@1.3.8 - gatsby-transformer-react-docgen@5.2.8 - gatsby-transformer-remark@2.8.21 - gatsby-transformer-screenshot@2.3.13 - gatsby-transformer-sharp@2.5.8 - gatsby-transformer-sqip@2.3.15 - gatsby-transformer-toml@2.4.9 - gatsby-transformer-xml@2.3.7 - gatsby-transformer-yaml@2.4.7 - gatsby@2.23.13

view details

Ward Peeters

commit sha ed034d4e39e8990233ff6325db642f16aec65437

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.9 - babel-preset-gatsby-package@0.5.0 - babel-preset-gatsby@0.5.0 - gatsby-admin@0.1.78 - gatsby-cli@2.12.54 - gatsby-codemods@1.3.8 - gatsby-core-utils@1.3.10 - gatsby-cypress@0.4.8 - gatsby-dev-cli@2.7.14 - gatsby-graphiql-explorer@0.4.9 - gatsby-image@2.4.11 - gatsby-link@2.4.10 - gatsby-page-utils@0.2.14 - gatsby-plugin-benchmark-reporting@0.2.12 - gatsby-plugin-canonical-urls@2.3.8 - gatsby-plugin-catch-links@2.3.9 - gatsby-plugin-coffeescript@2.3.8 - gatsby-plugin-create-client-paths@2.3.8 - gatsby-plugin-cxs@2.3.8 - gatsby-plugin-emotion@4.3.8 - gatsby-plugin-facebook-analytics@2.4.8 - gatsby-plugin-feed@2.5.9 - gatsby-plugin-flow@1.3.9 - gatsby-plugin-fullstory@2.3.9 - gatsby-plugin-glamor@2.3.8 - gatsby-plugin-google-analytics@2.3.8 - gatsby-plugin-google-gtag@2.1.8 - gatsby-plugin-google-tagmanager@2.3.9 - gatsby-plugin-guess-js@1.3.9 - gatsby-plugin-jss@2.3.8 - gatsby-plugin-layout@1.3.8 - gatsby-plugin-less@3.2.8 - gatsby-plugin-lodash@3.3.8 - gatsby-plugin-manifest@2.4.16 - gatsby-plugin-mdx@1.2.21 - gatsby-plugin-netlify-cms@4.3.9 - gatsby-plugin-netlify@2.3.9 - gatsby-plugin-nprogress@2.3.8 - gatsby-plugin-offline@3.2.15 - gatsby-plugin-page-creator@2.3.14 - gatsby-plugin-postcss@2.3.8 - gatsby-plugin-preact@4.0.7 - gatsby-plugin-preload-fonts@1.2.15 - gatsby-plugin-react-css-modules@2.3.8 - gatsby-plugin-react-helmet@3.3.8 - gatsby-plugin-remove-trailing-slashes@2.3.9 - gatsby-plugin-sass@2.3.9 - gatsby-plugin-sharp@2.6.16 - gatsby-plugin-sitemap@2.4.9 - gatsby-plugin-styled-components@3.3.8 - gatsby-plugin-styled-jsx@3.3.9 - gatsby-plugin-styletron@5.0.7 - gatsby-plugin-stylus@2.3.8 - gatsby-plugin-subfont@2.2.9 - gatsby-plugin-twitter@2.3.8 - gatsby-plugin-typescript@2.4.10 - gatsby-plugin-typography@2.5.8 - gatsby-react-router-scroll@3.0.9 - gatsby-recipes@0.1.46 - gatsby-remark-autolink-headers@2.3.9 - gatsby-remark-code-repls@3.2.8 - gatsby-remark-copy-linked-files@2.3.9 - gatsby-remark-custom-blocks@2.3.8 - gatsby-remark-embed-snippet@4.3.11 - gatsby-remark-graphviz@1.3.8 - gatsby-remark-images-contentful@2.3.9 - gatsby-remark-images@3.3.16 - gatsby-remark-katex@3.3.8 - gatsby-remark-prismjs@3.5.8 - gatsby-remark-responsive-iframe@2.4.9 - gatsby-remark-smartypants@2.3.8 - gatsby-source-contentful@2.3.20 - gatsby-source-drupal@3.5.17 - gatsby-source-faker@2.3.8 - gatsby-source-filesystem@2.3.16 - gatsby-source-graphql@2.5.9 - gatsby-source-hacker-news@2.4.8 - gatsby-source-lever@2.3.9 - gatsby-source-medium@2.3.8 - gatsby-source-mongodb@2.3.8 - gatsby-source-npm-package-search@2.3.10 - gatsby-source-shopify@3.2.16 - gatsby-source-wikipedia@2.3.9 - gatsby-source-wordpress@3.3.17 - gatsby-telemetry@1.3.16 - gatsby-theme-blog-core@1.5.53 - gatsby-theme-blog@1.6.53 - gatsby-theme-notes@1.3.79 - gatsby-theme-ui-preset@0.0.68 - gatsby-transformer-asciidoc@1.3.9 - gatsby-transformer-csv@2.3.8 - gatsby-transformer-documentationjs@4.3.10 - gatsby-transformer-excel@2.4.8 - gatsby-transformer-hjson@2.4.8 - gatsby-transformer-javascript-frontmatter@2.3.9 - gatsby-transformer-javascript-static-exports@2.4.8 - gatsby-transformer-json@2.4.9 - gatsby-transformer-pdf@1.3.9 - gatsby-transformer-react-docgen@5.2.9 - gatsby-transformer-remark@2.8.22 - gatsby-transformer-screenshot@2.3.14 - gatsby-transformer-sharp@2.5.9 - gatsby-transformer-sqip@2.3.16 - gatsby-transformer-toml@2.4.10 - gatsby-transformer-xml@2.3.8 - gatsby-transformer-yaml@2.4.8 - gatsby@2.23.14

view details

Hashim Warren

commit sha 7fa21a89327a55c4018c76e58ddf0a7ba96a74ee

(blog) Draft of June Gatsby Gazette (#25423) * Draft of June Gazette * Wiil It Build - Sanity screenshot * Add screenshot and correct frontmatter * chore: format * Change curly quotes * Reformat title * Add revised Sanity benchmark screenshot * Add Reflex screenshot * Add new content, correct more typos * Fix typos * Update with Ashley's suggestion * chore: format * Update docs/blog/gazette-june-2020/index.md Co-authored-by: Ashley McClelland <ashumz@github.com> * Update docs/blog/gazette-june-2020/index.md Co-authored-by: Ashley McClelland <ashumz@github.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Ashley McClelland <ashumz@github.com>

view details

Michal Piechowiak

commit sha 1466fe27a3c7fc3ef9a3cca6b4e16aaffa010c2a

fix(blog): fix linting errors (#25452)

view details

Peter Hironaka

commit sha 8bceaa24e2562a5f566c925e655a1f4206538536

chore(showcase): add ellingtonhammond.com (#25301) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Thamizh

commit sha a96ee157ceb56883fc11f2de4ef1056dba0b4e4b

chore(showcase): Add playbook of fidisys (#25347) Co-authored-by: Obinna Ekwuno <obinnacodes@gmail.com>

view details

Dana Jones

commit sha fd12f147b1bd17c18d2da341a78ab80f7bdfb6e5

docs(contributing): Update contributor counts (#25337) * Update number of docs contributors Also makes more specific the name of the documentation label for filtering on Github * Updated the number of Gatsby contributors Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Tanmay Desai

commit sha 51d28bb5da93af9783720d88d72f18bfb31259cb

chore(showcase): Add OnTravelDiary to list of sites (#25247) * chore(sites): Add OnTravelDiary to list of sites * chore: format * Update docs/sites.yml Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>

view details

Nat Alison

commit sha 5ad9582fa174c75c4ea67daf3e4e312c464a3421

Remove unnecessary overview from frontmatter (#25288)

view details

Yaacov Rydzinski

commit sha c424dc1df25060f393f8b5eed22d1bdfe3cea4f0

chore(gatsby-source-graphql): upgrade to graphql-tools v6 (#24158) * upgrade gatsby-source-graphql to graphql-tools v6 * Update yarn.lock * fix broken introspectSchema call * Update yarn.lock (again) Co-authored-by: Vladimir Razuvaev <vladimir.razuvaev@gmail.com>

view details

Vladimir Razuvaev

commit sha 9875dfd564512afc25aa16fbbfb45a68fc10199e

chore(release): Publish - gatsby-admin@0.1.79 - gatsby-source-graphql@2.6.0

view details

Michal Piechowiak

commit sha fae19acef9cf182292a24f507793c54ce3126583

fix(gatsby-source-drupal): end activities if errors are thrown (#25447) * fix(gatsby-source-drupal): end activities if errors are thrown * Update packages/gatsby-source-drupal/src/__tests__/index.js Co-authored-by: Ward Peeters <ward@coding-tech.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Ward Peeters <ward@coding-tech.com>

view details

Sidhartha Chatterjee

commit sha 6b3964506a64f6dc9d9da288142af3975f67fb69

feat(gatsby): Track static queries by template (#25120) Avoid single char names Sort at traversal time Refactor reduce to forEach Refactor another reduce to forEach Fix type check

view details

Mikhail Novikov

commit sha fa41d8a5bce683cddb3d271a09baed9ee25fe6b5

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.10 - gatsby-admin@0.1.80 - gatsby-plugin-typescript@2.4.11 - gatsby-source-drupal@3.5.18 - gatsby-theme-blog-core@1.5.54 - gatsby-theme-blog@1.6.54 - gatsby-theme-notes@1.3.80 - gatsby-theme-ui-preset@0.0.69 - gatsby@2.23.15

view details

Michal Piechowiak

commit sha 3b1cc2f3c7dddd6b694a1259aab143a6bc5c5ba1

chore: chmod +X cli.js (#25471)

view details

Mikhail Novikov

commit sha e8784f91b0535933c39f7d4667b168a3f3baa405

chore(release): Publish - gatsby-admin@0.1.81 - gatsby-cli@2.12.55 - gatsby-theme-blog-core@1.5.55 - gatsby-theme-blog@1.6.55 - gatsby-theme-notes@1.3.81 - gatsby-theme-ui-preset@0.0.70 - gatsby@2.23.16

view details

Ward Peeters

commit sha a50cd3d18e7388fd93efe66993f454bd47ffc7bb

Revert "chore: upgrade core-js to version 3" (#25474)

view details

Ward Peeters

commit sha e623913b2cf9a6fc2894b2c3bf0ebe0f6d8ecb1a

chore(release): Publish - babel-plugin-remove-graphql-queries@2.9.11 - babel-preset-gatsby-package@0.5.1 - babel-preset-gatsby@0.5.1 - gatsby-admin@0.1.82 - gatsby-cli@2.12.56 - gatsby-codemods@1.3.9 - gatsby-core-utils@1.3.11 - gatsby-cypress@0.4.9 - gatsby-dev-cli@2.7.15 - gatsby-graphiql-explorer@0.4.10 - gatsby-image@2.4.12 - gatsby-link@2.4.11 - gatsby-page-utils@0.2.15 - gatsby-plugin-benchmark-reporting@0.2.13 - gatsby-plugin-canonical-urls@2.3.9 - gatsby-plugin-catch-links@2.3.10 - gatsby-plugin-coffeescript@2.3.9 - gatsby-plugin-create-client-paths@2.3.9 - gatsby-plugin-cxs@2.3.9 - gatsby-plugin-emotion@4.3.9 - gatsby-plugin-facebook-analytics@2.4.9 - gatsby-plugin-feed@2.5.10 - gatsby-plugin-flow@1.3.10 - gatsby-plugin-fullstory@2.3.10 - gatsby-plugin-glamor@2.3.9 - gatsby-plugin-google-analytics@2.3.9 - gatsby-plugin-google-gtag@2.1.9 - gatsby-plugin-google-tagmanager@2.3.10 - gatsby-plugin-guess-js@1.3.10 - gatsby-plugin-jss@2.3.9 - gatsby-plugin-layout@1.3.9 - gatsby-plugin-less@3.2.9 - gatsby-plugin-lodash@3.3.9 - gatsby-plugin-manifest@2.4.17 - gatsby-plugin-mdx@1.2.22 - gatsby-plugin-netlify-cms@4.3.10 - gatsby-plugin-netlify@2.3.10 - gatsby-plugin-nprogress@2.3.9 - gatsby-plugin-offline@3.2.16 - gatsby-plugin-page-creator@2.3.15 - gatsby-plugin-postcss@2.3.9 - gatsby-plugin-preact@4.0.8 - gatsby-plugin-preload-fonts@1.2.16 - gatsby-plugin-react-css-modules@2.3.9 - gatsby-plugin-react-helmet@3.3.9 - gatsby-plugin-remove-trailing-slashes@2.3.10 - gatsby-plugin-sass@2.3.10 - gatsby-plugin-sharp@2.6.17 - gatsby-plugin-sitemap@2.4.10 - gatsby-plugin-styled-components@3.3.9 - gatsby-plugin-styled-jsx@3.3.10 - gatsby-plugin-styletron@5.0.8 - gatsby-plugin-stylus@2.3.9 - gatsby-plugin-subfont@2.2.10 - gatsby-plugin-twitter@2.3.9 - gatsby-plugin-typescript@2.4.12 - gatsby-plugin-typography@2.5.9 - gatsby-react-router-scroll@3.0.10 - gatsby-recipes@0.1.47 - gatsby-remark-autolink-headers@2.3.10 - gatsby-remark-code-repls@3.2.9 - gatsby-remark-copy-linked-files@2.3.10 - gatsby-remark-custom-blocks@2.3.9 - gatsby-remark-embed-snippet@4.3.12 - gatsby-remark-graphviz@1.3.9 - gatsby-remark-images-contentful@2.3.10 - gatsby-remark-images@3.3.17 - gatsby-remark-katex@3.3.9 - gatsby-remark-prismjs@3.5.9 - gatsby-remark-responsive-iframe@2.4.10 - gatsby-remark-smartypants@2.3.9 - gatsby-source-contentful@2.3.21 - gatsby-source-drupal@3.5.19 - gatsby-source-faker@2.3.9 - gatsby-source-filesystem@2.3.17 - gatsby-source-graphql@2.6.1 - gatsby-source-hacker-news@2.4.9 - gatsby-source-lever@2.3.10 - gatsby-source-medium@2.3.9 - gatsby-source-mongodb@2.3.9 - gatsby-source-npm-package-search@2.3.11 - gatsby-source-shopify@3.2.17 - gatsby-source-wikipedia@2.3.10 - gatsby-source-wordpress@3.3.18 - gatsby-telemetry@1.3.17 - gatsby-theme-blog-core@1.5.56 - gatsby-theme-blog@1.6.56 - gatsby-theme-notes@1.3.82 - gatsby-theme-ui-preset@0.0.71 - gatsby-transformer-asciidoc@1.3.10 - gatsby-transformer-csv@2.3.9 - gatsby-transformer-documentationjs@4.3.11 - gatsby-transformer-excel@2.4.9 - gatsby-transformer-hjson@2.4.9 - gatsby-transformer-javascript-frontmatter@2.3.10 - gatsby-transformer-javascript-static-exports@2.4.9 - gatsby-transformer-json@2.4.10 - gatsby-transformer-pdf@1.3.10 - gatsby-transformer-react-docgen@5.2.10 - gatsby-transformer-remark@2.8.23 - gatsby-transformer-screenshot@2.3.15 - gatsby-transformer-sharp@2.5.10 - gatsby-transformer-sqip@2.3.17 - gatsby-transformer-toml@2.4.11 - gatsby-transformer-xml@2.3.9 - gatsby-transformer-yaml@2.4.9 - gatsby@2.23.17

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha d3e7a59c388c69a8c60d0273a0aafe28142e9001

Use develop queue

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha d3e7a59c388c69a8c60d0273a0aafe28142e9001

Use develop queue

view details

Matt Kane

commit sha ae0ece9b8a444ab39b4d361a537efff6b562a5a0

Merge branch 'feat/query-state-machine' into feat/defer-node-mutation

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 6ca668f387a236f268b1403951bc1819c82d6c8c

Use new pagedata utils

view details

Matt Kane

commit sha b701d7c9523d11f5f29e76c69dab67490a6d9f15

Merge branch 'feat/query-state-machine' into feat/defer-node-mutation

view details

push time in 5 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 6ca668f387a236f268b1403951bc1819c82d6c8c

Use new pagedata utils

view details

push time in 5 days

issue commentgatsbyjs/gatsby

[feat]: run babel macros before extracting graphql queries

Hi @bennetthardwick. Thanks for the suggestion. I'm a bit wary to do this. While I get your motivation, the use of Babel for extracting queries is really an implementation detail. If we were to enable macros we'd be tying ourselves down to that handling of them, when this is an area of active development for us. We have a big improvement to how static queries are handled coming down the line very soon. If we keep the query extraction "magic" a black box we can make improvements without it being a breaking change.

bennetthardwick

comment created time in 5 days

push eventgatsbyjs/gatsby

Marcy Sutton

commit sha 3a94eb68194830c62ae4447af9955d825553d889

remove unused typobot file (#25490)

view details

push time in 5 days

PR merged gatsbyjs/gatsby

chore: remove unused typobot file type: chore

Description

As a Gatsby team member with permissions, I disabled the Typobot application in this repo since retext-spell (see https://github.com/gatsbyjs/gatsby/pull/24372/ and https://github.com/gatsbyjs/gatsby/pull/25275) made it redundant. There was a stale YAML file kicking around, so this PR removes it.

Documentation

A search of the contributing docs didn't turn up anything about the Typo-Ci bot so I think we're good.

Related Issues

N/A

+0 -41

1 comment

1 changed file

marcysutton

pr closed time in 5 days

PR opened gatsbyjs/gatsby

feat(gatsby): Defer node mutation during querying

This PR adds orchestration of node mutation into the develop state machine. Currently source plugins can mutate nodes at any point, not just during sourceNodes. For example, some source plugins open websockets during develop that can update whenever an item is saved in a CMS. With thise change, any node mutations (such as CREATE_NODE, DELETE_NODE etc) that happen when outside the sourceNodes or bootstrap phase are not dispatched immediately by Redux, but instead are sent to the state machine. The way these events are handled depends on the current state. During bootstrap these are passed immediately to Redux and dispatched. During query execution, they are added to an internal queue, and when idle these are then dispatched and a new build cycle is kicked-off. Mutations that happen when idle are not dispatched immediately, but are instead placed into a batch. After a timeout (currently 1 second, but this could be configurable), this batch of mutations is dispatched and a build is started. This batching and queuing means that large numbers of mutations can be handled quickly. A later PR will do similar for incoming webhooks and file changes.

By handling node mutations explicitly, this PR also allows us to do away with several watchers, including pages hot reloader and schema hot reloader. Instead of listening for changes these are rebuilt when needed, after node sourcing. Next step will be to move chokidar file watching and webpack invalid hooks into similar spawned watchers.

+623 -189

0 comment

25 changed files

pr created time in 6 days

issue closedgatsbyjs/gatsby

client-only routes + pathPrefix not work

Description Adding pathPrefix to gatsby-config while using client-only routes breaks routing in production builds.

Steps to reproduce

add pathPrefix: '/app' gatsby build --prefix-paths move public/* to s3/app use s3 website hosting set fallback Error page to /app/app/index.html

Expected result when visit http://[mys3].s3-website-ap-southeast-1.amazonaws.com/app/app/hi Client-only routes should render components

Actual result No components are rendered, reloading a route returns 404.html

gatsby config const path = require('path') module.exports = { pathPrefix: /app, plugins: [ { resolve: gatsby-plugin-create-client-paths, options: { prefixes: [/app/*] }, } ], }

page/app.js import React from "react" import { Link, withPrefix } from "gatsby" import { Router } from "@reach/router" import Layout from "../components/layout" import Image from "../components/image" import Hello from "../components/hello" import Hi from "../components/hi" const IndexPage = () => ( <Layout> <Router basepath={withPrefix('/app')}> <Hello path="/:locale/hello" /> <Hi path="/hi" /> </Router> </Layout> ) export default IndexPage

build command

gatsby build --prefix-paths

closed time in 6 days

stanleyyuenyiu

issue commentgatsbyjs/gatsby

client-only routes + pathPrefix not work

Hi. I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do reopen the issue. Thanks!

stanleyyuenyiu

comment created time in 6 days

issue commentgatsbyjs/gatsby

Accessing your Contentful space failed.

@LordLalwani Can you confirm whether this is now working with the latest version of gatsby and the contentful plugin?

LordLalwani

comment created time in 6 days

issue commentgatsbyjs/gatsby

Gatsby develop infinitely reloading with error on localhost but working fine on 127.0.0.1

Hi. I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do reopen the issue. Thanks!

polyglotpiglet

comment created time in 6 days

issue closedgatsbyjs/gatsby

Gatsby develop infinitely reloading with error on localhost but working fine on 127.0.0.1

<!-- Please fill out each section below, otherwise, your issue will be closed. This info allows Gatsby maintainers to diagnose (and fix!) your issue as quickly as possible.

Useful Links:

  • Documentation: https://www.gatsbyjs.org/docs/
  • How to File an Issue: https://www.gatsbyjs.org/contributing/how-to-file-an-issue/

Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues -->

Description

With any gatsby project that I run locally I see the same problem. It infinitely reloads with an error when I look at localhost:8000 but works fine on other network interfaces.

Steps to reproduce

gatsby new example https://github.com/billyjacoby/gatsby-react-bootstrap-starter

gatsby develop -H 0.0.0.0

Expected result

Should display the homepage for the gatsby starter.

Actual result

Going to localhost:8000 displays the following error and infinitely reloads:

Screenshot 2020-06-12 at 10 25 48

However navigating to 127.0.0.0:8000 works just fine.

Environment

  System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.4.0 - /usr/local/bin/node
    npm: 6.14.4 - /usr/local/bin/npm
  Languages:
    Python: 2.7.16 - /usr/bin/python
  Browsers:
    Chrome: 83.0.4103.97
    Firefox: 61.0.1
    Safari: 13.0.5
  npmPackages:
    gatsby: ^2.3.34 => 2.23.3
    gatsby-image: ^2.0.41 => 2.4.7
    gatsby-plugin-manifest: ^2.0.29 => 2.4.11
    gatsby-plugin-offline: ^2.0.25 => 2.2.10
    gatsby-plugin-react-helmet: ^3.0.12 => 3.3.4
    gatsby-plugin-sass: ^2.0.11 => 2.3.4
    gatsby-plugin-sharp: ^2.0.35 => 2.6.11
    gatsby-source-filesystem: ^2.0.33 => 2.3.11
    gatsby-transformer-sharp: ^2.1.18 => 2.5.5
  npmGlobalPackages:
    gatsby-cli: 2.12.44

closed time in 6 days

polyglotpiglet

issue commentgatsbyjs/gatsby

`gatsby develop` crashes with latest versions of Gatsby and gatsby-cli

@riccardolardi @tomthornton @zhenwan @samuelgoddard The babel plugin issue is different, and should now be fixed. See #25475

OPerel

comment created time in 6 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha a4ac2dc45ecd887b4ee62892463f15ce53ec35ad

Handle node mutation queuing and batching in state machine

view details

push time in 6 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha fd7bc9d72da19c08cf59ab1a4514e03e2089958c

wip

view details

push time in 6 days

issue closedgatsbyjs/gatsby

bug: starters are broken with yarn

Description

Describe the issue that you're seeing.

When following the documentation to create a new starter, example gatsby-starter-blog, the build process fails with the default yarn.

Steps to reproduce

stephen@Stephens-MBP-2 temp % gatsby new starter-blog-with-redirect https://github.com/gatsbyjs/gatsby-starter-blog
info Creating new site from git:
Cloning into 'starter-blog-with-redirect'...
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 41 (delta 1), reused 23 (delta 0), pack-reused 0
Unpacking objects: 100% (41/41), done.
success Created starter directory layout
info Installing packages...
yarn install v1.22.4
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "gatsby > @pmmmwh/react-refresh-webpack-plugin@0.3.3" has incorrect peer dependency "react-refresh@^0.8.2".
warning "gatsby > @typescript-eslint/eslint-plugin > tsutils@3.17.1" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 17.20s.
info Initialising git in starter-blog-with-redirect
Initialized empty Git repository in /Users/stephen/code/temp/starter-blog-with-redirect/.git/
info Create initial git commit in starter-blog-with-redirect
info
Your new Gatsby site has been successfully bootstrapped. Start developing it by
running:

  cd starter-blog-with-redirect
  gatsby develop
stephen@Stephens-MBP-2 temp % cd starter-blog-with-redirect
stephen@Stephens-MBP-2 starter-blog-with-redirect % gatsby develop
/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: Cannot find module '../_lib/requiredArgs/index.js'
Require stack:
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/toDate/index.js
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/getDayOfYear/index.js
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/utils/feedback.js
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/commands/develop-process.js
- /Users/stephen/code/temp/starter-blog-with-redirect/.cache/tmp-3109-vTevwB94b1Vf
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/toDate/index.js:8:37)
    at Module._compile (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/getDayOfYear/index.js:8:37)
    at Module._compile (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/toDate/index.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/getDayOfYear/index.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/utils/feedback.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/commands/develop-process.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/.cache/tmp-3109-vTevwB94b1Vf'
  ]
}

 ERROR



   ╭──────────────────────────────────────────────╮
   │                                              │
   │     Update available 2.12.51 → 2.12.55       │
   │   Run yarn global add gatsby-cli to update   │
   │                                              │
   ╰──────────────────────────────────────────────╯


stephen@Stephens-MBP-2 starter-blog-with-redirect % yarn global add gatsby-cli
yarn global v1.22.4
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > gatsby@2.23.11" has unmet peer dependency "react@^16.4.2".
warning " > gatsby@2.23.11" has unmet peer dependency "react-dom@^16.4.2".
warning "gatsby > @pmmmwh/react-refresh-webpack-plugin@0.3.3" has incorrect peer dependency "react-refresh@^0.8.2".
warning "gatsby > @reach/router@1.3.4" has unmet peer dependency "react@15.x || 16.x || 16.4.0-alpha.0911da3".
warning "gatsby > @reach/router@1.3.4" has unmet peer dependency "react-dom@15.x || 16.x || 16.4.0-alpha.0911da3".
warning "gatsby > gatsby-link@2.4.8" has unmet peer dependency "react@^16.4.2".
warning "gatsby > gatsby-link@2.4.8" has unmet peer dependency "react-dom@^16.4.2".
warning "gatsby > gatsby-react-router-scroll@3.0.7" has unmet peer dependency "react@^16.4.2".
warning "gatsby > gatsby-react-router-scroll@3.0.7" has unmet peer dependency "react-dom@^16.4.2".
warning "gatsby > react-hot-loader@4.12.21" has unmet peer dependency "react@^15.0.0 || ^16.0.0".
warning "gatsby > react-hot-loader@4.12.21" has unmet peer dependency "react-dom@^15.0.0 || ^16.0.0".
warning "gatsby > @reach/router > create-react-context@0.3.0" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
[4/4] 🔨  Building fresh packages...
success Installed "gatsby-cli@2.12.55" with binaries:
      - gatsby
✨  Done in 4.49s.
stephen@Stephens-MBP-2 starter-blog-with-redirect % gatsby develop
/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: Cannot find module '../_lib/requiredArgs/index.js'
Require stack:
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/toDate/index.js
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/getDayOfYear/index.js
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/utils/feedback.js
- /Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/commands/develop-process.js
- /Users/stephen/code/temp/starter-blog-with-redirect/.cache/tmp-3408-Zy19D8s7jv2t
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/toDate/index.js:8:37)
    at Module._compile (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/getDayOfYear/index.js:8:37)
    at Module._compile (/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/toDate/index.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/date-fns/getDayOfYear/index.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/utils/feedback.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/node_modules/gatsby/dist/commands/develop-process.js',
    '/Users/stephen/code/temp/starter-blog-with-redirect/.cache/tmp-3408-Zy19D8s7jv2t'
  ]
}
stephen@Stephens-MBP-2 starter-blog-with-redirect % yarn --version
1.22.4

Note -- No minimum reproducible repo is provided because the problem is with the minimum reproducible repo.

Expected result

gatsby develop should not break

Actual result

gatsby develop breaks unless node_modules whether managed by npm or yarn

When run with npm it specifies that babel-plugin-remove-graphql-queries@^2.9.10, a dependency of gatsby doesn't not exist.

stephen@Stephens-MBP-2 starter-blog-with-redirect % rm -rf yarn.lock node_modules
stephen@Stephens-MBP-2 starter-blog-with-redirect % npm i
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for babel-plugin-remove-graphql-queries@^2.9.10.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'gatsby'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/stephen/.npm/_logs/2020-07-02T13_49_29_660Z-debug.log
stephen@Stephens-MBP-2 starter-blog-with-redirect % gatsby develop

 ERROR

There was a problem loading the local develop command. Gatsby may not be installed in your site's "node_modules" directory. Perhaps you need to run "npm install"? You might need to delete your "package-lock.json" as well.

Environment

gatsby info --clipboard

  System:
    OS: macOS 10.15.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.16.2 - ~/.nvm/versions/node/v12.16.2/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v12.16.2/bin/npm
  Languages:
    Python: 3.8.0 - /Users/stephen/.pyenv/shims/python
  Browsers:
    Chrome: 83.0.4103.116
    Safari: 13.1.1

closed time in 6 days

stephencweiss

issue commentgatsbyjs/gatsby

bug: starters are broken with yarn

Hi. SOrry about this. It should be fixed imminently. See #25475

stephencweiss

comment created time in 6 days

issue commentgatsbyjs/gatsby

Using ESLint https://www.gatsbyjs.org/docs/eslint/ ... missing step?

Tagging docs team to see if this needs clarifying.

stevenkkim

comment created time in 6 days

pull request commentgatsbyjs/gatsby

feat(gatsby): Use ReactDOM.renderToString in develop

If anybody fancies writing some e2e tests for this it would be greatly appreciated!

ascorbic

comment created time in 6 days

create barnchgatsbyjs/gatsby

branch : feat/defer-node-mutation

created branch time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha e7f426e9c5dc28c15834ace8588bd0625f7f13e9

Remove unusued config

view details

Matt Kane

commit sha 7da48a64761e52337b1b5e721f9a4ba9e85eba91

Add gql runner reset

view details

Matt Kane

commit sha 8f497beb94c173592b57fa644e229522a4bd5a57

Merge branch 'feat/query-state-machine' of github.com:gatsbyjs/gatsby into feat/query-state-machine

view details

push time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 133099dd15cd3aa24063b6ef35ea84992145db05

Remove unusued config

view details

push time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 2ce7b774d174d6107143c03273c4ebb99a18e325

Remove unused action

view details

push time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha ed9771b612217bebaca8f9958676ea4c220e02d7

feat(gatsby): Use state machine for bootstrap in develop (#25305) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Changes from review * Changes from review * Use assertStore

view details

Matt Kane

commit sha 6f0ab66e0e05a06728322f13f755231a1314db67

Merge branch 'master' into feat/query-state-machine

view details

push time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha ed9771b612217bebaca8f9958676ea4c220e02d7

feat(gatsby): Use state machine for bootstrap in develop (#25305) * Move bootstrap into machine * Add parent span and query extraction * Add rebuildSchemaWithSitePage * Use values from context * Remove logs * Add redirectListener * Changes from review * Changes from review * Changes from review * Use assertStore

view details

push time in 7 days

PR merged gatsbyjs/gatsby

Reviewers
feat(gatsby): Use state machine for bootstrap in develop status: needs core review topic: develop state machine

This PR uses the state machine from develop to run the bootstrap phase of develop. It then runs everything else unchanged from the existing develop-process file.

The top level develop machine here includes three states:

  • initializing. Runs a single service which in the current site is called inside bootstrap().
  • initializingDataLayer. Invokes the dataLayer state machine.
  • doingEverythingElse. This, as the name suggests, does everything else that has not yet been implemented with the state machine

The dataLayer state machine, when run here, invokes the following services in order:

customizeSchema, sourceNodes, buildSchema, createPages, and createPagesStatefully

It returns:

{
          gatsbyNodeGraphQLFunction,
          graphqlRunner,
          pagesToBuild,
          pagesToDelete,
}
+410 -72

1 comment

13 changed files

ascorbic

pr closed time in 7 days

PR closed gatsbyjs/gatsby

WIP: State machine base topic: develop state machine

This branch includes the base code to run the develop state machine, and serves as the base for state machine PRs

Initial files, added in e4cc5ba :

commands/develop-state-machine.ts. This is run instead of develop-process, and includes a lot of the same boilerplate code. It also contains to the code to initialise and run the state machine.

commands/develop.ts. Adds am env var to use the state machine rather than the standard develop command/

services/index.ts. Refactor to export the services as a service map object as well as the individual exports used by the existing bootstrap and build commands.

services/types.ts. Adds all of the types for the state machine context object.

state-machines/actions.ts. Adds an empty actions map.

state-machines/develop.ts. Includes an empty state machine, waiting for future PRs.

state-machines/shared-transition-configs.ts. Helper utilities shared by all state machines.

+315 -22

0 comment

9 changed files

ascorbic

pr closed time in 7 days

PR closed gatsbyjs/gatsby

feat(gatsby): Add data layer state machine config status: needs core review topic: develop state machine

This PR includes the first part of the actual state machine. This is just one of the sub-machines, specifically the " initializing data layer" machine which handles customizing schema, sourcing nodes, building schema and creating pages. For this it uses the services that we now have in core. This PR is currently dead code, but there will be future PRs that add more machines, then eventually the code that executes them.

This machine is defined in develop as #build.running.initializingDataLayer, meaning it has a parent state running. For full context, see the feat/state-machine branch.

As well as the data-layer config, this adds the associated actions, which mostly change the context based on the return value of a service, such as adding to the list of changed pages.

There are a number of helpers in shared-transition-config. We have actions that need to run when a node mutation is enqueued, which need to happen in lots of different states, so it's easier to define that config and reuse it in each config.

On the subject of enqueuing node mutations, this is a feature that will be added in another PR. It adds a deferNodeMutations option to apiRunnerNode, which if set wraps actions that would mutate nodes with a function which instead emits an ENQUEUE_NODE_MUTATION event. This means we can safely run the machine with a guarantee that the node store will not be mutated unless we are in a state where we are expecting it. More in a PR to follow.

+417 -2

1 comment

7 changed files

ascorbic

pr closed time in 7 days

push eventgatsbyjs/gatsby

Laurie Barth

commit sha 2b45c0e91671e5cde147a907a180d7862cc52212

Add usage instructions for images

view details

Michelle Gienow

commit sha 9903506b6c676adbf75e78553b786b35cd0b2be8

Blog gatsby WebAIM Million (#25273) * Add WebAIM Million announcement Gatsby is most accessible framework * create frontmatter for WebAIM blog post * Update index.md * Update index.md * chore: format * fix typo * Update index.md Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

LB

commit sha 898461f81745a1b1fa9947373cd44448cf428057

Adjust language slightly (#25299) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

LB

commit sha d41526fe6e220cfcd5debc08d4dbb67df7e86aba

Change official plugins testing condition (#25300) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

Tyler Barnes

commit sha e59b4a9ea7c773087addad6d4c7f1ff3a82153ec

feat(docs): Add explanation of Site.siteMetadata field (#25208) * Add explanation of Site.siteMetadata field * chore: format Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Eric Chan

commit sha b75ffc33824617a711c438aa60a5d67477e902e6

chore(showcase): Add erp.laputan.com.au (#25227) * chore(showcase): Add erp.laputan.com.au * fix category for dangerbot * update title for dangerbot Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>

view details

Jina Anne

commit sha 35744ace5405a77593401628b5d9547916ec463e

chore(docs): Correct capitalization for Sass (#25311) I know it's nitpicky, but just wanted to make it follow the Sass brand guidelines. 😄

view details

Michaël De Boey

commit sha 1cf0c277eb1dd94472161d81a5712c64df9cbd88

chore(test): Test on Node 14 (#23354) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Marcy Sutton

commit sha 32c186f3d2bfa535947986d7e173f4971191a9d5

update author.yaml for Marcy Sutton (#25306) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Michal Piechowiak

commit sha b73cc5d7fc553266180f62248df6bb7b1fd9f35b

refactor(develop): expose APIs to suspend/resume webpack watching to gatsby internals (#25236)

view details

Nat Alison

commit sha 67b3ca91cfe0bf1d33bc542c46cfe58073c4ee0d

maintenance(www): use gatsby-plugin-react-svg for icons (#25282) * use gatsby-plugin-react-svg for icons * use elements instead of component names * update asset imports * v2 icon * featured-sites * add thingy * svg

view details

Nat Alison

commit sha 49c09299aac5a93157b592e63846bdad30ea578e

fix(gatsby-plugin-mdx): set childOf extension for Mdx type definition (#25112) * set mimeTypes extension for Mdx type definition * whoops

view details

Nat Alison

commit sha 48f7878f2724254668394bf5d4dd2d2e54ff39a7

fix(gatsby-transformer-documentationjs): Add childOf, mimeTypes and fill in other schema typings (#25113) * Add mimeTypes and other directives to fill in files * add placeholder type

view details

Abhishek Jakhar

commit sha 6013206859ce34d7e2b6449eb6dd270893e77cb8

chore(www): convert BoxWithBorder to theme-ui (#25144) * convert BoxWithBorder to theme-ui * update the border css rules

view details

Florian Kissling

commit sha 7b0de960c0596fa722697c89559ba22f47a727c0

chore(www): Tidy `sx` prop `space` usage (#25333) * chore(www): Tidy `space`, `color`, fix `:hover` * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Use `sidebarItemMinHeight` token * fix(www): `TitleButton` indention, padding-right This is currently not in use so will leave it alone, but this thing's height and `hover`, `active` states are also off a little. * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage Not really in use either, but let's fix the "pull in page margin" thing.

view details

Florian Gyger

commit sha 219e01e6382e2bb584fe2274d22a7df55f5fc7bc

chore(starters): add gatsby-starter-capacitor (#24755)

view details

Nat Alison

commit sha 9e68ac32e7a48273623aefa1d69ca91d161a1636

Remove fake styled components from banner (#25352)

view details

Nat Alison

commit sha aa8c3001fefd72a2efc5781b6ffef329d41a32b4

refactor(www): Convert Pullquote to use theme-ui (#25351) * refactor pullquote component * Fix sizes * Simplify styles for cross axis * Add some documentation on the pullquote

view details

Florian Kissling

commit sha c1368c06fb975bd792ebb8f9d0c5a5e4ebcba388

chore(www): Refactor `homepage-logo-banner` (#25348) * chore(www): Refactor to `sx` * rm `@emotion/styled` * newlines, more concise, fix a d'oh not bored enough for responsive array things tho ;) * OK, bored enough 🤔 * lol * time for breakfast * inline styles 😛 null, null, null, null

view details

Florian Kissling

commit sha c9c3d68b589a1feba64d232c6b496968083e8e88

chore(www): Refactor `ecosystem-section` (#25349) * chore(www): Refactor to `sx` * newlines * 🙄 * 🙃 * 💩 * combine imports * rm className, spread love * 🙀 * mv inline * 🤡

view details

push time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 80654fb440fb65f46aa52efc8eeaf08e0204796d

refactor(gatsby): Move store assertion into helper (#25438)

view details

Matt Kane

commit sha 4ff46bd6b34ec71cd51af3ee4f47826bdf25090a

Merge branch 'master' into feat/bootstrap-state-machine

view details

Matt Kane

commit sha 7bc5056f78ef7277b6b683f05c4609bf8eda0bda

Use assertStore

view details

push time in 7 days

pull request commentgatsbyjs/gatsby

feat(gatsby): Use state machine for bootstrap in develop

Aaargh. My assertStore PR just introduced conflicts. Merging again and will need another review

ascorbic

comment created time in 7 days

push eventgatsbyjs/gatsby

Laurie Barth

commit sha 2b45c0e91671e5cde147a907a180d7862cc52212

Add usage instructions for images

view details

Michelle Gienow

commit sha 9903506b6c676adbf75e78553b786b35cd0b2be8

Blog gatsby WebAIM Million (#25273) * Add WebAIM Million announcement Gatsby is most accessible framework * create frontmatter for WebAIM blog post * Update index.md * Update index.md * chore: format * fix typo * Update index.md Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

LB

commit sha 898461f81745a1b1fa9947373cd44448cf428057

Adjust language slightly (#25299) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

LB

commit sha d41526fe6e220cfcd5debc08d4dbb67df7e86aba

Change official plugins testing condition (#25300) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

Tyler Barnes

commit sha e59b4a9ea7c773087addad6d4c7f1ff3a82153ec

feat(docs): Add explanation of Site.siteMetadata field (#25208) * Add explanation of Site.siteMetadata field * chore: format Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Eric Chan

commit sha b75ffc33824617a711c438aa60a5d67477e902e6

chore(showcase): Add erp.laputan.com.au (#25227) * chore(showcase): Add erp.laputan.com.au * fix category for dangerbot * update title for dangerbot Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>

view details

Jina Anne

commit sha 35744ace5405a77593401628b5d9547916ec463e

chore(docs): Correct capitalization for Sass (#25311) I know it's nitpicky, but just wanted to make it follow the Sass brand guidelines. 😄

view details

Michaël De Boey

commit sha 1cf0c277eb1dd94472161d81a5712c64df9cbd88

chore(test): Test on Node 14 (#23354) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Marcy Sutton

commit sha 32c186f3d2bfa535947986d7e173f4971191a9d5

update author.yaml for Marcy Sutton (#25306) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Michal Piechowiak

commit sha b73cc5d7fc553266180f62248df6bb7b1fd9f35b

refactor(develop): expose APIs to suspend/resume webpack watching to gatsby internals (#25236)

view details

Nat Alison

commit sha 67b3ca91cfe0bf1d33bc542c46cfe58073c4ee0d

maintenance(www): use gatsby-plugin-react-svg for icons (#25282) * use gatsby-plugin-react-svg for icons * use elements instead of component names * update asset imports * v2 icon * featured-sites * add thingy * svg

view details

Nat Alison

commit sha 49c09299aac5a93157b592e63846bdad30ea578e

fix(gatsby-plugin-mdx): set childOf extension for Mdx type definition (#25112) * set mimeTypes extension for Mdx type definition * whoops

view details

Nat Alison

commit sha 48f7878f2724254668394bf5d4dd2d2e54ff39a7

fix(gatsby-transformer-documentationjs): Add childOf, mimeTypes and fill in other schema typings (#25113) * Add mimeTypes and other directives to fill in files * add placeholder type

view details

Abhishek Jakhar

commit sha 6013206859ce34d7e2b6449eb6dd270893e77cb8

chore(www): convert BoxWithBorder to theme-ui (#25144) * convert BoxWithBorder to theme-ui * update the border css rules

view details

Florian Kissling

commit sha 7b0de960c0596fa722697c89559ba22f47a727c0

chore(www): Tidy `sx` prop `space` usage (#25333) * chore(www): Tidy `space`, `color`, fix `:hover` * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Use `sidebarItemMinHeight` token * fix(www): `TitleButton` indention, padding-right This is currently not in use so will leave it alone, but this thing's height and `hover`, `active` states are also off a little. * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage Not really in use either, but let's fix the "pull in page margin" thing.

view details

Florian Gyger

commit sha 219e01e6382e2bb584fe2274d22a7df55f5fc7bc

chore(starters): add gatsby-starter-capacitor (#24755)

view details

Nat Alison

commit sha 9e68ac32e7a48273623aefa1d69ca91d161a1636

Remove fake styled components from banner (#25352)

view details

Nat Alison

commit sha aa8c3001fefd72a2efc5781b6ffef329d41a32b4

refactor(www): Convert Pullquote to use theme-ui (#25351) * refactor pullquote component * Fix sizes * Simplify styles for cross axis * Add some documentation on the pullquote

view details

Florian Kissling

commit sha c1368c06fb975bd792ebb8f9d0c5a5e4ebcba388

chore(www): Refactor `homepage-logo-banner` (#25348) * chore(www): Refactor to `sx` * rm `@emotion/styled` * newlines, more concise, fix a d'oh not bored enough for responsive array things tho ;) * OK, bored enough 🤔 * lol * time for breakfast * inline styles 😛 null, null, null, null

view details

Florian Kissling

commit sha c9c3d68b589a1feba64d232c6b496968083e8e88

chore(www): Refactor `ecosystem-section` (#25349) * chore(www): Refactor to `sx` * newlines * 🙄 * 🙃 * 💩 * combine imports * rm className, spread love * 🙀 * mv inline * 🤡

view details

push time in 7 days

Pull request review commentgatsbyjs/gatsby

refactor(gatsby): Move store assertion into helper

+import { Store } from "redux"+import reporter from "gatsby-cli/lib/reporter"++export function assertStore(store?: Store): asserts store {

TS 3.7 was a good release

ascorbic

comment created time in 7 days

push eventgatsbyjs/gatsby

Ward Peeters

commit sha 5c4c008932afa13d7f23f1034e5c482e81436ec9

tests(gatsby): fix feedback tests (#25439)

view details

Matt Kane

commit sha e92293f4ff82935a1677349168be08f86f1faf7f

Move store assertion into helper

view details

push time in 7 days

PR opened gatsbyjs/gatsby

refactor(gatsby): Move store assertion into helper

Adds a helper function to assert the existence of a Redux store. I'd normally say we should make this more generic and pass in a message or something, but I have done this specific check so many times I think it justifies having a specific version that includes the error message. There are several files that use it in master, and a lot more in the state machine branches.

+25 -23

0 comment

8 changed files

pr created time in 7 days

create barnchgatsbyjs/gatsby

branch : chore/assert-store

created branch time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha d049022d88e9727c6b35ec9dc0a2e3357b254da6

Changes from review

view details

Matt Kane

commit sha 2dad1292462af01f5a0e832367f866ca69863011

Changes from review

view details

Matt Kane

commit sha 1df526a3a630b519cdf4aa5fc129ff1fe4e717d6

Merge branch 'feat/bootstrap-state-machine' into feat/query-state-machine

view details

Matt Kane

commit sha 26420c4c49782307be3cf7194c7dafe6ce9d9e96

Switch to reporter

view details

push time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha 2dad1292462af01f5a0e832367f866ca69863011

Changes from review

view details

push time in 7 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for bootstrap in develop

 module.exports = async (program: IProgram): Promise<void> => {     throw e   } -  // Start bootstrap process.-  const { gatsbyNodeGraphQLFunction, workerPool } = await bootstrap({ program })--  // Start the createPages hot reloader.-  bootstrapPageHotReloader(gatsbyNodeGraphQLFunction)--  // Start the schema hot reloader.-  bootstrapSchemaHotReloader()+  const app = express() -  const { queryIds } = await calculateDirtyQueries({ store })+  const developConfig: MachineConfig<IBuildContext, any, AnyEventObject> = {+    id: `build`,+    initial: `initializing`,+    states: {+      initializing: {+        invoke: {+          src: `initialize`,+          onDone: {+            target: `initializingDataLayer`,+            actions: `assignStoreAndWorkerPool`,+          },+        },+      },+      initializingDataLayer: {+        invoke: {+          src: `initializeDataLayer`,+          data: ({ parentSpan, store }: IBuildContext): IDataLayerContext => {+            return { parentSpan, store, firstRun: true }+          },+          onDone: {+            actions: `assignDataLayer`,+            target: `doingEverythingElse`,+          },+        },+      },+      doingEverythingElse: {+        invoke: {+          src: async ({+            gatsbyNodeGraphQLFunction,+            graphqlRunner,+            workerPool,+            store,+            app,+          }): Promise<void> => {+            // All the stuff that's not in the state machine yet++            // These were previously in `bootstrap()` but are now+            // in part of the state machine that hasn't been added yet+            await postBootstrap({ parentSpan: bootstrapSpan })

Good spot. I move this into a state machine in the next PR, but I'll switch it around here and double check I've got it in the right place in the new one

ascorbic

comment created time in 7 days

push eventgatsbyjs/gatsby

Matt Kane

commit sha d049022d88e9727c6b35ec9dc0a2e3357b254da6

Changes from review

view details

push time in 7 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for bootstrap in develop

+import {+  assign,+  AnyEventObject,+  ActionFunction,+  AssignAction,+  DoneInvokeEvent,+  ActionFunctionMap,+} from "xstate"+import { createGraphQLRunner } from "../../bootstrap/create-graphql-runner"+import reporter from "gatsby-cli/lib/reporter"+import { IDataLayerContext } from "./types"++const concatUnique = <T>(array1: T[] = [], array2: T[] = []): T[] =>+  Array.from(new Set(array1.concat(array2)))++type BuildMachineAction =+  | ActionFunction<IDataLayerContext, any>+  | AssignAction<IDataLayerContext, any>++export const assignChangedPages: BuildMachineAction = assign<+  IDataLayerContext,+  DoneInvokeEvent<{+    changedPages: string[]+    deletedPages: string[]+  }>+>((context, event) => {+  return {+    pagesToBuild: concatUnique(context.pagesToBuild, event.data.changedPages),+    pagesToDelete: concatUnique(context.pagesToDelete, event.data.deletedPages),+  }+})++export const assignGatsbyNodeGraphQL: BuildMachineAction = assign<+  IDataLayerContext+>({+  gatsbyNodeGraphQLFunction: ({ store }: IDataLayerContext) =>+    store ? createGraphQLRunner(store, reporter) : undefined,

I'll make it panic. All of these shouldn't ever happen in theory, but in practice I'm hitting them all the time during development.

ascorbic

comment created time in 7 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for bootstrap in develop

+import {+  assign,+  AnyEventObject,+  ActionFunction,+  AssignAction,+  DoneInvokeEvent,+  ActionFunctionMap,+} from "xstate"+import { createGraphQLRunner } from "../../bootstrap/create-graphql-runner"+import reporter from "gatsby-cli/lib/reporter"+import { IDataLayerContext } from "./types"++const concatUnique = <T>(array1: T[] = [], array2: T[] = []): T[] =>+  Array.from(new Set(array1.concat(array2)))++type BuildMachineAction =+  | ActionFunction<IDataLayerContext, any>+  | AssignAction<IDataLayerContext, any>++export const assignChangedPages: BuildMachineAction = assign<

These can be used by other state machines (and are in following PRs)

ascorbic

comment created time in 7 days

delete branch gatsbyjs/gatsby

delete branch : chore/allow-machine-new-cap

delete time in 7 days

PR closed gatsbyjs/gatsby

chore: Add eslint rule exception for `Machine()`

Adds an ESLint rule exception to allow an initial cap when calling the xstate function Machine(), which we will be using a lot. We currently have a rule that bans function names with an initial cap except when instantiating objects.

+1 -0

1 comment

1 changed file

ascorbic

pr closed time in 7 days

pull request commentgatsbyjs/gatsby

chore: Add eslint rule exception for `Machine()`

Seems we already disable this, and it was my local eslint missing the config

ascorbic

comment created time in 7 days

Pull request review commentgatsbyjs/gatsby

feat(gatsby): Use state machine for bootstrap in develop

+import { MachineConfig, Machine } from "xstate"+import { dataLayerActions } from "./actions"+import { IDataLayerContext } from "./types"+import { dataLayerServices } from "./services"++export type DataLayerResult = Pick<+  IDataLayerContext,+  | "gatsbyNodeGraphQLFunction"+  | "graphqlRunner"+  | "pagesToBuild"+  | "pagesToDelete"+>++export const dataLayerStates: MachineConfig<IDataLayerContext, any, any> = {+  initial: `customizingSchema`,+  states: {+    customizingSchema: {+      invoke: {+        src: `customizeSchema`,+        id: `customizing-schema`,+        onDone: {+          target: `sourcingNodes`,+        },+      },+    },+    sourcingNodes: {+      invoke: {+        src: `sourceNodes`,+        id: `sourcing-nodes`,+        onDone: {+          target: `buildingSchema`,+          actions: `assignChangedPages`,+        },+      },+    },+    buildingSchema: {+      invoke: {+        id: `building-schema`,+        src: `buildSchema`,+        onDone: {+          target: `creatingPages`,+          actions: `assignGatsbyNodeGraphQL`,+        },+      },+    },+    creatingPages: {+      invoke: {+        id: `creating-pages`,+        src: `createPages`,+        onDone: [+          {+            target: `creatingPagesStatefully`,+            actions: `assignChangedPages`,+            cond: (context): boolean => !!context.firstRun,+          },+          {+            target: `done`,+            actions: `assignChangedPages`,+          },+        ],+      },+    },+    creatingPagesStatefully: {+      invoke: {+        src: `createPagesStatefully`,+        id: `creating-pages-statefully`,+        onDone: {+          target: `done`,+        },+      },+    },+    done: {+      type: `final`,+      data: ({+        gatsbyNodeGraphQLFunction,+        graphqlRunner,+        pagesToBuild,+        pagesToDelete,+      }): DataLayerResult => {+        return {+          gatsbyNodeGraphQLFunction,+          graphqlRunner,+          pagesToBuild,+          pagesToDelete,+        }+      },+    },+  },+}++// eslint-disable-next-line new-cap

https://github.com/gatsbyjs/gatsby/pull/25436

ascorbic

comment created time in 7 days

PR opened gatsbyjs/gatsby

chore: Add eslint rule exception for `Machine()`

Adds an ESLint rule exception to allow an initial cap when calling the xstate function Machine(), which we will be using a lot. We currently have a rule that bans function names with an initial cap except when instantiating objects.

+1 -0

0 comment

1 changed file

pr created time in 7 days

more