@graphql-markdown/docusaurus 1.35.0 → 1.35.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/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/package.json +8 -8
- package/dist/mdx/components.d.ts +0 -18
- package/dist/mdx/components.d.ts.map +0 -1
- package/dist/mdx/components.js +0 -27
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;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAWzE;;;;;;;;GAQG;AACH,wBAA8B,yBAAyB,CACrD,CAAC,EAAE,WAAW,EACd,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,aAAa,CAAC,GAC1D,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAWzE;;;;;;;;GAQG;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
|
@@ -33,6 +33,9 @@ async function pluginGraphQLDocGenerator(_, options) {
|
|
|
33
33
|
* @returns void
|
|
34
34
|
*/
|
|
35
35
|
extendCli(cli) {
|
|
36
|
+
// @graphql-markdown/cli uses commander v15; @docusaurus/types types extendCli
|
|
37
|
+
// with commander v5's Command. The two are structurally compatible at runtime
|
|
38
|
+
// but TypeScript sees them as different types due to dual-version resolution.
|
|
36
39
|
cli.addCommand((0, cli_1.getGraphQLMarkdownCli)({
|
|
37
40
|
...options,
|
|
38
41
|
docOptions: {
|
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.35.
|
|
8
|
+
"version": "1.35.1",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -74,16 +74,16 @@
|
|
|
74
74
|
"test:watch": "jest --watch"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@graphql-markdown/cli": "
|
|
78
|
-
"@graphql-markdown/formatters": "
|
|
79
|
-
"@graphql-markdown/logger": "
|
|
80
|
-
"@graphql-markdown/types": "
|
|
81
|
-
"@graphql-markdown/utils": "
|
|
77
|
+
"@graphql-markdown/cli": "",
|
|
78
|
+
"@graphql-markdown/formatters": "",
|
|
79
|
+
"@graphql-markdown/logger": "",
|
|
80
|
+
"@graphql-markdown/types": "",
|
|
81
|
+
"@graphql-markdown/utils": "",
|
|
82
82
|
"@docusaurus/utils": "3.10.1"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@docusaurus/types": "3.10.1",
|
|
86
|
-
"@graphql-markdown/tooling-config": "
|
|
86
|
+
"@graphql-markdown/tooling-config": ""
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"@docusaurus/logger": "*"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"test": "tests"
|
|
93
93
|
},
|
|
94
94
|
"engines": {
|
|
95
|
-
"node": ">=
|
|
95
|
+
"node": ">=22.12.0"
|
|
96
96
|
},
|
|
97
97
|
"publishConfig": {
|
|
98
98
|
"access": "public"
|
package/dist/mdx/components.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module mdx
|
|
3
|
-
* This module provides MDX React components.
|
|
4
|
-
*/
|
|
5
|
-
import type { MDXString } from "@graphql-markdown/types";
|
|
6
|
-
/**
|
|
7
|
-
* MDX helper components injected into generated documents so Docusaurus
|
|
8
|
-
* can render badges, bullets, details, and SpecifiedBy links without
|
|
9
|
-
* requiring manual component registration in every project.
|
|
10
|
-
*
|
|
11
|
-
* @packageDocumentation
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* String literal that declares the React helpers (`Bullet`, `SpecifiedBy`, etc.)
|
|
15
|
-
* which GraphQL-Markdown prepends to every generated MDX file.
|
|
16
|
-
*/
|
|
17
|
-
export declare const mdxDeclaration: MDXString;
|
|
18
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/mdx/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEzD;;;;;;GAMG;AAEH;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,SAQf,CAAC"}
|
package/dist/mdx/components.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* @module mdx
|
|
4
|
-
* This module provides MDX React components.
|
|
5
|
-
*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.mdxDeclaration = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* MDX helper components injected into generated documents so Docusaurus
|
|
10
|
-
* can render badges, bullets, details, and SpecifiedBy links without
|
|
11
|
-
* requiring manual component registration in every project.
|
|
12
|
-
*
|
|
13
|
-
* @packageDocumentation
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* String literal that declares the React helpers (`Bullet`, `SpecifiedBy`, etc.)
|
|
17
|
-
* which GraphQL-Markdown prepends to every generated MDX file.
|
|
18
|
-
*/
|
|
19
|
-
exports.mdxDeclaration = `
|
|
20
|
-
export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}> ● </span></>
|
|
21
|
-
|
|
22
|
-
export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></>
|
|
23
|
-
|
|
24
|
-
export const Badge = (props) => <><span className={props.class}>{props.text}</span></>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
`;
|