@forgecart/cli 2.202610091742.0 → 2.202610100301.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/src/commands/design-system-seat.d.ts +16 -3
- package/dist/src/commands/design-system-seat.js +7 -2
- package/dist/src/commands/design-system-seat.js.map +1 -1
- package/dist/src/commands/design-system.d.ts +4 -2
- package/dist/src/commands/design-system.js +24 -15
- package/dist/src/commands/design-system.js.map +1 -1
- package/package.json +1 -1
|
@@ -30,11 +30,20 @@ export interface DesignSystemChoice {
|
|
|
30
30
|
export interface DesignSystemSeat extends DesignSystemChoice {
|
|
31
31
|
recordedAt: string;
|
|
32
32
|
}
|
|
33
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* What `forgecart design-system --json` reports: the seat — every field null
|
|
35
|
+
* while unset — beside the design system the workspace's template renders.
|
|
36
|
+
*/
|
|
34
37
|
export interface DesignSystemView {
|
|
35
38
|
uiFramework: string | null;
|
|
36
39
|
contentMode: ContentMode | null;
|
|
37
40
|
recordedAt: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The design system the workspace's template renders (#2780) — what its files
|
|
43
|
+
* are written in, recorded seat or not. The one answer a reader that needs the
|
|
44
|
+
* storefront's framework has while the seat is unset.
|
|
45
|
+
*/
|
|
46
|
+
rendered: DesignSystemChoice;
|
|
38
47
|
}
|
|
39
48
|
/**
|
|
40
49
|
* The design-system member a refresh reports beside its per-file verdicts: the
|
|
@@ -71,8 +80,12 @@ export declare function parseDesignSystemSeat(value: unknown): DesignSystemSeat
|
|
|
71
80
|
export declare function templateDesignSystem({ uiFramework, example, }: TemplateIdentity): DesignSystemChoice;
|
|
72
81
|
/** `choice` as a seat recorded now: stamped with the ISO-8601 moment of the recording. */
|
|
73
82
|
export declare function stampDesignSystem(choice: DesignSystemChoice): DesignSystemSeat;
|
|
74
|
-
/**
|
|
75
|
-
|
|
83
|
+
/**
|
|
84
|
+
* The command's report for a workspace recording `seat`, rendered from
|
|
85
|
+
* `template` — the identity its manifest records: the seat's three fields,
|
|
86
|
+
* each null while unset, and the design system the template renders.
|
|
87
|
+
*/
|
|
88
|
+
export declare function viewDesignSystem(seat: DesignSystemSeat | undefined, template: TemplateIdentity): DesignSystemView;
|
|
76
89
|
/**
|
|
77
90
|
* The design-system member of a refresh report for a workspace recording
|
|
78
91
|
* `seat`, rendered from `template` — the identity its manifest records (#2775).
|
|
@@ -72,12 +72,17 @@ export function templateDesignSystem({ uiFramework, example, }) {
|
|
|
72
72
|
export function stampDesignSystem(choice) {
|
|
73
73
|
return { ...choice, recordedAt: new Date().toISOString() };
|
|
74
74
|
}
|
|
75
|
-
/**
|
|
76
|
-
|
|
75
|
+
/**
|
|
76
|
+
* The command's report for a workspace recording `seat`, rendered from
|
|
77
|
+
* `template` — the identity its manifest records: the seat's three fields,
|
|
78
|
+
* each null while unset, and the design system the template renders.
|
|
79
|
+
*/
|
|
80
|
+
export function viewDesignSystem(seat, template) {
|
|
77
81
|
return {
|
|
78
82
|
uiFramework: seat?.uiFramework ?? null,
|
|
79
83
|
contentMode: seat?.contentMode ?? null,
|
|
80
84
|
recordedAt: seat?.recordedAt ?? null,
|
|
85
|
+
rendered: templateDesignSystem(template),
|
|
81
86
|
};
|
|
82
87
|
}
|
|
83
88
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-system-seat.js","sourceRoot":"","sources":["../../../src/commands/design-system-seat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAyB,MAAM,wCAAwC,CAAC;AAE9F;;;;;;;;;;;;;;;;GAgBG;AAEH,uFAAuF;AACvF,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;
|
|
1
|
+
{"version":3,"file":"design-system-seat.js","sour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CAAqB,EAAE,CAAqB;IAC3E,OAAO,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,WAAW,IAAI,CAAC,CAAC,WAAW,KAAK,CAAC,CAAC,WAAW,CAAC;AAC5E,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,oBAAoB,CAAC,EAAE,WAAW,EAAE,WAAW,EAAsB;IACnF,OAAO,GAAG,WAAW,KAAK,WAAW,WAAW,CAAC;AACnD,CAAC;AAED,sEAAsE;AACtE,SAAS,cAAc,CAAC,IAAkC;IACxD,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACpC,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC;AAC1E,CAAC"}
|
|
@@ -12,8 +12,10 @@ import { Command } from 'commander';
|
|
|
12
12
|
* their files before either is renamed over its file, the manifest — the copy
|
|
13
13
|
* every reader trusts — first; a write that fails before the renames leaves
|
|
14
14
|
* both files as they stood, and `init` re-mirrors the manifest's seat into the
|
|
15
|
-
* config on every run.
|
|
16
|
-
*
|
|
15
|
+
* config on every run. Either way it reports, beside the seat, the design
|
|
16
|
+
* system the workspace's template renders (#2780) — what the storefront's
|
|
17
|
+
* files are written in while no seat is recorded. `--json` prints that report
|
|
18
|
+
* as the machine seam the admin API parses.
|
|
17
19
|
*/
|
|
18
20
|
interface DesignSystemOptions {
|
|
19
21
|
uiFramework?: string;
|
|
@@ -3,8 +3,8 @@ import { join, resolve } from 'node:path';
|
|
|
3
3
|
import { Command } from 'commander';
|
|
4
4
|
import { isJsonObject } from '../json.js';
|
|
5
5
|
import { print } from '../output.js';
|
|
6
|
-
import { ContentMode, UI_FRAMEWORK_ID_MAX_LENGTH, describeDesignSystem, isContentMode, isUiFrameworkId, stampDesignSystem, viewDesignSystem, } from './design-system-seat.js';
|
|
7
|
-
import { TEMPLATE_MANIFEST_RELPATH, readTemplateManifest, serializeTemplateManifest, templateManifestPath, } from './template-manifest.js';
|
|
6
|
+
import { ContentMode, UI_FRAMEWORK_ID_MAX_LENGTH, describeDesignSystem, isContentMode, isUiFrameworkId, stampDesignSystem, templateDesignSystem, viewDesignSystem, } from './design-system-seat.js';
|
|
7
|
+
import { TEMPLATE_MANIFEST_RELPATH, manifestTemplate, readTemplateManifest, serializeTemplateManifest, templateManifestPath, } from './template-manifest.js';
|
|
8
8
|
/** The workspace config the seat is mirrored into, workspace-relative. */
|
|
9
9
|
const WORKSPACE_CONFIG_RELPATH = '.forgecart/config.json';
|
|
10
10
|
/** Run `forgecart design-system`. */
|
|
@@ -12,12 +12,16 @@ export async function runDesignSystem(name, options) {
|
|
|
12
12
|
const choice = requestedChoice(options);
|
|
13
13
|
const targetDir = name ? resolve(process.cwd(), name) : process.cwd();
|
|
14
14
|
const config = await readWorkspaceConfig(targetDir);
|
|
15
|
+
const manifest = await readTemplateManifest(targetDir);
|
|
16
|
+
// A workspace without a readable manifest renders what every template before
|
|
17
|
+
// the identity rendered (`manifestTemplate`).
|
|
18
|
+
const template = manifestTemplate(manifest);
|
|
19
|
+
const json = options.json === true;
|
|
15
20
|
if (choice === null) {
|
|
16
|
-
|
|
17
|
-
printSeat(manifest?.designSystem, options.json === true);
|
|
21
|
+
printDesignSystem(manifest?.designSystem, template, json);
|
|
18
22
|
return;
|
|
19
23
|
}
|
|
20
|
-
|
|
24
|
+
printDesignSystem(await recordDesignSystem(targetDir, manifest, config, choice), template, json);
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
23
27
|
* The choice the flags request, or null when they request none — a read. The
|
|
@@ -75,8 +79,7 @@ function unreadableConfigMessage(targetDir) {
|
|
|
75
79
|
* under one stamp. A workspace without a readable manifest has no seat to
|
|
76
80
|
* record into; its first `forgecart refresh` mints the manifest.
|
|
77
81
|
*/
|
|
78
|
-
async function recordDesignSystem(targetDir, config, choice) {
|
|
79
|
-
const manifest = await readTemplateManifest(targetDir);
|
|
82
|
+
async function recordDesignSystem(targetDir, manifest, config, choice) {
|
|
80
83
|
if (manifest === null) {
|
|
81
84
|
throw new Error(`design-system requires a readable ${TEMPLATE_MANIFEST_RELPATH} at ${targetDir}; run \`forgecart refresh\` to mint it.`);
|
|
82
85
|
}
|
|
@@ -118,17 +121,23 @@ function stagingPath(path) {
|
|
|
118
121
|
function workspaceConfigPath(targetDir) {
|
|
119
122
|
return join(targetDir, ...WORKSPACE_CONFIG_RELPATH.split('/'));
|
|
120
123
|
}
|
|
121
|
-
/**
|
|
122
|
-
|
|
124
|
+
/**
|
|
125
|
+
* Report the seat beside the design system `template` renders: the `--json`
|
|
126
|
+
* view, or two lines for a human.
|
|
127
|
+
*/
|
|
128
|
+
function printDesignSystem(seat, template, json) {
|
|
123
129
|
if (json) {
|
|
124
|
-
print(JSON.stringify(viewDesignSystem(seat)));
|
|
130
|
+
print(JSON.stringify(viewDesignSystem(seat, template)));
|
|
125
131
|
return;
|
|
126
132
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
print(describeSeat(seat));
|
|
134
|
+
print(`The template renders ${describeDesignSystem(templateDesignSystem(template))}.`);
|
|
135
|
+
}
|
|
136
|
+
/** The seat in words, as the human output prints it. */
|
|
137
|
+
function describeSeat(seat) {
|
|
138
|
+
if (seat === undefined)
|
|
139
|
+
return 'No design system recorded.';
|
|
140
|
+
return `Design system: ${describeDesignSystem(seat)}, recorded ${seat.recordedAt}.`;
|
|
132
141
|
}
|
|
133
142
|
/** Build the `design-system [name]` command. */
|
|
134
143
|
export function createDesignSystemCommand() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-system.js","sourceRoot":"","sources":["../../../src/commands/design-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE1C,OAA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