Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
5d379bc
fix(clerk-sdk-node): Fix types of ClerkExpressWithAuth/ClerkExpressRe…
dimkl Oct 26, 2023
2232008
chore(repo): Apply v4 Version packages specific changes (#1943)
dimkl Oct 26, 2023
0887243
fix(backend): Support NextJS 14 (#1948)
desiprisg Oct 26, 2023
7bcc4a7
chore(repo): Update changeset
nikosdouvlis Oct 26, 2023
ff3a775
chore(repo): Version packages (#1936)
clerk-cookie Oct 26, 2023
29a5f56
fix(shared): Improve expo compat (#1950)
LekoArts Oct 26, 2023
7dfb3e6
chore(repo): Version packages (#1952)
clerk-cookie Oct 26, 2023
bc19fe0
chore(backend,shared): Include clerkTraceId for backend api errors (#…
Oct 30, 2023
fb89c9a
fix(clerk-js): Deconstruct new feedback props to avoid prop polluting…
desiprisg Oct 30, 2023
1a95065
fix(nextjs): Deprecate user, session, organization from auth() (#1960)
panteliselef Oct 30, 2023
a8d7a68
fix(shared): Remove "sideEffects" and fix postbuild script (#1974) (#…
clerk-cookie Oct 31, 2023
7b91aca
Added style for prefers-color-scheme to interstitial head (#1935) (#1…
clerk-cookie Oct 31, 2023
f6f67f9
feat(clerk-js): Use `org:sys_domains:read` for improved fine grain co…
panteliselef Oct 31, 2023
3b999f3
fix(nextjs): Import `deprecatedObjectProperty` from subpath (#1997)
panteliselef Nov 1, 2023
8f9bd84
chore(repo): Rename main-v4 to release/v4
dimkl Nov 1, 2023
89385e4
Backport CI workflow to release/v4 (#2009)
tmilewski Nov 1, 2023
60ea712
refactor(types): Simplify WithOptions type generic (#1995) (#2008)
clerk-cookie Nov 1, 2023
0f8aedd
feat(clerk-js): Enable element descriptors & ids for active devices […
clerk-cookie Nov 1, 2023
5a38c00
chore(repo): Version packages (#1989)
clerk-cookie Nov 2, 2023
7fa8fbc
feat(shared): Organization hooks with `setData` and `revalidate` (#17…
clerk-cookie Nov 2, 2023
8ff6bef
fix(clerk-js): Re-initialize Client singleton instance on Client dest…
clerk-cookie Nov 2, 2023
d7fe11e
feat(clerk-js,types): Fetch custom roles and localize them (#2004) (#…
panteliselef Nov 3, 2023
20eab83
fix(nextjs): Improve type inference for the return type of auth helpe…
panteliselef Nov 6, 2023
f9d1bc7
feat(nextjs,clerk-react,types,clerk-js): Add experimental support for…
panteliselef Nov 6, 2023
c120fbb
chore(repo): Rename clerkinc to clerk ❤️ #2023 (#2059)
dimkl Nov 6, 2023
4f9214a
chore(clerk-sdk-node): Warn about `@clerk/clerk-sdk-node/{esm|cjs}/in…
dimkl Nov 6, 2023
4c34290
chore(repo): Backport canary package release into v4 (#2066)
anagstef Nov 7, 2023
068a902
fix(clerk-js): Incorrect result counters in data tables (#2056) (#2067)
clerk-cookie Nov 7, 2023
8238e40
fix(repo): Fix workflow name in accounts repo (#2069)
anagstef Nov 7, 2023
9a065cd
feat(clerk-js): Handle user_locked error during oauth flow with redir…
clerk-cookie Nov 7, 2023
068aded
fix(clerk-js): Use strict equality operator to check for lockout erro…
clerk-cookie Nov 7, 2023
cba0a49
chore(repo): Fix snapshot release for v4 branch
nikosdouvlis Nov 8, 2023
864a472
chore(repo): Ignore publint errors for now
nikosdouvlis Nov 8, 2023
f652a56
feat(clerk-js,shared): Add a navigateWithError utility for SignIn (#2…
clerk-cookie Nov 8, 2023
906da4f
fix(clerk-js): Emit session when permissions or role of the active me…
clerk-cookie Nov 8, 2023
4473db8
fix(remix): Avoid always showing `frontendApi` deprecation (#2086)
dimkl Nov 8, 2023
26cb643
fix(clerk-js,shared): Refresh invited members upon revocation (#2058)…
clerk-cookie Nov 8, 2023
7ed0f81
chore(clerk-js): Replace Avatar preview in OrganizationProfileAvatarU…
clerk-cookie Nov 9, 2023
65b7bf6
chore(repo): Version packages (#2018)
clerk-cookie Nov 9, 2023
1df2ffe
fix(backend): strip experimental__has from serializable auth object (…
brkalow Nov 9, 2023
dda357b
chore(repo): Backport all CI changes (#2105)
tmilewski Nov 9, 2023
c1c17e0
chore(repo): Rename release workflow; Update global Turbo deps (#2106)
tmilewski Nov 9, 2023
221a684
chore(repo): Version packages (#2104)
clerk-cookie Nov 10, 2023
60d08a0
chore(repo): Handle publint/attw errors [SDK-908] (#2124) (#2131)
tmilewski Nov 14, 2023
0a3b4d5
fix(clerk-js): Require role to be selected before sending organizatio…
panteliselef Nov 15, 2023
203def1
chore(repo): Version packages (#2136)
clerk-cookie Nov 15, 2023
e0bfc5a
fix(clerk-js): Avoid wrapping NotificationCountBadge of OrgSwitcher w…
panteliselef Nov 17, 2023
d5e8735
feat(localizations): Extend ru-RU localization (#2167) (#2171)
nikosdouvlis Nov 20, 2023
383d336
chore(repo): Version packages (#2159)
clerk-cookie Nov 21, 2023
d8cd0e2
fix(clerk-js): Hide Members page of OrgProfile if user doesn't have a…
panteliselef Nov 22, 2023
e61df05
feat(backend): Deprecate createSMSMessage (#2184)
Nov 22, 2023
9d8a29b
feat(backend): Introduce OrganizationPermissionAPI (#2178) (#2185)
panteliselef Nov 22, 2023
aaaf24a
feat(backend): Introduce OrganizationRoleAPI (#2177) (#2187)
panteliselef Nov 22, 2023
e41374a
feat(shared): load clerk-js@v4 in interstitial (#2180)
brkalow Nov 22, 2023
c6950d7
chore(repo): Version packages (#2183)
clerk-cookie Nov 23, 2023
bfa1b78
fix(clerk-js): Fallback to custom role name if localization is not pr…
panteliselef Nov 23, 2023
e7d8730
fix(clerk-js): Revalidate invitations table after invitation screen s…
panteliselef Nov 23, 2023
47be2dc
chore(repo): Version packages (#2198)
clerk-cookie Nov 24, 2023
d1fae1f
fix(clerk-js): Reset CodeControl when resetting wizard in VerifyDomai…
panteliselef Nov 24, 2023
6cef817
chore(repo): Version packages (#2205)
clerk-cookie Nov 27, 2023
7130db0
fix(clerk-react): Missing methods and properties from IsomorphicClerk…
panteliselef Nov 29, 2023
e51b1a0
fix(clerk-js): Add setter for sdkMetadata to address error (#2237) (#…
clerk-cookie Nov 30, 2023
e0c4364
fix(clerk-js): Hide Add domain button when user is missing `org:sys_d…
panteliselef Dec 4, 2023
549098c
chore(repo): Version packages (#2235)
clerk-cookie Dec 4, 2023
fc43f12
fix(nextjs): Skip NextResponse normalization in mergeResponses if pos…
clerk-cookie Dec 5, 2023
11fdbcb
revert(backend): Introduce OrganizationPermissionAPI and Organization…
panteliselef Dec 5, 2023
b94f32a
chore(repo): Version packages (#2262)
clerk-cookie Dec 5, 2023
12b3629
chore(clerk-js,types): Remove system delete permission for domains an…
panteliselef Dec 6, 2023
6b59735
fix(clerk-js): Fallback to FAPI error message for password pwned case…
desiprisg Dec 6, 2023
31ee143
feat(types): Add `permissions` to `meta` field of fapi error (#2282) …
clerk-cookie Dec 7, 2023
7ef3414
fix(backend): Added missing types to create invitation (#2268) (#2287)
clerk-cookie Dec 7, 2023
c7763fa
fix(backend,clerk-sdk-node): Resolve reported signature issues (#2284…
dimkl Dec 7, 2023
11e61cc
chore(repo): Version packages (#2271)
clerk-cookie Dec 7, 2023
a624798
chore(types,clerk-js,clerk-react): Deprecate `Clerk.isReady()` in fav…
dimkl Dec 8, 2023
7657cd3
chore(repo): Version packages (#2295)
clerk-cookie Dec 11, 2023
ada4bd0
fix(nextjs): Use dynamic imports in ClerkProvider (#2292)
LekoArts Dec 12, 2023
eb94116
chore(repo): Version packages (#2320)
clerk-cookie Dec 12, 2023
2dc93d4
feat(nextjs,shared,backend,clerk-react): Introduce Protect for author…
panteliselef Dec 12, 2023
b4868ab
chore(clerk-js): Update zxcvbn dependency (#2326) (#2332)
clerk-cookie Dec 13, 2023
96b9bb5
feat(nextjs): Accept `redirectUrl` as option for `auth().protect()` #…
panteliselef Dec 13, 2023
ff2fb69
chore(repo): Version packages (#2330)
clerk-cookie Dec 13, 2023
e47c115
chore(nextjs): Fix quickstarts link in error msg (#2354)
dimkl Dec 14, 2023
c27a2fa
chore(repo): Version packages (#2358)
clerk-cookie Dec 14, 2023
4d5cae2
fix(clerk-js): Prevent submitting on enter in Organization Profile fo…
panteliselef Dec 19, 2023
98f8ec6
fix(clerk-js): Clear feedback when `undefined` is passed to `setError…
panteliselef Dec 19, 2023
a8feab7
fix(backend): Replace `OrganizationMembershipRole` with custom types …
panteliselef Dec 20, 2023
df40705
chore(clerk-js,shared,nextjs): Support `__clerk_db_jwt` and `__dev_se…
dimkl Dec 21, 2023
b9e24c1
chore(repo): Version packages (#2402)
clerk-cookie Dec 21, 2023
3ece3f8
fix(backend): Add `createOrganizationEnabled` param in User.update() …
dimkl Dec 21, 2023
0bf0bdd
feat(shared): Use both `__clerk_db_jwt` and `__dev_browser` in redire…
dimkl Dec 22, 2023
6c64c9b
Revert "chore(types,clerk-js,clerk-react): Deprecate `Clerk.isReady()…
dimkl Dec 22, 2023
3ec07c1
chore(repo): Version packages (#2433)
clerk-cookie Dec 22, 2023
04b6b18
fix(clerk-js): Fetching custom role in OrganizationSwitcher with cach…
panteliselef Jan 2, 2024
58094ca
fix(clerk-js): Avoid triggering prepare verification twice (#2458)
panteliselef Jan 2, 2024
65332d7
fix(shared): Invitations depends on wrong options (useOrganization) (…
clerk-cookie Jan 4, 2024
71b4b9c
fix(backend): Add missing details to backend API errors (#2421)
Jan 8, 2024
bc4508d
fix(clerk-js): Revalidate when user deletes organization (#2473) (#2504)
panteliselef Jan 8, 2024
12817dd
chore(repo): Version packages (#2457)
clerk-cookie Jan 8, 2024
b277ab9
Telemetry: Append `__clerk_framework_hint` if a known framework is de…
nikosdouvlis Jan 9, 2024
d760623
chore(repo): Version packages (#2524)
clerk-cookie Jan 9, 2024
4c482eb
fix(clerk-js): Append __clerk_framework_hint for Environment requests…
nikosdouvlis Jan 9, 2024
8ff69fc
chore(repo): Version packages (#2526)
clerk-cookie Jan 9, 2024
db7ad1b
feat(repo): Disable @canary from release/v4 (#2509)
dimkl Jan 10, 2024
1f2c113
chore: backport #2528 (#2544)
thiskevinwang Jan 10, 2024
bb7cf9f
chore(repo): Version packages (#2549)
clerk-cookie Jan 10, 2024
2a615bf
feat(backend): Deprecate createEmail (#2555)
Jan 11, 2024
c59a2d4
feat(*): Set PACKAGE_NAME and PACKAGE_VERSION as the user-agent heade…
nikosdouvlis Jan 12, 2024
18aba58
chore(repo): Version packages (#2564)
clerk-cookie Jan 12, 2024
2572dfc
fix(clerk-js): sync session cookie from cache (#2585)
brkalow Jan 12, 2024
6b99ba2
chore(repo): Version packages (#2586)
clerk-cookie Jan 12, 2024
fee77c8
fix(backend): Add UserPasswordHashingParams to updateUser (#2628)
dimkl Jan 18, 2024
0ca810d
chore(repo): Version packages (#2631)
clerk-cookie Jan 18, 2024
bf7e647
fix(nextjs): Ensure package works with next 12 (#2652)
brkalow Jan 23, 2024
506d54d
chore(repo): Version packages (#2653)
clerk-cookie Jan 23, 2024
734382f
fix(clerk-js): Take account custom pages when redirecting inside Orga…
panteliselef Jan 25, 2024
4660a49
fix(clerk-js): Update cookie handlers to set cookies so they can be r…
brkalow Jan 30, 2024
3ff2518
chore(repo): Version packages (#2664)
clerk-cookie Jan 30, 2024
38f0f86
feat(types): Add support for X/Twitter v2 OAuth provider (#2690) (#2697)
clerk-cookie Jan 31, 2024
8102f59
fix(clerk-js): Fix same site in ClerkJS cookies (#2694)
SokratisVidros Feb 1, 2024
c68ac1f
fix(clerk-js): Fix FAPI initiated redirect flow for OAuth2 IDP flow w…
clerk-cookie Feb 1, 2024
fbdcec7
chore(nextjs): Remove useSearchParams usage (#2651)
brkalow Feb 2, 2024
c4664b0
chore(repo): Format
nikosdouvlis Feb 2, 2024
6ef0446
chore(repo): Version packages (#2698)
clerk-cookie Feb 5, 2024
cac6db1
fix(clerk-js): Add padding to app logo inside OrganizationList (#2724)
panteliselef Feb 5, 2024
d412857
chore(repo): Version packages (#2728)
clerk-cookie Feb 6, 2024
cdd87d4
chore(nextjs): Improve createGetAuth test coverage
nikosdouvlis Feb 6, 2024
f7c9748
fix(clerk-js): Give application logo correct CSS width (#2735) (#2741)
clerk-cookie Feb 7, 2024
cd00175
feat(clerk-js): Accept skipInvitationScreen as a prop from Organizati…
panteliselef Feb 7, 2024
2299960
fix(backend): Preserve url protocol when joining paths (#2745) (#2754)
clerk-cookie Feb 7, 2024
ce7b4d1
chore(clerk-js): Add Turnstile retry for all 300xxx error codes (#273…
clerk-cookie Feb 8, 2024
4a05f2e
fix(clerk-react): Properly fire onLoad event when clerk-js is already…
clerk-cookie Feb 9, 2024
28a7b7f
chore(repo): Version packages (#2742)
clerk-cookie Feb 9, 2024
2280964
fix(clerk-js,types): Always append db jwt as a searchParams (#2857)
nikosdouvlis Feb 26, 2024
9bcc75a
chore(repo): Version packages (#2865)
clerk-cookie Feb 27, 2024
aaef1a6
fix(clerk-js): Avoid duplicate global errors in OrganizationList (#2878)
panteliselef Feb 28, 2024
73dd6f9
fix(clerk-js): Remove handshake related query params in clerk-js (#2877)
dimkl Feb 28, 2024
16437d6
fix(remix): Get env variables in Cloudflare Pages context (#2844) (#2…
nikosdouvlis Mar 1, 2024
d6b0416
chore(repo): Version packages (#2880)
clerk-cookie Mar 1, 2024
f44ce8b
fix(shared): Ensure window object existence (#2913)
mario-jerkovic Mar 1, 2024
7a38ae9
chore(repo): Version packages (#2917)
clerk-cookie Mar 1, 2024
6a2a6ce
fix(repo): Rebuild everything when generating a snapshot release (#2941)
desiprisg Mar 6, 2024
33f099e
fix(clerk-js): Avoid calling `router.matches()` for external routes (…
panteliselef Mar 11, 2024
b2267de
chore(repo): Version packages (#2967)
clerk-cookie Mar 11, 2024
5850062
fix(clerk-js): Pass the whole error object into card.setError (#2957)…
clerk-cookie Mar 11, 2024
fe929d4
Port CF Remix issues changes to v4 (#2979)
octoper Mar 12, 2024
13014f6
fix(themes): Add tslib and @clerk/types as dependencies to @clerk/the…
LekoArts Mar 13, 2024
d628161
Version Packages - V4 (#2974)
clerk-cookie Mar 13, 2024
d19e78d
fix(clerk-js): Correct chunk loading logic in clerk.headless.browser …
clerk-cookie Mar 28, 2024
027f532
fix(clerk-js): Legacy integration tokens should not set __session coo…
dimkl Mar 28, 2024
9ee0443
chore(repo): Version packages (#3065)
clerk-cookie Mar 28, 2024
cd2bf9d
chore(clerk-js): Improve Token.create to handle error due to network …
dimkl Mar 29, 2024
b472643
feat(clerk-js,localizations,shared,types): Prompt user to reset pwned…
yourtallness Apr 1, 2024
089eee5
feat(backend): Add scrypt_werkzeug to supported hashers (#3069)
Apr 1, 2024
eebb09b
chore(repo): Version packages (#3072)
clerk-cookie Apr 1, 2024
3e3f116
fix(localizations): Export the zh-TW localization (#3095)
anagstef Apr 2, 2024
ac0005b
fix(clerk-js): Support older iOS 13.3 and 13.4 devices (#3101)
nikosdouvlis Apr 3, 2024
fd7328f
chore(repo): Version packages (#3096)
clerk-cookie Apr 3, 2024
d961280
fix(*): Switch the compilation target to es2019 for all client-side S…
nikosdouvlis Apr 4, 2024
064af2c
chore(repo): Version packages (#3114)
clerk-cookie Apr 4, 2024
222acd8
feat(clerk-js,types,localizations): Add maintenance mode banner to Si…
nikosdouvlis Apr 6, 2024
31d893c
chore(repo): Version packages (#3138)
clerk-cookie Apr 6, 2024
e514486
fix(clerk-js): Hide maintenance banner when card has global error
nikosdouvlis Apr 6, 2024
4ad99f1
chore(repo): Version packages (#3140)
clerk-cookie Apr 6, 2024
07e73f2
fix(backend): Deprecate Organization.members_count (#3192)
dimkl Apr 15, 2024
e97c925
chore(*): Remove `/app-beta` references from nextjs playground (#3197)
panteliselef Apr 16, 2024
4cf2a21
feat(clerk-js): Introduce experimental support for Google One Tap (#3…
panteliselef Apr 17, 2024
c8ba96b
feat(types,localizations): Add translation keys for form_identifier_e…
octoper Apr 18, 2024
220b813
Backport to Core 1: feat(clerkjs): Add support for different Bot Prot…
anagstef Apr 18, 2024
ff504c6
Version Packages - V4 (#3193)
clerk-cookie Apr 18, 2024
0a7876a
fix(clerk-js): Respect navigateAfterCreateOrganization in `<Organizat…
panteliselef Apr 18, 2024
adb174b
chore(repo): Version packages (#3222)
clerk-cookie Apr 18, 2024
60dbfeb
chore(repo): Add playground/custom to gitignore (#3252)
desiprisg Apr 24, 2024
7fb7214
fix(clerk-js): Set card error on prepare code verification (#3255)
desiprisg Apr 25, 2024
7cd9dd6
fix(clerk-js,types): Correctly initialize userData on signIn object
desiprisg Apr 30, 2024
17ec7a6
chore(repo): Version packages (#3264)
clerk-cookie May 1, 2024
b69113f
fix(repo): Update v4 release script to release @4 not @latest (#3350)
EmmanouelaPothitou May 9, 2024
ccb0824
[Core1 Backport] fix(clerk-js): Fix ticket flow on Smart CAPTCHA (#3360)
anagstef May 10, 2024
73057f1
Version Packages - V4 (#3365)
clerk-cookie May 10, 2024
fce528b
[Core 1 Backport] Fix cookies on Cypress + Improve script loading fai…
anagstef May 15, 2024
022223e
Version Packages - V4 (#3385)
clerk-cookie May 15, 2024
fcc349c
Support for `<GoogleOneTap/>` (#3409)
panteliselef May 21, 2024
5272a9e
Version Packages - V4 (#3413)
clerk-cookie May 21, 2024
8f8324e
Validate protocol before navigation (#3448)
nikosdouvlis May 27, 2024
52d60be
Version Packages - V4 (#3449)
clerk-cookie May 27, 2024
a8c0128
feat(clerk-js): Add experimental support for hCaptcha captcha provide…
anagstef May 27, 2024
5d75306
Version Packages - V4 (#3452)
clerk-cookie May 27, 2024
76a1087
feat(types): Add support for Enstall OAuth provider (#3466) (#3467)
May 30, 2024
ed1f233
Version Packages - V4 (#3468)
clerk-cookie May 30, 2024
9cd588d
fix(backend): Remove cache timer to fix empty cache bug (#3332)
brkalow Jun 5, 2024
4fdafff
Version Packages - V4 (#3527)
clerk-cookie Jun 6, 2024
9c499ea
feat(clerk-js): Adjust captcha parameter handling for sign ups with G…
hhsnopek Jul 24, 2024
9fccbb1
Version Packages - V4 (#3818)
clerk-cookie Jul 24, 2024
e22376a
chore(gatsby-plugin-clerk): Backport transition period notice to v4 (…
wobsoriano Aug 1, 2024
d40a227
chore(repo): Correct changeset (#3883)
LekoArts Aug 2, 2024
dd99952
Version Packages - V4 (#3885)
clerk-cookie Aug 2, 2024
f18ca13
fix(clerk-js): Passkeys should not be a candidate for the dynamic fie…
EmmanouelaPothitou Aug 9, 2024
968d929
Version Packages - V4 (#3924)
clerk-cookie Aug 12, 2024
c1067e8
fix(clerk-js): Update `createFlexGapPropertyIosCompat` user agent reg…
alexcarpenter Aug 28, 2024
d70f6c9
Version Packages - V4 (#4050)
clerk-cookie Aug 29, 2024
22b1363
Vendor path-to-regexp (v4) (#4155)
nikosdouvlis Sep 12, 2024
7ec5379
Version Packages - V4 (#4156)
clerk-cookie Sep 12, 2024
77c9620
fix(clerk-js): Update existing `SignUp` object on `SignUpContinue` OA…
LauraBeatris May 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .changeset/changelog.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { getInfo, getInfoFromPullRequest } = require('@changesets/get-github-info');

const repo = 'clerkinc/javascript';
const repo = 'clerk/javascript';

const getDependencyReleaseLine = async (changesets, dependenciesUpdated) => {
if (dependenciesUpdated.length === 0) return '';
Expand Down
6 changes: 3 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"changelog": [
"./changelog.js",
{
"repo": "clerkinc/javascript"
"repo": "clerk/javascript"
}
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main-v4",
"baseBranch": "origin/release/v4",
"updateInternalDependencies": "patch",
"ignore": [],
"snapshot": {
Expand All @@ -21,4 +21,4 @@
"onlyUpdatePeerDependentsWhenOutOfRange": true,
"updateInternalDependents": "always"
}
}
}
9 changes: 9 additions & 0 deletions .changeset/loud-tables-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@clerk/clerk-js': patch
---

A bug was fixed to not override the existing sign-up state on the OAuth callback.

When continuing a sign-up flow with social connections, `@clerk/clerk-js` was creating a new `SignUpResource` object, instead of patching the existing one.

This was affecting Web3 sign-up flows, since the wallet ID was being overridden on the browser redirect.
2 changes: 0 additions & 2 deletions .changeset/odd-lemons-reply.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-monkeys-sing.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changeset/silly-icons-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-singers-glow.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body:
I have reviewed the documentation: https://clerk.com/docs
required: true
- label: |
I have searched for existing issues: https://github.com/clerkinc/javascript/issues
I have searched for existing issues: https://github.com/clerk/javascript/issues
required: true
- label: |
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
Expand All @@ -35,7 +35,7 @@ body:
Link to a minimal reproduction (GitHub repository, CodeSandbox, StackBlitz, etc.) or a [Replay recording](https://www.replay.io/).

**Do not link to your actual project**, but provide a minimal reproduction in a fresh project.

Instructions:
- [How to create a minimal reproduction](https://clerkdev.notion.site/Creating-a-Minimal-Reproduction-0436afc4203f41aa9aa8700968aaef48?pvs=4)
- [How to record a Replay](https://docs.replay.io/bug-reports/recording-a-replay)
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body:
I have reviewed https://clerk.com/docs for existing features that would solve my problem
required: true
- label: |
I have searched for existing feature requests: https://github.com/clerkinc/javascript/issues
I have searched for existing feature requests: https://github.com/clerk/javascript/issues
required: true
- label: |
This issue is not a question, general help request, or anything other than a feature request directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Description

<!--
Thanks for contributing to Clerk. Make sure to read the contributing guide at https://github.com/clerkinc/javascript/blob/main/docs/CONTRIBUTING.md before opening a PR!
Thanks for contributing to Clerk. Make sure to read the contributing guide at https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md before opening a PR!

**Please create a feature request before starting work on any significant change.**

Expand All @@ -18,7 +18,7 @@
- [ ] `npm test` runs as expected.
- [ ] `npm run build` runs as expected.
- [ ] (If applicable) [JSDoc comments](https://jsdoc.app/about-getting-started.html) have been added or updated for any package exports
- [ ] (If applicable) [Documentation](https://github.com/clerkinc/clerk-docs) has been updated
- [ ] (If applicable) [Documentation](https://github.com/clerk/clerk-docs) has been updated

## Type of change

Expand Down
128 changes: 128 additions & 0 deletions .github/actions/init/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@

name: Setup Action
description: Checkout, setup node and dependencies
inputs:
node-version:
description: 'The node version to use'
required: false
default: '18.20.2' # This is pinned to `18.20.2` because `18.20.3` bumps npm from `10.5.0` to `10.7.0`, which causes our verdaccio setup to fail (see SDK-1793).
playwright-enabled:
description: 'Enable Playwright?'
required: false
default: 'false'
turbo-summarize:
description: 'The token to use for Turbo task summaries'
required: false
default: 'false'
turbo-enabled:
description: 'Enable Turbo?'
required: false
default: 'true'
turbo-cache-dir:
description: 'The cache dir to use for Turbo'
required: false
default: './.turbo-cache'
turbo-signature:
description: 'The signature to use for Turbo'
required: false
turbo-remote-only:
description: 'Only use remote cache?'
required: false
default: 'true'
turbo-team:
description: 'The team to use for Turbo remote auth'
required: true
turbo-token:
description: 'The token to use for Turbo remote auth'
required: true
registry-url:
description: 'The registry the packages will be published to'
required: false
default: ''

runs:
using: "composite"
steps:
- name: Configure Turborepo
id: turbo
uses: actions/github-script@v6
env:
# envs are required to pass inputs to the script
ENABLED: ${{ inputs.turbo-enabled }}
CACHE_DIR: ${{ inputs.turbo-cache-dir }}
REMOTE_ONLY: ${{ inputs.turbo-remote-only }}
SIGNATURE: ${{ inputs.turbo-signature }}
SUMMARIZE: ${{ inputs.turbo-summarize }}
TEAM: ${{ inputs.turbo-team }}
TOKEN: ${{ inputs.turbo-token }}
with:
script: |
const os = require('os')
const cpus =
typeof os.availableParallelism === "function"
? os.availableParallelism()
: os.cpus().length;

const { ENABLED, CACHE_DIR, SIGNATURE, REMOTE_ONLY, SUMMARIZE, TEAM, TOKEN } = process.env

core.exportVariable('TURBO_ARGS',
[
'--output-logs=new-only',
`--cache-dir=${CACHE_DIR}`,
`--concurrency=${cpus}`,
`--summarize=${SUMMARIZE}`,
].join(' ')
)

if (ENABLED === 'true') {
core.exportVariable('TURBO_TEAM', TEAM)
core.exportVariable('TURBO_TOKEN', TOKEN)
core.exportVariable('TURBO_REMOTE_ONLY', REMOTE_ONLY)
}

if (SIGNATURE && SIGNATURE !== '') {
core.exportVariable('TURBO_REMOTE_CACHE_SIGNATURE_KEY', SIGNATURE)
}

core.exportVariable('FORCE_COLOR', '1')

- name: Turborepo CLI Args
shell: bash
run: echo $TURBO_ARGS

- name: Setup NodeJS ${{ inputs.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
registry-url: ${{ inputs.registry-url }}

- name: Cache node_modules
uses: actions/cache@v3
id: npm-cache
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ inputs.node-version }}-node-modules-${{ hashFiles('package-lock.json') }}

- name: Install NPM Dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci --audit=false --fund=false
shell: bash

- name: Get Playwright Version
if: inputs.playwright-enabled == 'true'
shell: bash
id: playwright-version
run: echo "VERSION=$(node -e "console.log($(npm ls @playwright/test --json).dependencies['@playwright/test'].version)")" >> "$GITHUB_OUTPUT"

- name: Cache Playwright Binaries
if: inputs.playwright-enabled == 'true'
uses: actions/cache@v3
id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-node-${{ env.NODE_VERSION }}-playwright-${{ steps.playwright-version.outputs.VERSION }}

- name: Install Playwright Browsers
if: inputs.playwright-enabled == 'true' && steps.playwright-cache.outputs.cache-hit != 'true'
shell: bash
run: npx playwright install chromium
38 changes: 0 additions & 38 deletions .github/actions/setup/action.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/actions/verdaccio/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Run Verdaccio
description: Checkout, setup node and dependencies
inputs:
auth-email:
description: 'The email to use for auth'
required: false
default: 'test@test.com'
auth-password:
description: 'The pass to use for auth'
required: false
default: 'pass'
auth-user:
description: 'The user to use for auth'
required: false
default: 'user'
publish-cmd:
description: 'The command to use to publish'
required: true
registry:
description: 'The registry to use'
required: false
default: 'http://localhost:4873'

runs:
using: "composite"
steps:
- name: Update NPM Registry to Verdaccio
shell: bash
run: npm set registry ${{ inputs.registry }}

- name: Run Verdaccio
shell: bash
run: |
nohup ./node_modules/.bin/verdaccio --config ./verdaccio.yaml & sleep 5
./node_modules/.bin/npm-cli-adduser -u ${{ inputs.auth-user }} -p ${{ inputs.auth-password }} -e ${{ inputs.auth-email }} -r ${{ inputs.registry }}
./node_modules/.bin/npm-cli-login -u ${{ inputs.auth-user }} -p ${{ inputs.auth-password }} -e ${{ inputs.auth-email }} -r ${{ inputs.registry }}

- name: Publish to Verdaccio
shell: bash
run: ${{ inputs.publish-cmd }}
39 changes: 0 additions & 39 deletions .github/workflows/base-build.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/base-changeset.yml

This file was deleted.

Loading