@graphql-markdown/docusaurus 1.16.7 → 1.17.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.js +5 -1
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.16.7",
8
+ "version": "1.17.1",
9
9
  "license": "MIT",
10
10
  "main": "src/index.js",
11
11
  "repository": {
@@ -31,8 +31,8 @@
31
31
  "stryker": "stryker run"
32
32
  },
33
33
  "dependencies": {
34
- "@graphql-markdown/core": "^1.1.7",
35
- "@graphql-markdown/printer-legacy": "^1.1.7"
34
+ "@graphql-markdown/core": "^1.2.1",
35
+ "@graphql-markdown/printer-legacy": "^1.2.1"
36
36
  },
37
37
  "directories": {
38
38
  "test": "tests"
package/src/index.js CHANGED
@@ -41,7 +41,11 @@ module.exports = function pluginGraphQLDocGenerator(_, configOptions) {
41
41
  "-gbd, --groupByDirective <@directive(field|=fallback)>",
42
42
  "Group documentation by directive",
43
43
  )
44
- .option("--skip <@directive>", "Skip type with matching directive")
44
+ .option("--skip <@directive...>", "Skip type with matching directive")
45
+ .option(
46
+ "--deprecated <option>",
47
+ "Option for printing deprecated entities: `default`, `group` or `skip`",
48
+ )
45
49
  .option("--pretty", "Prettify generated files")
46
50
  .action(async (cliOptions) => {
47
51
  await generateDocFromSchema(