Skip to content

Commit a05ee97

Browse files
v1.0.5: Fix CLI output option and remove deprecated toast component
- Fixed -o/--output CLI option mapping to properly generate JSON at custom locations - Removed deprecated 'toast' component from SHADCN_COMPONENTS (use 'sonner' instead) - Updated CLI version display to 1.0.5 - All tests passing with 19 component files processed
1 parent d8ffd71 commit a05ee97

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,22 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.0.4] - 2025-06-07
8+
## [1.0.5] - 2025-06-07
99

1010
### Fixed
1111

1212
- **CLI Output Option**: Fixed `-o, --output` option in `generate` command not working correctly
1313
- The `-o` option now properly generates the JSON file at the specified custom location
1414
- Improved CLI option mapping between command line arguments and generator options
1515

16+
### Removed
17+
18+
- **Deprecated Toast Component**: Removed `toast` from SHADCN_COMPONENTS constants
19+
- `toast` has been deprecated in shadcn/ui in favor of `sonner` component
20+
- Updated component detection to reflect current shadcn/ui component library
21+
22+
## [1.0.4] - 2025-06-07
23+
1624
### Enhanced
1725

1826
- **GitHub Packages Support**: Added publishing to GitHub Packages registry

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prathamesh-chougale-17/shadiff",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Generate shadcn/ui registry JSON for your project",
55
"type": "module",
66
"main": "dist/index.js",

src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const program = new Command();
1111
program
1212
.name("shadiff")
1313
.description("Generate shadcn/ui registry JSON for your project")
14-
.version("1.0.4");
14+
.version("1.0.5");
1515

1616
program
1717
.command("generate")

0 commit comments

Comments
 (0)