Git Product home page Git Product logo

Comments (5)

krismeister avatar krismeister commented on June 24, 2024 1

I think the issue with removing babel, is that the migrations need to be evaluated in node.

if you've written with ES6 style imports or advanced Ecma Script features like the spread operator it could not be able to be evaluated on your current node.

I think the alternative option, is to make anyone using migrate-mongoose to convert their migration files manually.

from migrate-mongoose.

balmasi avatar balmasi commented on June 24, 2024 1

Project is now alive again ;)

Sorry it took so long. Been away. You'll be happy to know that babel's been removed in 4.0.0

from migrate-mongoose.

rkmax avatar rkmax commented on June 24, 2024

Today I've installed the package in a project a found a lot of nasty warnings about babel. I think the right way is just leave babel for development and before publish compile

from migrate-mongoose.

kaievns avatar kaievns commented on June 24, 2024

+1 this is a bit too much.

after a quick look, it seems like they're using babel-cli to launch the .bin/migrate script. this could be easily pre-compiled during the publish phase

from migrate-mongoose.

ns3777k avatar ns3777k commented on June 24, 2024

I ran into similar issue but this project seems to be dead so i wrote my own. https://github.com/ns3777k/mongoose-migrate

from migrate-mongoose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.