@keyline-icons/cli 1.0.0 → 1.1.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.
- package/README.md +2 -0
- package/icons.json +1 -1
- package/package.json +1 -1
- package/src/index.mjs +3 -3
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ const data = JSON.parse(
|
|
|
26
26
|
// older icons.json still runs rather than reading `undefined.includes`.
|
|
27
27
|
const { icons, styles, corners = ["regular"], keywords = {} } = data
|
|
28
28
|
const NAMES = Object.keys(icons)
|
|
29
|
-
const VERSION = "1.
|
|
29
|
+
const VERSION = "1.1.1"
|
|
30
30
|
|
|
31
31
|
/** Colour only when a human is looking. Piped output stays clean. */
|
|
32
32
|
const tty = process.stdout.isTTY
|
|
@@ -137,8 +137,8 @@ function wordsOf(query) {
|
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Matched whole first, then word by word, so a name in another set's word order
|
|
140
|
-
* still lands: compounds here read base-first,
|
|
141
|
-
* for "check-circle" when the icon is `circle-check`. Kept in step with the
|
|
140
|
+
* still lands: compounds here read base-first, so `CheckCircle2` from there
|
|
141
|
+
* asks for "check-circle" when the icon is `circle-check`. Kept in step with the
|
|
142
142
|
* copy in `@keyline-icons/mcp`, which carries the full reasoning.
|
|
143
143
|
*/
|
|
144
144
|
/**
|