-
Notifications
You must be signed in to change notification settings - Fork 1
Update vite #181
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
Open
oskarhurst
wants to merge
7
commits into
cwbi-dev
Choose a base branch
from
update-vite
base: cwbi-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update vite #181
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
64fa693
update to use Vite
202acfd
VITE__ typo fix
70f153f
update to use Vite
013e78b
VITE__ typo fix
c464fe9
Rebase and remove vunerabilities
oskarhurst 6d54625
Fix merge conflicts after rebase
oskarhurst e213f87
revert back to js
oskarhurst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,7 +1,7 @@ | ||
| REACT_APP_ISDEVELOPMENT=true | ||
| REACT_APP_SHARED_API_URL=https://shared-api.rsgis.dev | ||
| REACT_APP_CUMULUS_API_URL=http://localhost | ||
| VITE_ISDEVELOPMENT=true | ||
| VITE_SHARED_API_URL=https://shared-api.rsgis.dev | ||
| VITE_CUMULUS_API_URL=http://localhost | ||
|
|
||
| # Auth URLs | ||
| REACT_APP_AUTH_HOST=https://develop-auth.corps.cloud/auth | ||
| REACT_APP_AUTH_REDIRECT_URL=http://localhost:3000 | ||
| VITE_AUTH_HOST=https://develop-auth.corps.cloud/auth | ||
| VITE_AUTH_REDIRECT_URL=http://localhost:3000 |
This file contains hidden or 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,25 +1,25 @@ | ||
| ########################## | ||
| # Configuration Parameters | ||
| ########################## | ||
| REACT_APP_ISDEVELOPMENT=true | ||
| VITE_ISDEVELOPMENT=true | ||
|
|
||
|
|
||
| ######################## | ||
| # Authentication Details | ||
| ######################## | ||
| # REACT_APP_AUTH_MOCK_USER | ||
| # VITE_AUTH_MOCK_USER | ||
| # can be set to ADMIN, USER, or left blank | ||
| # Leaving REACT_APP_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode" | ||
| # and to instead send authentication requests to REACT_APP_AUTH_HOST | ||
| REACT_APP_AUTH_MOCK_USER=ADMIN | ||
| # Leaving VITE_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode" | ||
| # and to instead send authentication requests to VITE_AUTH_HOST | ||
| VITE_AUTH_MOCK_USER=ADMIN | ||
|
|
||
| # AUTH URLs | ||
| REACT_APP_AUTH_HOST=https://develop-auth.corps.cloud/auth | ||
| REACT_APP_AUTH_REDIRECT_URL=http://localhost:3000 | ||
| VITE_AUTH_HOST=https://develop-auth.corps.cloud/auth | ||
| VITE_AUTH_REDIRECT_URL=http://localhost:3000 | ||
|
|
||
|
|
||
| ########################## | ||
| # APIs Used By Application | ||
| ########################## | ||
| REACT_APP_CUMULUS_API_URL=http://localhost/api | ||
| REACT_APP_SHARED_API_URL=https://shared-api.corps.cloud | ||
| VITE_CUMULUS_API_URL=https://cumulus.dev.cwbi.us/api | ||
| VITE_SHARED_API_URL=https://shared-api.corps.cloud |
This file contains hidden or 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,25 +1,25 @@ | ||
| ########################## | ||
| # Configuration Parameters | ||
| ########################## | ||
| REACT_APP_ISDEVELOPMENT=false | ||
| VITE_ISDEVELOPMENT=false | ||
|
|
||
|
|
||
| ######################## | ||
| # Authentication Details | ||
| ######################## | ||
| # REACT_APP_AUTH_MOCK_USER | ||
| # VITE_AUTH_MOCK_USER | ||
| # can be set to ADMIN, USER, or left blank | ||
| # Leaving REACT_APP_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode" | ||
| # and to instead send authentication requests to REACT_APP_AUTH_HOST | ||
| REACT_APP_AUTH_MOCK_USER= | ||
| # Leaving VITE_AUTH_MOCK_USER blank will cause the app not to run in "Auth Mocked Mode" | ||
| # and to instead send authentication requests to VITE_AUTH_HOST | ||
| VITE_AUTH_MOCK_USER= | ||
|
|
||
| # AUTH URLs | ||
| REACT_APP_AUTH_HOST=https://identityc-test.cwbi.us/auth | ||
| REACT_APP_AUTH_REDIRECT_URL=https://cumulus.rsgis.dev | ||
| VITE_AUTH_HOST=https://identityc-test.cwbi.us/auth | ||
| VITE_AUTH_REDIRECT_URL=https://cumulus.rsgis.dev | ||
|
|
||
|
|
||
| ########################## | ||
| # APIs Used By Application | ||
| ########################## | ||
| REACT_APP_CUMULUS_API_URL=https://cumulus.rsgis.dev/api | ||
| REACT_APP_SHARED_API_URL=https://shared-api.corps.cloud | ||
| VITE_CUMULUS_API_URL=https://cumulus.rsgis.dev/api | ||
| VITE_SHARED_API_URL=https://shared-api.corps.cloud |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,27 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en" class="h-full bg-gray-50"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <!-- Vite will replace %BASE_URL% with your `base` config (defaults to "/") --> | ||
| <link rel="icon" href="%BASE_URL%favicon.ico" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| <meta name="theme-color" content="#000000" /> | ||
| <meta | ||
| name="description" | ||
| content="Web site created using Vite + React" | ||
| /> | ||
| <link rel="apple-touch-icon" href="%BASE_URL%logo192.png" /> | ||
| <link rel="manifest" href="%BASE_URL%manifest.json" /> | ||
| <title>Cumulus</title> | ||
| </head> | ||
| <body class="h-full overflow-hidden"> | ||
| <div id="root" class="h-full overflow-hidden"> | ||
| <noscript>You need to enable JavaScript to run this app.</noscript> | ||
| </div> | ||
| <!-- | ||
| This is your React entry point. | ||
| Vite will transform this to the correct hashed filename when you build. | ||
| --> | ||
| <script type="module" src="/src/index.jsx"></script> | ||
| </body> | ||
| </html> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I would change the content, might mess with the site's SEO