refactor(scripts): use deno's std on jsr (#1091)

This commit is contained in:
uncenter authored and GitHub committed 2024-07-19 14:58:14 -04:00
1 parent 89c3e2a7ef
commit a801279ae1
18 files changed
+178 -290

No files matched your search

+10 -8
View File
@@ -1,4 +1,4 @@
import { join } from "std/path/mod.ts";
import { join } from "@std/path";
import Handlebars from "handlebars";
import { REPO_ROOT } from "@/deps.ts";
@@ -52,13 +52,15 @@ export const generateMainReadme = async (
return {
emoji: meta.emoji,
name: meta.name,
ports: ports.map(({ name, path, "current-maintainers": currentMaintainers }) => {
return {
name: [name].flat(),
maintained: currentMaintainers.length > 0,
path,
};
}),
ports: ports.map(
({ name, path, "current-maintainers": currentMaintainers }) => {
return {
name: [name].flat(),
maintained: currentMaintainers.length > 0,
path,
};
},
),
};
}),
});