@uniformdev/cli 20.77.2-alpha.3.sha-e9420d8e77 → 20.79.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.
|
|
24
|
+
version: "20.79.0",
|
|
25
25
|
description: "Uniform command line interface tool",
|
|
26
26
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
27
27
|
main: "./cli.js",
|
package/dist/defaultConfig.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
withFormatOptions,
|
|
24
24
|
withProjectOptions,
|
|
25
25
|
withTeamOptions
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QHYKUD2J.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
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
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(
|
|
3158
|
+
return serializedDequal(
|
|
3159
|
+
removeUrlFromAsset(structuredClone(source.object)),
|
|
3160
|
+
removeUrlFromAsset(structuredClone(target.object))
|
|
3161
|
+
);
|
|
3161
3162
|
};
|
|
3162
3163
|
var downloadFilesForCompositionOrEntry = async ({
|
|
3163
3164
|
entity,
|
|
@@ -9250,7 +9251,6 @@ var PromptUpdateModule = {
|
|
|
9250
9251
|
// src/commands/canvas/commands/prompts.ts
|
|
9251
9252
|
var PromptModule = {
|
|
9252
9253
|
command: "prompt <command>",
|
|
9253
|
-
aliases: ["dt"],
|
|
9254
9254
|
describe: "Commands for AI Prompt definitions",
|
|
9255
9255
|
builder: (yargs44) => yargs44.command(PromptGetModule).command(PromptListModule).command(PromptPullModule).command(PromptPushModule).command(PromptRemoveModule).command(PromptUpdateModule).demandCommand(),
|
|
9256
9256
|
handler: () => {
|
|
@@ -12680,7 +12680,6 @@ var ProjectMapNodeGetModule = {
|
|
|
12680
12680
|
handler: async ({ apiHost, apiKey, proxy, id, projectMapId, format, project: projectId, filename }) => {
|
|
12681
12681
|
const fetch2 = nodeFetchProxy(proxy);
|
|
12682
12682
|
const client = getProjectMapClient({ apiKey, apiHost, fetch: fetch2, projectId });
|
|
12683
|
-
console.log("Debugging params for node get", { projectMapId, id, projectId });
|
|
12684
12683
|
const res = await client.getNodes({ projectMapId, id });
|
|
12685
12684
|
if (res.nodes?.length === 0) {
|
|
12686
12685
|
console.error("Project map node does not exist");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.79.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.
|
|
31
|
-
"@uniformdev/automations-sdk": "20.
|
|
32
|
-
"@uniformdev/canvas": "20.
|
|
33
|
-
"@uniformdev/context": "20.
|
|
34
|
-
"@uniformdev/files": "20.
|
|
35
|
-
"@uniformdev/project-map": "20.
|
|
36
|
-
"@uniformdev/redirect": "20.
|
|
37
|
-
"@uniformdev/richtext": "20.
|
|
30
|
+
"@uniformdev/assets": "20.79.0",
|
|
31
|
+
"@uniformdev/automations-sdk": "20.79.0",
|
|
32
|
+
"@uniformdev/canvas": "20.79.0",
|
|
33
|
+
"@uniformdev/context": "20.79.0",
|
|
34
|
+
"@uniformdev/files": "20.79.0",
|
|
35
|
+
"@uniformdev/project-map": "20.79.0",
|
|
36
|
+
"@uniformdev/redirect": "20.79.0",
|
|
37
|
+
"@uniformdev/richtext": "20.79.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": "
|
|
81
|
+
"gitHead": "f419f94df6de01601261042943593cabfd739357"
|
|
82
82
|
}
|