mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
chore: rename vibe-rules to ruler
This commit is contained in:
@@ -539,7 +539,7 @@ export async function setupAddonsTemplate(
|
||||
for (const addon of context.addons) {
|
||||
if (addon === "none") continue;
|
||||
|
||||
if (addon === "vibe-rules") continue;
|
||||
if (addon === "ruler") continue;
|
||||
|
||||
let addonSrcDir = path.join(PKG_ROOT, `templates/addons/${addon}`);
|
||||
let addonDestDir = projectDir;
|
||||
|
||||
@@ -10,7 +10,7 @@ import { setupFumadocs } from "./fumadocs-setup";
|
||||
import { setupStarlight } from "./starlight-setup";
|
||||
import { setupTauri } from "./tauri-setup";
|
||||
import { setupUltracite } from "./ultracite-setup";
|
||||
import { setupVibeRules } from "./vibe-rules-setup";
|
||||
import { setupVibeRules } from "./ruler-setup";
|
||||
import { addPwaToViteConfig } from "./vite-pwa-setup";
|
||||
|
||||
export async function setupAddons(config: ProjectConfig, isAddCommand = false) {
|
||||
@@ -87,7 +87,7 @@ ${pc.cyan("Docs:")} ${pc.underline("https://turborepo.com/docs")}
|
||||
await setupStarlight(config);
|
||||
}
|
||||
|
||||
if (addons.includes("vibe-rules")) {
|
||||
if (addons.includes("ruler")) {
|
||||
await setupVibeRules(config);
|
||||
}
|
||||
if (addons.includes("fumadocs")) {
|
||||
|
||||
@@ -20,7 +20,7 @@ export async function setupVibeRules(config: ProjectConfig) {
|
||||
PKG_ROOT,
|
||||
"templates",
|
||||
"addons",
|
||||
"vibe-rules",
|
||||
"ruler",
|
||||
".ruler",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user