lacuna-tech / mds-core

Repo for LADOT MDS implementation for contribution to the Open Mobility Foundation
Apache License 2.0
13 stars 9 forks source link

[PLAT-486] Fix TypeORM invocation so it works with dotenv-flow #989

Closed avatarneil closed 2 years ago

avatarneil commented 2 years ago

📚 Purpose

The recent changes to introduce dotenv-flow and upgrade TypeORM to v3 were incompatible with each other, and TypeORM CLI invocation was broken. This PR attempts to fix this by using ts-node versus the typeorm-ts-node-commonjs wrapper, which allows require options.

👌 Resolves:

PLAT-486

📦 Impacts:

TypeORM CLI invocation in all services (but doesn't require a version change for the packages).

changeset-bot[bot] commented 2 years ago

⚠️ No Changeset found

Latest commit: e4337abb1460eb7c042f4dc113e867d5b5c410da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR