alper, Figuring out how to run #TypeORM and the entire way that Node projects are setup is insane.
TypeORM is this:
"typeorm": "ts-node ./node_modules/typeorm/cli"
And then to run the migration we do this where
typeorm
was just defined:
"migration:run": "npm run typeorm migration:run -- -d ./src/config/typeorm.ts",
We're just trampolining shitty scripts on top of each other hoping that it works. #node #javascript
Add comment