When on typescript project, sequelize-cli still generates javascript files.
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, typescript
- 領域
- cli
調査の方向性
Start by running the reported sequelize init and migration CLI commands in a TypeScript project and inspect the generated migration, seed, and model files. Done means these generated files use the .ts extension and are compatible with the project; the payload names no implementation files or tests.
索引モデルが issue の本文から書いたものです。
説明
What I am doing?
I'm using Sequelize-cli in a typescript project and it is not generating .ts files and I have to then update those files extensions and make manual changes to the file for making it compatible in my project.
What I expect to happen?
I want to have the CLI work the same for my typescript file as it does for a javascript project. I expect the cli to generate proper migration, see and model files with .ts extension.
What is actually happening?
When I try to run sequelize init or other migration cli, it will generate javascript files instead of typescript as expected.
Dialect: mysql
Database version: latest
Sequelize CLI version: latest
Sequelize version: latest
Would you resolve this issue by submitting a Pull Request?
- Yes, I have the time and I know how to start.
I have completed and fully tested the configuration and changes needed for this issue fix, but I am not able to push my work into the repository. Could you please help me get access so that I can push my work on this issue?
- 主要言語
- JavaScript
- スター
- 2.6k
- フォーク
- 524
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sequelize/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Automattic/studio#4908 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
sugarlabs/musicblocks#8847 ·