diff --git a/.env b/.env index aff94c66aa1..8bc11e94bdc 100644 --- a/.env +++ b/.env @@ -5,19 +5,19 @@ EXTEND_ESLINT=true # ALGOLIA CONFIG -REACT_APP_ALGOLIA_SEARCH_KEY_ENDPOINT=https://us-central1-em-search-test.cloudfunctions.net/getSearchKey -REACT_APP_ALGOLIA_APPPLICATION_ID=AJCS0S8FVN -REACT_APP_ALGOLIA_INDEX=SEARCH_EM +VITE_ALGOLIA_SEARCH_KEY_ENDPOINT=https://us-central1-em-search-test.cloudfunctions.net/getSearchKey +VITE_ALGOLIA_APPPLICATION_ID=AJCS0S8FVN +VITE_ALGOLIA_INDEX=SEARCH_EM # FIREBASE CONFIG # Firebase API Key is safe to expose # See: https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public -REACT_APP_FIREBASE_API_KEY=AIzaSyB7sj38woH-oJ7hcSwpq0lB7hUteyZMxNo -REACT_APP_FIREBASE_AUTH_DOMAIN=em-proto.firebaseapp.com -REACT_APP_FIREBASE_DATABASE_URL=https://em-proto.firebaseio.com -REACT_APP_FIREBASE_PROJECT_ID=em-proto -REACT_APP_FIREBASE_STORAGE_BUCKET=gs://em-proto.appspot.com/ -REACT_APP_FIREBASE_MESSAGE_SENDER_ID=91947960488 +VITE_FIREBASE_API_KEY=AIzaSyB7sj38woH-oJ7hcSwpq0lB7hUteyZMxNo +VITE_FIREBASE_AUTH_DOMAIN=em-proto.firebaseapp.com +VITE_FIREBASE_DATABASE_URL=https://em-proto.firebaseio.com +VITE_FIREBASE_PROJECT_ID=em-proto +VITE_FIREBASE_STORAGE_BUCKET=gs://em-proto.appspot.com/ +VITE_FIREBASE_MESSAGE_SENDER_ID=91947960488 # Demo mode -# REACT_APP_DEMO=1 \ No newline at end of file +# VITE_DEMO=1 \ No newline at end of file diff --git a/.env.development b/.env.development index fc33402153b..2f5400ebe19 100644 --- a/.env.development +++ b/.env.development @@ -4,15 +4,15 @@ # See: https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used # FEEDBACK CONFIG -REACT_APP_FEEDBACK_URL=https://us-central1-em-search-test.cloudfunctions.net/sendFeedbackEmail +VITE_FEEDBACK_URL=https://us-central1-em-search-test.cloudfunctions.net/sendFeedbackEmail # WEBSOCKET -REACT_APP_WEBSOCKET_HOST=localhost -REACT_APP_WEBSOCKET_PORT=3001 +VITE_WEBSOCKET_HOST=localhost +VITE_WEBSOCKET_PORT=3001 # CAPACITOR # Local IP addresses should only be defined in .env.development.local so that they are not checked into version control. CAPACITOR_SERVER_URL= # AI SERVER -REACT_APP_AI_URL=http://localhost:3001/ai +VITE_AI_URL=http://localhost:3001/ai diff --git a/.env.production b/.env.production index 5bba77e4d46..497fac581a4 100644 --- a/.env.production +++ b/.env.production @@ -3,11 +3,11 @@ # See: https://create-react-app.dev/docs/adding-custom-environment-variables/#what-other-env-files-can-be-used # FEEDBACK CONFIG -REACT_APP_FEEDBACK_URL=https://us-central1-em-proto.cloudfunctions.net/sendFeedbackEmail +VITE_FEEDBACK_URL=https://us-central1-em-proto.cloudfunctions.net/sendFeedbackEmail # WEBSOCKET -REACT_APP_WEBSOCKET_HOST=em-staging-sa2jm.ondigitalocean.app -REACT_APP_WEBSOCKET_PORT= +VITE_WEBSOCKET_HOST=em-staging-sa2jm.ondigitalocean.app +VITE_WEBSOCKET_PORT= # AI SERVER -REACT_APP_AI_URL=https://em-staging-sa2jm.ondigitalocean.app/ai +VITE_AI_URL=https://em-staging-sa2jm.ondigitalocean.app/ai diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/.ncurc.js b/.ncurc.js index 49e6c1ff82a..bac8cd7df88 100644 --- a/.ncurc.js +++ b/.ncurc.js @@ -24,7 +24,6 @@ module.exports = { // https://github.com/jsdom/whatwg-encoding/pull/11 'ipfs-http-client', - // jest-puppeteer requires puppeteer - - - + + + - - - + + + - em