Rename npm scripts to environment-prefixed names (dev:/prod:/devtoprod:/prodto:dev:/infra:).

Align package.json scripts and their references across scripts/, infra/, and db/ SQL with the dev-first workflow naming scheme.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-07-07 12:37:21 +03:00
co-authored by Cursor
parent a2263ca186
commit 96285737f5
16 changed files with 73 additions and 75 deletions
+6 -6
View File
@@ -4,11 +4,11 @@
* - Insert artist/movement influence sources from Influencedby, Teachers, Influencedon, Pupils
*
* Usage:
* npm run migrate:artist-palette
* npm run import-painter-palette # metadata + influences
* npm run import-painter-palette -- --dry-run
* npm run import-painter-palette -- --metadata-only
* npm run import-painter-palette -- --influences-only
* npm run dev:migrate:artist-palette
* npm run dev:import-painter-palette # metadata + influences
* npm run dev:import-painter-palette -- --dry-run
* npm run dev:import-painter-palette -- --metadata-only
* npm run dev:import-painter-palette -- --influences-only
*/
require('dotenv').config();
const pool = require('../server/db');
@@ -47,7 +47,7 @@ async function main() {
) AS ok
`);
if (!tableCheck.rows[0]?.ok) {
console.error('Run npm run migrate:artist-palette first.');
console.error('Run npm run dev:migrate:artist-palette first.');
process.exit(1);
}