10 lines
278 B
TypeScript
10 lines
278 B
TypeScript
import { createMigration } from "./lib";
|
|
import { promises as fs } from "fs";
|
|
|
|
const main = async () => {
|
|
const packageJSON = JSON.parse(await fs.readFile("./package.json", "utf-8"));
|
|
const { name, } = packageJSON;
|
|
await createMigration({ packageName: name });
|
|
}
|
|
|
|
main();
|