Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
f7c0899
fix: point to beta cli-app-scripts
kabaros Jul 9, 2025
21f5d2c
chore(release): cut 5.1.1-alpha.1 [skip ci]
dhis2-bot Jul 10, 2025
982f7ac
feat: first attempt using pnpm
kabaros Jul 10, 2025
9b0d629
chore: bump semantic-release
kabaros Jul 14, 2025
8085f8c
chore(release): cut 5.2.0-alpha.1 [skip ci]
dhis2-bot Jul 14, 2025
9d5d329
fix: publish to npm
kabaros Jul 14, 2025
5d89f7c
chore(release): cut 5.2.0-alpha.2 [skip ci]
dhis2-bot Jul 14, 2025
60a7517
fix: force alpha release to npm
kabaros Jul 14, 2025
744d534
chore: point to alpha versions of dependencies
kabaros Jul 14, 2025
34431a5
fix: update pnpm lock file before release
kabaros Jul 14, 2025
23be825
chore(release): cut 5.2.0-alpha.2 [skip ci]
dhis2-bot Jul 14, 2025
8a07187
fix: force alpha release to npm
kabaros Jul 14, 2025
39809f0
fix: update pnpm lock file before release
kabaros Jul 14, 2025
302c27d
chore(release): cut 5.2.0-alpha.3 [skip ci]
dhis2-bot Jul 14, 2025
7a762e7
fix(create): initial dhis2/create template
kabaros Jul 14, 2025
272bf9d
chore(release): cut 5.2.0-alpha.4 [skip ci]
dhis2-bot Jul 14, 2025
b42cacb
fix(create): fix path to bin
kabaros Jul 14, 2025
b8fc8fd
chore(release): cut 5.2.0-alpha.5 [skip ci]
dhis2-bot Jul 14, 2025
398dcc9
fix(utils-release): update pnpm lock file automatically
kabaros Jul 14, 2025
dcbc470
chore(release): cut 5.2.0-alpha.6 [skip ci]
dhis2-bot Jul 14, 2025
c756c70
fix: revert version for testing
kabaros Jul 14, 2025
907c404
chore(release): cut 5.2.0-alpha.6 [skip ci]
dhis2-bot Jul 14, 2025
74bbd54
fix: revert version for testing
kabaros Jul 14, 2025
5ad38f5
fix: revert version for testing
kabaros Jul 14, 2025
80a898d
chore(release): cut 5.2.0-alpha.6 [skip ci]
dhis2-bot Jul 14, 2025
ab438ae
fix: try to update pnpm-lock
kabaros Jul 14, 2025
4295a38
chore(release): cut 5.2.0-alpha.7 [skip ci]
dhis2-bot Jul 14, 2025
00b9c7d
fix: try to update pnpm-lock
kabaros Jul 14, 2025
d508638
chore(release): cut 5.2.0-alpha.7 [skip ci]
dhis2-bot Jul 14, 2025
a4d9422
fix: force alpha release to npm
kabaros Jul 14, 2025
c49dd7c
chore(release): cut 5.2.0-alpha.7 [skip ci]
dhis2-bot Jul 14, 2025
457042b
fix: try to update pnpm-lock
kabaros Jul 14, 2025
bbba6d0
chore(release): cut 5.2.0-alpha.8 [skip ci]
dhis2-bot Jul 14, 2025
e8d911e
fix: try to update pnpm-lock
kabaros Jul 14, 2025
3c9ebc8
chore(release): cut 5.2.0-alpha.9 [skip ci]
dhis2-bot Jul 14, 2025
48a185f
fix: try to update pnpm-lock
kabaros Jul 14, 2025
e4a97f2
chore(release): cut 5.2.0-alpha.10 [skip ci]
dhis2-bot Jul 14, 2025
6900387
chore: bump pnpm-lock.yml 5.2.0-alpha.10 [skip ci]
dhis2-bot Jul 14, 2025
e2f1bff
fix: point to alpha cli-app-scripts
kabaros Jul 23, 2025
23db56c
chore(release): cut 5.2.0-alpha.11 [skip ci]
dhis2-bot Jul 23, 2025
d6690ec
chore: bump pnpm-lock.yml 5.2.0-alpha.11 [skip ci]
dhis2-bot Jul 23, 2025
d75e4fe
chore: update placeholder text for @dhis2/create
kabaros Jul 24, 2025
c24f3aa
refactor: get rid of comments and unused code
kabaros Jul 24, 2025
34db242
fix: force alpha release to npm
kabaros Jul 24, 2025
825cdc3
chore(release): cut 5.2.0-alpha.12 [skip ci]
dhis2-bot Jul 24, 2025
f156687
chore: bump pnpm-lock.yml 5.2.0-alpha.12 [skip ci]
dhis2-bot Jul 24, 2025
02d8906
fix: scaffold command for npx create
kabaros Jul 25, 2025
d02e64c
chore(release): cut 5.2.0-alpha.13 [skip ci]
dhis2-bot Jul 25, 2025
79a8d1a
chore: bump pnpm-lock.yml 5.2.0-alpha.13 [skip ci]
dhis2-bot Jul 25, 2025
2c99073
feat: add wizard question for npm create
kabaros Sep 10, 2025
f74b2e1
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Sep 10, 2025
2915676
fix: add help message in CLI
kabaros Sep 11, 2025
2e5a294
fix: update cli-style version in cli
kabaros Sep 11, 2025
062bc9c
chore: run pnpm format
kabaros Oct 28, 2025
5a48538
fix: update new-app command so that it shares global options with d2 …
kabaros Oct 29, 2025
24a974b
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
7fbd881
refactor: remove obsolete create modules
kabaros Oct 29, 2025
6ae3e60
fix: rename folder for @dhis2/create package
kabaros Oct 29, 2025
8513828
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
17ac311
fix: force another alpha release
kabaros Oct 29, 2025
4b9c705
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
ca96146
fix: pass reporter explicitly to app-scripts
kabaros Oct 29, 2025
c9aa14a
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
8eff559
feat: force alpha release
kabaros Oct 29, 2025
4431281
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
624a58e
feat: force alpha release
kabaros Oct 29, 2025
7e1c1e9
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
63d78d3
fix: force alpha release
kabaros Oct 29, 2025
35ee8d4
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
ccfb0ae
fix: force alpha release
kabaros Oct 29, 2025
f48d8de
chore(release): cut 5.2.0-alpha.14 [skip ci]
dhis2-bot Oct 29, 2025
6c12b2e
fix: force alpha release
kabaros Oct 29, 2025
0cd5fd0
chore(release): cut 5.2.0-alpha.15 [skip ci]
dhis2-bot Oct 29, 2025
a0d004b
chore: bump pnpm-lock.yml 5.2.0-alpha.15 [skip ci]
dhis2-bot Oct 29, 2025
99f92e3
fix: revert passing reporter
kabaros Oct 29, 2025
26d8d43
chore(release): cut 5.2.0-alpha.16 [skip ci]
dhis2-bot Oct 29, 2025
d785152
chore: bump pnpm-lock.yml 5.2.0-alpha.16 [skip ci]
dhis2-bot Oct 29, 2025
991add9
fix: rebuild with latest alpha version of app-scripts
kabaros Oct 29, 2025
46ab756
chore(release): cut 5.2.0-alpha.17 [skip ci]
dhis2-bot Oct 29, 2025
c91962d
chore: bump pnpm-lock.yml 5.2.0-alpha.17 [skip ci]
dhis2-bot Oct 29, 2025
fa933cf
Merge remote-tracking branch 'origin' into alpha
kabaros Oct 29, 2025
d091055
fix: update the CLI interface
kabaros Oct 29, 2025
7b40e4b
docs: add README
kabaros Oct 29, 2025
c1dc16b
chore(release): cut 5.2.0-alpha.18 [skip ci]
dhis2-bot Oct 29, 2025
04962c7
fix: update CLI help
kabaros Oct 30, 2025
6fae4d8
chore(release): cut 5.2.0-alpha.19 [skip ci]
dhis2-bot Oct 30, 2025
7ab8310
chore: update lock file
kabaros Oct 30, 2025
338f1a6
docs: update developer portal docs
kabaros Oct 30, 2025
8c0da14
refactor: apply suggestions from code review
kabaros Oct 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/dhis2-deploy-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
if: "!github.event.push.repository.fork && github.actor != 'dependabot[bot]'"
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile

- run: yarn install --frozen-lockfile

- run: yarn build:docs
- run: pnpm build:docs

- uses: nwtgck/actions-netlify@v1.1
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/dhis2-verify-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- id: commitlint
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)")
- uses: JulienKode/pull-request-name-linter-action@v0.5.0
Expand All @@ -26,11 +27,13 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
- run: yarn install --frozen-lockfile
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm install @dhis2/cli-style
- id: commitlint
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)")
- uses: wagoid/commitlint-github-action@v5
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/dhis2-verify-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,34 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
cache: 'pnpm'

- run: yarn install --frozen-lockfile
- run: pnpm install --frozen-lockfile

- name: Lint
run: yarn d2-style check
run: pnpm d2-style check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
cache: 'pnpm'

- run: yarn install --frozen-lockfile
- run: pnpm install --frozen-lockfile

- name: Smoke
run: ./packages/main/bin/d2 debug system

- name: Test
run: yarn test
run: pnpm test

publish:
runs-on: ubuntu-latest
Expand All @@ -57,12 +59,13 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{env.GH_TOKEN}}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'yarn'
cache: 'pnpm'

- run: yarn install --frozen-lockfile
- run: pnpm install --frozen-lockfile

- name: Publish to NPM
run: ./packages/main/bin/d2 utils release --publish npm
run: ./packages/utils/bin/d2-utils release --publish npm
2 changes: 1 addition & 1 deletion .hooks/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn d2-style check commit "$1"
pnpm d2-style check commit "$1"
2 changes: 1 addition & 1 deletion .hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn d2-style check --staged
pnpm d2-style check --staged
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
workspaces-update = false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

to address this issue with npm version and workspaces.

Loading
Loading