chore: align the repository layout with tabular (#3) - #237
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Aligns the repository layout with TriasDev/tabular: projects grouped in
src/,tests/,benchmarks/,samples/andtools/, an.slnxsolution with matching solution folders, and layeredDirectory.Build.props. No library code changes; the NuGet package is identical.Spec:
docs/superpowers/specs/2026-10-03-project-structure-design.md· Plan:docs/superpowers/plans/2026-10-03-project-structure.mdTriasDev.Templify/src/TriasDev.Templify/TriasDev.Templify.Tests/,.Tools.Tests/,.Converter.Tests/tests/...TriasDev.Templify.Benchmarks/benchmarks/...TriasDev.Templify.Demo/samples/...TriasDev.Templify.Converter/,.Gui/,.DocumentGenerator/tools/...templify.slntemplify.slnxType of Change
Related Issues
Fixes #3
Changes Made
Commits (review them one by one; the aggregate diff is mostly renames):
git mvof all projects + project references, CI, release-please,.gitignore, converter scripts (.sh/.cmd)templify.sln→templify.slnx; DocumentGenerator finds the repo root bytemplify.slnx; CodeQL/SonarQube workflowssrc/Directory.Build.props(package metadata, Source Link, public API guard) andtests/Directory.Build.props(xUnit packages,IsPackable=false) importing the root props.envfallback now points totools/(new test), script snippets inscripts/README.mdOut of scope (unchanged): Central Package Management, lock files, VSTest (no switch to MTP), analyzers, target frameworks, package ID, namespaces.
Testing
Test Environment
Tests Added/Updated
RepositoryPathssmoke tests:.slnxroot, generator.envpath)Manual Testing
dotnet build -c Release -p:ContinuousIntegrationBuild=true: 0 warnings, 0 errors;dotnet format --verify-no-changes: clean;dotnet restore --locked-mode: lock files validmain: Templify.Tests 2349 × net10/net9/net8, Converter.Tests 95, Tools.Tests 64 (63 + 1 new)main: same.nupkgand.snupkgfile lists, nuspec identical except the repository commit; package validation against 1.9.0 passes; RS0016 still fires for an undeclared public typescripts/{validate,analyze,clean,convert}.shrun against an example document (exit 0)dotnet run --project tools/TriasDev.Templify.DocumentGenerator -- --skip-imagesfinds the repository root (regenerated examples differ only in OpenXML's random relationship id, not committed)mkdocs build --strict: OKDocumentation
Performance Impact
Breaking Changes
None for package consumers (public API impact: none). For contributors:
.../blob/main/TriasDev.Templify/Examples.md) break; GitHub does not redirect moved files. In-repo links are updated; the NuGet page picks up the new README links with the next release.bin/,obj/and IDE folders under the old project directories can be deleted after pulling. IDEs need.slnxsupport (VS 2022 17.13+, Rider 2024.3+).Checklist
Additional Context
.csprojfiles appear as delete + add (commit 3 removed most of their content); per commit they are renames and history follows.../docs/quick-start.mdin the GUI README); left as is.directory: "/"(central package versions live at the root); confirm with its next run.