mirror of
https://github.com/earendil-works/pi.git
synced 2026-09-28 14:13:13 +08:00
8 lines
278 B
JavaScript
8 lines
278 B
JavaScript
import { cp, mkdir } from "node:fs/promises";
|
|
|
|
const source = new URL("../src/sqlite/migrations/", import.meta.url);
|
|
const target = new URL("../dist/sqlite/migrations/", import.meta.url);
|
|
|
|
await mkdir(target, { recursive: true });
|
|
await cp(source, target, { recursive: true });
|