Skip to content

Commit

Permalink
Merge pull request #1381 from dhis2/release-1.1.1-for-query-playground
Browse files Browse the repository at this point in the history
chore: v1.1.1 for query playground [LIBS-177]
  • Loading branch information
KaiVandivier authored Apr 16, 2024
2 parents 5d58f2a + ac7c9ad commit 2e7dd95
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions examples/query-playground/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### Description

A playground for exploring the DHIS2 API and debugging Data Engine queries and mutations

#### How to publish

Since this lives in the repository with the app-runtime library, releasing new versions of this app should be done in a special way to avoid affecting the library's versions:

1. Add any new changes with `chore` commits (not `fix` or `feat`)
2. Make sure the supported DHIS2 versions are correct in `d2.config.js`
3. Manually update the app version in `package.json` -- **Don't use `yarn version`** because we don't want to a create a git tag for this repo
4. Add a `chore` commit for the version bump in `package.json` (make sure this will get its own commit on `master` and doesn't get squashed with others)
5. Build the app with `yarn build`
6. Publish the new version to the App Hub
1. Either on the command line using [`yarn d2-app-scripts publish`](https://developers.dhis2.org/docs/app-platform/scripts/publish/) with an API key you generated on the App Hub
2. Or by using the "New version" GUI on the App Hub by going to "Your Apps" => "Data Query Playground" => "New Version". This requires access to the DHIS2 organization
3 changes: 3 additions & 0 deletions examples/query-playground/d2.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ const config = {
title: 'Data Query Playground',
type: 'app',

id: '99d5e87f-4948-4af6-8c0b-727c77235fd1',
minDHIS2Version: '2.32',

entryPoints: {
app: './src/App',
},
Expand Down
2 changes: 1 addition & 1 deletion examples/query-playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "query-playground",
"version": "1.0.0",
"version": "1.1.1",
"description": "",
"license": "BSD-3-Clause",
"private": true,
Expand Down

0 comments on commit 2e7dd95

Please sign in to comment.