Skip to content

Commit

Permalink
update application name and typescript version
Browse files Browse the repository at this point in the history
  • Loading branch information
eperedo committed Jan 18, 2024
1 parent 70cfaa8 commit 1347ccd
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 19 deletions.
13 changes: 10 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />

<link type="text/css" rel="stylesheet" href="/includes/material-design-icons/material-icons.css" />
<link
type="text/css"
rel="stylesheet"
href="/includes/material-design-icons/material-icons.css"
/>
<link type="text/css" rel="stylesheet" href="/includes/roboto-font.css" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet" />
<link
href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"
rel="stylesheet"
/>

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Data Quality</title>
</head>

<body>
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "dhis2-app-skeleton",
"description": "DHIS2 Skeleton App",
"name": "data-quality",
"description": "Data Quality",
"version": "0.0.1",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/eyeseetea/dhis2-app-skeleton.git"
"url": "git+https://github.com/EyeSeeTea/data-quality-dev"
},
"dependencies": {
"@dhis2/app-runtime": "2.8.0",
Expand Down Expand Up @@ -72,7 +72,7 @@
"ts-node": "^10.9.1",
"ts-prune": "^0.10.3",
"typedoc": "0.25.7",
"typescript": "5.2.2",
"typescript": "5.3.3",
"vite": "^4.2.0",
"vite-bundle-visualizer": "^0.6.0",
"vite-plugin-checker": "^0.6.2",
Expand Down Expand Up @@ -102,14 +102,14 @@
"build": "VITE_DHIS2_BASE_URL='' VITE_DHIS2_AUTH='' yarn build-folder && rm -f $npm_package_name.zip && cd build && zip --quiet -r ../$npm_package_name.zip *",
"prettify": "prettier \"./**/*.{js,jsx,json,css,ts,tsx}\" --write",
"extract-pot": "yarn d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn update-po && d2-i18n-generate -n dhis2-skeleton-app -p ./i18n/ -o ./src/locales/",
"localize": "yarn update-po && d2-i18n-generate -n data-quality -p ./i18n/ -o ./src/locales/",
"update-po": "yarn extract-pot && find i18n/ -name '*.po' -exec msgmerge --backup=off -U {} i18n/en.pot \\;",
"prepare": "husky install",
"script-example": "npx ts-node src/scripts/example.ts"
},
"manifest.webapp": {
"name": "DHIS2 Skeleton App",
"description": "DHIS2 Skeleton App",
"name": "Data Quality",
"description": "Data Quality",
"icons": {
"48": "icon.png"
},
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "DHIS2 Skeleton App",
"name": "DHIS2 Skeleton App",
"short_name": "Data Quality",
"name": "Data Quality",
"icons": [
{
"src": "favicon.ico",
Expand Down
4 changes: 2 additions & 2 deletions src/app-config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { FeedbackOptions } from "@eyeseetea/feedback-component";

export const appConfig: AppConfig = {
appKey: "dhis2-app-skeleton",
appKey: "data-quality",
appearance: {
showShareButton: true,
},
feedback: {
repositories: {
clickUp: {
// https://app.clickup.com/${workspace}/v/b/N-${listId}-M
// Web development -> Common resources -> app-skeleton
// Web development -> Common resources -> data-quality
listId: "42597084",
title: "[User feedback] {title}",
body: "## dhis2\n\nUsername: {username}\n\n{body}",
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function App(props: AppProps) {
<MuiThemeProvider theme={muiTheme}>
<OldMuiThemeProvider muiTheme={muiThemeLegacy}>
<SnackbarProvider>
<HeaderBar appName="Skeleton App" />
<HeaderBar appName="Data Quality" />

{appConfig.feedback && appContext && (
<Feedback
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10698,10 +10698,10 @@ [email protected]:
minimatch "^9.0.3"
shiki "^0.14.7"

typescript@5.2.2:
version "5.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
typescript@5.3.3:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==

ua-parser-js@^0.7.30:
version "0.7.36"
Expand Down

0 comments on commit 1347ccd

Please sign in to comment.