@uniformdev/cli 20.77.2-alpha.3.sha-e9420d8e77 → 20.78.0

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.
@@ -21,7 +21,7 @@ import { dirname, extname, isAbsolute, resolve, sep } from "path";
21
21
  // package.json
22
22
  var package_default = {
23
23
  name: "@uniformdev/cli",
24
- version: "20.77.1",
24
+ version: "20.78.0",
25
25
  description: "Uniform command line interface tool",
26
26
  license: "SEE LICENSE IN LICENSE.txt",
27
27
  main: "./cli.js",
@@ -1,4 +1,4 @@
1
- import "./chunk-3XFJVWPJ.mjs";
1
+ import "./chunk-342HZZY2.mjs";
2
2
 
3
3
  // src/sync/allSerializableEntitiesConfig.ts
4
4
  var allSerializableEntitiesConfig = {
package/dist/index.mjs CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  withFormatOptions,
24
24
  withProjectOptions,
25
25
  withTeamOptions
26
- } from "./chunk-3XFJVWPJ.mjs";
26
+ } from "./chunk-342HZZY2.mjs";
27
27
 
28
28
  // src/index.ts
29
29
  import * as dotenv from "dotenv";
@@ -2692,7 +2692,6 @@ var deleteDownloadedFileByUrl = async (url, options) => {
2692
2692
  };
2693
2693
 
2694
2694
  // src/files/files.ts
2695
- import { selectWritableAssetFields } from "@uniformdev/assets";
2696
2695
  import {
2697
2696
  ASSETS_SOURCE_UNIFORM,
2698
2697
  getPropertiesValue as getPropertiesValue2,
@@ -3149,15 +3148,17 @@ var compareCompositionsOrEntriesWithoutAssetUrlsForPublishing = (source, target)
3149
3148
  }
3150
3149
  return compareCompositionsOrEntriesWithoutAssetUrls(source, target);
3151
3150
  };
3152
- var selectComparableAsset = ({ asset }) => ({
3153
- _id: asset._id,
3154
- _name: asset._name,
3155
- _dataResources: asset._dataResources,
3156
- labels: asset.labels,
3157
- fields: selectWritableAssetFields(asset.fields)
3158
- });
3151
+ var removeUrlFromAsset = (asset) => {
3152
+ if (asset.asset.fields?.url?.value) {
3153
+ asset.asset.fields.url.value = "";
3154
+ }
3155
+ return asset;
3156
+ };
3159
3157
  var compareAssetsWithoutUrls = (source, target) => {
3160
- return serializedDequal(selectComparableAsset(source.object), selectComparableAsset(target.object));
3158
+ return serializedDequal(
3159
+ removeUrlFromAsset(structuredClone(source.object)),
3160
+ removeUrlFromAsset(structuredClone(target.object))
3161
+ );
3161
3162
  };
3162
3163
  var downloadFilesForCompositionOrEntry = async ({
3163
3164
  entity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.77.2-alpha.3.sha-e9420d8e77",
3
+ "version": "20.78.0",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -27,14 +27,14 @@
27
27
  "dependencies": {
28
28
  "@inquirer/prompts": "^8.5.2",
29
29
  "@thi.ng/mime": "^2.2.23",
30
- "@uniformdev/assets": "20.77.2-alpha.3.sha-e9420d8e77",
31
- "@uniformdev/automations-sdk": "20.77.2-alpha.3.sha-e9420d8e77",
32
- "@uniformdev/canvas": "20.77.2-alpha.3.sha-e9420d8e77",
33
- "@uniformdev/context": "20.77.2-alpha.3.sha-e9420d8e77",
34
- "@uniformdev/files": "20.77.2-alpha.3.sha-e9420d8e77",
35
- "@uniformdev/project-map": "20.77.2-alpha.3.sha-e9420d8e77",
36
- "@uniformdev/redirect": "20.77.2-alpha.3.sha-e9420d8e77",
37
- "@uniformdev/richtext": "20.77.2-alpha.3.sha-e9420d8e77",
30
+ "@uniformdev/assets": "20.78.0",
31
+ "@uniformdev/automations-sdk": "20.78.0",
32
+ "@uniformdev/canvas": "20.78.0",
33
+ "@uniformdev/context": "20.78.0",
34
+ "@uniformdev/files": "20.78.0",
35
+ "@uniformdev/project-map": "20.78.0",
36
+ "@uniformdev/redirect": "20.78.0",
37
+ "@uniformdev/richtext": "20.78.0",
38
38
  "call-bind": "^1.0.2",
39
39
  "colorette": "2.0.20",
40
40
  "cosmiconfig": "9.0.2",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "e9420d8e77e7b9b0c5ea14bfe38f1f16a9a236ee"
81
+ "gitHead": "22d94ee916bde5e32c96995da69cfe479f87a9c9"
82
82
  }