Actually I found a work-around that seems to do what I need.

In createPages.js I added the ‘where’ below…
wpgraphql {

Ask for pages

pages(where: {parent: null},