pinfold 0.1.0 → 0.2.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/bin/pinfold.mjs +0 -0
- package/lib/commands.mjs +1 -1
- package/lib/mcp.mjs +1 -1
- package/package.json +2 -2
package/bin/pinfold.mjs
CHANGED
|
File without changes
|
package/lib/commands.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { describe as describeProject, detect } from './detect.mjs';
|
|
|
12
12
|
import { Plan, addCssImport, addImports, addNamedImport, addTailwindPreset } from './plan.mjs';
|
|
13
13
|
|
|
14
14
|
export const RADII = ['none', 'sm', 'md', 'lg', 'full'];
|
|
15
|
-
export const PACKS = ['default', 'glass', '
|
|
15
|
+
export const PACKS = ['default', 'glass', 'material', 'noise', 'brutalist'];
|
|
16
16
|
export const MODES = ['system', 'light', 'dark'];
|
|
17
17
|
const ROLES = ['primary', 'accent', 'neutral', 'success', 'warning', 'danger', 'info'];
|
|
18
18
|
const THEME_FILE = 'pinfold-theme.css';
|
package/lib/mcp.mjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { createInterface } from 'node:readline';
|
|
10
10
|
import { componentMetas, metaToMarkdown, toJsonSchema, validateConfig } from '@pinfold/core/meta';
|
|
11
11
|
|
|
12
|
-
const VERSION = '0.
|
|
12
|
+
const VERSION = '0.2.0';
|
|
13
13
|
const byName = (name) => componentMetas.find((m) => m.name === name);
|
|
14
14
|
const names = () => componentMetas.map((m) => m.name);
|
|
15
15
|
const nameArg = { type: 'object', properties: { name: { type: 'string', enum: names() } }, required: ['name'] };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pinfold",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Pinfold CLI: set up, add components, generate themes and check a project.",
|
|
5
5
|
"author": "Indranil Bhattacharya",
|
|
6
6
|
"keywords": [
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@clack/prompts": "^1.8.1",
|
|
43
|
-
"@pinfold/core": "0.
|
|
43
|
+
"@pinfold/core": "0.2.0"
|
|
44
44
|
}
|
|
45
45
|
}
|