Skip to content

Commit 4b70193

Browse files
committed
chore(repo): Merge main into jacek/agents-md-expand
2 parents b852bbf + 377350d commit 4b70193

6 files changed

Lines changed: 791 additions & 725 deletions

File tree

.changeset/empty-oigyvq.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/rare-sour-safe.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

AGENTS.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,13 @@
11
# AGENTS.md
22

3-
Clerk JavaScript SDK monorepo.
3+
Clerk's JavaScript SDK and library monorepo.
44

55
## Rules
66

77
- Non-major releases in `packages/clerk-js` and `packages/ui` are pushed out to consuming applications without requiring explicit package updates. This means a new `clerk-js` runtime can load into an app pinned to an older `@clerk/nextjs` (or any other framework SDK) version, so changes must remain backwards-compatible with SDK versions already in the wild, not just the current monorepo state. Removing or renaming anything an older SDK still calls will break production for those users. Extra care must be put into any changes to these packages.
88
- The API exposed from the core Clerk class in `packages/clerk-js/src/core/clerk.ts` is a contract that is depended on by internal and external consumers (including older SDK versions still loading the latest `clerk-js`). Changes to this API must be done in a major version to avoid breakage.
99

10-
## Toolchain
10+
## References
1111

12-
- pnpm only (`only-allow pnpm`). Node `>=24.15`, pnpm `>=10.33`.
13-
- `pnpm install` from root.
14-
15-
## Changesets
16-
17-
- Every PR needs one. `pnpm changeset` for package changes, `pnpm changeset:empty` for tooling/repo-only.
18-
- Empty changesets: two `---` delimiters, no body.
19-
20-
## Commits
21-
22-
- Conventional commits, `type(scope):` required (commitlint enforces).
23-
- scope = package name without `@clerk/`, or `repo` / `release` / `e2e`. `clerk-js` uses `js`.
24-
25-
## More
26-
27-
`docs/CONTRIBUTING.md` for dev setup, testing, JSDoc, publishing.
12+
- For questions about theming, appearance customization, or the styled system, see `references/theming-architecture.md`.
13+
- For dev setup, testing, JSDoc/Typedoc, publishing, changesets, and commit conventions, see `docs/CONTRIBUTING.md`.

0 commit comments

Comments
 (0)