@graphql-markdown/docusaurus 1.24.4 → 1.26.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +5 -6
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("--noApiGroup", "Disable API grouping for types")
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.24.4",
8
+ "version": "1.26.0",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
@@ -51,13 +51,12 @@
51
51
  "docs": "typedoc"
52
52
  },
53
53
  "dependencies": {
54
- "@graphql-markdown/core": "^1.10.4",
55
- "@graphql-markdown/logger": "^1.0.3",
56
- "@graphql-markdown/printer-legacy": "^1.8.4"
54
+ "@graphql-markdown/core": "^1.12.0",
55
+ "@graphql-markdown/logger": "^1.0.4"
57
56
  },
58
57
  "devDependencies": {
59
- "@docusaurus/types": "^3.2.0",
60
- "@graphql-markdown/types": "^1.3.1"
58
+ "@docusaurus/types": "^3.5.0",
59
+ "@graphql-markdown/types": "^1.4.0"
61
60
  },
62
61
  "peerDependencies": {
63
62
  "@docusaurus/logger": "*"