-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename 'src' directory to 'app' directory to work with common framework requirements * move 'features' directory to 'routes' to work with remix project structure we're not planning on migrating to Remix (give the news that remix is essentually being merged into react router v7) however, given this news, incrementally adopting more of the react reouter v6 features may help us take advantage of some of the useful features of remix when react router v7 comes out * update tsconfig to use a remix vite spa template config * modify imports to use alias for root * rename 'test-utils' to mocks * modify mock service work import and conditional worker start up to follow current docks * remove prettier configs from repo root * move setupTest.ts to the mocks directory * rename org and site object permission columns names to clarify that the content_object_id is the object ID of a site\/org object * modify pre-commit prettier files arg * add health checks to our trak (RESTful API) service in our docker compse file
- Loading branch information
1 parent
b958ad9
commit 4b5e311
Showing
259 changed files
with
719 additions
and
702 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
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,6 +1,6 @@ | ||
# Mutlistage dockerize dpgraham.com react.js front end | ||
# Build stage | ||
FROM node:20-alpine as builder | ||
FROM node:20-alpine AS builder | ||
LABEL maintainer="[email protected]" | ||
WORKDIR /app | ||
COPY . . | ||
|
@@ -9,20 +9,20 @@ RUN npm run build | |
|
||
|
||
# test | ||
FROM builder as test | ||
FROM builder AS test | ||
WORKDIR /app | ||
CMD ["npm", "run", "test"] | ||
|
||
# local development | ||
FROM builder as dev | ||
FROM builder AS dev | ||
WORKDIR /app | ||
EXPOSE 3000 | ||
CMD ["npm", "start"] | ||
|
||
# Production | ||
FROM nginx:1.24.0-alpine as production | ||
FROM nginx:1.24.0-alpine AS production | ||
WORKDIR /app | ||
ENV NODE_ENV production | ||
ENV NODE_ENV=production | ||
# copy build from builder stage | ||
COPY --from=builder /app/build /usr/share/nginx/html | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
|
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...akSite/SiteFilter/SiteFilterForm.spec.tsx → ...akSite/SiteFilter/SiteFilterForm.spec.tsx
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
6 changes: 3 additions & 3 deletions
6
...Site/SiteListGroup/SiteListGroup.spec.tsx → ...Site/SiteListGroup/SiteListGroup.spec.tsx
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
6 changes: 3 additions & 3 deletions
6
...ztrakSite/SiteListGroup/SiteListGroup.tsx → ...ztrakSite/SiteListGroup/SiteListGroup.tsx
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
4 changes: 2 additions & 2 deletions
4
...akSite/SiteListItem/SiteListItem.spec.tsx → ...akSite/SiteListItem/SiteListItem.spec.tsx
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
4 changes: 2 additions & 2 deletions
4
...HaztrakSite/SiteListItem/SiteListItem.tsx → ...HaztrakSite/SiteListItem/SiteListItem.tsx
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...mponents/HaztrakSite/haztrakSiteSchema.ts → ...mponents/HaztrakSite/haztrakSiteSchema.ts
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...nt/src/components/Help/HaztrakLicense.tsx → ...nt/app/components/Help/HaztrakLicense.tsx
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
File renamed without changes.
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,2 @@ | ||
export { HaztrakLicense } from '~/components/Help/HaztrakLicense'; | ||
export { SectionTitle } from '~/components/Help/SectionTitle'; |
4 changes: 2 additions & 2 deletions
4
client/src/components/Layout/Nav/NavItem.tsx → client/app/components/Layout/Nav/NavItem.tsx
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
4 changes: 2 additions & 2 deletions
4
.../src/components/Layout/Nav/NavSection.tsx → .../app/components/Layout/Nav/NavSection.tsx
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
2 changes: 1 addition & 1 deletion
2
...nt/src/components/Layout/PrivateRoute.tsx → ...nt/app/components/Layout/PrivateRoute.tsx
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
4 changes: 2 additions & 2 deletions
4
client/src/components/Layout/Root.tsx → client/app/components/Layout/Root.tsx
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
4 changes: 2 additions & 2 deletions
4
...omponents/Layout/Sidebar/Sidebar.spec.tsx → ...omponents/Layout/Sidebar/Sidebar.spec.tsx
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
8 changes: 4 additions & 4 deletions
8
...src/components/Layout/Sidebar/Sidebar.tsx → ...app/components/Layout/Sidebar/Sidebar.tsx
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
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
.../components/Layout/TopNav/TopNav.spec.tsx → .../components/Layout/TopNav/TopNav.spec.tsx
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
4 changes: 2 additions & 2 deletions
4
...t/src/components/Layout/TopNav/TopNav.tsx → ...t/app/components/Layout/TopNav/TopNav.tsx
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
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...ts/Manifest/Actions/ManifestCancelBtn.tsx → ...ts/Manifest/Actions/ManifestCancelBtn.tsx
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
6 changes: 3 additions & 3 deletions
6
...ents/Manifest/Actions/ManifestEditBtn.tsx → ...ents/Manifest/Actions/ManifestEditBtn.tsx
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
10 changes: 5 additions & 5 deletions
10
...ts/Manifest/Actions/ManifestFABs.spec.tsx → ...ts/Manifest/Actions/ManifestFABs.spec.tsx
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
12 changes: 6 additions & 6 deletions
12
...ponents/Manifest/Actions/ManifestFABs.tsx → ...ponents/Manifest/Actions/ManifestFABs.tsx
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
4 changes: 2 additions & 2 deletions
4
...ents/Manifest/Actions/ManifestSaveBtn.tsx → ...ents/Manifest/Actions/ManifestSaveBtn.tsx
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
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...est/AdditionalInfo/AdditionalInfoForm.tsx → ...est/AdditionalInfo/AdditionalInfoForm.tsx
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
4 changes: 2 additions & 2 deletions
4
...dditionalInfo/AdditionalinfoForm.spec.tsx → ...dditionalInfo/AdditionalinfoForm.spec.tsx
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...nts/Manifest/Address/AddressForm.spec.tsx → ...nts/Manifest/Address/AddressForm.spec.tsx
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
2 changes: 1 addition & 1 deletion
2
...mponents/Manifest/Address/AddressForm.tsx → ...mponents/Manifest/Address/AddressForm.tsx
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.