@mintlify/previewing 4.0.528 → 4.0.530
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
|
@@ -3,3 +3,4 @@ export declare const buildLogger: (startText?: string) => OraType;
|
|
|
3
3
|
export declare const getFileExtension: (filename: string) => string | undefined;
|
|
4
4
|
export declare const maybeFixMissingWindowsEnvVar: () => void;
|
|
5
5
|
export declare const restoreMintlifyLast: () => void;
|
|
6
|
+
export declare const getTarUrl: (version: string) => string;
|
package/dist/util.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fse from 'fs-extra';
|
|
2
2
|
import Ora from 'ora';
|
|
3
|
-
import { DOT_MINTLIFY, DOT_MINTLIFY_LAST } from './constants.js';
|
|
3
|
+
import { DOT_MINTLIFY, DOT_MINTLIFY_LAST, MINT_CLIENT_RELEASES_CLOUDFRONT_URL, } from './constants.js';
|
|
4
4
|
export const buildLogger = (startText = '') => {
|
|
5
5
|
const logger = Ora().start(startText);
|
|
6
6
|
return logger;
|
|
@@ -24,3 +24,6 @@ export const restoreMintlifyLast = () => {
|
|
|
24
24
|
fse.moveSync(DOT_MINTLIFY_LAST, DOT_MINTLIFY);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
+
export const getTarUrl = (version) => {
|
|
28
|
+
return `${MINT_CLIENT_RELEASES_CLOUDFRONT_URL}/mint-${version}.tar.gz`;
|
|
29
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/previewing",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.530",
|
|
4
4
|
"description": "Preview Mintlify docs locally",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"type": "tsc --noEmit"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@mintlify/common": "1.0.
|
|
42
|
-
"@mintlify/prebuild": "1.0.
|
|
43
|
-
"@mintlify/validation": "0.1.
|
|
41
|
+
"@mintlify/common": "1.0.381",
|
|
42
|
+
"@mintlify/prebuild": "1.0.492",
|
|
43
|
+
"@mintlify/validation": "0.1.368",
|
|
44
44
|
"better-opn": "^3.0.2",
|
|
45
45
|
"chalk": "^5.1.0",
|
|
46
46
|
"chokidar": "^3.5.3",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"vitest": "^2.0.4",
|
|
81
81
|
"vitest-mock-process": "^1.0.4"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "0db3c0b3a7f2cad2f9ca581a51d0039b9ca428ff"
|
|
84
84
|
}
|