@graphql-markdown/formatters 1.1.3 → 1.2.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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@graphql-markdown/formatters",
3
3
  "homepage": "https://graphql-markdown.dev",
4
- "description": "Formatter presets for Docusaurus, Starlight, Fumadocs, Vocs, HonKit, Hugo, MkDocs, DocFX, and mdBook.",
4
+ "description": "Formatter presets for GraphQL-Markdown: Docusaurus, Starlight, Fumadocs, Vocs, HonKit, Hugo, MkDocs, DocFX, mdBook and generic MDX.",
5
5
  "bugs": {
6
6
  "url": "https://github.com/graphql-markdown/graphql-markdown/issues"
7
7
  },
8
- "version": "1.1.3",
8
+ "version": "1.2.1",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
@@ -24,6 +24,7 @@
24
24
  "mkdocs",
25
25
  "docfx",
26
26
  "mdbook",
27
+ "mdx",
27
28
  "documentation",
28
29
  "formatter"
29
30
  ],
@@ -131,6 +132,20 @@
131
132
  "default": "./dist/mdbook/index.js"
132
133
  }
133
134
  },
135
+ "./mdx": {
136
+ "require": {
137
+ "types": "./dist/mdx/index.d.ts",
138
+ "default": "./dist/mdx/index.js"
139
+ },
140
+ "import": {
141
+ "types": "./dist/mdx/index.d.ts",
142
+ "default": "./dist/mdx/index.js"
143
+ },
144
+ "default": {
145
+ "types": "./dist/mdx/index.d.ts",
146
+ "default": "./dist/mdx/index.js"
147
+ }
148
+ },
134
149
  "./mkdocs": {
135
150
  "require": {
136
151
  "types": "./dist/mkdocs/index.d.ts",
@@ -196,8 +211,8 @@
196
211
  "build": "tsgo --build",
197
212
  "lint": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\"",
198
213
  "lint:fix": "eslint --config ../../packages/tooling-config/eslint/config.ts \"{src,tests}/**/*.{ts,js,json,gql}\" --fix",
199
- "prettier": "prettier \"{src,tests}/**/*.{ts,js,json,md,gql}\" --check",
200
- "prettier:fix": "prettier \"{src,tests}/**/*.{ts,js,json,md,gql}\" --write",
214
+ "prettier": "prettier \"{src,tests}/**/*.{ts,js,json,md,gql}\" README.md --check",
215
+ "prettier:fix": "prettier \"{src,tests}/**/*.{ts,js,json,md,gql}\" README.md --write",
201
216
  "ts:check": "tsgo --noEmit",
202
217
  "test": "vitest run --passWithNoTests",
203
218
  "test:unit": "vitest run --passWithNoTests tests/unit",
@@ -206,9 +221,9 @@
206
221
  "test:watch": "vitest --watch"
207
222
  },
208
223
  "dependencies": {
209
- "@graphql-markdown/helpers": "^1.2.2",
210
- "@graphql-markdown/types": "^1.16.1",
211
- "@graphql-markdown/utils": "^1.13.3"
224
+ "@graphql-markdown/helpers": "^1.2.4",
225
+ "@graphql-markdown/types": "^1.17.1",
226
+ "@graphql-markdown/utils": "^1.14.1"
212
227
  },
213
228
  "devDependencies": {
214
229
  "@graphql-markdown/tooling-config": "^1.0.0"
@@ -217,7 +232,7 @@
217
232
  "test": "tests"
218
233
  },
219
234
  "engines": {
220
- "node": ">=22.12.0"
235
+ "node": ">=22.18.0"
221
236
  },
222
237
  "publishConfig": {
223
238
  "access": "public"