@volue/wave-cli 0.1.1-next.2 → 0.1.2-next.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/CHANGELOG.md +5 -0
- package/README.md +16 -28
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
4
4
|
|
|
5
5
|
<!-- MONOWEAVE:BELOW -->
|
|
6
6
|
|
|
7
|
+
## [0.1.1](https://github.com/Volue/wave/compare/@volue/wave-cli@0.1.0...@volue/wave-cli@0.1.1) "@volue/wave-cli" (2026-02-12)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
7
12
|
## [0.1.0](https://github.com/Volue/wave/compare/@volue/wave-cli@0.0.0...@volue/wave-cli@0.1.0) "@volue/wave-cli" (2026-01-28)
|
|
8
13
|
|
|
9
14
|
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> [!NOTE]
|
|
4
4
|
> Experimental. Feedback welcome.
|
|
5
5
|
|
|
6
|
-
A simple CLI
|
|
6
|
+
A simple CLI tool for working with Wave Design System.
|
|
7
7
|
|
|
8
8
|
## CLI Usage
|
|
9
9
|
|
|
@@ -38,75 +38,63 @@ npx @volue/wave-cli media --json
|
|
|
38
38
|
|
|
39
39
|
## Claude Code Plugin
|
|
40
40
|
|
|
41
|
-
This
|
|
41
|
+
This CLI primarily serves as a tool for the [Wave Claude Code plugin](https://github.com/Volue/ai-skills) with skills and agents for AI-assisted development. This plugin can be used as an alternative to the [Wave MCP server](../mcp#readme).
|
|
42
42
|
|
|
43
43
|
### Installation
|
|
44
44
|
|
|
45
|
-
#### Quick Install
|
|
46
|
-
|
|
47
45
|
```bash
|
|
48
46
|
# Add the marketplace (run inside Claude Code)
|
|
49
|
-
/plugin marketplace add volue/
|
|
47
|
+
/plugin marketplace add volue/ai-skills
|
|
50
48
|
|
|
51
|
-
# Install the plugin
|
|
52
|
-
/plugin install wave@
|
|
49
|
+
# Install the Wave plugin
|
|
50
|
+
/plugin install wave@volue
|
|
53
51
|
```
|
|
54
52
|
|
|
55
53
|
Or using the CLI outside of Claude Code:
|
|
56
54
|
|
|
57
55
|
```bash
|
|
58
|
-
claude plugin marketplace add volue/
|
|
59
|
-
claude plugin install wave@
|
|
56
|
+
claude plugin marketplace add volue/ai-skills
|
|
57
|
+
claude plugin install wave@volue
|
|
60
58
|
```
|
|
61
59
|
|
|
62
60
|
> [!NOTE]
|
|
63
61
|
> There's currently a [bug in Claude Code](https://github.com/anthropics/claude-code/issues/15791) where plugins installed at project level (`--scope project`) in one repo won't appear in the install list for other repos.
|
|
64
62
|
|
|
65
|
-
|
|
63
|
+
### Team Setup (optional)
|
|
66
64
|
|
|
67
65
|
To have team members automatically prompted to install the plugin, add to `.claude/settings.json`:
|
|
68
66
|
|
|
69
67
|
```json
|
|
70
68
|
{
|
|
71
69
|
"extraKnownMarketplaces": {
|
|
72
|
-
"
|
|
70
|
+
"volue": {
|
|
73
71
|
"source": {
|
|
74
72
|
"source": "github",
|
|
75
|
-
"repo": "volue/
|
|
73
|
+
"repo": "volue/ai-skills"
|
|
76
74
|
}
|
|
77
75
|
}
|
|
78
76
|
},
|
|
79
77
|
"enabledPlugins": {
|
|
80
|
-
"wave@
|
|
78
|
+
"wave@volue": true
|
|
81
79
|
}
|
|
82
80
|
}
|
|
83
81
|
```
|
|
84
82
|
|
|
85
|
-
|
|
83
|
+
### Manage the Plugin
|
|
86
84
|
|
|
87
85
|
```bash
|
|
88
86
|
# View installed plugins
|
|
89
87
|
/plugin
|
|
90
88
|
|
|
91
89
|
# Disable without uninstalling
|
|
92
|
-
/plugin disable wave@
|
|
90
|
+
/plugin disable wave@volue
|
|
93
91
|
|
|
94
92
|
# Re-enable
|
|
95
|
-
/plugin enable wave@
|
|
93
|
+
/plugin enable wave@volue
|
|
96
94
|
|
|
97
95
|
# Uninstall completely
|
|
98
|
-
/plugin uninstall wave@
|
|
96
|
+
/plugin uninstall wave@volue
|
|
99
97
|
|
|
100
98
|
# Update to latest version
|
|
101
|
-
/plugin marketplace update
|
|
99
|
+
/plugin marketplace update volue
|
|
102
100
|
```
|
|
103
|
-
|
|
104
|
-
### Skills
|
|
105
|
-
|
|
106
|
-
- `wave-docs` - Wave documentation lookup
|
|
107
|
-
- `wave-icons` - Icon lookup and usage guidance
|
|
108
|
-
- `wave-styling` - Styling APIs and design token usage
|
|
109
|
-
|
|
110
|
-
### Agents
|
|
111
|
-
|
|
112
|
-
- `wave-docs-explorer` - Explore and search Wave documentation
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var w=Object.defineProperty;var a=(o,n)=>w(o,"name",{value:n,configurable:!0});import{command as f,cli as A}from"cleye";import*as I from"@volue/design-icons";import*as k from"@volue/design-media-queries";var y="0.1.
|
|
2
|
+
var w=Object.defineProperty;var a=(o,n)=>w(o,"name",{value:n,configurable:!0});import{command as f,cli as A}from"cleye";import*as I from"@volue/design-icons";import*as k from"@volue/design-media-queries";var y="0.1.2-next.0",P={version:y};function d(o){return JSON.stringify(o,null,2)}a(d,"formatJson");function b(o){return o.map(n=>`- ${n}`).join(`
|
|
3
3
|
`)}a(b,"formatList");const L=f({name:"icons",parameters:["[action]","[query]"],flags:{json:{type:Boolean,description:"Output as JSON"}},help:{description:"List and search Wave Design System icons",examples:["wave-cli icons list","wave-cli icons search arrow","wave-cli icons get ArrowRight"]}},o=>{const n=o._.action??"list",e=o._.query,c=o.flags.json??!1;switch(n){case"list":{const t=u().map(r=>r.name);console.log(c?d(t):b(t));return}case"search":{e||(console.error("Usage: wave-cli icons search <term>"),process.exit(1));const r=z(u(),e).map(g=>g.name);r.length===0?console.log(`No icons found matching "${e}"`):console.log(c?d(r):b(r));return}case"get":{e||(console.error("Usage: wave-cli icons get <name>"),process.exit(1));const t=R(u(),e);t||(console.error(`Icon "${e}" not found`),process.exit(1)),G(t,c);return}}console.error(`Unknown action: ${n}. Use: list, search, get`),process.exit(1)});function u(){return Object.entries(I).map(([o,n])=>({name:o,svg:n}))}a(u,"listIcons");function R(o,n){const e=n.trim().toLowerCase();return o.find(c=>c.name.toLowerCase()===e)}a(R,"findIconByName");function z(o,n){const e=n.trim().toLowerCase();return o.filter(c=>c.name.toLowerCase().includes(e))}a(z,"searchIcons");function G(o,n){if(n){console.log(d({name:o.name,svg:o.svg,react:`<SvgIcon iconName="${o.name}" />`,html:`<div class="svgIcon svgIcon--stroked">
|
|
4
4
|
<svg focusable="false" aria-hidden="true">
|
|
5
5
|
<use xlink:href="#svg--${o.name}"></use>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volue/wave-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2-next.0",
|
|
4
4
|
"description": "CLI tool for Wave Design System",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"prepack": "yarn run build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@volue/design-icons": "^1.9.
|
|
36
|
-
"@volue/design-media-queries": "^1.3.
|
|
35
|
+
"@volue/design-icons": "^1.9.9-next.0",
|
|
36
|
+
"@volue/design-media-queries": "^1.3.18-next.0",
|
|
37
37
|
"cleye": "1.3.4"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"@types/jest": "30.0.0",
|
|
42
42
|
"@types/node": "22.19.7",
|
|
43
43
|
"@volue/eslint-config": "1.3.12",
|
|
44
|
-
"@volue/wave-react": "1.
|
|
45
|
-
"eslint": "9.39.
|
|
44
|
+
"@volue/wave-react": "1.7.0-next.0",
|
|
45
|
+
"eslint": "9.39.3",
|
|
46
46
|
"jest": "30.2.0",
|
|
47
47
|
"npm-run-all2": "8.0.4",
|
|
48
|
-
"pkgroll": "2.
|
|
48
|
+
"pkgroll": "2.26.3",
|
|
49
49
|
"premove": "4.0.0",
|
|
50
50
|
"prettier": "3.8.1",
|
|
51
51
|
"ts-jest": "29.4.6",
|