logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.66k stars 439 forks source link

refactor(experience): use vite #6324

Closed gao-sun closed 3 months ago

gao-sun commented 3 months ago

Summary

🪦 parceljs, this time is real. almost the same as #6318, but for experience.

note: it should not lead a breaking change for custom css since the production class name has been set the identical format as before.

Testing

locally sign-in/out ok

Checklist

github-actions[bot] commented 3 months ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -56.92 KB

Diff by File |Name|Diff| |---|---| |.changeset/sour-windows-wave.md|:chart_with_downwards_trend: -383 Bytes| |.dockerignore|:chart_with_downwards_trend: -14 Bytes| |.npmrc|:chart_with_downwards_trend: -176 Bytes| |.scripts/package.sh|:chart_with_downwards_trend: -14 Bytes| |.vscode/tsx.code-snippets|:chart_with_downwards_trend: -5 Bytes| |Dockerfile|:chart_with_downwards_trend: -51 Bytes| |package.json|:chart_with_downwards_trend: -149 Bytes| |packages/console/src/assets/docs/guides/README.md|:chart_with_downwards_trend: -82 Bytes| |packages/console/src/components/Markdown/index.tsx|:chart_with_downwards_trend: -56 Bytes| |packages/core/src/middleware/koa-spa-proxy.ts|:chart_with_downwards_trend: -358 Bytes| |packages/demo-app/src/include.d/vite-end.d.ts|:chart_with_downwards_trend: -78 Bytes| |packages/demo-app/src/index.tsx|:chart_with_downwards_trend: -94 Bytes| |packages/experience/.eslintrc.cjs|:chart_with_downwards_trend: -463 Bytes| |packages/experience/.parcelrc|:chart_with_downwards_trend: -335 Bytes| |packages/experience/.parcelrc.arm64|:chart_with_downwards_trend: -478 Bytes| |packages/experience/index.html|:chart_with_downwards_trend: -477 Bytes| |packages/experience/jest.config.ts|:chart_with_downwards_trend: -11 Bytes| |packages/experience/package.json|:chart_with_downwards_trend: -937 Bytes| |packages/experience/src/Layout/AppLayout/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/Layout/LandingPageLayout/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/Layout/SecondaryPageLayout/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/Layout/SectionLayout/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/Layout/StaticPageLayout/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/Providers/AppBoundary/AppMeta.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/Providers/IframeModalProvider/IframeModal/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/BrandingHeader/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/components/Button/IconButton.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/Button/MfaFactorButton.tsx|:chart_with_downwards_trend: -14 Bytes| |packages/experience/src/components/Button/RotatingRingIcon.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/components/Button/SocialLinkButton.tsx|:chart_with_downwards_trend: -10 Bytes| |packages/experience/src/components/Button/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/Checkbox/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/components/ConfirmModal/AcModal.tsx|:chart_with_downwards_trend: -4 Bytes| |packages/experience/src/components/ConfirmModal/MobileModal.tsx|:chart_with_downwards_trend: -10 Bytes| |packages/experience/src/components/Divider/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/ErrorMessage/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/InputFields/InputField/NotchedBorder/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/InputFields/InputField/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/InputFields/PasswordInputField/index.tsx|:chart_with_downwards_trend: -12 Bytes| |packages/experience/src/components/InputFields/SmartInputField/AnimatedPrefix/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/InputFields/SmartInputField/CountryCodeSelector/CountryCodeDropdown/index.tsx|:chart_with_downwards_trend: -7 Bytes| |packages/experience/src/components/InputFields/SmartInputField/CountryCodeSelector/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/components/InputFields/SmartInputField/index.tsx|:chart_with_downwards_trend: -6 Bytes| |packages/experience/src/components/LoadingLayer/LoadingIcon.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/components/LoadingLayer/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/LoadingMask/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/LogtoSignature/index.tsx|:chart_with_downwards_trend: -13 Bytes| |packages/experience/src/components/NavBar/index.tsx|:chart_with_downwards_trend: -7 Bytes| |packages/experience/src/components/Notification/AppNotification/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/components/Notification/InlineNotification/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/SwitchMfaFactorsLink/index.tsx|:chart_with_downwards_trend: -6 Bytes| |packages/experience/src/components/TermsLinks/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/TextLink/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/Toast/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/components/VerificationCode/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/constants/env.ts|:chart_with_downwards_trend: -165 Bytes| |packages/experience/src/containers/DevelopmentTenantNotification/index.tsx|:chart_with_downwards_trend: -6 Bytes| |packages/experience/src/containers/MfaFactorList/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/SetPassword/Lite.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/SetPassword/SetPassword.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/containers/SetPassword/TogglePassword.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/SocialLanding/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/SocialLinkAccount/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/SocialSignInList/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/TermsAndPrivacyCheckbox/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/TotpCodeVerification/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/containers/VerificationCode/PasswordSignInLink.tsx|:chart_with_downwards_trend: -6 Bytes| |packages/experience/src/containers/VerificationCode/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/include.d/react-app.d.ts|:chart_with_downwards_trend: -1.15 KB| |packages/experience/src/include.d/react-router-dom.d.ts|:chart_with_downwards_trend: -56 Bytes| |packages/experience/src/include.d/vite-env.d.ts|:chart_with_downwards_trend: -56 Bytes| |packages/experience/src/index.html|:chart_with_downwards_trend: -473 Bytes| |packages/experience/src/pages/Callback/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/Consent/OrganizationSelector/OrganizationItem/index.tsx|:chart_with_downwards_trend: -7 Bytes| |packages/experience/src/pages/Consent/OrganizationSelector/OrganizationSelectorModal/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/Consent/OrganizationSelector/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/pages/Consent/ScopeGroup/index.tsx|:chart_with_downwards_trend: -7 Bytes| |packages/experience/src/pages/Consent/ScopesListCard/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/Consent/UserProfile/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/pages/Consent/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/Continue/IdentifierProfileForm/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/Continue/SetEmailOrPhone/SocialIdentityNotification.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/ErrorPage/index.tsx|:chart_with_downwards_trend: -7 Bytes| |packages/experience/src/pages/ForgotPassword/ForgotPasswordForm/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaBinding/BackupCodeBinding/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaBinding/TotpBinding/SecretSection/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaBinding/TotpBinding/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaBinding/WebAuthnBinding/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaVerification/BackupCodeVerification/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaVerification/TotpVerification/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/MfaVerification/WebAuthnVerification/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/Register/IdentifierRegisterForm/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/pages/Register/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/SignIn/IdentifierSignInForm/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/pages/SignIn/Main.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/SignIn/PasswordSignInForm/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/pages/SignIn/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/SignInPassword/PasswordForm/VerificationCodeLink.tsx|:chart_with_downwards_trend: -6 Bytes| |packages/experience/src/pages/SignInPassword/PasswordForm/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/SingleSignOnConnectors/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/src/pages/SingleSignOnEmail/index.tsx|:chart_with_downwards_trend: -1 Bytes| |packages/experience/src/pages/SocialLanding/index.tsx|:chart_with_downwards_trend: -5 Bytes| |packages/experience/tsconfig.json|:chart_with_downwards_trend: -3 Bytes| |packages/experience/vite.config.ts|:chart_with_downwards_trend: -1.82 KB| |packages/toolkit/core-kit/declaration/index.ts|:chart_with_downwards_trend: -24 Bytes| |packages/toolkit/core-kit/declaration/react-app.d.ts|:chart_with_downwards_trend: -1.19 KB| |pnpm-lock.yaml|:chart_with_downwards_trend: -54.51 KB| |vite.shared.config.ts|:chart_with_downwards_trend: -59 Bytes|