# typescript-all-in-converter

> Convert a project all in one

Latest version **0.0.1-alpha.1** (published 2019-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install typescript-all-in-converter
pnpm add typescript-all-in-converter
yarn add typescript-all-in-converter
bun add typescript-all-in-converter
```

Provides the command `typescript-all-in-converter`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-alpha.1 |
| Published | 2019-06-29 |
| First published | 2019-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 39.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | DanielMSchmidt |
| Maintainers | dschmidt |

## Links

- npm: https://www.npmjs.com/package/typescript-all-in-converter
- npm.io page: https://npm.io/package/typescript-all-in-converter

## Dependencies (14)

- [glob](https://npm.io/package/glob.md) ^7.1.4
- [yargs](https://npm.io/package/yargs.md) ^13.2.4
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.3
- [ts-node](https://npm.io/package/ts-node.md) ^8.3.0
- [@types/glob](https://npm.io/package/@types/glob.md) ^7.1.1
- [@types/jest](https://npm.io/package/@types/jest.md) ^24.0.15
- [@types/node](https://npm.io/package/@types/node.md) ^12.0.8
- [@types/yargs](https://npm.io/package/@types/yargs.md) ^13.0.0
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.4.5
- [@types/shelljs](https://npm.io/package/@types/shelljs.md) ^0.8.5
- [@babel/template](https://npm.io/package/@babel/template.md) ^7.4.4
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.4.5
- [@types/prettier](https://npm.io/package/@types/prettier.md) ^1.16.4
- [@babel/generator](https://npm.io/package/@babel/generator.md) ^7.4.4

## Recent versions

- 0.0.1-alpha.1 (latest) — 2019-06-29
- 0.0.1-alpha.2 (next) — 2019-07-31
- 0.0.1-alpha.0 — 2019-06-29
- 0.0.0 — 2019-06-29

## README

# Typescript All-In Converter

Ever had a massive project with a lot of Javascript files? Moving everything to [Typescript at once and setting a lot of ts-ignores](https://www.youtube.com/watch?v=P-J9Eg7hJwE) is one way to do it. This CLI tool wants to help with it.

## Usage

Run `typescript-all-in /path/to/project` in a project where a typescript converter is setup and typescript is installd. The effect will be:

- Every `js` file will be changed to a `ts` or `tsx` file
- Every typescript error will be ignored with a `// @ts-ignore typescript-all-in` error, so the project will still compile
- Every existing `// @ts-ignore typescript-all-in` comment will be removed and it will be checked if they are still needed

This means if you ran this command already, you can safely run it again. Plus, you can also run it after you fixed a type error to check which other ones might also be fixed by that.

## License

MIT

---
_Source: https://npm.io/package/typescript-all-in-converter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
