Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added minimal support for typescript #24

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

akprats33
Copy link

No description provided.

@santiq
Copy link

santiq commented May 3, 2018

@balmasi Can this be merged?

@jamshally
Copy link

I would also like to see this typescript support added

@kalutheo
Copy link

i have a project in typescript using migrate-mongoose. Will really love to see this feature be added :-)

@chill-cod3r
Copy link

is this in a "will not add" category or can it be merged? would help to not have to maintain a fork

@santiq
Copy link

santiq commented Mar 20, 2019

Hey @wolfejw86 @kalutheo @ahrnee you can use this fork that is actively maintained by me and @fernandolguevara
Feel free to open any issue you want to.

https://github.com/whyline/migrate-mongoose

Is also published on NPM too, under the package name migrate-mongoose-typescript

https://www.npmjs.com/package/migrate-mongoose-typescript

@tofixx
Copy link

tofixx commented Sep 13, 2019

@balsami @akprats33 please resolve conflicts

@tenorok
Copy link

tenorok commented Feb 24, 2020

Hello, I created actual and much easer changes pull request (#58) for ability to use ts or any other extensions for migrations files.

@Marcinthedev
Copy link

Are there any updates on this?

@mmejiadeveloper
Copy link

mmejiadeveloper commented Nov 12, 2020

@santiq hey bro how you doing?

I had a look to your library and I thought it was creating .ts migration files as it says it supports typescript. Our project is an API completly done with TS and we are looking for a TS library to handle our mongo database migrations with TS, of course.

Is anyone still having this same problem, did you resolve it? did you use another lib? did you make your own approach/implementation?

Thanks

@santiq
Copy link

santiq commented Nov 12, 2020

Hi @mmejiadeveloper I'm doing well thanks.

My recommendation got old, nowadays I'm using just migrate-mongo https://github.com/seppevs/migrate-mongo while it doesn't support typescript for writing migrations, it works pretty well.

@tenorok
Copy link

tenorok commented Nov 12, 2020

@mmejiadeveloper as I wrote in second comment before your, I made changes for opportunity using ts-files for migrations in #58 and although @balmasi doesn't give a reaction you can use branch from fork directly and I do the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants