gitdagray / csv-to-sql-insert

Provide table data as a CSV (comma-separated values) file and output a SQL insert statement for a table with the same name as the file.
MIT License
99 stars 120 forks source link

Feat: Added Typescript Support #10

Closed Diwanshumidha closed 9 months ago

Diwanshumidha commented 9 months ago

Issue [#1]

Added Typescript support for the project with some basic configurations

Changes:

  1. Added index.ts to src directory for better folder structure
  2. Added typescript support

Scripts: build: to build the project into dist dir start: To run the project like before ( this script will firstly build then run the project )

gitdagray commented 9 months ago

I just added a prettier config to the project to eliminate formatting differences that add to the changed lines. Can you update yours with this config? Check the dev dependencies in the package.json. Thanks!

Diwanshumidha commented 9 months ago

Just Give me a minute

gitdagray commented 9 months ago

Just Give me a minute

No worries. This is moving fast today. Just closed out the issue, but please feel free to add other PRs, too. Thank you so much for contributing. 💯