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
+2 -2
View File
@@ -1,8 +1,8 @@
/**
* Restore a data-only backup (INSERT dumps from npm run db:backup) into a database.
* Restore a data-only backup (INSERT dumps from npm run dev:db:backup) into a database.
*
* Dev: node scripts/restore-db-data.js --file db/DataBackup/gallery_dev_data_....txt
* Prod: npm run db:restore:prod -- --file db/DataBackup/gallery_dev_data_....txt
* Prod: npm run devtoprod:db:restore -- --file db/DataBackup/gallery_dev_data_....txt
*/
const fs = require('fs');
const path = require('path');