Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create TSConfig in CLI #1065

Merged
merged 1 commit into from
Nov 10, 2022
Merged

feat: create TSConfig in CLI #1065

merged 1 commit into from
Nov 10, 2022

Conversation

JoshuaKGoldberg
Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg commented Nov 10, 2022

PR Checklist

Overview

The CLI now includes an option for I don't have one yet in the Where is your tsconfig.json? question. Under that option, it'll ask a few questions about compiler options.

project settings afterwards also now remember whether the project was created by this process, so after you select an include path, it'll add an include to that tsconfig.json.

✔ What are you trying to accomplish? · Convert my JavaScript files to TypeScript
✔ Where is your tsconfig.json? · I don't have one yet
✔ Should TypeScript output .js files from .ts sources? · yes
✔ Does your code run in browser? · yes
✔ Does your project use JSX? · yes
✔ What minimum runtime does your code run on? · es2020
✔ Would you like to enable TypeScript's strict compiler options? (recommended) · yes

@JoshuaKGoldberg JoshuaKGoldberg merged commit 6d66193 into main Nov 10, 2022
@JoshuaKGoldberg JoshuaKGoldberg deleted the cli-create-tsconfig branch November 10, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a tsconfig if it doesn't yet exist
1 participant