forked from LREN-CHUV/portal-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from HBPMedical/dev
Release for MIP 6.5
- Loading branch information
Showing
86 changed files
with
11,703 additions
and
4,781 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
src/setupTests.ts | ||
src/registerServiceWorker.ts | ||
src/**/__tests__/** | ||
src/**/__tests__/** | ||
src/**/GraphQL/*.generated.* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
"stories": [ | ||
"../src/**/*.stories.mdx", | ||
"../src/**/*.stories.@(js|jsx|ts|tsx)" | ||
], | ||
"addons": [ | ||
"@storybook/addon-links", | ||
"@storybook/addon-essentials", | ||
"@storybook/preset-create-react-app" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const parameters = { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:latest as builder | ||
FROM node:lts as builder | ||
LABEL maintainer = "[email protected]" | ||
|
||
WORKDIR /frontend | ||
|
@@ -34,7 +34,7 @@ RUN apk add --no-cache --update ca-certificates wget openssl bash && update-ca-c | |
|
||
# Add frontend config | ||
COPY ./docker/runner/conf/config.json.tmpl \ | ||
/portal/conf/ | ||
/portal/conf/ | ||
|
||
# Add reverse proxy / webserver config | ||
COPY ./docker/runner/conf/Caddyfile /etc/caddy/Caddyfile | ||
|
@@ -61,3 +61,4 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ | |
org.label-schema.docker.dockerfile="Dockerfile" \ | ||
org.label-schema.memory-hint="10" \ | ||
org.label-schema.schema-version="1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
overwrite: true | ||
schema: "http://127.0.0.1:8081/graphql" | ||
documents: "src/components/API/GraphQL/queries.ts" | ||
generates: | ||
src/components/API/GraphQL/types.generated.ts: | ||
- typescript | ||
src/components/API/GraphQL/: | ||
preset: near-operation-file | ||
presetConfig: | ||
extension: .generated.tsx | ||
baseTypesPath: types.generated.ts | ||
plugins: | ||
- "typescript-operations" | ||
- "typescript-react-apollo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.