All values are double

the blow query comes back as x2 the values. for example the actual posts.length is 8 but I get 16 in my console.

resolve(
  graphql(
    ` {
      allCockpitHello {
        edges {
          node {
            Name {
              value
            }
            cockpitCreated
          }
        }
      }
    }
  `
  ).then(result => {
    if (result.errors) {
      reject(result.errors)
    }

    // Create blog posts pages.
    const posts = result.data.allCockpitHello.edges

Please provide some more info (e. g. cockpit version, addons) and use a more descriptive title. And please use fenced code blocks. That will increase your chances of receiving an answer.

Other than that, I can’t help here. I never used graphql and I have no idea, what you did before you got doubled results.