refactor!: rename slhx to hemx

Rename the tracked product identity, crate/package names, Rust paths/macros, generated artifacts, runtime files, public attributes, examples, docs, requirements, and tests from slhx to hemx without compatibility shims.

Verified with cargo run -p hemx-xtask -- test, cargo test -p hemx-derive --test compile_fail, cargo test -p hemx-js, cargo test -p hemx-axum, cargo test -p hemx-v0-examples, cargo check --workspace, redgate list, redgate refs, redgate health --strict, git diff --check, and git grep/ls-files legacy-name audits.

req: misc/001

req: codegen/001

req: component/004

req: runtime/001
This commit is contained in:
slhx agent
2026-06-05 06:52:37 +02:00
parent d4e865ef92
commit c33500440e
69 changed files with 1415 additions and 1415 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "hemx-derive"
version.workspace = true
edition.workspace = true
[lib]
proc-macro = true
path = "src/lib.rs"
[dependencies]
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full"] }
+4
View File
@@ -0,0 +1,4 @@
fn main() {
let out = std::path::PathBuf::from(std::env::var_os("OUT_DIR").unwrap());
std::fs::write(out.join("hemx.generated.rs"), "").unwrap();
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+21
View File
@@ -0,0 +1,21 @@
use hemx_derive::{component, surface};
#[component]
mod local_component {
pub const EXISTING: u8 = 1;
}
#[surface]
mod ui {
pub const EXISTING: u8 = 1;
}
#[test]
fn surface_macro_preserves_inline_module_with_generated_file() {
assert_eq!(ui::EXISTING, 1);
}
#[test]
fn component_macro_preserves_inline_module_without_generated_symbols() {
assert_eq!(local_component::EXISTING, 1);
}