Commit 9eac78e
authored
refactor(account): rename package from @logto/account-center to @logto/account (#8128)
Fix readdir error in production by aligning package name with UserApps.AccountCenter value.
The koaSpaProxy middleware resolves static files from `node_modules/@logto/{packagePath}/dist`.
Previously, packagePath was 'account' (from UserApps.AccountCenter) but the package was named
@logto/account-center, causing the middleware to look for a non-existent directory.
This rename ensures consistency with the pattern used by other packages like demo-app.1 parent 840491a commit 9eac78e
File tree
95 files changed
+13
-13
lines changed- .github
- packages
- account
- src
- Providers
- AppBoundary
- LoadingContextProvider
- PageContextProvider
- ToastProvider
- apis
- assets/icons
- components
- BrandingHeader
- Checkbox
- CodeVerification
- ConfirmModal
- EmailVerification
- ErrorPage
- PasswordVerification
- PhoneVerification
- SetPassword
- SwitchVerificationMethodLink
- VerificationMethodButton
- VerificationMethodList
- constants
- hooks
- i18n
- include.d
- layouts/SecondaryPageLayout
- pages
- BackupCodeBinding
- BackupCodeView
- CodeFlow
- Email
- Home
- PasskeyBinding
- PasskeyView
- Password
- Phone
- SessionExpired
- TotpBinding
- UpdateSuccess
- Username
- types
- utils
- core
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
File renamed without changes.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments