Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: v1.1.1 for query playground [LIBS-177] #1381

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading