@uniformdev/cli 20.3.1-alpha.7 → 20.3.1
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/index.mjs +5 -6
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -745,7 +745,6 @@ var uploadFile = async ({
|
|
|
745
745
|
}) => {
|
|
746
746
|
const key = `${fileId}-${fileUrl}`;
|
|
747
747
|
if (uploadQueueByKey.has(key)) {
|
|
748
|
-
console.log("Already have this queued!!!");
|
|
749
748
|
const result2 = await uploadQueueByKey.get(key);
|
|
750
749
|
return result2 ?? null;
|
|
751
750
|
}
|
|
@@ -981,7 +980,7 @@ var downloadFilesForCompositionOrEntry = async ({
|
|
|
981
980
|
directory,
|
|
982
981
|
fileClient
|
|
983
982
|
}) => {
|
|
984
|
-
const fileDownloadQueue = new PQueue2({ concurrency:
|
|
983
|
+
const fileDownloadQueue = new PQueue2({ concurrency: 10 });
|
|
985
984
|
await walkFileUrlsForCompositionOrEntry({
|
|
986
985
|
entity,
|
|
987
986
|
callback: ({ fileUrl }) => {
|
|
@@ -997,7 +996,7 @@ var uploadFilesForCompositionOrEntry = async ({
|
|
|
997
996
|
directory,
|
|
998
997
|
fileClient
|
|
999
998
|
}) => {
|
|
1000
|
-
const fileUploadQueue2 = new PQueue2({ concurrency:
|
|
999
|
+
const fileUploadQueue2 = new PQueue2({ concurrency: 10 });
|
|
1001
1000
|
const urlReplacementMap = /* @__PURE__ */ new Map();
|
|
1002
1001
|
walkFileUrlsForCompositionOrEntry({
|
|
1003
1002
|
entity: entity.object,
|
|
@@ -1030,7 +1029,7 @@ var replaceRemoteUrlsWithLocalReferences = async ({
|
|
|
1030
1029
|
let sourceEntityAsString = JSON.stringify(sourceEntity);
|
|
1031
1030
|
const targetEntityAsString = JSON.stringify(targetEntity);
|
|
1032
1031
|
const writeDirectory = getFilesDirectory(directory);
|
|
1033
|
-
const fileUrlReplacementQueue = new PQueue2({ concurrency:
|
|
1032
|
+
const fileUrlReplacementQueue = new PQueue2({ concurrency: 10 });
|
|
1034
1033
|
walkFileUrlsForCompositionOrEntry({
|
|
1035
1034
|
entity: sourceEntity.object,
|
|
1036
1035
|
callback: ({ fileUrl }) => {
|
|
@@ -1070,7 +1069,7 @@ var replaceLocalUrlsWithRemoteReferences = async ({
|
|
|
1070
1069
|
fileClient
|
|
1071
1070
|
}) => {
|
|
1072
1071
|
let entityAsString = JSON.stringify(entity);
|
|
1073
|
-
const fileUrlReplacementQueue = new PQueue2({ concurrency:
|
|
1072
|
+
const fileUrlReplacementQueue = new PQueue2({ concurrency: 10 });
|
|
1074
1073
|
walkFileUrlsForCompositionOrEntry({
|
|
1075
1074
|
entity: entity.object,
|
|
1076
1075
|
callback: ({ fileUrl }) => {
|
|
@@ -8456,7 +8455,7 @@ import { PostHog } from "posthog-node";
|
|
|
8456
8455
|
// package.json
|
|
8457
8456
|
var package_default = {
|
|
8458
8457
|
name: "@uniformdev/cli",
|
|
8459
|
-
version: "20.3.
|
|
8458
|
+
version: "20.3.1",
|
|
8460
8459
|
description: "Uniform command line interface tool",
|
|
8461
8460
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
8462
8461
|
main: "./cli.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.3.1
|
|
3
|
+
"version": "20.3.1",
|
|
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
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@thi.ng/mime": "^2.2.23",
|
|
30
|
-
"@uniformdev/assets": "20.3.1
|
|
31
|
-
"@uniformdev/canvas": "20.3.1
|
|
32
|
-
"@uniformdev/context": "20.3.1
|
|
33
|
-
"@uniformdev/files": "20.3.1
|
|
34
|
-
"@uniformdev/project-map": "20.3.1
|
|
35
|
-
"@uniformdev/redirect": "20.3.1
|
|
36
|
-
"@uniformdev/richtext": "20.3.1
|
|
30
|
+
"@uniformdev/assets": "20.3.1",
|
|
31
|
+
"@uniformdev/canvas": "20.3.1",
|
|
32
|
+
"@uniformdev/context": "20.3.1",
|
|
33
|
+
"@uniformdev/files": "20.3.1",
|
|
34
|
+
"@uniformdev/project-map": "20.3.1",
|
|
35
|
+
"@uniformdev/redirect": "20.3.1",
|
|
36
|
+
"@uniformdev/richtext": "20.3.1",
|
|
37
37
|
"call-bind": "^1.0.2",
|
|
38
38
|
"colorette": "2.0.20",
|
|
39
39
|
"cosmiconfig": "9.0.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "4f5ad4dc937cd01f9f288d1d292bd4c7c226240b"
|
|
83
83
|
}
|