alper, to node
@alper@rls.social avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines