Skip to content

Commit ed9dfa0

Browse files
authored
refactor: update dependencies and configs (#788)
* refactor: update dependencies and configs * fix: disable breadcrumb
1 parent f299118 commit ed9dfa0

File tree

276 files changed

+5763
-6213
lines changed

Some content is hidden

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

276 files changed

+5763
-6213
lines changed

Diff for: about/cloud-preview.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import './common.scss';
22

3+
{/* truncate */}
4+
35
# About Logto Cloud (Preview)
46

57
Thank you for joining us in Logto Cloud (Preview), giving you a sneak peek into our current progress. Logto Cloud is built on top of Logto OSS, providing a seamless upgrade path without incurring heavy overhead.

Diff for: babel.config.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
module.exports = {
22
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
33
plugins: [
4-
['@babel/plugin-transform-react-jsx', {
5-
runtime: 'automatic',
6-
}],
4+
[
5+
'@babel/plugin-transform-react-jsx',
6+
{
7+
runtime: 'automatic',
8+
},
9+
],
710
],
811
};

Diff for: blog/2022-08-07-typescript-all-in-one.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ I always had a dream of monorepo.
1212

1313
I saw the monorepo approach while working for Airbnb, but it was for the frontend only. With a deep love of the JavaScript ecosystem and the “happy” TypeScript developing experience, I started to align frontend and backend code in the same language from ~three years ago. It was great (for hiring) but not that great for developing since our projects were still scattered across multiple repos.
1414

15-
<!--truncate-->
15+
{/* truncate */}
1616

1717
:::info FYI
1818
There are quotes around the word “happy” since TypeScript did bring me a lot of fun and a-ha moments, but it also let me think “how could this doesn’t work” sometimes.

Diff for: blog/2022-08-20-logto-x-hasura/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When it comes to a new project, you usually cannot skip several things: APIs, au
1515

1616
Also, most of the works are “repeating”. I mean, they are needed and similar for almost every project, with some tweaks.
1717

18-
<!--truncate-->
18+
{/* truncate */}
1919

2020
Sounds scary and tedious? Don’t panic. Today we have open source. With the two open-source projects below, things become not tricky :
2121

Diff for: blog/2022-11-15-design-for-seamless-sie-1/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import architecture from './architecture.png';
1010

1111
We are thrilled to announce the release of the newest version of the Sign-in Experience, which includes more ways to sign-in and sign-up, as well as a framework that is easier to understand and more flexible to configure in the Admin Console. When compared to Sign-in Experience V1, this version's capability was expanded so that it could support a greater variety of flexible use cases. We hope that this will be able to assist developers in delivering a successful sign-in flow, which will also be appreciated by the end users.
1212

13-
<!--truncate-->
13+
{/* truncate */}
1414

1515
In this article, we'll go over the history of Sign-in Experience, including its conception, design decisions, and product tradeoffs. You will also gain a better grasp of how to construct a successful and frictionless sign-in or sign-up experience.
1616

Diff for: blog/2022-11-28-ciam-101-authn-identity-sso/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags: [ciam, auth, authentication]
1010

1111
I began the build Logto because I noticed that Identity and Access Management (IAM) had become increasingly complex and expansive over time. The concept of IAM is even large enough to give rise to new concepts, such as WIAM (Workforce IAM) and CIAM (Customer IAM).
1212

13-
While WIAM and CIAM share the same foundation, they have distinct use cases: WIAM is typically used for internal users, while CIAM is used for external customers.<!--truncate--> Some examples:
13+
While WIAM and CIAM share the same foundation, they have distinct use cases: WIAM is typically used for internal users, while CIAM is used for external customers.{/* truncate */} Some examples:
1414

1515
- **WIAM** Your company has a unified identity system for employees, thus every one can use the same account to access company resources, such as software subscriptions, cloud computing services, etc.
1616
- **CIAM** Your online bookstore requires a user identity system for customers and sellers. The sign-in experience is a critical part of onboarding, as it is located at the top of the conversion funnel.

Diff for: blog/2022-12-05-design-for-seamless-sie-2/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In the previous piece, we discussed the development of the Sign-in Experience, a
1515

1616
In this article, we'll answer these questions and show you how the Logto Admin Console can help.
1717

18-
<!--truncate-->
18+
{/* truncate */}
1919

2020
## Make Admin Console thoughtful and educational
2121

Diff for: blog/2023-02-05-ciam-102-authz-and-rbac/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In the [previous article](../2022-11-28-ciam-101-authn-identity-sso/index.mdx),
1212

1313
Organization and Tenant are great for grouping Identities, but they lead to an absolute democracy: everyone can do anything in this system. While utopia is still a mystery, let’s take a look at the governance of access: Authorization (AuthZ).
1414

15-
<!--truncate-->
15+
{/* truncate */}
1616

1717
### Why do we need authorization?
1818

Diff for: blog/2023-02-16-do-you-need-to-build-auth/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ I would like to point out this first for a better reading experience.
1414

1515
I’ve seen a lot of developers asking questions like “Should I build my own auth for my app?”. While the answer cannot be a simple "Yes" or "No", I’d like to write an article to breakdown the implementation and demonstrate the pros and cons to help you decide.
1616

17-
<!--truncate-->
17+
{/* truncate */}
1818

1919
> **TL;DR** If you're still learning, auth will be a good challenge. If you want full control, it's worth building your own auth system. Otherwise, it's necessary to find an existing solution that fits your needs.
2020

Diff for: blog/2023-03-20-announcing-logto-cloud-preview/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Hi there,
1414

1515
I’m Gao, one of the creators of Logto. I remember feeling nervous last July - that’s the date we launched the first beta version of Logto OSS.
1616

17-
<!-- truncate -->
17+
{/* truncate */}
1818

1919
To our surprise, we had some deep conversations with the community from the outset. We talked about the terrible developer experience of building authentication, even with existing products, and the dramatic costs of current industry leaders. As developers ourselves, we feel you and that's why we started building Logto.
2020

Diff for: blog/releases/2023-feb-extended.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Notable updates include:
1919

2020
Let's take a look at what's inside!
2121

22-
<!-- truncate -->
22+
{/* truncate */}
2323

2424
## 💥 BREAKING CHANGES 💥
2525

Diff for: blog/releases/2023-feb.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags: [release]
1010
Please welcome our first release candidate! Logto is just a few steps away from general availability.
1111
:::
1212

13-
<!-- truncate -->
13+
{/* truncate */}
1414

1515
## 💥 Breaking changes 💥
1616

Diff for: blog/releases/2023-jan.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For the first day of 2023, we shipped a few things for everybody:
1818
We are currently busy working on the general availability version which includes User profile, RBAC (Role-based access control), and much more!
1919
:::
2020

21-
<!-- truncate -->
21+
{/* truncate */}
2222

2323
## 💥 Breaking change 💥
2424

Diff for: blog/releases/2023-mar.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags: [release]
1111
1212
We are grateful for your participation in testing Logto OSS, and we're excited to announce our first general availability version. In this version, we have delivered numerous improvements to the sign-in experience, making it more delightful for your end-users. This new release also includes several new practical features.
1313

14-
<!-- truncate -->
14+
{/* truncate */}
1515

1616
> **Note**
1717
> In case you missed it, please see the letter from Gao: [Announcing Logto Cloud (Preview) and OSS General Availability](https://docs.logto.io/blog/announcing-logto-cloud-preview).

Diff for: commitlint.config.js

-9
This file was deleted.

Diff for: commitlint.config.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import conventional from '@commitlint/config-conventional';
2+
import type { UserConfig } from '@commitlint/types';
3+
4+
const configs: UserConfig = {
5+
extends: ['@commitlint/config-conventional'],
6+
rules: {
7+
'type-enum': [2, 'always', [...conventional.rules['type-enum'][2], 'blog']],
8+
},
9+
};
10+
11+
export default configs;

0 commit comments

Comments
 (0)