@mintlify/cli 4.0.1688 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/cli",
3
- "version": "4.0.1688",
3
+ "version": "4.0.1690",
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.1279",
49
- "@mintlify/link-rot": "3.0.1501",
48
+ "@mintlify/common": "1.0.1280",
49
+ "@mintlify/link-rot": "3.0.1503",
50
50
  "@mintlify/models": "0.0.376",
51
- "@mintlify/og": "0.0.77",
52
- "@mintlify/prebuild": "1.0.1444",
53
- "@mintlify/previewing": "4.0.1521",
51
+ "@mintlify/og": "0.0.78",
52
+ "@mintlify/prebuild": "1.0.1445",
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",
@@ -82,7 +82,7 @@
82
82
  "keytar": "7.9.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@mintlify/editor": "0.0.542",
85
+ "@mintlify/editor": "0.0.543",
86
86
  "@mintlify/ts-config": "2.0.2",
87
87
  "@tsconfig/recommended": "1.0.2",
88
88
  "@types/detect-port": "1.3.2",
@@ -101,5 +101,5 @@
101
101
  "vitest": "2.1.9",
102
102
  "vitest-mock-process": "1.0.4"
103
103
  },
104
- "gitHead": "0c8c981dc0a4e1158ac9368d4bda1aa688880efa"
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'),