Skip to content

chore: document remaining discussions#12

Open
kabaros wants to merge 1 commit into
mainfrom
configs-monorepo-notes
Open

chore: document remaining discussions#12
kabaros wants to merge 1 commit into
mainfrom
configs-monorepo-notes

Conversation

@kabaros
Copy link
Copy Markdown
Collaborator

@kabaros kabaros commented Dec 3, 2025

This is an empty PR to document some of the pending decisions in this repo.

This repo implements:

Example of a repo using the configs: dhis2/route-manager-app#35

Decisions around Configs

  • The script for upgrading existing apps: https://github.com/dhis2/style-configs/blob/main/configs/scripts/install-shared-configs.sh
    • Do we need it more sophisticated? (i.e. try to copy the existing rules)
    • Is it OK to add husky and eslint-staged everywhere?
    • The GH workflows: update the script to change the workflows (it can't be perfect, but at least cover the workflows-platform way of running linting
    • Do we add the script to d2 so we can do something like d2 style-configs migrate...
    • Other script/helpers: a d2 script to bump the configs in consumers?
  • Versioning: we bump all configs together right now - is that we want going on
  • Do we want to export a wrapper around the configs, i..e create a package @dhis2/style-configs that re-exports @dhis2/config-eslint and @dhis2/config-prettier etc...
    • That makes the consuming apps only install one dependency .. but we're back to cli-style territory? Maybe this can be solved with tooling, i.e. a script/CLI command that bumps all configs

Decisions around the Monorepo

@kabaros kabaros changed the title chore: remaining discussion points chore: document remaining discussions Dec 3, 2025
@kabaros kabaros requested a review from KaiVandivier December 5, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant