@graphql-markdown/docusaurus 1.38.1 → 1.39.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/README.md +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -4
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -38,4 +38,4 @@ See [documentation troubleshooting](https://graphql-markdown.dev/docs/troublesho
|
|
|
38
38
|
|
|
39
39
|
GraphQL-Markdown packages are 100% free and open-source, under the [MIT license](https://github.com/graphql-markdown/graphql-markdown/blob/main/LICENSE).
|
|
40
40
|
|
|
41
|
-
This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/graphql-markdown/graphql-markdown) to thank us for our work. By contributing to the Treeware forest, you
|
|
41
|
+
This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/graphql-markdown/graphql-markdown) to thank us for our work. By contributing to the Treeware forest, you'll be creating employment for local families and restoring wildlife habitats.
|
package/dist/index.d.ts
CHANGED
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
import type { LoadContext, Plugin, PluginOptions } from "@docusaurus/types";
|
|
7
7
|
import type { GraphQLMarkdownCliOptions } from "@graphql-markdown/types";
|
|
8
8
|
/**
|
|
9
|
-
* Docusaurus plugin wrapper that
|
|
10
|
-
*
|
|
11
|
-
* the `graphql-to-doc` command on the local CLI.
|
|
9
|
+
* Docusaurus plugin wrapper that registers the GraphQL-Markdown
|
|
10
|
+
* `graphql-to-doc` command on the local CLI.
|
|
12
11
|
*
|
|
13
12
|
* @param _ - Load context (unused).
|
|
14
13
|
* @param options - GraphQL-Markdown CLI options plus Docusaurus plugin options.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AA4CzE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AA4CzE;;;;;;;GAOG;AACH,wBAA8B,yBAAyB,CACrD,CAAC,EAAE,WAAW,EACd,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,aAAa,CAAC,GAC1D,OAAO,CAAC,MAAM,CAAC,CAkCjB;AAED,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -22,9 +22,8 @@ const assertCommanderCompatibleCommand = (value) => {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
|
-
* Docusaurus plugin wrapper that
|
|
26
|
-
*
|
|
27
|
-
* the `graphql-to-doc` command on the local CLI.
|
|
25
|
+
* Docusaurus plugin wrapper that registers the GraphQL-Markdown
|
|
26
|
+
* `graphql-to-doc` command on the local CLI.
|
|
28
27
|
*
|
|
29
28
|
* @param _ - Load context (unused).
|
|
30
29
|
* @param options - GraphQL-Markdown CLI options plus Docusaurus plugin options.
|
|
@@ -50,7 +49,7 @@ async function pluginGraphQLDocGenerator(_, options) {
|
|
|
50
49
|
generatorFrameworkVersion: utils_1.DOCUSAURUS_VERSION,
|
|
51
50
|
...options.docOptions,
|
|
52
51
|
},
|
|
53
|
-
}, LOGGER_MODULE, options.formatter ?? MDX_PACKAGE);
|
|
52
|
+
}, LOGGER_MODULE, options.formatter ?? MDX_PACKAGE, { trigger: "docusaurus" });
|
|
54
53
|
assertCommanderCompatibleCommand(command);
|
|
55
54
|
cli.addCommand(command);
|
|
56
55
|
},
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/graphql-markdown/graphql-markdown/issues"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.
|
|
8
|
+
"version": "1.39.1",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"build": "tsgo --build",
|
|
65
65
|
"lint": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\"",
|
|
66
66
|
"lint:fix": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\" --fix",
|
|
67
|
-
"prettier": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" --check",
|
|
68
|
-
"prettier:fix": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" --write",
|
|
67
|
+
"prettier": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" README.md --check",
|
|
68
|
+
"prettier:fix": "prettier \"{src,tests,assets}/**/*.{ts,js,json,md,gql}\" README.md --write",
|
|
69
69
|
"ts:check": "tsgo --noEmit",
|
|
70
70
|
"test": "vitest run --passWithNoTests",
|
|
71
71
|
"test:unit": "vitest run --passWithNoTests tests/unit",
|
|
@@ -74,12 +74,12 @@
|
|
|
74
74
|
"test:watch": "vitest --watch"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@graphql-markdown/cli": "^1.1
|
|
78
|
-
"@graphql-markdown/formatters": "^1.1
|
|
79
|
-
"@graphql-markdown/logger": "^1.1.
|
|
80
|
-
"@graphql-markdown/types": "^1.
|
|
81
|
-
"@graphql-markdown/utils": "^1.
|
|
82
|
-
"@docusaurus/utils": "3.10.
|
|
77
|
+
"@graphql-markdown/cli": "^1.2.1",
|
|
78
|
+
"@graphql-markdown/formatters": "^1.2.1",
|
|
79
|
+
"@graphql-markdown/logger": "^1.1.4",
|
|
80
|
+
"@graphql-markdown/types": "^1.17.1",
|
|
81
|
+
"@graphql-markdown/utils": "^1.14.1",
|
|
82
|
+
"@docusaurus/utils": "3.10.2"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@docusaurus/types": "3.10.1",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"test": "tests"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|
|
95
|
-
"node": ">=22.
|
|
95
|
+
"node": ">=22.18.0"
|
|
96
96
|
},
|
|
97
97
|
"publishConfig": {
|
|
98
98
|
"access": "public"
|