https://github.com/haberkamp/ts-analyze
A CLI tool to help migrating a JavaScript project over to TypeScript
https://github.com/haberkamp/ts-analyze
developer-experience javascript migration-tool typescript
Last synced: 29 days ago
JSON representation
A CLI tool to help migrating a JavaScript project over to TypeScript
- Host: GitHub
- URL: https://github.com/haberkamp/ts-analyze
- Owner: Haberkamp
- License: mit
- Created: 2023-10-23T17:43:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-18T09:24:39.000Z (over 2 years ago)
- Last Synced: 2025-01-21T14:45:59.578Z (over 1 year ago)
- Topics: developer-experience, javascript, migration-tool, typescript
- Language: TypeScript
- Homepage:
- Size: 236 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ts-analyze
Analyze migration order for JavaScript and TypeScript projects.
## Usage
Run without installing:
```sh
npx ts-analyze src/index.js
```
Pass a TypeScript config when needed:
```sh
npx ts-analyze --config tsconfig.json --entry src/index.js --entry src/admin.js
```
Explain why a TypeScript file is listed as non-leaf:
```sh
npx ts-analyze why src/greeting.ts
```
## Local Development
```sh
npm install
npm run build
npm test
```