create-template-html-css 2.0.1 → 2.0.2
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 +22 -0
- package/bin/cli.js +34 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ 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
|
+
## [2.0.2] - 2026-02-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Added all 16 game templates to CLI interactive prompts (create and insert commands)
|
|
12
|
+
- Users can now select game templates from the interactive menu
|
|
13
|
+
- Previously only accessible via command flags
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- CLI now shows all 46 templates in interactive mode with 🎮 emoji for games
|
|
17
|
+
|
|
18
|
+
## [2.0.1] - 2026-02-05
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- Interactive component gallery (COMPONENTS-GALLERY.html)
|
|
22
|
+
- Search functionality in gallery
|
|
23
|
+
- Copy-to-clipboard buttons for all commands
|
|
24
|
+
- Modern responsive design with animations
|
|
25
|
+
- Author credit updated
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
- Updated .npmignore to exclude demo-games and .tgz files
|
|
29
|
+
|
|
8
30
|
## [2.0.0] - 2026-02-05
|
|
9
31
|
|
|
10
32
|
### Added
|
package/bin/cli.js
CHANGED
|
@@ -179,6 +179,23 @@ program
|
|
|
179
179
|
{ name: "Counter (Click Handlers)", value: "counter" },
|
|
180
180
|
{ name: "Accordion (Toggle Content)", value: "accordion" },
|
|
181
181
|
{ name: "Tabs (Switch Sections)", value: "tabs" },
|
|
182
|
+
new inquirer.Separator(chalk.gray("─ Interactive Games")),
|
|
183
|
+
{ name: "🎮 Tic-Tac-Toe", value: "tic-tac-toe" },
|
|
184
|
+
{ name: "🎮 Memory Game", value: "memory-game" },
|
|
185
|
+
{ name: "🎮 Snake Game", value: "snake-game" },
|
|
186
|
+
{ name: "🎮 Guess Number", value: "guess-number" },
|
|
187
|
+
{ name: "🎮 2048", value: "game-2048" },
|
|
188
|
+
{ name: "🎮 Whack-a-Mole", value: "whack-a-mole" },
|
|
189
|
+
{ name: "🎮 Simon Says", value: "simon-says" },
|
|
190
|
+
{ name: "🎮 Rock-Paper-Scissors", value: "rock-paper-scissors" },
|
|
191
|
+
{ name: "🎮 Breakout", value: "breakout" },
|
|
192
|
+
{ name: "🎮 Tetris", value: "tetris" },
|
|
193
|
+
{ name: "🎮 Flappy Bird", value: "flappy-bird" },
|
|
194
|
+
{ name: "🎮 Connect Four", value: "connect-four" },
|
|
195
|
+
{ name: "🎮 Blackjack", value: "blackjack" },
|
|
196
|
+
{ name: "🎮 Slot Machine", value: "slot-machine" },
|
|
197
|
+
{ name: "🎮 Dice Game", value: "dice-game" },
|
|
198
|
+
{ name: "🎮 Pong", value: "pong" },
|
|
182
199
|
],
|
|
183
200
|
},
|
|
184
201
|
{
|
|
@@ -555,6 +572,23 @@ program
|
|
|
555
572
|
{ name: "Counter", value: "counter" },
|
|
556
573
|
{ name: "Accordion", value: "accordion" },
|
|
557
574
|
{ name: "Tabs", value: "tabs" },
|
|
575
|
+
new inquirer.Separator(chalk.gray("─ Interactive Games")),
|
|
576
|
+
{ name: "🎮 Tic-Tac-Toe", value: "tic-tac-toe" },
|
|
577
|
+
{ name: "🎮 Memory Game", value: "memory-game" },
|
|
578
|
+
{ name: "🎮 Snake Game", value: "snake-game" },
|
|
579
|
+
{ name: "🎮 Guess Number", value: "guess-number" },
|
|
580
|
+
{ name: "🎮 2048", value: "game-2048" },
|
|
581
|
+
{ name: "🎮 Whack-a-Mole", value: "whack-a-mole" },
|
|
582
|
+
{ name: "🎮 Simon Says", value: "simon-says" },
|
|
583
|
+
{ name: "🎮 Rock-Paper-Scissors", value: "rock-paper-scissors" },
|
|
584
|
+
{ name: "🎮 Breakout", value: "breakout" },
|
|
585
|
+
{ name: "🎮 Tetris", value: "tetris" },
|
|
586
|
+
{ name: "🎮 Flappy Bird", value: "flappy-bird" },
|
|
587
|
+
{ name: "🎮 Connect Four", value: "connect-four" },
|
|
588
|
+
{ name: "🎮 Blackjack", value: "blackjack" },
|
|
589
|
+
{ name: "🎮 Slot Machine", value: "slot-machine" },
|
|
590
|
+
{ name: "🎮 Dice Game", value: "dice-game" },
|
|
591
|
+
{ name: "🎮 Pong", value: "pong" },
|
|
558
592
|
],
|
|
559
593
|
},
|
|
560
594
|
{
|