@uniformdev/cli 20.66.3-alpha.6 → 20.66.3-alpha.9
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/defaultConfig.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
withFormatOptions,
|
|
19
19
|
withProjectOptions,
|
|
20
20
|
withTeamOptions
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6WRLCPMD.mjs";
|
|
22
22
|
|
|
23
23
|
// src/index.ts
|
|
24
24
|
import * as dotenv from "dotenv";
|
|
@@ -2639,16 +2639,11 @@ var replaceLocalUrlsWithRemoteReferences = async ({
|
|
|
2639
2639
|
fileUrlReplacementQueue.add(async () => {
|
|
2640
2640
|
try {
|
|
2641
2641
|
const hash = urlToHash(fileUrl);
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
}
|
|
2648
|
-
entityAsString = entityAsString.replaceAll(`"${fileUrl}"`, `"${file.url}"`);
|
|
2649
|
-
} catch {
|
|
2650
|
-
}
|
|
2651
|
-
});
|
|
2642
|
+
const file = await fileClient.get({ sourceId: hash }).catch(() => null);
|
|
2643
|
+
if (!file) {
|
|
2644
|
+
return;
|
|
2645
|
+
}
|
|
2646
|
+
entityAsString = entityAsString.replaceAll(`"${fileUrl}"`, `"${file.url}"`);
|
|
2652
2647
|
} catch {
|
|
2653
2648
|
}
|
|
2654
2649
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.66.3-alpha.
|
|
3
|
+
"version": "20.66.3-alpha.9+2be6565c78",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@inquirer/prompts": "^7.10.1",
|
|
29
29
|
"@thi.ng/mime": "^2.2.23",
|
|
30
|
-
"@uniformdev/assets": "20.66.3-alpha.
|
|
31
|
-
"@uniformdev/canvas": "20.66.3-alpha.
|
|
32
|
-
"@uniformdev/context": "20.66.3-alpha.
|
|
33
|
-
"@uniformdev/files": "20.66.3-alpha.
|
|
34
|
-
"@uniformdev/project-map": "20.66.3-alpha.
|
|
35
|
-
"@uniformdev/redirect": "20.66.3-alpha.
|
|
36
|
-
"@uniformdev/richtext": "20.66.3-alpha.
|
|
30
|
+
"@uniformdev/assets": "20.66.3-alpha.9+2be6565c78",
|
|
31
|
+
"@uniformdev/canvas": "20.66.3-alpha.9+2be6565c78",
|
|
32
|
+
"@uniformdev/context": "20.66.3-alpha.9+2be6565c78",
|
|
33
|
+
"@uniformdev/files": "20.66.3-alpha.9+2be6565c78",
|
|
34
|
+
"@uniformdev/project-map": "20.66.3-alpha.9+2be6565c78",
|
|
35
|
+
"@uniformdev/redirect": "20.66.3-alpha.9+2be6565c78",
|
|
36
|
+
"@uniformdev/richtext": "20.66.3-alpha.9+2be6565c78",
|
|
37
37
|
"call-bind": "^1.0.2",
|
|
38
38
|
"colorette": "2.0.20",
|
|
39
39
|
"cosmiconfig": "9.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"fs-jetpack": "5.1.0",
|
|
47
47
|
"graphql": "16.9.0",
|
|
48
48
|
"graphql-request": "6.1.0",
|
|
49
|
-
"image-size": "
|
|
49
|
+
"image-size": "2.0.2",
|
|
50
50
|
"isomorphic-git": "1.35.0",
|
|
51
51
|
"js-yaml": "^4.1.0",
|
|
52
52
|
"jsonwebtoken": "9.0.3",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "2be6565c781b7e09a65574aa6d54fca7caa5cda0"
|
|
84
84
|
}
|