@contentful/experience-design-system-cli 2.37.1-dev-build-2aacedbd.0 → 2.37.1-dev-build-acc2abfe.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.
- package/dist/app.js +9 -9
- package/dist/index.js +9 -9
- package/dist/package.json +1 -1
- package/package.json +3 -3
package/dist/app.js
CHANGED
|
@@ -3341,18 +3341,18 @@ function MenuScreen({
|
|
|
3341
3341
|
return /* @__PURE__ */ jsxs11(Box11, { flexDirection: "column", children: [
|
|
3342
3342
|
/* @__PURE__ */ jsx12(StepHeader, { step: "setup" }),
|
|
3343
3343
|
/* @__PURE__ */ jsxs11(Box11, { flexDirection: "column", paddingX: 2, paddingBottom: 1, children: [
|
|
3344
|
-
/* @__PURE__ */ jsx12(Text11, { bold: true,
|
|
3344
|
+
/* @__PURE__ */ jsx12(Text11, { bold: true, children: title }),
|
|
3345
3345
|
/* @__PURE__ */ jsx12(Text11, { children: " " }),
|
|
3346
3346
|
subtitle && /* @__PURE__ */ jsxs11(Fragment2, { children: [
|
|
3347
3347
|
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: subtitle }),
|
|
3348
3348
|
/* @__PURE__ */ jsx12(Text11, { children: " " })
|
|
3349
3349
|
] }),
|
|
3350
|
-
/* @__PURE__ */ jsx12(Text11, {
|
|
3350
|
+
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: "ACTIONS" }),
|
|
3351
3351
|
menu.map((item, index) => {
|
|
3352
3352
|
const focused = index === focus;
|
|
3353
3353
|
return /* @__PURE__ */ jsxs11(Box11, { gap: 1, children: [
|
|
3354
|
-
/* @__PURE__ */ jsx12(Text11, {
|
|
3355
|
-
/* @__PURE__ */ jsx12(Box11, { width: labelWidth, flexShrink: 0, children: /* @__PURE__ */ jsx12(Text11, { bold: focused, color: focused ? PALETTE.accent :
|
|
3354
|
+
/* @__PURE__ */ jsx12(Text11, { color: focused ? PALETTE.accent : void 0, children: focused ? "\u276F" : " " }),
|
|
3355
|
+
/* @__PURE__ */ jsx12(Box11, { width: labelWidth, flexShrink: 0, children: /* @__PURE__ */ jsx12(Text11, { bold: focused, color: focused ? PALETTE.accent : void 0, children: item.label }) }),
|
|
3356
3356
|
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: item.description })
|
|
3357
3357
|
] }, item.choice);
|
|
3358
3358
|
}),
|
|
@@ -3367,8 +3367,8 @@ function MenuScreen({
|
|
|
3367
3367
|
borderLeft: false,
|
|
3368
3368
|
borderRight: false,
|
|
3369
3369
|
children: [
|
|
3370
|
-
/* @__PURE__ */ jsx12(Text11, {
|
|
3371
|
-
rows.map((row) => /* @__PURE__ */ jsx12(FormReadOnlyRow, { label: row.label, labelWidth, children: /* @__PURE__ */ jsx12(Text11, {
|
|
3370
|
+
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: dataTitle.toUpperCase() }),
|
|
3371
|
+
rows.map((row) => /* @__PURE__ */ jsx12(FormReadOnlyRow, { label: row.label, labelWidth, children: /* @__PURE__ */ jsx12(Text11, { bold: row.value !== "", children: row.value || "(empty)" }) }, row.label)),
|
|
3372
3372
|
children
|
|
3373
3373
|
]
|
|
3374
3374
|
}
|
|
@@ -18163,7 +18163,7 @@ var MENUS = {
|
|
|
18163
18163
|
failed: [{ choice: "change-path", label: "Try a different path", description: "Pick a different folder" }, BACK]
|
|
18164
18164
|
};
|
|
18165
18165
|
function Row({ row }) {
|
|
18166
|
-
return /* @__PURE__ */ jsxs13(Text13, { color: row.tone === "accent" ? PALETTE.accent : row.tone === "muted" ? PALETTE.muted :
|
|
18166
|
+
return /* @__PURE__ */ jsxs13(Text13, { color: row.tone === "accent" ? PALETTE.accent : row.tone === "muted" ? PALETTE.muted : void 0, children: [
|
|
18167
18167
|
" \u2022 ",
|
|
18168
18168
|
String(row.count).padStart(3),
|
|
18169
18169
|
" ",
|
|
@@ -18188,8 +18188,8 @@ function Summary({
|
|
|
18188
18188
|
const { total, rows, warning } = summarize(scan.counts, { hasTokens });
|
|
18189
18189
|
return /* @__PURE__ */ jsxs13(Box13, { flexDirection: "column", gap: 1, children: [
|
|
18190
18190
|
/* @__PURE__ */ jsxs13(Text13, { children: [
|
|
18191
|
-
|
|
18192
|
-
/* @__PURE__ */ jsx16(Text13, {
|
|
18191
|
+
"Scanned ",
|
|
18192
|
+
/* @__PURE__ */ jsx16(Text13, { bold: true, children: path5 })
|
|
18193
18193
|
] }),
|
|
18194
18194
|
/* @__PURE__ */ jsxs13(Box13, { flexDirection: "column", children: [
|
|
18195
18195
|
/* @__PURE__ */ jsxs13(Text13, { color: PALETTE.success, children: [
|
package/dist/index.js
CHANGED
|
@@ -20191,18 +20191,18 @@ function MenuScreen({
|
|
|
20191
20191
|
return /* @__PURE__ */ jsxs11(Box11, { flexDirection: "column", children: [
|
|
20192
20192
|
/* @__PURE__ */ jsx12(StepHeader, { step: "setup" }),
|
|
20193
20193
|
/* @__PURE__ */ jsxs11(Box11, { flexDirection: "column", paddingX: 2, paddingBottom: 1, children: [
|
|
20194
|
-
/* @__PURE__ */ jsx12(Text11, { bold: true,
|
|
20194
|
+
/* @__PURE__ */ jsx12(Text11, { bold: true, children: title }),
|
|
20195
20195
|
/* @__PURE__ */ jsx12(Text11, { children: " " }),
|
|
20196
20196
|
subtitle && /* @__PURE__ */ jsxs11(Fragment2, { children: [
|
|
20197
20197
|
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: subtitle }),
|
|
20198
20198
|
/* @__PURE__ */ jsx12(Text11, { children: " " })
|
|
20199
20199
|
] }),
|
|
20200
|
-
/* @__PURE__ */ jsx12(Text11, {
|
|
20200
|
+
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: "ACTIONS" }),
|
|
20201
20201
|
menu.map((item, index) => {
|
|
20202
20202
|
const focused = index === focus;
|
|
20203
20203
|
return /* @__PURE__ */ jsxs11(Box11, { gap: 1, children: [
|
|
20204
|
-
/* @__PURE__ */ jsx12(Text11, {
|
|
20205
|
-
/* @__PURE__ */ jsx12(Box11, { width: labelWidth, flexShrink: 0, children: /* @__PURE__ */ jsx12(Text11, { bold: focused, color: focused ? PALETTE.accent :
|
|
20204
|
+
/* @__PURE__ */ jsx12(Text11, { color: focused ? PALETTE.accent : void 0, children: focused ? "\u276F" : " " }),
|
|
20205
|
+
/* @__PURE__ */ jsx12(Box11, { width: labelWidth, flexShrink: 0, children: /* @__PURE__ */ jsx12(Text11, { bold: focused, color: focused ? PALETTE.accent : void 0, children: item.label }) }),
|
|
20206
20206
|
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: item.description })
|
|
20207
20207
|
] }, item.choice);
|
|
20208
20208
|
}),
|
|
@@ -20217,8 +20217,8 @@ function MenuScreen({
|
|
|
20217
20217
|
borderLeft: false,
|
|
20218
20218
|
borderRight: false,
|
|
20219
20219
|
children: [
|
|
20220
|
-
/* @__PURE__ */ jsx12(Text11, {
|
|
20221
|
-
rows.map((row) => /* @__PURE__ */ jsx12(FormReadOnlyRow, { label: row.label, labelWidth, children: /* @__PURE__ */ jsx12(Text11, {
|
|
20220
|
+
/* @__PURE__ */ jsx12(Text11, { color: PALETTE.muted, children: dataTitle.toUpperCase() }),
|
|
20221
|
+
rows.map((row) => /* @__PURE__ */ jsx12(FormReadOnlyRow, { label: row.label, labelWidth, children: /* @__PURE__ */ jsx12(Text11, { bold: row.value !== "", children: row.value || "(empty)" }) }, row.label)),
|
|
20222
20222
|
children
|
|
20223
20223
|
]
|
|
20224
20224
|
}
|
|
@@ -20589,7 +20589,7 @@ import { useEffect as useEffect4, useMemo, useState as useState8 } from "react";
|
|
|
20589
20589
|
import { Box as Box13, Text as Text13 } from "ink";
|
|
20590
20590
|
import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
20591
20591
|
function Row({ row }) {
|
|
20592
|
-
return /* @__PURE__ */ jsxs13(Text13, { color: row.tone === "accent" ? PALETTE.accent : row.tone === "muted" ? PALETTE.muted :
|
|
20592
|
+
return /* @__PURE__ */ jsxs13(Text13, { color: row.tone === "accent" ? PALETTE.accent : row.tone === "muted" ? PALETTE.muted : void 0, children: [
|
|
20593
20593
|
" \u2022 ",
|
|
20594
20594
|
String(row.count).padStart(3),
|
|
20595
20595
|
" ",
|
|
@@ -20614,8 +20614,8 @@ function Summary({
|
|
|
20614
20614
|
const { total, rows, warning } = summarize(scan.counts, { hasTokens });
|
|
20615
20615
|
return /* @__PURE__ */ jsxs13(Box13, { flexDirection: "column", gap: 1, children: [
|
|
20616
20616
|
/* @__PURE__ */ jsxs13(Text13, { children: [
|
|
20617
|
-
|
|
20618
|
-
/* @__PURE__ */ jsx16(Text13, {
|
|
20617
|
+
"Scanned ",
|
|
20618
|
+
/* @__PURE__ */ jsx16(Text13, { bold: true, children: path5 })
|
|
20619
20619
|
] }),
|
|
20620
20620
|
/* @__PURE__ */ jsxs13(Box13, { flexDirection: "column", children: [
|
|
20621
20621
|
/* @__PURE__ */ jsxs13(Text13, { color: PALETTE.success, children: [
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.37.1-dev-build-
|
|
3
|
+
"version": "2.37.1-dev-build-acc2abfe.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"ts-morph": "^27.0.2",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
47
|
"zod": "^4.6.5",
|
|
48
|
-
"@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-
|
|
49
|
-
"@contentful/experience-design-system-types": "2.37.1-dev-build-
|
|
48
|
+
"@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-acc2abfe.0",
|
|
49
|
+
"@contentful/experience-design-system-types": "2.37.1-dev-build-acc2abfe.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tsconfig/node24": "^24.0.4",
|