-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8867613
commit 9b7bf74
Showing
52 changed files
with
1,401 additions
and
3,228 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"], | ||
"plugins": [["@emotion/babel-plugin"]] | ||
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript", "babel-preset-vite"] | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/// <reference types="vite/client" /> | ||
import react from '@vitejs/plugin-react'; | ||
import { defineConfig } from 'vite'; | ||
import { VitePWA } from 'vite-plugin-pwa'; | ||
|
||
export default defineConfig({ | ||
envPrefix: ['MEDPLUM_', 'GOOGLE_', 'RECAPTCHA_'], | ||
plugins: [ | ||
react(), | ||
VitePWA({ | ||
registerType: 'autoUpdate', | ||
injectRegister: null, | ||
includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'masked-icon.svg'], | ||
manifest: { | ||
name: 'Medplum', | ||
short_name: 'Medplum', | ||
start_url: '/', | ||
display: 'standalone', | ||
background_color: '#ffffff', | ||
theme_color: '#ffffff', | ||
icons: [ | ||
{ | ||
src: '/img/medplum-logo.svg', | ||
type: 'image/svg+xml', | ||
sizes: '512x512', | ||
}, | ||
{ | ||
src: '/img/medplum-logo-512x512.png', | ||
type: 'image/png', | ||
sizes: '512x512', | ||
}, | ||
{ | ||
src: '/img/medplum-logo-maskable.png', | ||
type: 'image/png', | ||
sizes: '512x512', | ||
purpose: 'maskable', | ||
}, | ||
], | ||
}, | ||
}), | ||
], | ||
server: { | ||
port: 3000, | ||
}, | ||
publicDir: 'static', | ||
}); |
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,2 @@ | ||
cdk.context.json | ||
cdk.out | ||
|
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,46 @@ | ||
/* global console */ | ||
/* eslint no-console: "off" */ | ||
|
||
import esbuild from 'esbuild'; | ||
import { writeFileSync } from 'fs'; | ||
|
||
const options = { | ||
entryPoints: ['./src/index.ts'], | ||
bundle: true, | ||
platform: 'node', | ||
loader: { '.ts': 'ts' }, | ||
resolveExtensions: ['.ts'], | ||
target: 'es2021', | ||
tsconfig: 'tsconfig.json', | ||
minify: true, | ||
external: [ | ||
'@aws-sdk/client-acm', | ||
'@aws-sdk/client-ssm', | ||
'@aws-sdk/client-sts', | ||
'aws-cdk-lib', | ||
'aws-cdk-lib/aws-ecr', | ||
'aws-cdk-lib/aws-rds', | ||
'cdk', | ||
'cdk-nag', | ||
'cdk-serverless-clamscan', | ||
'constructs', | ||
], | ||
}; | ||
|
||
esbuild | ||
.build({ | ||
...options, | ||
format: 'cjs', | ||
outfile: './dist/cjs/index.cjs', | ||
}) | ||
.then(() => writeFileSync('./dist/cjs/package.json', '{"type": "commonjs"}')) | ||
.catch(console.error); | ||
|
||
esbuild | ||
.build({ | ||
...options, | ||
format: 'esm', | ||
outfile: './dist/esm/index.mjs', | ||
}) | ||
.then(() => writeFileSync('./dist/esm/package.json', '{"type": "module"}')) | ||
.catch(console.error); |
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.
9b7bf74
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
medplum-storybook – ./
medplum-storybook-medplum.vercel.app
storybook.medplum.com
medplum-storybook-git-main-medplum.vercel.app
9b7bf74
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
medplum-www – ./
medplum-www-git-main-medplum.vercel.app
medplum-www.vercel.app
medplum-www-medplum.vercel.app
medplum.com
www.medplum.com