Skip to content

Commit e098a1d

Browse files
committed
chore(react-journey): migrate from webpack to vite
1 parent 9c77851 commit e098a1d

72 files changed

Lines changed: 6630 additions & 28348 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

javascript/package-lock.json

Lines changed: 6389 additions & 27959 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# APP_URL - not using this for preview-environment instead, we can use window.location.origin
2-
WELLKNOWN_URL=
3-
SCOPE=
4-
API_URL=
5-
PORT=8443
6-
DEBUGGER_OFF=true
7-
DEVELOPMENT=true
8-
JOURNEY_LOGIN=Login
9-
JOURNEY_REGISTER=
10-
WEB_OAUTH_CLIENT=
11-
REALM_PATH=
12-
CENTRALIZED_LOGIN=false
1+
# VITE_APP_URL - not using this for preview-environment instead, we can use window.location.origin
2+
VITE_WELLKNOWN_URL=
3+
VITE_SCOPE=
4+
VITE_API_URL=
5+
VITE_PORT=8443
6+
VITE_DEBUGGER_OFF=true
7+
VITE_DEVELOPMENT=true
8+
VITE_JOURNEY_LOGIN=Login
9+
VITE_JOURNEY_REGISTER=
10+
VITE_WEB_OAUTH_CLIENT=
11+
VITE_REALM_PATH=
12+
VITE_CENTRALIZED_LOGIN=false
1313

14-
# INIT_PROTECT (optional) - bootstrap | journey
14+
# VITE_INIT_PROTECT (optional) - bootstrap | journey
1515
# 'bootstrap' will initialize protect at app bootstrap time
1616
# 'journey' relies on the PingOneProtectEvaluationCallback for initialization
17-
INIT_PROTECT=
17+
VITE_INIT_PROTECT=
1818

19-
# PINGONE_ENV_ID - required if INIT_PROTECT is set
20-
PINGONE_ENV_ID=
19+
# VITE_PINGONE_ENV_ID - required if VITE_INIT_PROTECT is set
20+
VITE_PINGONE_ENV_ID=

javascript/react-journey/.eslintrc.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

javascript/react-journey/babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

javascript/react-journey/client/components/icons/account-icon.js renamed to javascript/react-journey/client/components/icons/account-icon.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* of the MIT license. See the LICENSE file for details.
99
*/
1010

11-
import React from 'react';
12-
1311
/**
1412
* @function AccountIcon - React component for the user icon representing the account
1513
* @param {Object} props - React props object

javascript/react-journey/client/components/icons/action-icon.js renamed to javascript/react-journey/client/components/icons/action-icon.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* of the MIT license. See the LICENSE file for details.
99
*/
1010

11-
import React from 'react';
12-
1311
/**
1412
* @function ActionIcon - React component that displays the action, "three dots" icon representing the a menu
1513
* @param {Object} props - React props object

javascript/react-journey/client/components/icons/alert-icon.js renamed to javascript/react-journey/client/components/icons/alert-icon.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* of the MIT license. See the LICENSE file for details.
99
*/
1010

11-
import React from 'react';
12-
1311
/**
1412
* @function AlertIcon - React component that displays the alert icon representing the a warning
1513
* @param {Object} props - React props object

javascript/react-journey/client/components/icons/apple-icon.js renamed to javascript/react-journey/client/components/icons/apple-icon.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* of the MIT license. See the LICENSE file for details.
99
*/
1010

11-
import React from 'react';
12-
1311
/**
1412
* @function AppleIcon - React component for the user icon representing the apple icon
1513
* @param {Object} props - React props object

javascript/react-journey/client/components/icons/eye-icon.js renamed to javascript/react-journey/client/components/icons/eye-icon.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* of the MIT license. See the LICENSE file for details.
99
*/
1010

11-
import React from 'react';
12-
1311
/**
1412
* @function AlertIcon - React component that displays the eye (password visible) icon
1513
* @param {Object} props - React props object

javascript/react-journey/client/components/icons/finger-print-icon.js renamed to javascript/react-journey/client/components/icons/finger-print-icon.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* of the MIT license. See the LICENSE file for details.
99
*/
1010

11-
import React from 'react';
12-
1311
/**
1412
* @function FingerPrintIcon - React component that displays the finger print icon representing login
1513
* @param {Object} props - React props object

0 commit comments

Comments
 (0)