@uniformdev/cli 20.25.0 → 20.25.2-alpha.3
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 +31 -5
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -869,7 +869,7 @@ var walkFileUrlsForCompositionOrEntry = ({
|
|
|
869
869
|
callback({ fileUrl: thumbnail });
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
|
-
|
|
872
|
+
const treeWalker = ({ node }) => {
|
|
873
873
|
const properties = getPropertiesValue(node);
|
|
874
874
|
if (!properties) {
|
|
875
875
|
return;
|
|
@@ -889,7 +889,20 @@ var walkFileUrlsForCompositionOrEntry = ({
|
|
|
889
889
|
callback({ fileUrl: value });
|
|
890
890
|
});
|
|
891
891
|
});
|
|
892
|
-
}
|
|
892
|
+
};
|
|
893
|
+
walkNodeTree("entry" in entity ? entity.entry : entity.composition, treeWalker);
|
|
894
|
+
const overrides = "entry" in entity ? entity.entry._overrides : entity.composition._overrides;
|
|
895
|
+
if (overrides) {
|
|
896
|
+
for (const [, override] of Object.entries(overrides)) {
|
|
897
|
+
walkNodeTree(
|
|
898
|
+
{
|
|
899
|
+
type: "entry" in entity ? entity.entry.type : entity.composition.type,
|
|
900
|
+
...override
|
|
901
|
+
},
|
|
902
|
+
treeWalker
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
893
906
|
};
|
|
894
907
|
|
|
895
908
|
// src/files/files.ts
|
|
@@ -921,7 +934,7 @@ var uploadFileForAsset = async ({
|
|
|
921
934
|
return uploadFile({ fileUrl, directory, fileClient, fileId });
|
|
922
935
|
};
|
|
923
936
|
var removeUrlsFromAssetParameters = (entity) => {
|
|
924
|
-
|
|
937
|
+
const treeWalker = ({ node }) => {
|
|
925
938
|
const properties = getPropertiesValue2(node);
|
|
926
939
|
if (!properties) {
|
|
927
940
|
return;
|
|
@@ -958,7 +971,20 @@ var removeUrlsFromAssetParameters = (entity) => {
|
|
|
958
971
|
});
|
|
959
972
|
}
|
|
960
973
|
});
|
|
961
|
-
}
|
|
974
|
+
};
|
|
975
|
+
walkNodeTree2("entry" in entity ? entity.entry : entity.composition, treeWalker);
|
|
976
|
+
const overrides = "entry" in entity ? entity.entry._overrides : entity.composition._overrides;
|
|
977
|
+
if (overrides) {
|
|
978
|
+
for (const [, override] of Object.entries(overrides)) {
|
|
979
|
+
walkNodeTree2(
|
|
980
|
+
{
|
|
981
|
+
type: "entry" in entity ? entity.entry.type : entity.composition.type,
|
|
982
|
+
...override
|
|
983
|
+
},
|
|
984
|
+
treeWalker
|
|
985
|
+
);
|
|
986
|
+
}
|
|
987
|
+
}
|
|
962
988
|
return entity;
|
|
963
989
|
};
|
|
964
990
|
var compareCompositionsOrEntriesWithoutAssetUrls = (source, target) => {
|
|
@@ -8548,7 +8574,7 @@ import { PostHog } from "posthog-node";
|
|
|
8548
8574
|
// package.json
|
|
8549
8575
|
var package_default = {
|
|
8550
8576
|
name: "@uniformdev/cli",
|
|
8551
|
-
version: "20.25.
|
|
8577
|
+
version: "20.25.1",
|
|
8552
8578
|
description: "Uniform command line interface tool",
|
|
8553
8579
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
8554
8580
|
main: "./cli.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.25.
|
|
3
|
+
"version": "20.25.2-alpha.3+fac462fd6d",
|
|
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.25.
|
|
31
|
-
"@uniformdev/canvas": "20.25.
|
|
32
|
-
"@uniformdev/context": "20.25.
|
|
33
|
-
"@uniformdev/files": "20.25.
|
|
34
|
-
"@uniformdev/project-map": "20.25.
|
|
35
|
-
"@uniformdev/redirect": "20.25.
|
|
36
|
-
"@uniformdev/richtext": "20.25.
|
|
30
|
+
"@uniformdev/assets": "20.25.2-alpha.3+fac462fd6d",
|
|
31
|
+
"@uniformdev/canvas": "20.25.2-alpha.3+fac462fd6d",
|
|
32
|
+
"@uniformdev/context": "20.25.2-alpha.3+fac462fd6d",
|
|
33
|
+
"@uniformdev/files": "20.25.2-alpha.3+fac462fd6d",
|
|
34
|
+
"@uniformdev/project-map": "20.25.2-alpha.3+fac462fd6d",
|
|
35
|
+
"@uniformdev/redirect": "20.25.2-alpha.3+fac462fd6d",
|
|
36
|
+
"@uniformdev/richtext": "20.25.2-alpha.3+fac462fd6d",
|
|
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": "fac462fd6dd8d6d51a6d37d5ed321ed058e23d00"
|
|
83
83
|
}
|