Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@dominicode/ng-create

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dominicode/ng-create

CLI to generate Angular 21 projects with all modern tools

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
10
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@dominicode/ng-create

A CLI tool to generate customized Angular 21 projects with all modern tools and best practices.

🚀 Installation

Global Installation

npm install -g @dominicode/ng-create
npx @dominicode/ng-create

📋 Prerequisites

  • Node.js: >= 20.0.0
  • npm: >= 9.0.0 (or yarn/pnpm)

🎯 Features

  • ✅ Angular 21 project generation (SPA or SSR)
  • ✅ Tailwind CSS configuration
  • ✅ Test runners: Vitest or Jest
  • ✅ Angular Testing Library integration
  • ✅ ESLint configuration
  • ✅ Husky + lint-staged for Git hooks
  • ✅ AI editor configuration (Cursor/VSCode)

📝 Usage

Run the CLI and answer the interactive questions:

create-dominicode-ng

The CLI will ask you:

  • Project name
  • Project type (SPA/SSR)
  • Style preprocessor (CSS/SCSS)
  • Whether to include Tailwind CSS
  • Test runner (Vitest/Jest/None)
  • Whether to include Angular Testing Library
  • Whether to include ESLint
  • Whether to include Husky
  • Whether to include AI editor configuration

Example

$ create-dominicode-ng
? Project name: my-awesome-app
? Project type: SPA
? Style preprocessor: SCSS
? Include Tailwind CSS? Yes
? Test runner: Vitest
? Include Angular Testing Library? Yes
? Include ESLint? Yes
? Include Husky? Yes
? Include AI editor configuration? Yes

Creating Angular project...
✓ Project created successfully!

🏗️ Project Structure

ng-create-cli/
├── bin/
│   └── index.js          # CLI entry point
├── src/
│   ├── cli.ts            # Main logic and prompts
│   ├── types.ts          # TypeScript types
│   ├── steps/            # Configuration steps
│   │   ├── create-angular-app.ts
│   │   ├── add-tailwind.ts
│   │   ├── add-vitest.ts
│   │   ├── add-jest.ts
│   │   ├── add-testing-library.ts
│   │   ├── add-eslint.ts
│   │   ├── add-husky.ts
│   │   └── add-ai-editor-config.ts
│   └── utils/            # Utilities
│       ├── run-command.ts
│       ├── modify-json.ts
│       └── package-manager.ts
├── package.json
├── tsconfig.json
├── vitest.config.ts
└── README.md

🔧 Development

Local Development

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run in development mode
npm start

# Or create a local link
npm link
create-dominicode-ng

Available Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm run dev - Compile in watch mode
  • npm run test - Run tests with Vitest
  • npm start - Execute the compiled CLI
  • npm run prepublishOnly - Build before publishing

🧪 Testing

Run tests with:

npm test

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  • Fork the repository
  • Create your feature branch (git checkout -b feat/amazing-feature)
  • Commit your changes (git commit -m 'feat: add amazing feature')
  • Push to the branch (git push origin feat/amazing-feature)
  • Open a Pull Request

Development Guidelines

  • Follow TypeScript best practices
  • Write tests for new features
  • Follow conventional commits format
  • Ensure all tests pass before submitting

🐛 Troubleshooting

Common Issues

Issue: Command not found after installation

  • Solution: Make sure npm global bin directory is in your PATH

Issue: Permission errors on macOS/Linux

  • Solution: Use sudo npm install -g @dominicode/ng-create or configure npm to use a different directory

Issue: Angular CLI version conflicts

  • Solution: Ensure you have the latest Angular CLI installed globally or use npx
  • Angular Documentation
  • Tailwind CSS Documentation
  • Vitest Documentation
  • Angular Testing Library

📄 License

MIT License - see the LICENSE file for details.

👤 Author

Dominicode

🙏 Acknowledgments

  • Angular team for the amazing framework
  • All contributors and users of this tool

Keywords

angular

FAQs

Package last updated on 29 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts