0.0.1 ā€¢ Published 2 years ago

hengist v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

šŒ·šŒ“šŒ½šŒ²šŒ¹šƒš„

Table of Contents generated with DocToc

šŒ·šŒ“šŒ½šŒ²šŒ¹šƒš„

Multi-App Dev (M.A.D.)

Hengist Layout

  • apps
  • assets
  • individual project folders (each with src/ and lib/, if you're so inclined and transpile stuff, or any other structure deemed suitable)

Thoughts & Plans

  • We continue to keep

    • benchmarks,
    • demos and
    • tests

    for the projects under hengist/dev/$project_name. This makes hengist a monorepo for the dev code of the projects, but not for their production code. Dependencies for stuff under dev will be kept in hengist/node_modules and be declared in hengist/package.json.

  • To help subject-oriented development, apps-$subject folders such as apps-dbay and apps-typesetting are introduced. These contain symlinks to the projects that are relevent for the $subject (e.g. typesetting) at hand; they may also contain further material such as READMEs.

To Do

  • ā€“ Update tree representation: local development under dev/ (which is included in Hengist git repo); external stuff (for which Hengist only provides tests and/or benchmarks and/or demos, experiments) is symlinked under apps/ (and not included in Hengist git repo).
  • + Implement a prepare-commit-msg git hook that prepends each commit with the names of the sub-projects affected. This works by retrieving the relative paths of all staged files with git diff --cached --name-only and then looking for the nearest package.json file for each part.