Added quotation marks to fix spaces in pwd causing scripts to crash
This commit is contained in:
parent
79cd8f0a4e
commit
6f33fe1edc
@ -14,8 +14,8 @@
|
|||||||
"db:migrate": "yarn db:start && yarn typeorm migration:run",
|
"db:migrate": "yarn db:start && yarn typeorm migration:run",
|
||||||
"db:migrate:prod": "yarn typeorm migration:run",
|
"db:migrate:prod": "yarn typeorm migration:run",
|
||||||
"db:migrate:undo": "yarn db:start && yarn typeorm migration:revert",
|
"db:migrate:undo": "yarn db:start && yarn typeorm migration:revert",
|
||||||
"db:seed": "yarn db:start && ts-node ./node_modules/typeorm-seeding/dist/cli.js seed -n cli_config.ts -r $(pwd)/server/database",
|
"db:seed": "yarn db:start && ts-node ./node_modules/typeorm-seeding/dist/cli.js seed -n cli_config.ts -r \"$(pwd)/server/database\"",
|
||||||
"db:seed:prod": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed -n cli_config.ts -r $(pwd)/server/database",
|
"db:seed:prod": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed -n cli_config.ts -r \"$(pwd)/server/database\"",
|
||||||
"db:reset": "yarn db:start && yarn typeorm schema:drop && yarn db:migrate && yarn db:seed",
|
"db:reset": "yarn db:start && yarn typeorm schema:drop && yarn db:migrate && yarn db:seed",
|
||||||
"db:setup": "bash bin/create_db.sh && yarn db:migrate && yarn db:seed",
|
"db:setup": "bash bin/create_db.sh && yarn db:migrate && yarn db:seed",
|
||||||
"prebuild": "rimraf dist",
|
"prebuild": "rimraf dist",
|
||||||
|
Loading…
Reference in New Issue
Block a user