Nicolas - The TypeScript Project Wizard 🚀
Nicolas is your friendly neighborhood TypeScript project wizard! 🧙♂️ With just a few commands, Nicolas will conjure up a magical TypeScript project for you to test things out.
Installation
npm install -g nicolas
Quick Start
To unleash the magic without passing any flags, simply use:
npx nicolas
Nicolas will guide you through a magical journey with prompts:
-
🪄 Do you wish to include linting?
- Answer: Yes/No
-
🪄 Which package manager do you want to use?
- Answer: pnpm/yarn/npm
Example:
Advanced Usage
nicolas [name] [--with-lint] [--pnpm|--yarn|--npm]
Options
-
[name]
: Name of your project. If not provided, Nicolas will ask for it. -
--with-lint
: Include linting in your project. -
--no-lint
: Skip linting (if you're feeling rebellious). -
--pnpm
: Use pnpm as the package manager. -
--yarn
: Use yarn as the package manager. -
--npm
: Use npm as the package manager.
Examples
# Create a project named "awesome-ts-app" with linting using pnpm
nicolas awesome-ts-app --with-lint --pnpm
# Create a project named "cool-project" without linting using yarn
nicolas cool-project --no-lint --yarn
Note: Nicolas is not responsible for any unintended magical consequences. Use at your own risk! 🧙♂️