Zammad addon common updates
This commit is contained in:
parent
e4450c37ee
commit
6fca9c704f
16 changed files with 192 additions and 107 deletions
10
packages/zammad-addon-common/migrate.ts
Normal file
10
packages/zammad-addon-common/migrate.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue