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.94k stars 446 forks source link

refactor(core): rename account prefix to my-account #6821

Closed wangsijie closed 3 days ago

wangsijie commented 3 days ago

Summary

Per discussion, rename /account to /my-account.

This PR also removes duplicated integration tests caused by wrong rebase.

Testing

Existing tests.

Checklist

github-actions[bot] commented 3 days ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -7.4 KB

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/account/constants.ts|:chart_with_downwards_trend: -3 Bytes| |packages/core/src/routes/account/index.openapi.json|:chart_with_downwards_trend: -24 Bytes| |packages/core/src/routes/swagger/utils/operation-id.ts|:chart_with_downwards_trend: -144 Bytes| |packages/integration-tests/src/api/my-account.ts|:chart_with_downwards_trend: -2.5 KB| |packages/integration-tests/src/api/profile.ts|:chart_with_downwards_trend: -2.46 KB| |packages/integration-tests/src/tests/api/account/account-center-reject.test.ts|:chart_with_downwards_trend: -6 Bytes| |packages/integration-tests/src/tests/api/account/email-and-phone.test.ts|:chart_with_downwards_trend: -7.65 KB| |packages/integration-tests/src/tests/api/account/index.test.ts|:chart_with_downwards_trend: -27 Bytes| |packages/integration-tests/src/tests/api/account/social.test.ts|:chart_with_downwards_trend: -12 Bytes|