create-ng-tailwind 3.1.0 → 4.0.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.
- package/CHANGELOG.md +81 -350
- package/README.md +93 -157
- package/lib/cli/index.js +29 -3
- package/lib/cli/interactive.js +26 -1
- package/lib/managers/ProjectManager.js +0 -4
- package/lib/templates/base/components.js +243 -0
- package/lib/templates/base/index.js +207 -0
- package/lib/templates/base/infrastructure.js +314 -0
- package/lib/templates/base/linting.js +359 -0
- package/lib/templates/base/pwa.js +103 -0
- package/lib/templates/base/services.js +362 -0
- package/lib/templates/blog/app.js +250 -0
- package/lib/templates/blog/components.js +360 -0
- package/lib/templates/blog/i18n.js +77 -0
- package/lib/templates/blog/index.js +126 -0
- package/lib/templates/blog/pages.js +554 -0
- package/lib/templates/blog/services.js +390 -0
- package/lib/templates/dashboard/app.js +320 -0
- package/lib/templates/dashboard/charts.js +305 -0
- package/lib/templates/dashboard/components.js +410 -0
- package/lib/templates/dashboard/i18n.js +340 -0
- package/lib/templates/dashboard/index.js +141 -0
- package/lib/templates/dashboard/layout.js +310 -0
- package/lib/templates/dashboard/pages.js +681 -0
- package/lib/templates/ecommerce/app.js +315 -0
- package/lib/templates/ecommerce/components.js +496 -0
- package/lib/templates/ecommerce/i18n.js +389 -0
- package/lib/templates/ecommerce/index.js +152 -0
- package/lib/templates/ecommerce/layout.js +270 -0
- package/lib/templates/ecommerce/pages.js +969 -0
- package/lib/templates/ecommerce/services.js +300 -0
- package/lib/templates/index.js +12 -0
- package/lib/templates/landing/index.js +1117 -0
- package/lib/templates/portfolio/index.js +1160 -0
- package/lib/templates/saas/index.js +1371 -0
- package/lib/templates/starter/app.js +364 -0
- package/lib/templates/starter/i18n.js +856 -0
- package/lib/templates/starter/index.js +52 -4060
- package/lib/templates/starter/layout.js +852 -0
- package/lib/templates/starter/pages.js +1241 -0
- package/package.json +1 -1
- package/lib/templates/starter/features.js +0 -867
- package/lib/utils/ai-config.js +0 -641
- /package/lib/templates/{starter → base}/advanced-features.js +0 -0
- /package/lib/templates/{starter → base}/seo-assets.js +0 -0
- /package/lib/templates/{starter → base}/seo-features.js +0 -0
- /package/lib/templates/{starter → base}/ui-features.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,397 +5,128 @@ 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
|
-
## [
|
|
9
|
-
|
|
10
|
-
### ✨ New Features
|
|
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
|
|
24
|
-
|
|
25
|
-
## [3.0.0] - 2025-11-30
|
|
26
|
-
|
|
27
|
-
### 💥 Breaking Changes
|
|
28
|
-
|
|
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
|
|
33
|
-
|
|
34
|
-
### 🐛 Bug Fixes
|
|
35
|
-
|
|
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
|
|
40
|
-
|
|
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
|
|
79
|
-
|
|
80
|
-
## [2.1.1] - 2025-10-30
|
|
81
|
-
|
|
82
|
-
### 🐛 Fixed
|
|
83
|
-
|
|
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
|
|
8
|
+
## [4.0.0] - 2025-12-25
|
|
88
9
|
|
|
89
|
-
|
|
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
|
|
10
|
+
### ✨ New Template
|
|
97
11
|
|
|
98
|
-
|
|
12
|
+
- **Dashboard Template**: Complete admin dashboard with sidebar navigation, charts, data tables, and analytics
|
|
99
13
|
|
|
100
|
-
###
|
|
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)
|
|
14
|
+
### 📊 Template Count: 4 Total
|
|
139
15
|
|
|
140
|
-
|
|
16
|
+
1. **Minimal** - Clean slate (Angular + Tailwind CSS only)
|
|
17
|
+
2. **Starter** - Professional foundation with auth, i18n, SEO
|
|
18
|
+
3. **Dashboard** - Admin panel with charts and analytics (NEW)
|
|
141
19
|
|
|
142
|
-
|
|
143
|
-
- **Directory Overwrite Flow**: Ensured consistent behavior between local and npx usage. Directory existence check now always happens AFTER configuration questions in both cases.
|
|
20
|
+
### 🎨 Dashboard Features
|
|
144
21
|
|
|
145
|
-
|
|
22
|
+
- **Layout**
|
|
23
|
+
- Collapsible sidebar navigation with icons
|
|
24
|
+
- Dashboard header with user profile dropdown
|
|
25
|
+
- Language switcher (EN/AR) with RTL support
|
|
26
|
+
- Dark mode ready
|
|
27
|
+
- Responsive mobile-first design
|
|
146
28
|
|
|
147
|
-
|
|
29
|
+
- **Components**
|
|
30
|
+
- Stats cards with icons and trend indicators
|
|
31
|
+
- Chart components (Bar, Line, Donut)
|
|
32
|
+
- Data table with sorting and pagination
|
|
33
|
+
- Breadcrumb navigation
|
|
148
34
|
|
|
149
|
-
- **
|
|
150
|
-
-
|
|
35
|
+
- **Pages**
|
|
36
|
+
- Overview - Dashboard home with stats and charts
|
|
37
|
+
- Analytics - Detailed metrics and visualizations
|
|
38
|
+
- Users - User management with data table
|
|
39
|
+
- Orders - Order tracking and management
|
|
40
|
+
- Settings - Application settings
|
|
151
41
|
|
|
152
|
-
|
|
42
|
+
- **i18n Support**
|
|
43
|
+
- English and Arabic translations
|
|
44
|
+
- RTL/LTR direction switching
|
|
45
|
+
- Language persistence
|
|
153
46
|
|
|
154
|
-
###
|
|
47
|
+
### 🏗️ Architecture Improvements
|
|
155
48
|
|
|
156
|
-
- **
|
|
157
|
-
- **
|
|
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
|
|
49
|
+
- **Modular Template Structure**: Templates now use modular file organization (app.js, layout.js, pages.js, components.js, charts.js, i18n.js)
|
|
50
|
+
- **Base Template Refactored**: Split into focused modules (services, components, infrastructure, linting, pwa)
|
|
160
51
|
|
|
161
|
-
|
|
52
|
+
---
|
|
162
53
|
|
|
163
|
-
|
|
54
|
+
## [3.1.0] - 2025-11-30
|
|
164
55
|
|
|
165
|
-
###
|
|
56
|
+
### ✨ New Features
|
|
166
57
|
|
|
167
|
-
-
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
-
|
|
171
|
-
- 🤖 **Advanced AI Integration** supporting 6 different AI development tools
|
|
172
|
-
- 🎮 **Interactive UI Components** including Toast notifications, Modal dialogs, and custom directives
|
|
58
|
+
- **simple-git-hooks**: Lightweight pre-commit hooks (~1KB vs Husky's ~40KB)
|
|
59
|
+
- Runs `npm run lint` before each commit
|
|
60
|
+
- Auto-setup via `prepare` script
|
|
61
|
+
- Config in package.json
|
|
173
62
|
|
|
174
|
-
###
|
|
63
|
+
### 🗑️ Removed
|
|
175
64
|
|
|
176
|
-
- **
|
|
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
|
|
65
|
+
- **Husky**: Replaced with simple-git-hooks
|
|
180
66
|
|
|
181
|
-
|
|
67
|
+
---
|
|
182
68
|
|
|
183
|
-
|
|
69
|
+
## [3.0.0] - 2025-11-30
|
|
184
70
|
|
|
185
|
-
|
|
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
|
|
71
|
+
### 💥 Breaking Changes
|
|
192
72
|
|
|
193
|
-
-
|
|
73
|
+
- **Angular CLI Alignment**: Explicitly passes `--zoneless` flag to Angular CLI
|
|
74
|
+
- Fixes NG0908 zone.js runtime error
|
|
194
75
|
|
|
195
|
-
|
|
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`
|
|
76
|
+
---
|
|
200
77
|
|
|
201
|
-
|
|
78
|
+
## [2.2.0] - 2025-11-01
|
|
202
79
|
|
|
203
|
-
|
|
204
|
-
- Animated toast component with auto-dismiss
|
|
205
|
-
- Queue management for multiple toasts
|
|
206
|
-
- Fully integrated in root app component
|
|
80
|
+
### ✨ Tailwind v4 Theming
|
|
207
81
|
|
|
208
|
-
-
|
|
82
|
+
- Complete color theming with `@theme` directive
|
|
83
|
+
- 7 semantic color scales (primary, secondary, accent, success, danger, warning, info)
|
|
84
|
+
- All components updated to use theme colors
|
|
209
85
|
|
|
210
|
-
|
|
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)
|
|
86
|
+
---
|
|
216
87
|
|
|
217
|
-
|
|
88
|
+
## [2.1.1] - 2025-10-30
|
|
218
89
|
|
|
219
|
-
|
|
90
|
+
### 🐛 Fixed
|
|
220
91
|
|
|
221
|
-
-
|
|
92
|
+
- SSR hydration error in contact form
|
|
93
|
+
- AI config templates now pass Prettier checks
|
|
222
94
|
|
|
223
|
-
|
|
224
|
-
- Modal dialog demonstrations (Confirm, Alert)
|
|
225
|
-
- Practical code examples showing ToastService and ModalService usage
|
|
226
|
-
- Helps users understand how to use included services
|
|
95
|
+
---
|
|
227
96
|
|
|
228
|
-
|
|
97
|
+
## [2.1.0] - 2025-10-28
|
|
229
98
|
|
|
230
|
-
|
|
231
|
-
- `TooltipDirective` - Beautiful tooltips with positioning
|
|
99
|
+
### ✨ SEO Service
|
|
232
100
|
|
|
233
|
-
-
|
|
234
|
-
|
|
235
|
-
|
|
101
|
+
- Dynamic meta tags, Open Graph, Twitter Cards
|
|
102
|
+
- Structured data (JSON-LD) support
|
|
103
|
+
- robots.txt, favicons, OG images
|
|
236
104
|
|
|
237
|
-
|
|
105
|
+
---
|
|
238
106
|
|
|
239
|
-
|
|
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
|
|
107
|
+
## [2.0.0] - 2025-01-20
|
|
244
108
|
|
|
245
|
-
###
|
|
109
|
+
### 🚨 Breaking Changes
|
|
246
110
|
|
|
247
|
-
-
|
|
248
|
-
-
|
|
249
|
-
-
|
|
250
|
-
- **SCSS/Sass/Less Support**: Removed preprocessor support (CSS-only approach for Tailwind v4)
|
|
111
|
+
- CSS-only approach (removed SCSS/Sass/Less)
|
|
112
|
+
- Template renamed: "none" → "minimal"
|
|
113
|
+
- Interactive mode is now default
|
|
251
114
|
|
|
252
|
-
###
|
|
115
|
+
### ✨ Major Features
|
|
253
116
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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
|
-
```
|
|
117
|
+
- AI configuration files (Claude, Cursor, Windsurf)
|
|
118
|
+
- HTTP interceptors (Auth, Error, Loading, Caching)
|
|
119
|
+
- Toast & Modal systems
|
|
120
|
+
- i18n with RTL support
|
|
121
|
+
- Custom directives (ClickOutside, Tooltip)
|
|
364
122
|
|
|
365
123
|
---
|
|
366
124
|
|
|
367
125
|
## [1.0.0] - 2025-09-03
|
|
368
126
|
|
|
369
|
-
###
|
|
370
|
-
|
|
371
|
-
-
|
|
372
|
-
-
|
|
373
|
-
-
|
|
374
|
-
-
|
|
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
|
|
127
|
+
### 🚀 Initial Release
|
|
128
|
+
|
|
129
|
+
- Angular 20 + Tailwind CSS v4 scaffolding
|
|
130
|
+
- Interactive CLI with guided prompts
|
|
131
|
+
- SSR and zoneless support
|
|
132
|
+
- AI tools configuration
|