question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unusabel npx ts-migrate -- reignore

See original GitHub issue
% npx ts-migrate -- reignore      
Usage: npm run ts-migrate -- <command> [options]

Commands:
  npm run ts-migrate -- init <folder>               Initialize tsconfig.json file in <folder>
  npm run ts-migrate -- init:extended <folder>      Initialize tsconfig.json file in <folder>
  npm run ts-migrate -- rename [options] <folder>   Rename files in folder from JS/JSX to TS/TSX
  npm run ts-migrate -- migrate [options] <folder>  Fix TypeScript errors, using codemods
  npm run ts-migrate -- reignore <folder>           Re-run ts-ignore on a project

Options:
  -h, --help  Show help                                                                    [boolean]

Examples:
  npm run ts-migrate -- --help                        Show help
  npm run ts-migrate -- migrate --help                Show help for the migrate command
  npm run ts-migrate -- init frontend/foo             Create tsconfig.json file at
                                                      frontend/foo/tsconfig.json
  npm run ts-migrate -- init:extended frontend/foo    Create extended from the base tsconfig.json
                                                      file at frontend/foo/tsconfig.json
  npm run ts-migrate -- rename frontend/foo           Rename files in frontend/foo from JS/JSX to
                                                      TS/TSX
  npm run ts-migrate -- rename frontend/foo --s       Rename files in frontend/foo/bar/baz from
  "bar/baz"                                           JS/JSX to TS/TSX

Must provide a command.

On "ts-migrate": "^0.1.12",

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

6reactions
NickHeinercommented, Jan 26, 2021

It worked when I omitted the --:

ts-migrate reignore dir
0reactions
NickHeinercommented, Jan 26, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

ts-migrate: A Tool for Migrating to TypeScript at Scale - Medium
2) All-in migration! Take a JavaScript or partial TypeScript project and convert it completely. We'll need to add some any types and @ts-ignore...
Read more >
How to Migrate Application From JavaScript to TypeScript
Helpful tips for painless migration from JavaScript to TypeScript that work on any scale.
Read more >
How to use ts-migrate to convert JS files to TS ... - Stack Overflow
It is done through the (currently undocumented) option flag --plugin jsdoc : npx ts-migrate-full . --plugin jsdoc.
Read more >
Introduce TypeScript to react(js) project with ts-migrate - DEV ...
npx ts-migrate -full src Welcome to TS Migrate! :D This script will migrate a frontend folder to ... [strip-ts-ignore] Finished in 53.092ms.
Read more >
"Automatically Migrating to TypeScript with ts ... - YouTube
(Evan Shaw) Learn about ts-migrate, an open source tool to automate the process of converting a JavaScript code base to TypeScript.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found