link-stack/packages/zammad-addon-common/migrate.ts
2023-05-09 12:26:23 +00:00

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();