@mintlify/previewing 4.0.593 → 4.0.595

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/util.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { Ora as OraType } from 'ora';
2
- export declare const buildLogger: (startText?: string) => OraType;
3
1
  export declare const getFileExtension: (filename: string) => string | undefined;
4
2
  export declare const maybeFixMissingWindowsEnvVar: () => void;
5
3
  export declare const restoreMintlifyLast: () => void;
package/dist/util.js CHANGED
@@ -1,10 +1,5 @@
1
1
  import fse from 'fs-extra';
2
- import Ora from 'ora';
3
2
  import { DOT_MINTLIFY, DOT_MINTLIFY_LAST, MINT_CLIENT_RELEASES_CLOUDFRONT_URL, VERSION_PATH, } from './constants.js';
4
- export const buildLogger = (startText = '') => {
5
- const logger = Ora().start(startText);
6
- return logger;
7
- };
8
3
  export const getFileExtension = (filename) => {
9
4
  const ext = filename.substring(filename.lastIndexOf('.') + 1, filename.length);
10
5
  if (filename === ext)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/previewing",
3
- "version": "4.0.593",
3
+ "version": "4.0.595",
4
4
  "description": "Preview Mintlify docs locally",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -38,8 +38,8 @@
38
38
  "type": "tsc --noEmit"
39
39
  },
40
40
  "dependencies": {
41
- "@mintlify/common": "1.0.435",
42
- "@mintlify/prebuild": "1.0.550",
41
+ "@mintlify/common": "1.0.436",
42
+ "@mintlify/prebuild": "1.0.552",
43
43
  "@mintlify/validation": "0.1.402",
44
44
  "better-opn": "^3.0.2",
45
45
  "chalk": "^5.1.0",
@@ -48,11 +48,13 @@
48
48
  "fs-extra": "^11.1.0",
49
49
  "got": "^13.0.0",
50
50
  "gray-matter": "^4.0.3",
51
+ "ink": "^6.0.1",
52
+ "ink-spinner": "^5.0.0",
51
53
  "is-online": "^10.0.0",
52
54
  "js-yaml": "^4.1.0",
53
55
  "mdast": "^3.0.0",
54
56
  "openapi-types": "^12.0.0",
55
- "ora": "^6.1.2",
57
+ "react": "^19.1.0",
56
58
  "socket.io": "^4.7.2",
57
59
  "tar": "^6.1.15",
58
60
  "unist-util-visit": "^4.1.1",
@@ -79,5 +81,5 @@
79
81
  "vitest": "^2.0.4",
80
82
  "vitest-mock-process": "^1.0.4"
81
83
  },
82
- "gitHead": "4447c377f16c9771e9ff3b740d1e1cfd1b039451"
84
+ "gitHead": "5cf10c4c7302d447030d374e5722c1477f66fb6c"
83
85
  }