Skip to content

Commit

Permalink
Merge pull request #1895 from intuit/dependabot/npm_and_yarn/next-ign…
Browse files Browse the repository at this point in the history
…ite-0.10.7

Upgrade next-ignite
  • Loading branch information
hipstersmoothie authored Mar 19, 2021
2 parents b777a8e + 23579f0 commit 9554fd2
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 166 deletions.
31 changes: 0 additions & 31 deletions docs/components/defaultLabelsRenderer.js

This file was deleted.

20 changes: 20 additions & 0 deletions docs/generate-command-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const { camelCase } = require("change-case");
const endent = require("endent").default;
const glob = require("fast-glob");
const docs = require("command-line-docs").default;
const { defaultLabels } = require("../packages/core/dist/semver");
const { commands } = require("../packages/cli/dist/parse-args");

try {
Expand Down Expand Up @@ -100,3 +101,22 @@ glob
lines.join("\n")
);
});

fs.writeFileSync(
path.join(__dirname, "./pages/docs/generated/defaultLabelsRenderer.mdx"),
`---
title: "Default Labels"
layout: 'none'
---
<details>
<summary>Click here to see the default label configuration</summary>
\`\`\`json
${JSON.stringify(defaultLabels, null, 2)}
\`\`\`
</details>
`
);
9 changes: 0 additions & 9 deletions docs/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ class MyDocument extends Document {
--color-gray-1000: #181517;
}
`}</style>
<link
rel="stylesheet"
href="https://www.unpkg.com/prismjs@1.19.0/themes/prism.css"
/>
<link
rel="stylesheet"
href="https://www.unpkg.com/prismjs@1.19.0/themes/prism-tomorrow.css"
media="(prefers-color-scheme: dark)"
/>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-142981718-4"
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/configuration/autorc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: \`auto\` Configuration File
---

import { DefaultLabelRenderer } from "../../../components/defaultLabelsRenderer";
import DefaultLabelRenderer from "../generated/defaultLabelsRenderer.mdx";

`auto` uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) to find your config.
This means you can define this file a variety of ways.
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,9 @@
"lerna": "^3.22.1",
"lint-staged": "^10.0.7",
"mock-fs": "^4.13.0",
"next-ignite": "^0.9.20",
"next-ignite": "^0.10.9",
"patch-package": "^6.2.2",
"prettier": "^2.2.1",
"prism-react-renderer": "^1.1.1",
"push-dir": "^0.4.1",
"rimraf": "^3.0.0",
"simple-react-lightbox": "^3.1.2-3",
Expand Down
Loading

0 comments on commit 9554fd2

Please sign in to comment.