@wire-dsl/cli 0.2.0 → 0.2.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/LICENSE +0 -15
- package/README.md +22 -10
- 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
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
-
- 📱 **
|
|
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.
|
|
3
|
+
"version": "0.2.2",
|
|
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
|
|
39
|
-
"@wire-dsl/exporters": "0.0.
|
|
38
|
+
"@wire-dsl/engine": "0.1.0",
|
|
39
|
+
"@wire-dsl/exporters": "0.0.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "25.2.0",
|