huskies: rename project from storkit to huskies
Rename all references from storkit to huskies across the codebase: - .storkit/ directory → .huskies/ - Binary name, Cargo package name, Docker image references - Server code, frontend code, config files, scripts - Fix script/test to build frontend before cargo clippy/test so merge worktrees have frontend/dist available for RustEmbed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ use std::path::Path;
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum WizardStep {
|
||||
/// Step 1: scaffold .storkit/ directory structure and project.toml
|
||||
/// Step 1: scaffold .huskies/ directory structure and project.toml
|
||||
Scaffold,
|
||||
/// Step 2: generate specs/00_CONTEXT.md
|
||||
Context,
|
||||
@@ -76,7 +76,7 @@ pub struct StepState {
|
||||
pub content: Option<String>,
|
||||
}
|
||||
|
||||
/// Persistent wizard state, stored in `.storkit/wizard_state.json`.
|
||||
/// Persistent wizard state, stored in `.huskies/wizard_state.json`.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct WizardState {
|
||||
pub steps: Vec<StepState>,
|
||||
@@ -103,7 +103,7 @@ impl Default for WizardState {
|
||||
impl WizardState {
|
||||
/// Path to the wizard state file relative to the project root.
|
||||
fn state_path(project_root: &Path) -> std::path::PathBuf {
|
||||
project_root.join(".storkit").join("wizard_state.json")
|
||||
project_root.join(".huskies").join("wizard_state.json")
|
||||
}
|
||||
|
||||
/// Load wizard state from disk, or return None if it doesn't exist.
|
||||
@@ -122,7 +122,7 @@ impl WizardState {
|
||||
}
|
||||
|
||||
/// Create wizard state file if it doesn't already exist.
|
||||
/// Step 1 (Scaffold) is automatically confirmed since `storkit init`
|
||||
/// Step 1 (Scaffold) is automatically confirmed since `huskies init`
|
||||
/// has already run the scaffold.
|
||||
pub fn init_if_missing(project_root: &Path) {
|
||||
if Self::load(project_root).is_some() {
|
||||
|
||||
Reference in New Issue
Block a user