Releases: phcdevworks/spectre-base
Releases · phcdevworks/spectre-base
Release list
v1.1.0
Changed
- Bumped
@phcdevworks/spectre-tokensto^3.3.1,@phcdevworks/spectre-ui
to^2.7.1, and@phcdevworks/spectre-componentsto^1.8.0in
package.json, closing dependency drift against the current published
project-designpackages. - Added TypeScript 7 support alongside TypeScript 6: internal tooling
(ESLint/typescript-eslint) runs against TypeScript 6 via an
npm:@typescript/typescript6alias sincetypescript-eslintdoes not yet
support TypeScript 7's programmatic API; TypeScript 7's native compiler is
available via the@typescript/nativedevDependency alias and is now used
by thebuild/typecheckscripts'tscinvocations.
Added
- Added
@phcdevworks/spectre-manifestas a devDependency.spectre.manifest.json
at the repo root declares this package's ecosystem role, layer, exports, and
allowed dependency targets.check:ecosystemvalidates it in the check pipeline.
v1.0.0
Added
- CLAUDE.md - primary Claude Code project guide establishing Claude Code as the main AI developer
- AGENTS.md - AI agent instructions with drift-prevention rules and boundary definitions
check:driftnpm script - scans for design-system drift (hardcoded visual values) insrc/,spectre-theme/, andpackage.json- CI drift check step in
.github/workflows/ci.yml - Full WordPress standard template hierarchy:
index.php,single.php,page.php,archive.php,search.php,404.php,front-page.php,home.php,header.php,footer.php,sidebar.php,searchform.php,comments.php - Template parts:
content-card.php,content-single.php,content-page.php,content-none.php - Gutenberg block editor support via
add_theme_support('block-editor-styles')andenqueue_block_editor_assets theme.jsonwith typography, colors, spacing, and shadows derived from@phcdevworks/spectre-tokens- Spectre Icons plugin integration (
spectre_base_has_icons()helper, footer social links, search form shortcode pattern) - Shell CSS layer in
src/styles/main.css- all values backed byvar(--sp-*)tokens check-theme-asset-contract.tsscript for Vite manifest validation- GitHub Actions CI pipeline (
ci.yml) with Node matrix (22.x, 24.x), PHP 8.2, build, asset check, lint, PHP lint, drift check - WordPress smoke test workflow (
wordpress-smoke.yml) verifying real WordPress install and core routes - Sidebar widget area registration
- Primary menu fallback registration
- Primary and footer nav menu locations
spectre_base_primary_menu_fallbackfunction.editorconfig,.prettierrc,.gitattributes,.npmignore- VSCode workspace config and extensions recommendation
CONTRIBUTING.md,SECURITY.md,CODE_OF_CONDUCT.md,ROADMAP.md,TODO.mddependabot.ymlfor automated npm dependency updates
Changed
- Merged duplicate
.spectre-post-navigationCSS rule insrc/styles/main.css - Synced version across
package.json,spectre-theme/style.css, andspectre-theme/readme.txt(all now1.0.0) README.mdnpm version reference corrected to11.14.1- Design-system boundary documented in README with drift-scan command