@wire-dsl/cli 0.2.0 → 0.2.1

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 (3) hide show
  1. package/LICENSE +0 -15
  2. package/README.md +22 -10
  3. package/package.json +3 -3
package/LICENSE CHANGED
@@ -19,18 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
-
23
- ---
24
-
25
- ## Third-Party Components & Assets
26
-
27
- ### Feather Icons
28
-
29
- This project includes icons from Feather Icons (https://feathericons.com), created by Cole Bemis and contributors.
30
-
31
- - **License**: MIT License
32
- - **Repository**: https://github.com/feathericons/feather
33
- - **Location in project**: `packages/core/src/renderer/icons/`
34
- - **Full details**: See `packages/core/src/renderer/icons/ICONS-LICENSE.md`
35
-
36
- Feather Icons are used under the terms of the MIT License, which is fully compatible with this project's MIT License.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @wire-dsl/cli
2
2
 
3
- Command-line interface for Wire-DSL. Transform `.wire` DSL files into interactive wireframes, components, and releases.
3
+ Command-line interface for Wire-DSL. Transform `.wire` DSL files into SVG, PNG, and PDF wireframes.
4
4
 
5
5
  ## Installation
6
6
 
@@ -66,14 +66,26 @@ Wire-DSL is a **block-declarative Domain-Specific Language** for creating intera
66
66
  Write wireframes like this:
67
67
 
68
68
  ```wire
69
- screen "Dashboard" {
70
- layout grid(columns: 2, gap: 16) {
71
- layout card(padding: lg, gap: md, border: true) {
72
- component StatCard title: "Q4 Revenue" value: "$2.5M"
73
- }
74
-
75
- layout card(padding: lg, gap: md, border: true) {
76
- component StatCard title: "Active Users" value: "1.2K"
69
+ project "Dashboard" {
70
+ theme {
71
+ density: "normal"
72
+ spacing: "md"
73
+ radius: "md"
74
+ stroke: "normal"
75
+ font: "base"
76
+ }
77
+ screen Dashboard {
78
+ layout grid(columns: 2, gap: md) {
79
+ cell span: 1 {
80
+ layout card(padding: lg, gap: md, radius: md, border: true) {
81
+ component StatCard title: "Q4 Revenue" value: "$2.5M"
82
+ }
83
+ }
84
+ cell span: 1 {
85
+ layout card(padding: lg, gap: md, radius: md, border: true) {
86
+ component StatCard title: "Active Users" value: "1.2K"
87
+ }
88
+ }
77
89
  }
78
90
  }
79
91
  }
@@ -82,7 +94,7 @@ screen "Dashboard" {
82
94
  ## Features
83
95
 
84
96
  - 🎯 **Block-declarative syntax** - Intuitive, structured definitions
85
- - 📱 **23 UI components** - Buttons, forms, cards, modals, and more
97
+ - 📱 **30+ UI components** - Buttons, forms, cards, modals, and more
86
98
  - 🎨 **Theming support** - Customize colors, typography, spacing
87
99
  - 🔄 **Responsive layouts** - Grid, Stack, Split containers
88
100
  - ⚡ **Fast compilation** - Powered by Chevrotain parser
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wire-dsl/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "WireDSL CLI - Command-line tool for wireframe generation and validation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,8 +35,8 @@
35
35
  "chalk": "5.6.2",
36
36
  "commander": "14.0.3",
37
37
  "ora": "9.1.0",
38
- "@wire-dsl/engine": "0.0.2",
39
- "@wire-dsl/exporters": "0.0.2"
38
+ "@wire-dsl/engine": "0.0.3",
39
+ "@wire-dsl/exporters": "0.0.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "25.2.0",