How to configure a TypeScript script package to install @acme/db #1113
Unanswered
hayata-suenaga
asked this question in
Q&A
Replies: 1 comment
-
Doesnt |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added a package that has one file
index.ts
file that imports from@eisuke/db/client
. The script is supposed to be run locally to populate database with some data.I'm trying to figure out the best way to execute the script. I tried to use
ts-node
. However,ts-node
seems to be having difficulty to handle the import statement from the internal pacake.What is the best way to create a simple TypeScript script that relies on internal packages?
Beta Was this translation helpful? Give feedback.
All reactions