create-ng-tailwind 3.1.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +96 -341
  2. package/README.md +111 -157
  3. package/lib/cli/index.js +74 -3
  4. package/lib/cli/interactive.js +26 -1
  5. package/lib/managers/ProjectManager.js +2 -5
  6. package/lib/templates/base/components.js +243 -0
  7. package/lib/templates/base/index.js +207 -0
  8. package/lib/templates/base/infrastructure.js +314 -0
  9. package/lib/templates/base/linting.js +359 -0
  10. package/lib/templates/base/pwa.js +103 -0
  11. package/lib/templates/base/services.js +362 -0
  12. package/lib/templates/blog/app.js +250 -0
  13. package/lib/templates/blog/components.js +360 -0
  14. package/lib/templates/blog/i18n.js +77 -0
  15. package/lib/templates/blog/index.js +126 -0
  16. package/lib/templates/blog/pages.js +554 -0
  17. package/lib/templates/blog/services.js +390 -0
  18. package/lib/templates/dashboard/app.js +320 -0
  19. package/lib/templates/dashboard/charts.js +305 -0
  20. package/lib/templates/dashboard/components.js +410 -0
  21. package/lib/templates/dashboard/i18n.js +340 -0
  22. package/lib/templates/dashboard/index.js +141 -0
  23. package/lib/templates/dashboard/layout.js +310 -0
  24. package/lib/templates/dashboard/pages.js +681 -0
  25. package/lib/templates/ecommerce/app.js +315 -0
  26. package/lib/templates/ecommerce/components.js +496 -0
  27. package/lib/templates/ecommerce/i18n.js +389 -0
  28. package/lib/templates/ecommerce/index.js +152 -0
  29. package/lib/templates/ecommerce/layout.js +270 -0
  30. package/lib/templates/ecommerce/pages.js +969 -0
  31. package/lib/templates/ecommerce/services.js +300 -0
  32. package/lib/templates/index.js +12 -0
  33. package/lib/templates/landing/index.js +1117 -0
  34. package/lib/templates/portfolio/index.js +1160 -0
  35. package/lib/templates/saas/index.js +1371 -0
  36. package/lib/templates/starter/app.js +364 -0
  37. package/lib/templates/starter/i18n.js +856 -0
  38. package/lib/templates/starter/index.js +52 -4060
  39. package/lib/templates/starter/layout.js +852 -0
  40. package/lib/templates/starter/pages.js +1241 -0
  41. package/lib/utils/nodeCompat.js +85 -0
  42. package/package.json +1 -1
  43. package/lib/templates/starter/features.js +0 -867
  44. package/lib/utils/ai-config.js +0 -641
  45. /package/lib/templates/{starter → base}/advanced-features.js +0 -0
  46. /package/lib/templates/{starter → base}/seo-assets.js +0 -0
  47. /package/lib/templates/{starter → base}/seo-features.js +0 -0
  48. /package/lib/templates/{starter → base}/ui-features.js +0 -0
package/CHANGELOG.md CHANGED
@@ -5,397 +5,152 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [3.1.0] - 2025-11-30
8
+ ## [4.1.0] - 2026-06-06
9
9
 
10
10
  ### ✨ New Features
11
11
 
12
- - **simple-git-hooks**: Added lightweight pre-commit hooks (~1KB vs Husky's ~40KB)
13
- - Runs `npm run lint` before each commit
14
- - Auto-setup via `prepare` script on `npm install`
15
- - Config stored in package.json (no separate folder)
16
- - Zero dependencies, much simpler than Husky
17
-
18
- ### 🗑️ Removed
19
-
20
- - **Husky**: Replaced Husky and lint-staged with simple-git-hooks
21
- - Removed `husky` and `lint-staged` dev dependencies
22
- - Removed `setupHusky()` method
23
- - Lighter alternative with same functionality
12
+ - **Node.js / Angular auto-compatibility**: The CLI now detects the current Node.js runtime and automatically picks the highest compatible Angular CLI release instead of always pulling `@angular/cli@latest`. This fixes the common `EBADENGINE` failure when scaffolding on a Node version below Angular 22's minimum.
13
+ - **`--ng-version <version>` flag**: New CLI flag to pin a specific Angular CLI major (e.g. `--ng-version=21`, `--ng-version=latest`). When omitted, the highest compatible version is selected automatically.
14
+ - **Friendly preflight error**: If no supported Angular version matches the current Node.js, the CLI exits early with a formatted message listing supported Node↔Angular combinations and upgrade hints — instead of forwarding npm's cryptic engine warnings.
24
15
 
25
- ## [3.0.0] - 2025-11-30
26
-
27
- ### 💥 Breaking Changes
16
+ ### 📋 Supported Angular Versions
28
17
 
29
- - **Angular CLI Alignment**: Now fully relies on Angular CLI for project configuration
30
- - Removed custom `ensureZoneJs()` method - Angular CLI handles zone.js natively
31
- - Explicitly passes `--zoneless=false` or `--zoneless=true` to Angular CLI in non-interactive mode
32
- - Projects now match exactly what `ng new` produces interactively
18
+ | Angular CLI | Required Node.js |
19
+ | ----------- | ---------------- |
20
+ | 22 (latest) | `^22.22.3 \|\| ^24.15.0 \|\| >=26.0.0` |
21
+ | 21 | `^20.19.0 \|\| ^22.12.0 \|\| >=24.0.0` |
22
+ | 20 | `^20.11.1 \|\| ^22.0.0 \|\| ^24.0.0` |
23
+ | 19 | `^18.19.1 \|\| ^20.11.1 \|\| ^22.0.0` |
33
24
 
34
- ### 🐛 Bug Fixes
25
+ ### 🏗️ Internal
35
26
 
36
- - **zone.js Configuration**: Fixed issue where zone.js was not being properly configured when selecting "No" for zoneless application
37
- - Fixes runtime error `NG0908: In this configuration Angular requires Zone.js`
38
-
39
- ## [2.2.0] - 2025-11-01
27
+ - New module `lib/utils/nodeCompat.js` containing the compatibility table, a tiny range matcher, and the resolver.
28
+ - `ProjectManager` now reads `config.angularVersion` instead of hardcoding `@latest` in the scaffold command.
40
29
 
41
- ### ✨ New Features - Comprehensive Tailwind v4 Theming System
42
-
43
- - **Complete Theme System using Tailwind v4 @theme directive**:
44
- - Added comprehensive color theming with 7 semantic color scales (primary, secondary, accent, success, danger, warning, info)
45
- - Each color includes full 50-950 scale for maximum flexibility
46
- - All colors defined using modern `@theme` directive in `styles.css`
47
- - Automatic utility class generation (bg-*, text-*, border-*, ring-*, etc.)
48
-
49
- - **Theme Customization**:
50
- - Easy customization by editing CSS custom properties in `styles.css`
51
- - Clear documentation and usage examples in theme configuration
52
- - All components automatically update when theme colors change
53
- - No JavaScript configuration needed - pure CSS approach
54
-
55
- - **Updated All Components to Use Theme Colors**:
56
- - ButtonComponent: Uses primary, secondary, and danger theme colors
57
- - ToastComponent: Uses success, danger, warning, and info colors
58
- - LoadingSpinnerComponent: Supports all theme color variants
59
- - Contact page: Gradient backgrounds using primary, secondary, and accent
60
- - Header component: Navigation and active states use primary theme
61
- - Home & About pages: Hero sections and feature cards use theme colors
62
- - Auth pages: Login, Register, Forgot Password use primary theme
63
- - Footer: Links use primary theme colors
64
-
65
- - **Developer Experience**:
66
- - Comprehensive inline documentation in `styles.css`
67
- - Usage examples for all theme colors
68
- - Clear instructions for customization
69
- - Consistent color usage across all generated components
70
-
71
- ### 🎨 Design Improvements
72
-
73
- - Replaced all hardcoded blue, cyan, red, green colors with semantic theme colors
74
- - Updated gradients to use primary-secondary-accent combinations
75
- - Error states now use danger theme color instead of hardcoded red
76
- - Success states use success theme color instead of hardcoded green
77
- - Info messages use info theme color
78
- - Warning states use warning theme color
30
+ ---
79
31
 
80
- ## [2.1.1] - 2025-10-30
32
+ ## [4.0.0] - 2025-12-25
81
33
 
82
- ### 🐛 Fixed
34
+ ### New Template
83
35
 
84
- - **SSR Hydration Error in Contact Form**: Fixed NG0500 hydration mismatch in contact component textarea
85
- - Removed whitespace between textarea opening and closing tags
86
- - Prevents "Angular expected a text node but the node was not found" error
87
- - Ensures proper SSR hydration when Server-Side Rendering is enabled
36
+ - **Dashboard Template**: Complete admin dashboard with sidebar navigation, charts, data tables, and analytics
88
37
 
89
- - **AI Config Prettier Formatting**: All AI configuration templates (CLAUDE.md, .cursorrules, .windsurfrules) now pass Prettier formatting checks automatically
90
- - Added empty lines before code blocks for proper markdown formatting
91
- - Added parentheses around arrow function parameters (arrowParens: "always")
92
- - Reordered Tailwind CSS classes according to prettier-plugin-tailwindcss
93
- - Added trailing commas in objects and arrays per Prettier config
94
- - Fixed HTML example indentation and structure
95
- - Renamed Claude file to CLAUDE.md (uppercase) to match Angular CLI convention
96
- - Scaffolded projects now pass `npm run format:check` without manual fixes
38
+ ### 📊 Template Count: 4 Total
97
39
 
98
- ## [2.1.0] - 2025-10-28
40
+ 1. **Minimal** - Clean slate (Angular + Tailwind CSS only)
41
+ 2. **Starter** - Professional foundation with auth, i18n, SEO
42
+ 3. **Dashboard** - Admin panel with charts and analytics (NEW)
99
43
 
100
- ### New Features - Simple SEO Solution
101
-
102
- - **Simple SEO Service** (Easy to use, easy to extend):
103
- - ✅ Dynamic meta tags (title, description, keywords)
104
- - ✅ Open Graph tags for social sharing (Facebook, LinkedIn)
105
- - ✅ Twitter Card tags for optimized sharing
106
- - ✅ Canonical URL management (auto-updated on route changes)
107
- - ✅ Structured data (JSON-LD) support
108
- - 🎯 **Only 2 methods**: `updateMeta()` and `addStructuredData()` - that's it!
109
- - 📝 Well-documented with clear examples
110
- - 🔧 Developers can easily extend with more features as needed
111
-
112
- - **Essential Structured Data**:
113
- - ✅ Organization schema (company info, logo, social profiles)
114
- - ✅ WebSite schema (site name, description)
115
- - 💡 Comment in code shows how to add more schemas (Article, Product, FAQ, etc.)
116
- - 🎯 Keep it simple - only what's actually being used
117
-
118
- - **SEO Assets**:
119
- - `robots.txt` - Properly configured for Angular apps with sitemap reference
120
- - Default Open Graph image (1200x630px SVG placeholder)
121
- - Complete favicon set (SVG with project initial)
122
- - Apple Touch Icon for iOS devices
123
- - Android Chrome icons (192x192 and 512x512)
124
- - Logo SVG with project branding
125
- - All placeholders include clear instructions for replacement
126
-
127
- - **Pre-Integrated & Ready to Use**:
128
- - ✅ All page components (Home, About, Contact) have SEO meta tags configured
129
- - ✅ App component includes Organization and WebSite structured data
130
- - ✅ SEO service auto-updates canonical URLs on navigation
131
- - ✅ Works seamlessly with existing i18n system
132
- - ✅ SSR-compatible for server-side rendering
133
- - ✅ TypeScript interfaces for type safety
134
- - ✅ Well-documented with JSDoc comments and usage examples
135
-
136
- ### 🧹 Maintenance
137
-
138
- - **Package Cleanup**: Removed CLAUDE.md from published package (internal development file)
44
+ ### 🎨 Dashboard Features
139
45
 
140
- ### 🐛 Fixed
46
+ - **Layout**
47
+ - Collapsible sidebar navigation with icons
48
+ - Dashboard header with user profile dropdown
49
+ - Language switcher (EN/AR) with RTL support
50
+ - Dark mode ready
51
+ - Responsive mobile-first design
141
52
 
142
- - **LICENSE Link**: Fixed LICENSE link in README to work properly on npmjs.com (changed from relative link to descriptive text)
143
- - **Directory Overwrite Flow**: Ensured consistent behavior between local and npx usage. Directory existence check now always happens AFTER configuration questions in both cases.
53
+ - **Components**
54
+ - Stats cards with icons and trend indicators
55
+ - Chart components (Bar, Line, Donut)
56
+ - Data table with sorting and pagination
57
+ - Breadcrumb navigation
144
58
 
145
- ## [2.0.2] - 2025-10-24
59
+ - **Pages**
60
+ - Overview - Dashboard home with stats and charts
61
+ - Analytics - Detailed metrics and visualizations
62
+ - Users - User management with data table
63
+ - Orders - Order tracking and management
64
+ - Settings - Application settings
146
65
 
147
- ### 📝 Documentation
66
+ - **i18n Support**
67
+ - English and Arabic translations
68
+ - RTL/LTR direction switching
69
+ - Language persistence
148
70
 
149
- - **CHANGELOG**: Added v2.0.1 and v2.0.2 entries to published package
150
- - **PUBLISHING.md**: Updated version references and simplified guidance
71
+ ### 🏗️ Architecture Improvements
151
72
 
152
- ## [2.0.1] - 2025-10-24
73
+ - **Modular Template Structure**: Templates now use modular file organization (app.js, layout.js, pages.js, components.js, charts.js, i18n.js)
74
+ - **Base Template Refactored**: Split into focused modules (services, components, infrastructure, linting, pwa)
153
75
 
154
- ### 📝 Documentation Improvements
155
-
156
- - **README Enhancements**: Removed "Related Projects" section, consolidated duplicate support sections, improved project structure documentation
157
- - **Terminal Output**: Simplified CLI output to be minimal and professional with green checkmarks and white text
158
- - **Accuracy Fixes**: Corrected pipe count from 4 to 2 (Truncate, TimeAgo) in all documentation and translations
159
- - **Better Organization**: Enhanced "Starter Template Features" section with detailed breakdown of core services, UI components, and utilities
160
-
161
- ## [2.0.0] - 2025-01-20
76
+ ---
162
77
 
163
- **Major Release with Breaking Changes** - This release includes significant updates to the CLI architecture, template system, and development workflow. Review the breaking changes and migration guide below before upgrading.
78
+ ## [3.1.0] - 2025-11-30
164
79
 
165
- ### 📈 Release Highlights
80
+ ### New Features
166
81
 
167
- - **Professional Starter Template** with 20+ production-ready features (i18n, auth UI, interceptors, services)
168
- - 🎨 **Simplified CSS-Only Approach** aligned with Tailwind v4 official recommendations
169
- - 🎯 **Enhanced User Experience** with interactive mode by default (like `ng new`)
170
- - 🔒 **Private Repository Model** focused on quality and stability
171
- - 🤖 **Advanced AI Integration** supporting 6 different AI development tools
172
- - 🎮 **Interactive UI Components** including Toast notifications, Modal dialogs, and custom directives
82
+ - **simple-git-hooks**: Lightweight pre-commit hooks (~1KB vs Husky's ~40KB)
83
+ - Runs `npm run lint` before each commit
84
+ - Auto-setup via `prepare` script
85
+ - Config in package.json
173
86
 
174
- ### 🚨 BREAKING CHANGES
87
+ ### 🗑️ Removed
175
88
 
176
- - **CSS-Only Approach**: Removed SCSS/Sass/Less support - CSS is now the only stylesheet option (aligns with Tailwind v4 official recommendations)
177
- - **Template System Redesign**: Changed template option from "none" to "minimal" for better clarity
178
- - **Interactive Mode is Default**: Removed `--interactive` flag - interactive mode is now default behavior (like `ng new`)
179
- - **Repository Now Private**: No longer accepting public contributions - package remains available on npm
89
+ - **Husky**: Replaced with simple-git-hooks
180
90
 
181
- ### 🎉 Major New Features
91
+ ---
182
92
 
183
- - 🤖 **AI Configuration Files (Tool-Specific)**
93
+ ## [3.0.0] - 2025-11-30
184
94
 
185
- - Creates `.claude/claude.md` if Claude is selected
186
- - Creates `.cursorrules` if Cursor is selected
187
- - Creates `.windsurfrules` if Windsurf is selected
188
- - Each config file includes comprehensive Angular + Tailwind guidelines
189
- - Includes project structure, tech stack, coding patterns, and examples
190
- - Works with Claude Code, Cursor, Copilot, Windsurf, Gemini, and JetBrains
191
- - ~400 lines of context for AI assistants
95
+ ### 💥 Breaking Changes
192
96
 
193
- - **HTTP Interceptors (Starter Template)**
97
+ - **Angular CLI Alignment**: Explicitly passes `--zoneless` flag to Angular CLI
98
+ - Fixes NG0908 zone.js runtime error
194
99
 
195
- - **Auth Interceptor** - Automatically adds JWT tokens to requests
196
- - **Error Interceptor** - Global error handling with toast notifications
197
- - **Loading Interceptor** - Shows/hides loading state automatically
198
- - **Caching Interceptor** - Caches GET requests (5min TTL)
199
- - All interceptors pre-configured in `app.config.ts`
100
+ ---
200
101
 
201
- - 🔔 **Toast/Notification System (Starter Template)**
102
+ ## [2.2.0] - 2025-11-01
202
103
 
203
- - `ToastService` with success, error, warning, info methods
204
- - Animated toast component with auto-dismiss
205
- - Queue management for multiple toasts
206
- - Fully integrated in root app component
104
+ ### Tailwind v4 Theming
207
105
 
208
- - 💬 **Modal/Dialog System (Starter Template)**
106
+ - Complete color theming with `@theme` directive
107
+ - 7 semantic color scales (primary, secondary, accent, success, danger, warning, info)
108
+ - All components updated to use theme colors
209
109
 
210
- - `ModalService` with confirm, alert, and custom modal support
211
- - Promise-based API for easy async handling
212
- - Configurable sizes (sm, md, lg, xl, full)
213
- - Gray semi-transparent backdrop (bg-opacity-30) for better visibility
214
- - Backdrop click and ESC key support
215
- - Full keyboard accessibility (ARIA roles, tabindex)
110
+ ---
216
111
 
217
- - 🔧 **Truncate Pipe (Starter Template)**
112
+ ## [2.1.1] - 2025-10-30
218
113
 
219
- - `TruncatePipe` - Text truncation with word boundaries and custom ellipsis
114
+ ### 🐛 Fixed
220
115
 
221
- - 🎮 **Interactive Examples on Home Page (Starter Template)**
116
+ - SSR hydration error in contact form
117
+ - AI config templates now pass Prettier checks
222
118
 
223
- - Live Toast notification examples (Success, Error, Warning, Info)
224
- - Modal dialog demonstrations (Confirm, Alert)
225
- - Practical code examples showing ToastService and ModalService usage
226
- - Helps users understand how to use included services
119
+ ---
227
120
 
228
- - **Custom Directives (Starter Template)**
121
+ ## [2.1.0] - 2025-10-28
229
122
 
230
- - `ClickOutsideDirective` - Detect clicks outside element
231
- - `TooltipDirective` - Beautiful tooltips with positioning
123
+ ### SEO Service
232
124
 
233
- - 🛠️ **Supporting Services (Starter Template)**
234
- - `LoadingService` - Reactive loading state with signals
235
- - `CacheService` - HTTP response caching with TTL
125
+ - Dynamic meta tags, Open Graph, Twitter Cards
126
+ - Structured data (JSON-LD) support
127
+ - robots.txt, favicons, OG images
236
128
 
237
- ### 🔧 Changed
129
+ ---
238
130
 
239
- - **Template Renamed**: "none" → "minimal" for better clarity
240
- - **Interactive Mode is Default**: CLI now prompts for all configuration options by default (like `ng new`)
241
- - **Repository Visibility**: Changed from public to private repository
242
- - **Package Structure**: Simplified to focus on core CLI functionality
243
- - **Documentation**: Updated all documentation to reflect private repository model
131
+ ## [2.0.0] - 2025-01-20
244
132
 
245
- ### 🗑️ Removed
133
+ ### 🚨 Breaking Changes
246
134
 
247
- - **Test Suite**: Removed `test.js` and all test-related infrastructure
248
- - **Public Contributions**: Removed CONTRIBUTING.md and contribution workflow
249
- - **GitHub Integration**: Removed repository URLs and issue tracking references
250
- - **SCSS/Sass/Less Support**: Removed preprocessor support (CSS-only approach for Tailwind v4)
135
+ - CSS-only approach (removed SCSS/Sass/Less)
136
+ - Template renamed: "none" "minimal"
137
+ - Interactive mode is now default
251
138
 
252
- ### 🐛 Fixed
139
+ ### Major Features
253
140
 
254
- - 🔧 **ESLint & TypeScript Compliance (Starter Template)**
255
-
256
- - Created proper `ModalData` interface with typed properties
257
- - Replaced `HttpResponse<any>` with `HttpResponse<unknown>` in CacheService
258
- - Removed unused imports (createComponent, ApplicationRef, EnvironmentInjector)
259
- - Fixed accessibility issues in ModalComponent (ARIA roles, keyboard handlers)
260
- - Added helper methods (`getModalType()`, `getModalMessage()`) to avoid index signature issues
261
- - Used `eslint-disable-next-line` for legitimate `any` use in Promise resolver
262
- - **Fixed Angular v20 `app.ts` ESLint error** - Added "App" to allowed component class suffixes to support Angular v20's new naming convention
263
- - All generated code now compiles and passes `ng lint` without errors
264
-
265
- - 📝 **Template Renamed: "none" → "minimal"**
266
-
267
- - Better clarity: "Minimal" describes clean Angular + Tailwind starter
268
- - Updated CLI descriptions to show feature differences
269
- - All documentation and prompts updated
270
-
271
- - 🎨 **Starter Template Enhanced**
272
-
273
- - Updated feature list in CLI with all new capabilities
274
- - Now shows: "Professional foundation (routing, i18n, auth UI, components, services, interceptors)"
275
- - Feature count increased from 15 to 20+ features
276
-
277
- - 🎯 **CSS-Only Approach (Tailwind v4 Official)** 🚨 **BREAKING CHANGE**
278
-
279
- - **Removed SCSS/Sass/Less support** - CSS is now the only stylesheet option
280
- - Aligns with **Tailwind CSS v4 official recommendations** (v4 doesn't support preprocessors)
281
- - Removed `--style` CLI option
282
- - Removed stylesheet format prompt from interactive mode
283
- - Always uses CSS with modern features (nesting, variables)
284
- - Simpler, faster builds with PostCSS + LightningCSS
285
- - Migration note: If you need SCSS, use Tailwind CSS v3 or migrate to modern CSS
286
-
287
- - 🎯 **Interactive Mode is Now Default** (Like `ng new`)
288
- - CLI now prompts for all configuration options by default
289
- - Removed `--interactive` flag (interactive is now the default behavior)
290
- - Questions asked in order:
291
- 1. Project name (if not provided)
292
- 2. Template (None or Starter)
293
- 3. Enable SSR? (Server-Side Rendering)
294
- 4. Enable Zoneless? (without zone.js)
295
- 5. AI tools to configure (None, Claude, Cursor, Gemini, Copilot, JetBrains, Windsurf) - **Multiple selection supported**
296
- - All prompts can be skipped by providing values via CLI flags
297
- - Example: `npx create-ng-tailwind my-app --template=starter`
298
-
299
- ### Added
300
-
301
- - 🎨 **New CLI Options**:
302
- - `--routing` / `--no-routing` - Enable/disable Angular routing
303
- - `--ssr` - Enable Server-Side Rendering
304
- - `--zoneless` - Create zoneless application
305
- - `--ai-config <tools>` - Configure AI tools (delegated to Angular CLI)
306
- - 🌍 **i18n Translation Support** (Starter template)
307
- - Full English and Arabic translations
308
- - Reactive language switcher in header (desktop & mobile)
309
- - RTL (Right-to-Left) support for Arabic
310
- - Auto-detects browser language
311
- - Saves language preference to localStorage
312
- - Uses `@ngx-translate` with HTTP loader
313
- - Translation files in `public/assets/i18n/`
314
- - All components, pages, and UI elements translated
315
- - 📁 **Assets now in `public/assets/`** instead of `src/assets/`
316
- - Translation files: `public/assets/i18n/`
317
- - Images: `public/assets/images/`
318
- - Removed empty `src/styles/` folder
319
-
320
- ### Improved
321
-
322
- - Better user experience: Interactive prompts guide users through setup like `ng new`
323
- - More discoverable: Users see all available options during setup
324
- - Proper Angular project structure with assets in public folder
325
- - Fast mode available for CI/CD by providing all options via flags
326
- - AI configuration delegated to Angular CLI for native support and updates
327
-
328
- ### 📊 Migration Guide from v1.x to v2.0
329
-
330
- #### Breaking Changes Impact:
331
-
332
- 1. **CSS-Only Approach**:
333
-
334
- - **Before (v1.x)**: `--style` flag supported css, scss, sass, less
335
- - **After (v2.0)**: Only CSS is supported (--style flag removed)
336
- - **Migration**: If you need SCSS, continue using v1.x or migrate to modern CSS
337
-
338
- 2. **Template Names**:
339
-
340
- - **Before (v1.x)**: `--template=none`
341
- - **After (v2.0)**: `--template=minimal`
342
- - **Migration**: Update scripts to use `minimal` instead of `none`
343
-
344
- 3. **Interactive Mode**:
345
-
346
- - **Before (v1.x)**: Non-interactive by default, `--interactive` flag to enable
347
- - **After (v2.0)**: Interactive by default, provide all flags to skip prompts
348
- - **Migration**: Add all required flags to CI/CD scripts for non-interactive mode
349
-
350
- 4. **Repository & Support**:
351
- - **Before (v1.x)**: Public repository accepting contributions
352
- - **After (v2.0)**: Private repository, email-based support only
353
- - **Migration**: Contact via email for support (tehseen_ullah786@hotmail.com)
354
-
355
- #### Recommended Update Command:
356
-
357
- ```bash
358
- # Update to v2.0.0
359
- npx create-ng-tailwind@latest my-app --template=minimal
360
-
361
- # Or with starter template (recommended)
362
- npx create-ng-tailwind@latest my-app --template=starter
363
- ```
141
+ - AI configuration files (Claude, Cursor, Windsurf)
142
+ - HTTP interceptors (Auth, Error, Loading, Caching)
143
+ - Toast & Modal systems
144
+ - i18n with RTL support
145
+ - Custom directives (ClickOutside, Tooltip)
364
146
 
365
147
  ---
366
148
 
367
149
  ## [1.0.0] - 2025-09-03
368
150
 
369
- ### Added
370
-
371
- - 🚀 Initial release of create-ng-tailwind CLI
372
- - Angular 20 project scaffolding with Tailwind preconfigured
373
- - 🎨 Modern Tailwind setup using `@tailwindcss/postcss`
374
- - 📋 Interactive mode (`--interactive`) with guided prompts
375
- - ⚡ Fast non-interactive mode with best practice defaults
376
- - 🛠️ Traditional Angular file naming (`*.component.*`)
377
- - 🔧 Comprehensive CLI options:
378
- - Angular routing (enabled by default)
379
- - Server-Side Rendering (SSR) support
380
- - Zoneless application support
381
- - AI tools configuration
382
- - 🎯 Beautiful starter templates with Tailwind examples
383
- - 📱 Responsive design examples
384
- - 📚 Professional documentation
385
-
386
- ### Features
387
-
388
- - **Best Practice Defaults**: CSS + Routing + No AI tools
389
- - **Zero Configuration**: Works out of the box
390
- - **Professional Setup**: Traditional Angular file structure
391
- - **Modern Tooling**: Latest Angular and Tailwind versions
392
- - **Cross-Platform**: Windows, macOS, and Linux support
393
-
394
- ## [Unreleased]
395
-
396
- ### Planned
397
-
398
- - Angular schematic support (`ng add`)
399
- - UI library integrations
400
- - Authentication boilerplates
401
- - Docker setup
151
+ ### 🚀 Initial Release
152
+
153
+ - Angular 20 + Tailwind CSS v4 scaffolding
154
+ - Interactive CLI with guided prompts
155
+ - SSR and zoneless support
156
+ - AI tools configuration