@mintlify/cli 4.0.1053 → 4.0.1055
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/bin/cli.js +7 -7
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/cli.tsx +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1055",
|
|
4
4
|
"description": "The Mintlify CLI",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@inquirer/prompts": "7.9.0",
|
|
48
|
-
"@mintlify/common": "1.0.
|
|
49
|
-
"@mintlify/link-rot": "3.0.
|
|
48
|
+
"@mintlify/common": "1.0.817",
|
|
49
|
+
"@mintlify/link-rot": "3.0.987",
|
|
50
50
|
"@mintlify/models": "0.0.286",
|
|
51
|
-
"@mintlify/prebuild": "1.0.
|
|
52
|
-
"@mintlify/previewing": "4.0.
|
|
53
|
-
"@mintlify/scraping": "4.0.
|
|
51
|
+
"@mintlify/prebuild": "1.0.958",
|
|
52
|
+
"@mintlify/previewing": "4.0.1016",
|
|
53
|
+
"@mintlify/scraping": "4.0.680",
|
|
54
54
|
"@mintlify/validation": "0.1.643",
|
|
55
55
|
"adm-zip": "0.5.16",
|
|
56
56
|
"chalk": "5.2.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"vitest": "2.1.9",
|
|
88
88
|
"vitest-mock-process": "1.0.4"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "ecfd4e5a4a300cd93d7a02841f2c679ed7fcba6a"
|
|
91
91
|
}
|
package/src/cli.tsx
CHANGED
|
@@ -165,7 +165,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
165
165
|
)
|
|
166
166
|
.command(
|
|
167
167
|
'openapi-check <filename>',
|
|
168
|
-
'check if an
|
|
168
|
+
'check if an openapi spec is valid',
|
|
169
169
|
(yargs) =>
|
|
170
170
|
yargs
|
|
171
171
|
.positional('filename', {
|
|
@@ -353,7 +353,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
353
353
|
)
|
|
354
354
|
.command(
|
|
355
355
|
'migrate-mdx',
|
|
356
|
-
'migrate
|
|
356
|
+
'migrate mdx openapi endpoint pages to x-mint extensions and docs.json',
|
|
357
357
|
() => undefined,
|
|
358
358
|
async () => {
|
|
359
359
|
await migrateMdx();
|
|
@@ -401,7 +401,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
401
401
|
)
|
|
402
402
|
.command(
|
|
403
403
|
['version', 'v'],
|
|
404
|
-
'display the current version of the
|
|
404
|
+
'display the current version of the cli and client',
|
|
405
405
|
() => undefined,
|
|
406
406
|
async () => {
|
|
407
407
|
const { cli, client } = getVersions();
|
|
@@ -425,7 +425,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
425
425
|
)
|
|
426
426
|
.command(
|
|
427
427
|
'new [directory]',
|
|
428
|
-
'create a new
|
|
428
|
+
'create a new mintlify documentation site',
|
|
429
429
|
(yargs) =>
|
|
430
430
|
yargs
|
|
431
431
|
.positional('directory', {
|
|
@@ -478,7 +478,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
478
478
|
yargs
|
|
479
479
|
.command(
|
|
480
480
|
['$0 <url>', 'site <url>'],
|
|
481
|
-
'
|
|
481
|
+
'scrape an entire documentation site',
|
|
482
482
|
(yargs) =>
|
|
483
483
|
yargs
|
|
484
484
|
.positional('url', {
|
|
@@ -499,7 +499,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
499
499
|
)
|
|
500
500
|
.command(
|
|
501
501
|
'page <url>',
|
|
502
|
-
'
|
|
502
|
+
'scrape a single documentation page',
|
|
503
503
|
(yargs) =>
|
|
504
504
|
yargs
|
|
505
505
|
.positional('url', {
|
|
@@ -514,7 +514,7 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
514
514
|
)
|
|
515
515
|
.command(
|
|
516
516
|
'openapi <openapiLocation>',
|
|
517
|
-
'
|
|
517
|
+
'generate mdx files from an openapi spec',
|
|
518
518
|
(yargs) =>
|
|
519
519
|
yargs
|
|
520
520
|
.positional('openapiLocation', {
|