@primer/gatsby-theme-doctocat 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @primer/gatsby-theme-doctocat
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`45e8748`](https://github.com/primer/doctocat/commit/45e8748a547903b8f7091fafb5b13e5c197b0dae) [#324](https://github.com/primer/doctocat/pull/324) Thanks [@rezrah](https://github.com/rezrah)! - Only add pages that have `componentId` and `status` to `components.json`
8
+
3
9
  ## 3.1.0
4
10
 
5
11
  ### Minor Changes
package/gatsby-node.js CHANGED
@@ -79,7 +79,7 @@ exports.onPostBuild = async ({graphql}) => {
79
79
  try {
80
80
  const {data} = await graphql(`
81
81
  query {
82
- allSitePage(filter: {context: {frontmatter: {componentId: {ne: null}}}}) {
82
+ allSitePage(filter: {context: {frontmatter: {componentId: {ne: null}, status: {ne: null}}}}) {
83
83
  nodes {
84
84
  path
85
85
  context {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/gatsby-theme-doctocat",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {