jiggicons 0.1.0 → 0.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/bin/jiggicons.js +2 -2
- package/cli/api.js +1 -1
- package/icons.json +1 -1
- package/mcp/protocol.js +1 -1
- package/mcp/tools.js +2 -2
- package/package.json +2 -2
- package/skill/jiggicons/SKILL.md +1 -1
package/LICENSE.md
CHANGED
|
@@ -28,7 +28,7 @@ SOFTWARE.
|
|
|
28
28
|
## The icons
|
|
29
29
|
|
|
30
30
|
The icon drawings, their motions and their sounds are Jiggicons, licensed under
|
|
31
|
-
the Jiggicons terms: https://jiggicons.
|
|
31
|
+
the Jiggicons terms: https://jiggicons.com/terms
|
|
32
32
|
|
|
33
33
|
The free icons included here may be used in unlimited personal and commercial
|
|
34
34
|
projects, including client work, without credit. You may not sell, share or
|
package/README.md
CHANGED
package/bin/jiggicons.js
CHANGED
|
@@ -31,9 +31,9 @@ Options for add
|
|
|
31
31
|
--variants outline,solid,… default: all four (outline, solid, duotone, glass)
|
|
32
32
|
--overwrite replace icons already in the folder
|
|
33
33
|
|
|
34
|
-
The 80 free icons need no key. The rest need a licence: https://jiggicons.
|
|
34
|
+
The 80 free icons need no key. The rest need a licence: https://jiggicons.com/#pricing
|
|
35
35
|
Key lookup: JIGGICONS_LICENSE_KEY, then ${configPath()}
|
|
36
|
-
Docs: https://jiggicons.
|
|
36
|
+
Docs: https://jiggicons.com/docs/cli`;
|
|
37
37
|
|
|
38
38
|
function parse(argv) {
|
|
39
39
|
const args = [], options = {};
|
package/cli/api.js
CHANGED
|
@@ -4,7 +4,7 @@ import { chmod, mkdir, readFile, rm, writeFile } from 'node:fs/promises';
|
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { dirname, join } from 'node:path';
|
|
6
6
|
|
|
7
|
-
export const apiBase = () => (process.env.JIGGICONS_API || 'https://jiggicons.
|
|
7
|
+
export const apiBase = () => (process.env.JIGGICONS_API || 'https://jiggicons.com').replace(/\/$/, '');
|
|
8
8
|
|
|
9
9
|
export function configPath() {
|
|
10
10
|
const base = process.env.XDG_CONFIG_HOME || (process.platform === 'win32' ? process.env.APPDATA : null) || join(homedir(), '.config');
|
package/icons.json
CHANGED
package/mcp/protocol.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// A small Model Context Protocol server (JSON-RPC 2.0, tools only), shared by
|
|
2
|
-
// the hosted endpoint (https://jiggicons.
|
|
2
|
+
// the hosted endpoint (https://jiggicons.com/mcp, Streamable HTTP) and
|
|
3
3
|
// the local one (`npx jiggicons mcp`, stdio). No dependencies.
|
|
4
4
|
export const PROTOCOL_VERSIONS = ['2025-06-18', '2025-03-26', '2024-11-05'];
|
|
5
5
|
|
package/mcp/tools.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
// (backend = the registry itself) and locally (backend = the HTTP API, plus
|
|
3
3
|
// add_icons, which writes files into the project).
|
|
4
4
|
export const INSTRUCTIONS = `Jiggicons: 6,010 animated icons with spring motion and spatial sound, in four variants (outline, solid, duotone, glass).
|
|
5
|
-
80 icons are free; the rest need a Jiggicons licence key (https://jiggicons.
|
|
5
|
+
80 icons are free; the rest need a Jiggicons licence key (https://jiggicons.com/#pricing).
|
|
6
6
|
Workflow: search_icons to find ids, then add_icons (local server: writes files) or get_icon (returns code to save).
|
|
7
7
|
React: npm i jiggicons-react; a generated file exports a component, e.g. <Bell variant="solid" animate="hover" sound />.
|
|
8
8
|
Vue: npm i jiggicons-vue. Plain JS: npm i jiggicons and use toSvg()/play() or <jigg-icon>.
|
|
9
9
|
Free icons can also be imported directly: import { Bell } from 'jiggicons-react'.
|
|
10
|
-
Icons inherit text colour (currentColor). Give an icon a title prop only when it has no visible label. Docs: https://jiggicons.
|
|
10
|
+
Icons inherit text colour (currentColor). Give an icon a title prop only when it has no visible label. Docs: https://jiggicons.com/docs`;
|
|
11
11
|
|
|
12
12
|
const FORMATS = ['react', 'vue', 'js', 'ts', 'json', 'svg'];
|
|
13
13
|
const VARIANTS = ['outline', 'solid', 'duotone', 'glass'];
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jiggicons",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Animated icons with spring motion and spatial sound. Runtime, the 80 free Jiggicons, the jiggicons CLI and MCP server.",
|
|
5
5
|
"keywords": ["icons", "animated-icons", "svg", "motion", "sound", "web-components", "mcp", "cli"],
|
|
6
|
-
"homepage": "https://jiggicons.
|
|
6
|
+
"homepage": "https://jiggicons.com/docs",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
8
|
"author": "Adrian Abelarde",
|
|
9
9
|
"type": "module",
|
package/skill/jiggicons/SKILL.md
CHANGED
|
@@ -53,4 +53,4 @@ If the Jiggicons MCP server is connected, `search_icons` and `add_icons` do the
|
|
|
53
53
|
- Don't put the licence key in client code or commit it; only the CLI needs it.
|
|
54
54
|
- Don't wrap the icons in a `'use client'` component in Next.js; they already are client components.
|
|
55
55
|
|
|
56
|
-
Docs: https://jiggicons.
|
|
56
|
+
Docs: https://jiggicons.com/docs
|