chore: rename vibe-rules to ruler

This commit is contained in:
Aman Varshney
2025-08-13 18:31:59 +05:30
parent 5c2c4193ee
commit 0da814ac8d
12 changed files with 21 additions and 16 deletions

View File

@@ -135,7 +135,7 @@ export const ADDON_COMPATIBILITY: Record<Addons, readonly Frontend[]> = {
turborepo: [],
starlight: [],
ultracite: [],
"vibe-rules": [],
"ruler": [],
oxlint: [],
fumadocs: [],
none: [],

View File

@@ -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;

View File

@@ -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")) {

View File

@@ -20,7 +20,7 @@ export async function setupVibeRules(config: ProjectConfig) {
PKG_ROOT,
"templates",
"addons",
"vibe-rules",
"ruler",
".ruler",
);

View File

@@ -42,8 +42,8 @@ function getAddonDisplay(addon: Addons): { label: string; hint: string } {
label = "Ultracite";
hint = "Zero-config Biome preset with AI integration";
break;
case "vibe-rules":
label = "vibe-rules";
case "ruler":
label = "Ruler";
hint = "Install and apply BTS rules to editors";
break;
case "husky":
@@ -69,7 +69,7 @@ function getAddonDisplay(addon: Addons): { label: string; hint: string } {
const ADDON_GROUPS = {
Documentation: ["starlight", "fumadocs"],
Linting: ["biome", "oxlint", "ultracite"],
Other: ["vibe-rules", "turborepo", "pwa", "tauri", "husky"],
Other: ["ruler", "turborepo", "pwa", "tauri", "husky"],
};
export async function getAddonsChoice(

View File

@@ -43,7 +43,7 @@ export const AddonsSchema = z
"starlight",
"biome",
"husky",
"vibe-rules",
"ruler",
"turborepo",
"fumadocs",
"ultracite",

View File

@@ -106,7 +106,7 @@ add
Available addons you can add:
- **Documentation**: Starlight, Fumadocs
- **Linting**: Biome, Oxlint, Ultracite
- **Other**: vibe-rules, Turborepo, PWA, Tauri, Husky
- **Other**: Ruler, Turborepo, PWA, Tauri, Husky
You can also add web deployment configurations like Cloudflare Workers support.