feat: add motion design pipeline and restore Korean showcase corpus
This commit is contained in:
parent
b5f59ca87a
commit
047df4d08b
63 changed files with 2181 additions and 919 deletions
|
|
@ -10,17 +10,32 @@ import { bad, dim, heading, info, ok, table, warn } from "../ui.ts";
|
|||
*/
|
||||
export async function runTools(opts: { install: boolean }): Promise<number> {
|
||||
const status = await checkTools();
|
||||
const browserTools = status.filter((s) => (s.tool.category ?? "browser") === "browser");
|
||||
const motionTools = status.filter((s) => s.tool.category === "motion");
|
||||
|
||||
console.log(heading("브라우저 도구"));
|
||||
console.log(
|
||||
table(
|
||||
status.map(({ tool, installed }) => [
|
||||
browserTools.map(({ tool, installed }) => [
|
||||
tool.label,
|
||||
installed ? "설치됨" : dim("설치되지 않음"),
|
||||
]),
|
||||
),
|
||||
);
|
||||
|
||||
if (motionTools.length > 0) {
|
||||
console.log();
|
||||
console.log(heading("모션·미디어 도구"));
|
||||
console.log(
|
||||
table(
|
||||
motionTools.map(({ tool, installed }) => [
|
||||
tool.label,
|
||||
installed ? "설치됨" : dim("설치되지 않음"),
|
||||
]),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
const missing = status.filter((s) => !s.installed);
|
||||
|
||||
if (missing.length === 0) {
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ export async function offerTools(): Promise<void> {
|
|||
label: tool.label,
|
||||
hint: `${tool.why} · ${tool.size}`,
|
||||
})),
|
||||
initialValues: missing.map((m) => m.tool.id),
|
||||
initialValues: missing.filter((m) => m.tool.defaultSelected !== false).map((m) => m.tool.id),
|
||||
required: false,
|
||||
});
|
||||
if (p.isCancel(picked) || picked.length === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue