create-graphql-markdown-docs 1.1.2 → 1.1.4
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.
|
@@ -5,8 +5,9 @@ import { writeGraphqlrc } from "../rewrites/graphqlrc.mjs";
|
|
|
5
5
|
import { findIndentedLine } from "../rewrites/lines.mjs";
|
|
6
6
|
|
|
7
7
|
const MDX_FORMATTER = "@graphql-markdown/formatters/mdx";
|
|
8
|
-
//
|
|
9
|
-
|
|
8
|
+
// Kept in step with the @graphql-markdown/formatters workspace version by
|
|
9
|
+
// `packages/tooling-config/scripts/template-ranges.mts`.
|
|
10
|
+
const FORMATTERS_RANGE = "^1.2.3";
|
|
10
11
|
|
|
11
12
|
/** Adds the mdx formatter to .graphqlrc, right before the `loaders:` line. */
|
|
12
13
|
export function writeMdxFormatter(tempDir) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-graphql-markdown-docs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Create a new GraphQL API documentation site with GraphQL Markdown and Nuxt or Docusaurus",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://graphql-markdown.dev",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@clack/prompts": "^1.0.0",
|
|
50
|
-
"@graphql-markdown/telemetry": "^0.2.
|
|
50
|
+
"@graphql-markdown/telemetry": "^0.2.1",
|
|
51
51
|
"graphql": "^16.8.0 || ^17.0.0",
|
|
52
52
|
"package-manager-detector": "^1.8.0"
|
|
53
53
|
},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@docusaurus/core": "^3.10.0",
|
|
17
17
|
"@docusaurus/preset-classic": "^3.10.0",
|
|
18
|
-
"@graphql-markdown/docusaurus": "^1.39.
|
|
18
|
+
"@graphql-markdown/docusaurus": "^1.39.3",
|
|
19
19
|
"@graphql-tools/graphql-file-loader": "^8.1.21 || ^9.0.6",
|
|
20
20
|
"@mdx-js/react": "^3.1.1",
|
|
21
21
|
"graphql": "^16.13.2 || ^17.0.0",
|