refactor(scripts): use deno's std on jsr (#1091)
This commit is contained in:
1 parent
89c3e2a7ef
commit
a801279ae1
18 files changed
+178
-290
No files matched your search
@@ -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,
|
||||
};
|
||||
},
|
||||
),
|
||||
};
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user