@uniformdev/cli 20.3.1-alpha.7 → 20.4.1-alpha.15

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -6
  2. 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: 3 });
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: 3 });
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: 3 });
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: 3 });
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.0",
8458
+ version: "20.4.0",
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-alpha.7+bede5bf489",
3
+ "version": "20.4.1-alpha.15+73b27bfcce",
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-alpha.7+bede5bf489",
31
- "@uniformdev/canvas": "20.3.1-alpha.7+bede5bf489",
32
- "@uniformdev/context": "20.3.1-alpha.7+bede5bf489",
33
- "@uniformdev/files": "20.3.1-alpha.7+bede5bf489",
34
- "@uniformdev/project-map": "20.3.1-alpha.7+bede5bf489",
35
- "@uniformdev/redirect": "20.3.1-alpha.7+bede5bf489",
36
- "@uniformdev/richtext": "20.3.1-alpha.7+bede5bf489",
30
+ "@uniformdev/assets": "20.4.1-alpha.15+73b27bfcce",
31
+ "@uniformdev/canvas": "20.4.1-alpha.15+73b27bfcce",
32
+ "@uniformdev/context": "20.4.1-alpha.15+73b27bfcce",
33
+ "@uniformdev/files": "20.4.1-alpha.15+73b27bfcce",
34
+ "@uniformdev/project-map": "20.4.1-alpha.15+73b27bfcce",
35
+ "@uniformdev/redirect": "20.4.1-alpha.15+73b27bfcce",
36
+ "@uniformdev/richtext": "20.4.1-alpha.15+73b27bfcce",
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": "bede5bf4893bf814af6aba78a558e28efd9f5682"
82
+ "gitHead": "73b27bfcce749c31e7ab50bdc9bb86ac1294903d"
83
83
  }