@graphql-markdown/docusaurus 1.25.0 → 1.26.2
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/dist/index.js +2 -1
- package/package.json +6 -5
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ function pluginGraphQLDocGenerator(_, options) {
|
|
|
36
36
|
.option("-b, --base <baseURL>", "Base URL to be used by Docusaurus")
|
|
37
37
|
.option("-l, --link <linkRoot>", "Root for links in documentation")
|
|
38
38
|
.option("-h, --homepage <homepage>", "File location for doc landing page")
|
|
39
|
-
.option("--
|
|
39
|
+
.option("--hierarchy <hierarchy>", "Schema entity hierarchy: `api`, `entity`, `flat`")
|
|
40
40
|
.option("--noCode", "Disable code section for types")
|
|
41
41
|
.option("--noExample", "Disable example section for types")
|
|
42
42
|
.option("--noParentType", "Disable parent type name as field prefix")
|
|
@@ -54,6 +54,7 @@ function pluginGraphQLDocGenerator(_, options) {
|
|
|
54
54
|
// DEPRECATED options
|
|
55
55
|
.option("--noToc", "Disable page table of content [DEPRECATED]")
|
|
56
56
|
.option("--noPagination", "Disable page navigation buttons [DEPRECATED]")
|
|
57
|
+
.option("--noApiGroup", "Disable API grouping for types [DEPRECATED]")
|
|
57
58
|
.action(async (cliOptions) => {
|
|
58
59
|
const config = await (0, core_1.buildConfig)(options, cliOptions, options.id);
|
|
59
60
|
await (0, core_1.generateDocFromSchema)({
|
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.26.2",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -51,12 +51,13 @@
|
|
|
51
51
|
"docs": "typedoc"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@graphql-markdown/core": "^1.
|
|
55
|
-
"@graphql-markdown/logger": "^1.0.
|
|
54
|
+
"@graphql-markdown/core": "^1.12.0",
|
|
55
|
+
"@graphql-markdown/logger": "^1.0.4",
|
|
56
|
+
"@graphql-markdown/printer-legacy": "^1.9.0"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
|
-
"@docusaurus/types": "^3.
|
|
59
|
-
"@graphql-markdown/types": "^1.
|
|
59
|
+
"@docusaurus/types": "^3.5.0",
|
|
60
|
+
"@graphql-markdown/types": "^1.4.0"
|
|
60
61
|
},
|
|
61
62
|
"peerDependencies": {
|
|
62
63
|
"@docusaurus/logger": "*"
|