diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index c0d8e3be..d090c898 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -36,7 +36,7 @@ Below are all of the variables that are available to the file templates. | `packageManager` | The package manager that is being used (e.g. `npm`, `yarn`, `pnpm`) | | `projectName` | The name of the project | | `typescript` | Boolean value that is `true` if TypeScript is being used, otherwise it is `false` | -| `tailwind` | Boolean value that is `true` if Tailwind CSS is being used, otherwise it is `false` | +| `tailwind` | Boolean value that is `true` if Tailwind CSS is being used, otherwise it is `false`. `Note`: Even if Tailwind CSS is set to false by the user during setup, it will be automatically enabled if any add-ons are selected, since all add-ons depend on Tailwind CSS | | `js` | The file extension for files that do not include JSX. When in TypeScript mode it is `ts`. When in JavaScript mode it is `js`. | | `jsx` | The file extension for files that include JSX. When in TypeScript mode it is `tsx`. When in JavaScript mode it is `jsx`. | | `fileRouter` | Boolean value that is `true` if the file router is being used, otherwise it is `false` | diff --git a/packages/cta-cli/src/cli.ts b/packages/cta-cli/src/cli.ts index 23d72b5c..e55e138b 100644 --- a/packages/cta-cli/src/cli.ts +++ b/packages/cta-cli/src/cli.ts @@ -13,7 +13,6 @@ import { createApp, createSerializedOptions, getAllAddOns, - getFrameworkById, getFrameworkByName, getFrameworks, initAddOn, diff --git a/packages/cta-cli/src/ui-prompts.ts b/packages/cta-cli/src/ui-prompts.ts index 0f065432..5279b3a0 100644 --- a/packages/cta-cli/src/ui-prompts.ts +++ b/packages/cta-cli/src/ui-prompts.ts @@ -62,7 +62,7 @@ export async function selectRouterType(): Promise { export async function selectTypescript(): Promise { const typescriptEnable = await confirm({ - message: 'Would you like to use TypeScript?', + message: 'Would you like to use TypeScript? (⚠️ Will be enabled automatically if you choose any add-ons)', initialValue: true, }) if (isCancel(typescriptEnable)) { @@ -74,7 +74,7 @@ export async function selectTypescript(): Promise { export async function selectTailwind(): Promise { const tailwind = await confirm({ - message: 'Would you like to use Tailwind CSS?', + message: 'Would you like to use Tailwind CSS? (⚠️ Will be enabled automatically if you choose any add-ons)', initialValue: true, })