cli icon indicating copy to clipboard operation
cli copied to clipboard

Is the project abandoned? Why don't devs acknowledge important issues?

Open IgorArnaut opened this issue 10 months ago • 5 comments

I am struggling to configure the project generated with sequelize-cli to use sqlite instead of MySQL. https://github.com/sequelize/cli/issues/1528 (there is no option to select dialect) There are other issues such as sequelize-cli not generating TypeScript files. https://github.com/sequelize/cli/issues/1436 (there is no option for that). sequelize-cli also generates files in CommonJS syntax instead of ES6 syntax (import x from y, export default, export). https://github.com/sequelize/cli/issues/960 (there is no option for that). People had to change the syntax manually. Last update of sequelize-cli was in 2023.

IgorArnaut avatar Mar 01 '25 11:03 IgorArnaut

Hi! This version of the CLI is basically abandoned. With the new major release of sequelize, we're rewriting the CLI in our monorepo; https://github.com/sequelize/sequelize/tree/main/packages/cli We haven't included many features yet, but that's where progress will go.

The current version of the CLI is indeed outdated and therefore does not include ES Module or TypeScript file generation support. That's the first things we've added to the new one as you can see.

WikiRik avatar Mar 02 '25 16:03 WikiRik

Hello @IgorArnaut , you could try Umzug. Umzug is also a Sequelize project, and sequelize-cli uses Umzug as a dependency.

As far as I know, Umzug generates TS files (the skeletons) and also can set the dialect because you have to create the connection (a Sequelize instance) in order to configure Umzug...

The only thing is that you should configure more things... but if you read the examples, it's very easy...

hatimsue avatar May 29 '25 21:05 hatimsue

@WikiRik Can we use the mentioned version of the Sequelize CLI with Sequelize v6? The reason for asking is that the migration documentation is still pointing to this repo which leaves me confused.

I can imagine other users are as well.

threes-was-taken avatar Jun 19 '25 08:06 threes-was-taken

@WikiRik Can we use the mentioned version of the Sequelize CLI with Sequelize v6? The reason for asking is that the migration documentation is still pointing to this repo which leaves me confused.

I can imagine other users are as well.

You can use this repo/sequelize-cli with sequelize v6. The new @sequelize/cli will only work with v7

WikiRik avatar Jun 19 '25 08:06 WikiRik

@WikiRik Can we use the mentioned version of the Sequelize CLI with Sequelize v6? The reason for asking is that the migration documentation is still pointing to this repo which leaves me confused. I can imagine other users are as well.

You can use this repo/sequelize-cli with sequelize v6. The new @sequelize/cli will only work with v7

Understood. Thank you for the quick response.

Another question; Will there be any maintenance done on this repo in the future? The reason I'm asking is that, currently, the migration file template needs manual changes to be executed correctly.

threes-was-taken avatar Jun 19 '25 08:06 threes-was-taken