svgfusion-cmd 1.7.1 → 1.9.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SVGFusion CLI
2
2
 
3
- 🚀 Command-line interface for converting SVG files into production-ready React and Vue 3 components with TypeScript support and batch processing capabilities.
3
+ Command-line interface for converting SVG files into production-ready React, Vue 3, and React Native components with TypeScript support and batch processing capabilities.
4
4
 
5
5
  ## Installation
6
6
 
@@ -19,6 +19,9 @@ svgfusion-cmd input.svg --output ./components --framework react
19
19
  # Batch convert all SVGs in a directory
20
20
  svgfusion-cmd ./icons --output ./components --framework vue --typescript
21
21
 
22
+ # Convert SVGs to React Native components (uses react-native-svg)
23
+ svgfusion-cmd ./icons --output ./components --framework react-native --typescript
24
+
22
25
  # Watch mode for development
23
26
  svgfusion-cmd ./icons --output ./components --watch
24
27
  ```
@@ -27,7 +30,7 @@ svgfusion-cmd ./icons --output ./components --watch
27
30
 
28
31
  - **Batch Processing** - Convert entire directories of SVG files
29
32
  - **Fast & Efficient** - Optimized for large-scale conversions
30
- - **Framework Support** - React and Vue 3 components
33
+ - **Framework Support** - React, Vue 3, and React Native components
31
34
  - **TypeScript Ready** - Generate .tsx/.ts files with full type support
32
35
  - **Watch Mode** - Automatically convert files on changes
33
36
  - **Customizable** - Extensive configuration options
@@ -55,15 +58,15 @@ svgfusion-cmd ./icons --framework react --watch --output ./components
55
58
 
56
59
  ### Options
57
60
 
58
- | Option | Alias | Description | Default |
59
- | -------------- | ----- | ----------------------------- | ---------- |
60
- | `--framework` | `-f` | Target framework (react, vue) | `react` |
61
- | `--output` | `-o` | Output directory | `./output` |
62
- | `--typescript` | `-t` | Generate TypeScript files | `false` |
63
- | `--watch` | `-w` | Watch for file changes | `false` |
64
- | `--config` | `-c` | Configuration file path | - |
65
- | `--help` | `-h` | Show help | - |
66
- | `--version` | `-v` | Show version | - |
61
+ | Option | Alias | Description | Default |
62
+ | -------------- | ----- | ------------------------------------------- | ---------- |
63
+ | `--framework` | `-f` | Target framework (react, vue, react-native) | `react` |
64
+ | `--output` | `-o` | Output directory | `./output` |
65
+ | `--typescript` | `-t` | Generate TypeScript files | `false` |
66
+ | `--watch` | `-w` | Watch for file changes | `false` |
67
+ | `--config` | `-c` | Configuration file path | - |
68
+ | `--help` | `-h` | Show help | - |
69
+ | `--version` | `-v` | Show version | - |
67
70
 
68
71
  ### Configuration File
69
72