gatsby-theme-wirehead-tree 0.0.6 → 0.0.7
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/.circleci/config.yml +5 -6
- package/gatsby-node.js +1 -0
- package/package.json +2 -2
package/.circleci/config.yml
CHANGED
|
@@ -3,7 +3,7 @@ version: 2.1
|
|
|
3
3
|
defaults: &defaults
|
|
4
4
|
working_directory: ~/repo
|
|
5
5
|
docker:
|
|
6
|
-
- image:
|
|
6
|
+
- image: cimg/node:12.22
|
|
7
7
|
jobs:
|
|
8
8
|
test:
|
|
9
9
|
<<: *defaults
|
|
@@ -35,11 +35,10 @@ jobs:
|
|
|
35
35
|
- attach_workspace:
|
|
36
36
|
at: ~/repo
|
|
37
37
|
- run:
|
|
38
|
-
name:
|
|
39
|
-
command:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
command: npm publish
|
|
38
|
+
name: Publish package with OIDC
|
|
39
|
+
command: |
|
|
40
|
+
export NPM_ID_TOKEN=$(circleci run oidc get --claims '{"aud": "npm:registry.npmjs.org"}')
|
|
41
|
+
npm publish
|
|
43
42
|
|
|
44
43
|
workflows:
|
|
45
44
|
version: 2
|
package/gatsby-node.js
CHANGED
|
@@ -285,6 +285,7 @@ exports.createPages = async ({ actions, graphql, pathPrefix, reporter }, themeOp
|
|
|
285
285
|
title: title,
|
|
286
286
|
type: node.frontmatter.type,
|
|
287
287
|
date: node.fields.date,
|
|
288
|
+
hidden: node.frontmatter.hidden,
|
|
288
289
|
breadcrumbs: toBreadcrumb(basePath, pagePath, titles),
|
|
289
290
|
excerpt: node.frontmatter.description || node.excerpt,
|
|
290
291
|
updated: node.fields.updated,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-theme-wirehead-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"engines": {
|
|
27
27
|
"npm": ">=6.0.0",
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=12.22.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"gatsby": "^3.3.0",
|