dev: rename scripts dev:{init, up, down} -> db:{init, up, down}
This commit is contained in:
parent
ab1c674fb8
commit
90a39b9027
3 changed files with 5 additions and 5 deletions
|
@ -19,10 +19,10 @@
|
||||||
"gulp": "gulp build",
|
"gulp": "gulp build",
|
||||||
"watch": "pnpm run dev",
|
"watch": "pnpm run dev",
|
||||||
"dev": "pnpm node ./scripts/dev.mjs",
|
"dev": "pnpm node ./scripts/dev.mjs",
|
||||||
"dev:up": "pnpm node ./scripts/dev-up.mjs",
|
|
||||||
"dev:down": "pnpm node ./scripts/dev-down.mjs",
|
|
||||||
"dev:init": "pnpm run dev:down && pnpm run dev:up",
|
|
||||||
"dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development pnpm run build && pnpm run start",
|
"dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development pnpm run build && pnpm run start",
|
||||||
|
"db:up": "pnpm node ./scripts/db-up.mjs",
|
||||||
|
"db:down": "pnpm node ./scripts/db-down.mjs",
|
||||||
|
"db:init": "pnpm run dev:down && pnpm run dev:up",
|
||||||
"lint": "pnpm -r --parallel run lint",
|
"lint": "pnpm -r --parallel run lint",
|
||||||
"debug": "pnpm run build:debug && pnpm run start",
|
"debug": "pnpm run build:debug && pnpm run start",
|
||||||
"build:debug": "pnpm run clean && pnpm node ./scripts/dev-build.mjs && pnpm run gulp",
|
"build:debug": "pnpm run clean && pnpm node ./scripts/dev-build.mjs && pnpm run gulp",
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { execa } from "execa";
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
execa("podman-compose", {
|
execa("podman-compose", {
|
||||||
cwd: join(__dirname, "/../dev"),
|
cwd: join(__dirname, "/../dev/docker-dbonly"),
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
})();
|
})();
|
|
@ -6,7 +6,7 @@ import { execa } from "execa";
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
execa("podman-compose", {
|
execa("podman-compose", {
|
||||||
cwd: join(__dirname, "/../dev"),
|
cwd: join(__dirname, "/../dev/docker-dbonly"),
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
})();
|
})();
|
Loading…
Reference in a new issue