@fragments-sdk/cli 0.15.4 → 0.15.7
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/dist/bin.js +2 -2
- package/dist/bin.js.map +1 -1
- package/dist/{create-LA4J2HHQ.js → create-AC2PMGBF.js} +146 -21
- package/dist/create-AC2PMGBF.js.map +1 -0
- package/package.json +3 -3
- package/src/bin.ts +1 -1
- package/src/commands/__fixtures__/shadcn-label-wrapper/src/components/ui/label.contract.json +1 -1
- package/src/commands/__fixtures__/shadcn-label-wrapper/src/components/ui/primitive.contract.json +1 -1
- package/src/commands/create.ts +119 -26
- package/src/theme/seed-presets.ts +104 -0
- package/dist/create-LA4J2HHQ.js.map +0 -1
package/dist/bin.js
CHANGED
|
@@ -7048,9 +7048,9 @@ program.command("add").argument("[name]", 'Component name (e.g., "Button", "Text
|
|
|
7048
7048
|
process.exit(1);
|
|
7049
7049
|
}
|
|
7050
7050
|
});
|
|
7051
|
-
program.command("create").argument("[name]", "Project name").description("Create a new project with Fragments UI and your custom theme").option("-t, --template <template>", "Framework template (nextjs, vite)", "nextjs").option("--pm <manager>", "Package manager (npm, pnpm, yarn, bun)").option("--theme <encoded>", "Encoded theme string").option("--preset <id>", "Theme preset ID from usefragments.com/create").option("--brand <color>", "Brand color hex (e.g., #6366f1)").option("--scss", "Use SCSS output (installs sass)").option("--mcp", "
|
|
7051
|
+
program.command("create").argument("[name]", "Project name").description("Create a new project with Fragments UI and your custom theme").option("-t, --template <template>", "Framework template (nextjs, vite)", "nextjs").option("--pm <manager>", "Package manager (npm, pnpm, yarn, bun)").option("--theme <encoded>", "Encoded theme string").option("--preset <id>", "Theme preset ID from usefragments.com/create").option("--brand <color>", "Brand color hex (e.g., #6366f1)").option("--scss", "Use SCSS output (installs sass)").option("--no-mcp", "Skip MCP server configuration").option("-y, --yes", "Skip interactive prompts").option("--no-git", "Skip git initialization").action(async (name, options) => {
|
|
7052
7052
|
try {
|
|
7053
|
-
const { create } = await import("./create-
|
|
7053
|
+
const { create } = await import("./create-AC2PMGBF.js");
|
|
7054
7054
|
const result = await create({
|
|
7055
7055
|
name,
|
|
7056
7056
|
template: options.template,
|