DashHtml.Design
2.0.0
Design / round-trip companion tools for DashHtml: convert a DashHtml report object to a declarative YAML layout spec, generate a runnable PowerShell build script from YAML/JSON, and derive a best-effort YAML layout from an existing DashHtml .ps1 script. Self-contained (no YAML dependency); makes no changes to the core DashHtml module.
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
(c) 2026 DashHtml Contributors. MIT License.
Package Details
Author(s)
- DashHtml Contributors
Tags
DashHtml YAML Dashboard CodeGen Design Layout
Functions
ConvertTo-DhYaml ConvertFrom-DhYaml ConvertFrom-DhScript Update-DhScript
Dependencies
-
- DashHtml (>= 2.0.0)
Release Notes
2.0.0 — Adds Update-DhScript, an AST-based audit and rewriter for the DashHtml 2.0.0 upgrade (classifies findings ACTION/advisory/info, backs up before editing, idempotent, never rewrites non-literal content). Version and RequiredModules floor aligned to DashHtml 2.0.0, whose -NavPath/-NavScope parameters the codegen picks up automatically from live cmdlet metadata. Previously 1.0.0 — Initial release. ConvertTo-DhYaml (report -> YAML, lossless), ConvertFrom-DhYaml (YAML/JSON -> runnable .ps1 build script, driven by live cmdlet metadata), ConvertFrom-DhScript (best-effort static .ps1 -> YAML). Self-contained YAML reader/writer, no external dependency. Companion to DashHtml; no core changes.
FileList
- DashHtml.Design.nuspec
- Public\Update-DhScript.ps1
- DashHtml.Design.psm1
- README.md
- Private\DhYamlReader.ps1
- Public\ConvertFrom-DhScript.ps1
- Public\ConvertFrom-DhYaml.ps1
- Public\ConvertTo-DhYaml.ps1
- DashHtml.Design.psd1
- LICENSE
- Private\DhSchema.ps1
- Private\DhYamlWriter.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0.0 (current version) | 4 | 8/26/2026 |
| 1.0.0 | 16 | 8/7/2026 |