-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace CreateReactApp with Vite (#153)
This commit updates libraries and replaces CreateReactApp with Vite. Currently dashboard uses React 17, and after being in use for approximately two years, there is a need to upgrade the stack. CreateReactApp is not the recommended approach by React team for now, and Vite is considered the most direct alternative to replace it. Additionally, Jest is replaced by Vitest to align with the technology upgrade. --------- Co-authored-by: Yourim Cha <yourim.cha@navercorp.com>
- Loading branch information
1 parent
7c44e7c
commit e79e391
Showing
47 changed files
with
6,486 additions
and
29,304 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Common Environment Variables | ||
REACT_APP_JS_SDK_VERSION=0.4.23 | ||
VITE_JS_SDK_VERSION=0.4.23 |
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 @@ | ||
# Development Environment Variables | ||
REACT_APP_SERVICE_URL=https://yorkie.dev | ||
REACT_APP_API_ADDR=http://localhost:8080 | ||
REACT_APP_SITE_URL=https://localhost:3000/dashboard/ | ||
VITE_SERVICE_URL=https://yorkie.dev | ||
VITE_API_ADDR=http://localhost:8080 | ||
VITE_SITE_URL=http://localhost:3000/dashboard/ |
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 @@ | ||
# Production Environment Variables | ||
REACT_APP_SERVICE_URL=https://yorkie.dev | ||
REACT_APP_API_ADDR=https://api.yorkie.dev | ||
REACT_APP_SITE_URL=https://yorkie.dev/dashboard/ | ||
VITE_SERVICE_URL=https://yorkie.dev | ||
VITE_API_ADDR=https://api.yorkie.dev | ||
VITE_SITE_URL=https://yorkie.dev/dashboard/ |
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
|
||
# production | ||
/build | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
|
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
Oops, something went wrong.