@mintlify/cli 4.0.1689 → 4.0.1690
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 +5 -0
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/cli.tsx +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1690",
|
|
4
4
|
"description": "The Mintlify CLI",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@inquirer/prompts": "7.9.0",
|
|
48
48
|
"@mintlify/common": "1.0.1280",
|
|
49
|
-
"@mintlify/link-rot": "3.0.
|
|
49
|
+
"@mintlify/link-rot": "3.0.1503",
|
|
50
50
|
"@mintlify/models": "0.0.376",
|
|
51
51
|
"@mintlify/og": "0.0.78",
|
|
52
52
|
"@mintlify/prebuild": "1.0.1445",
|
|
53
|
-
"@mintlify/previewing": "4.0.
|
|
53
|
+
"@mintlify/previewing": "4.0.1523",
|
|
54
54
|
"@mintlify/validation": "0.1.933",
|
|
55
55
|
"adm-zip": "0.6.0",
|
|
56
56
|
"chalk": "5.2.0",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"vitest": "2.1.9",
|
|
102
102
|
"vitest-mock-process": "1.0.4"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "457e8e26f59e4865852e9c4036add415ca5a7176"
|
|
105
105
|
}
|
package/src/cli.tsx
CHANGED
|
@@ -164,6 +164,11 @@ export const cli = ({ packageName = 'mint' }: { packageName?: string }) => {
|
|
|
164
164
|
default: false,
|
|
165
165
|
description: 'Disable navigation prefetching in the local preview',
|
|
166
166
|
})
|
|
167
|
+
.option('host', {
|
|
168
|
+
type: 'boolean',
|
|
169
|
+
default: false,
|
|
170
|
+
description: 'Expose the local preview on your network',
|
|
171
|
+
})
|
|
167
172
|
.usage('usage: mintlify dev [options]')
|
|
168
173
|
.example('mintlify dev', 'run with default settings (opens in browser)')
|
|
169
174
|
.example('mintlify dev --no-open', 'run without opening in browser'),
|