Skip to content

fix: move from cli-style to shared configs#1434

Merged
kabaros merged 2 commits intobetafrom
use-style-configs
Apr 15, 2026
Merged

fix: move from cli-style to shared configs#1434
kabaros merged 2 commits intobetafrom
use-style-configs

Conversation

@kabaros
Copy link
Copy Markdown
Contributor

@kabaros kabaros commented Apr 14, 2026

No description provided.

@kabaros kabaros force-pushed the use-style-configs branch 10 times, most recently from 9592ade to c8b1d86 Compare April 14, 2026 17:04
@kabaros kabaros changed the title chore: move from cli-style to shared configs move from cli-style to shared configs Apr 14, 2026
@kabaros kabaros force-pushed the use-style-configs branch 4 times, most recently from aa92ab5 to 70128f1 Compare April 14, 2026 17:58
@kabaros kabaros changed the title move from cli-style to shared configs chore: move from cli-style to shared configs Apr 14, 2026
@kabaros kabaros force-pushed the use-style-configs branch 2 times, most recently from 70128f1 to 2044257 Compare April 14, 2026 18:29
@kabaros kabaros changed the title chore: move from cli-style to shared configs fix: move from cli-style to shared configs Apr 15, 2026
@kabaros kabaros force-pushed the use-style-configs branch 4 times, most recently from 24ebd01 to a824729 Compare April 15, 2026 06:03
@kabaros kabaros force-pushed the use-style-configs branch from a824729 to 36b4dc1 Compare April 15, 2026 06:04
@sonarqubecloud
Copy link
Copy Markdown

@kabaros kabaros changed the title fix: move from cli-style to shared configs fix: move from cli-style to shared configs Apr 15, 2026
@kabaros kabaros changed the title fix: move from cli-style to shared configs fix: move from cli-style to shared configs Apr 15, 2026
@kabaros kabaros marked this pull request as ready for review April 15, 2026 06:20
@kabaros kabaros requested a review from KaiVandivier April 15, 2026 06:20
Comment thread package.json
"docs:serve": "d2-utils-docsite serve ./docs -o ./dist",
"lint": "d2-style check js && d2-style check text"
"lint": "eslint && prettier -c .",
"prepare": "husky"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figure out what this does? 😁

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirmed this is a lifecycle method that would initialise husky (on yarn install)

Comment on lines +33 to +39
- run: yarn add -W @commitlint/config-conventional@13
- id: commitlint
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)")
run: |
curl https://raw.githubusercontent.com/dhis2/cli-style/refs/heads/master/config/commitlint.config.js -o commitlint.config.js
echo ::set-output name=config_path::commitlint.config.js
- run: echo ${{ steps.commitlint.outputs.config_path }}
- run: cat ${{ steps.commitlint.outputs.config_path }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note to self: this can become a one-liner when commit-lint is added to shared configs;

Nice to do the same for PR title lint

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a comment about it to the revamp epic

@kabaros kabaros merged commit 9a08180 into beta Apr 15, 2026
16 of 18 checks passed
@kabaros kabaros deleted the use-style-configs branch April 15, 2026 15:28
dhis2-bot added a commit that referenced this pull request Apr 15, 2026
# [3.17.0-beta.3](v3.17.0-beta.2...v3.17.0-beta.3) (2026-04-15)

### Bug Fixes

* move from cli-style to shared configs ([#1434](#1434)) ([9a08180](9a08180))
@dhis2-bot
Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants