@uniformdev/cli 20.75.1-alpha.15.sha-b6ff05804e → 20.75.1-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.
|
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
5
5
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.58.9_@types+node@26.0.0__jiti@2.7.0_postcss@8.5.
|
|
8
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.58.9_@types+node@26.0.0__jiti@2.7.0_postcss@8.5.1_7017c7d2ba4cec51f3116591eb787c26/node_modules/tsup/assets/esm_shims.js
|
|
9
9
|
import path from "path";
|
|
10
10
|
import { fileURLToPath } from "url";
|
|
11
11
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -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.75.0",
|
|
25
25
|
description: "Uniform command line interface tool",
|
|
26
26
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
27
27
|
main: "./cli.js",
|
|
@@ -68,7 +68,7 @@ var package_default = {
|
|
|
68
68
|
"fs-jetpack": "5.1.0",
|
|
69
69
|
"image-size": "2.0.2",
|
|
70
70
|
"isomorphic-git": "1.38.5",
|
|
71
|
-
"js-yaml": "^4.
|
|
71
|
+
"js-yaml": "^4.2.0",
|
|
72
72
|
jsonwebtoken: "9.0.3",
|
|
73
73
|
mitt: "^3.0.1",
|
|
74
74
|
"normalize-newline": "^4.1.0",
|
|
@@ -80,7 +80,7 @@ var package_default = {
|
|
|
80
80
|
"registry-url": "^6.0.0",
|
|
81
81
|
slugify: "1.6.9",
|
|
82
82
|
svix: "^1.96.0",
|
|
83
|
-
undici: "^7.
|
|
83
|
+
undici: "^7.28.0",
|
|
84
84
|
yargs: "^18.0.0",
|
|
85
85
|
zod: "4.4.3"
|
|
86
86
|
},
|
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-GIRIO3PU.mjs";
|
|
27
27
|
|
|
28
28
|
// src/index.ts
|
|
29
29
|
import * as dotenv from "dotenv";
|
|
@@ -286,6 +286,11 @@ var ENVIRONMENT_HOSTS = {
|
|
|
286
286
|
api: "https://eu.uniform.app",
|
|
287
287
|
global: "https://eu.uniform.global",
|
|
288
288
|
ai: "https://ai.eu.uniform.global"
|
|
289
|
+
},
|
|
290
|
+
eu2: {
|
|
291
|
+
api: "https://eu2.uniform.app",
|
|
292
|
+
global: "https://eu2.uniform.global",
|
|
293
|
+
ai: "https://ai.eu2.uniform.global"
|
|
289
294
|
}
|
|
290
295
|
};
|
|
291
296
|
async function selectEnvironment(explicitParams) {
|
|
@@ -305,6 +310,10 @@ async function selectEnvironment(explicitParams) {
|
|
|
305
310
|
{
|
|
306
311
|
name: "EU (eu.uniform.app)",
|
|
307
312
|
value: "eu"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: "EU2 (eu2.uniform.app)",
|
|
316
|
+
value: "eu2"
|
|
308
317
|
}
|
|
309
318
|
],
|
|
310
319
|
default: "usa"
|
|
@@ -2795,18 +2804,6 @@ import PQueue2 from "p-queue";
|
|
|
2795
2804
|
import { join as join11 } from "path";
|
|
2796
2805
|
var uploadQueueByKey = /* @__PURE__ */ new Map();
|
|
2797
2806
|
var fileUploadQueue = new PQueue2({ concurrency: 10 });
|
|
2798
|
-
var IMAGE_SIZE_SAFE_MEDIA_TYPES = /* @__PURE__ */ new Set([
|
|
2799
|
-
"image/png",
|
|
2800
|
-
"image/apng",
|
|
2801
|
-
"image/jpeg",
|
|
2802
|
-
"image/jpg",
|
|
2803
|
-
"image/jfif",
|
|
2804
|
-
"image/pjpeg",
|
|
2805
|
-
"image/pjp",
|
|
2806
|
-
"image/gif",
|
|
2807
|
-
"image/webp",
|
|
2808
|
-
"image/svg+xml"
|
|
2809
|
-
]);
|
|
2810
2807
|
var uploadFile = async ({
|
|
2811
2808
|
fileClient,
|
|
2812
2809
|
fileUrl,
|
|
@@ -2868,7 +2865,7 @@ var uploadFile = async ({
|
|
|
2868
2865
|
uploadBody = createReadStream(expectedFilePath);
|
|
2869
2866
|
}
|
|
2870
2867
|
const { width, height } = await (async () => {
|
|
2871
|
-
if (!
|
|
2868
|
+
if (!mimeType.startsWith("image/")) {
|
|
2872
2869
|
return {
|
|
2873
2870
|
width: void 0,
|
|
2874
2871
|
height: void 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.75.1-alpha.
|
|
3
|
+
"version": "20.75.1-alpha.3+8eaaa5230a",
|
|
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.75.1-alpha.
|
|
31
|
-
"@uniformdev/automations-sdk": "20.75.1-alpha.
|
|
32
|
-
"@uniformdev/canvas": "20.75.1-alpha.
|
|
33
|
-
"@uniformdev/context": "20.75.1-alpha.
|
|
34
|
-
"@uniformdev/files": "20.75.1-alpha.
|
|
35
|
-
"@uniformdev/project-map": "20.75.1-alpha.
|
|
36
|
-
"@uniformdev/redirect": "20.75.1-alpha.
|
|
37
|
-
"@uniformdev/richtext": "20.75.1-alpha.
|
|
30
|
+
"@uniformdev/assets": "20.75.1-alpha.3+8eaaa5230a",
|
|
31
|
+
"@uniformdev/automations-sdk": "20.75.1-alpha.3+8eaaa5230a",
|
|
32
|
+
"@uniformdev/canvas": "20.75.1-alpha.3+8eaaa5230a",
|
|
33
|
+
"@uniformdev/context": "20.75.1-alpha.3+8eaaa5230a",
|
|
34
|
+
"@uniformdev/files": "20.75.1-alpha.3+8eaaa5230a",
|
|
35
|
+
"@uniformdev/project-map": "20.75.1-alpha.3+8eaaa5230a",
|
|
36
|
+
"@uniformdev/redirect": "20.75.1-alpha.3+8eaaa5230a",
|
|
37
|
+
"@uniformdev/richtext": "20.75.1-alpha.3+8eaaa5230a",
|
|
38
38
|
"call-bind": "^1.0.2",
|
|
39
39
|
"colorette": "2.0.20",
|
|
40
40
|
"cosmiconfig": "9.0.2",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"fs-jetpack": "5.1.0",
|
|
48
48
|
"image-size": "2.0.2",
|
|
49
49
|
"isomorphic-git": "1.38.5",
|
|
50
|
-
"js-yaml": "^4.
|
|
50
|
+
"js-yaml": "^4.2.0",
|
|
51
51
|
"jsonwebtoken": "9.0.3",
|
|
52
52
|
"mitt": "^3.0.1",
|
|
53
53
|
"normalize-newline": "^4.1.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"registry-url": "^6.0.0",
|
|
60
60
|
"slugify": "1.6.9",
|
|
61
61
|
"svix": "^1.96.0",
|
|
62
|
-
"undici": "^7.
|
|
62
|
+
"undici": "^7.28.0",
|
|
63
63
|
"yargs": "^18.0.0",
|
|
64
64
|
"zod": "4.4.3"
|
|
65
65
|
},
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "8eaaa5230a5621f7b30b1b54b48dcd097f684af9"
|
|
82
82
|
}
|