Skip to content

Commit 13b16aa

Browse files
authored
chore(repo): Rename clerkinc to clerk ❤️ (#2023)
* chore(repo): Rename clerkinc to clerk ❤️ * Create clever-wasps-invite.md
1 parent c1b6bbd commit 13b16aa

Some content is hidden

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

63 files changed

+2963
-2961
lines changed

.changeset/changelog.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { getInfo, getInfoFromPullRequest } = require('@changesets/get-github-info');
22

3-
const repo = 'clerkinc/javascript';
3+
const repo = 'clerk/javascript';
44

55
const getDependencyReleaseLine = async (changesets, dependenciesUpdated) => {
66
if (dependenciesUpdated.length === 0) return '';

.changeset/clever-wasps-invite.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"changelog": [
44
"./changelog.js",
55
{
6-
"repo": "clerkinc/javascript"
6+
"repo": "clerk/javascript"
77
}
88
],
99
"commit": false,
@@ -21,4 +21,4 @@
2121
"onlyUpdatePeerDependentsWhenOutOfRange": true,
2222
"updateInternalDependents": "always"
2323
}
24-
}
24+
}

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body:
1818
I have reviewed the documentation: https://clerk.com/docs
1919
required: true
2020
- label: |
21-
I have searched for existing issues: https://github.com/clerkinc/javascript/issues
21+
I have searched for existing issues: https://github.com/clerk/javascript/issues
2222
required: true
2323
- label: |
2424
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
@@ -35,7 +35,7 @@ body:
3535
Link to a minimal reproduction (GitHub repository, CodeSandbox, StackBlitz, etc.) or a [Replay recording](https://www.replay.io/).
3636
3737
**Do not link to your actual project**, but provide a minimal reproduction in a fresh project.
38-
38+
3939
Instructions:
4040
- [How to create a minimal reproduction](https://clerkdev.notion.site/Creating-a-Minimal-Reproduction-0436afc4203f41aa9aa8700968aaef48?pvs=4)
4141
- [How to record a Replay](https://docs.replay.io/bug-reports/recording-a-replay)

.github/PULL_REQUEST_TEMPLATE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Description
22

33
<!--
4-
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!
4+
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!
55
66
**Please create a feature request before starting work on any significant change.**
77
@@ -18,7 +18,7 @@
1818
- [ ] `npm test` runs as expected.
1919
- [ ] `npm run build` runs as expected.
2020
- [ ] (If applicable) [JSDoc comments](https://jsdoc.app/about-getting-started.html) have been added or updated for any package exports
21-
- [ ] (If applicable) [Documentation](https://github.com/clerkinc/clerk-docs) has been updated
21+
- [ ] (If applicable) [Documentation](https://github.com/clerk/clerk-docs) has been updated
2222

2323
## Type of change
2424

.github/workflows/base-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33

44
jobs:
55
build:
6-
# if: ${{ github.repository == 'clerkinc/javascript' }}
6+
# if: ${{ github.repository == 'clerk/javascript' }}
77
runs-on: ${{ vars.RUNNER_NORMAL }}
88
steps:
99
- name: Checkout repo

.github/workflows/lock-threads.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
3434
We currently close issues after 40 days of inactivity. It's been 30 days since the last update here. If we missed this issue, please reply here. Otherwise, we'll close this issue in 10 days.
3535
36-
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our [contributing guide](https://github.com/clerkinc/javascript/blob/main/docs/CONTRIBUTING.md).
36+
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our [contributing guide](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
3737
3838
Thanks for being a part of the Clerk community! 🙏
3939
stale-pr-message: |
@@ -47,7 +47,7 @@ jobs:
4747
4848
After 40 days of no activity, we'll close this issue. Keep in mind, I'm just a robot, so if I've closed this issue in error, please reply here and my human colleagues will reopen it.
4949
50-
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our [contributing guide](https://github.com/clerkinc/javascript/blob/main/docs/CONTRIBUTING.md).
50+
As a friendly reminder: The best way to see an issue fixed is to open a pull request. If you're not sure how to do that, please check out our [contributing guide](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md).
5151
5252
Thanks for being a part of the Clerk community! 🙏
5353
close-pr-message: |

.github/workflows/release-prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
jobs:
1515
release:
1616
name: Release
17-
if: ${{ github.repository == 'clerkinc/javascript' }}
17+
if: ${{ github.repository == 'clerk/javascript' }}
1818
runs-on: ${{ vars.RUNNER_NORMAL }}
1919
permissions:
2020
contents: write
@@ -58,7 +58,7 @@ jobs:
5858
script: |
5959
const clerkjsVersion = require('./packages/clerk-js/package.json').version;
6060
github.rest.actions.createWorkflowDispatch({
61-
owner: 'clerkinc',
61+
owner: 'clerk',
6262
repo: 'cloudflare-workers',
6363
workflow_id: 'prepare-prod-clerkjs-proxy-pr.yml',
6464
ref: 'main',

.github/workflows/release-snapshot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
snapshot-release:
14-
if: ${{ startsWith(github.event.comment.body, '!snapshot') && github.repository == 'clerkinc/javascript' && github.event.issue.pull_request }}
14+
if: ${{ startsWith(github.event.comment.body, '!snapshot') && github.repository == 'clerk/javascript' && github.event.issue.pull_request }}
1515
runs-on: ${{ vars.RUNNER_LARGE }}
1616
env:
1717
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
@@ -29,7 +29,7 @@ jobs:
2929
github-token: ${{ secrets.CLERK_COOKIE_PAT }}
3030
script: |
3131
const isMember = await github.rest.orgs.checkMembershipForUser({
32-
org: 'clerkinc',
32+
org: 'clerk',
3333
username: context.actor
3434
});
3535
if (!isMember) {

.github/workflows/release-staging.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
staging-release:
15-
if: ${{ github.repository == 'clerkinc/javascript' }}
15+
if: ${{ github.repository == 'clerk/javascript' }}
1616
runs-on: ${{ vars.RUNNER_NORMAL }}
1717
env:
1818
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
@@ -51,9 +51,9 @@ jobs:
5151
const nextjsVersion = require('./packages/nextjs/package.json').version;
5252
5353
if (clerkjsVersion.includes('staging')) {
54-
console.log('clerk-js changed, will notify clerkinc/cloudflare-workers');
54+
console.log('clerk-js changed, will notify clerk/cloudflare-workers');
5555
github.rest.actions.createWorkflowDispatch({
56-
owner: 'clerkinc',
56+
owner: 'clerk',
5757
repo: 'cloudflare-workers',
5858
workflow_id: 'release-staging-clerkjs-proxy.yml',
5959
ref: 'main',
@@ -62,9 +62,9 @@ jobs:
6262
}
6363
6464
if (nextjsVersion.includes('staging')) {
65-
console.log('clerk/nextjs changed, will notify clerkinc/accounts');
65+
console.log('clerk/nextjs changed, will notify clerk/accounts');
6666
github.rest.actions.createWorkflowDispatch({
67-
owner: 'clerkinc',
67+
owner: 'clerk',
6868
repo: 'accounts',
6969
workflow_id: 'release-staging.yml',
7070
ref: 'main',

CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @clerkinc/team-sdk
1+
* @clerk/team-sdk

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ Clerk's full documentation is available at [clerk.com/docs](https://clerk.com/do
5555

5656
## 🚢 Release Notes
5757

58-
Curious what we shipped recently? You can browse the [GitHub Releases](https://github.com/clerkinc/javascript/releases) page or look at the individual `CHANGELOG.md` files inside each package (e.g. [`clerk-js CHANGELOG`](https://github.com/clerkinc/javascript/blob/main/packages/clerk-js/CHANGELOG.md)).
58+
Curious what we shipped recently? You can browse the [GitHub Releases](https://github.com/clerk/javascript/releases) page or look at the individual `CHANGELOG.md` files inside each package (e.g. [`clerk-js CHANGELOG`](https://github.com/clerk/javascript/blob/main/packages/clerk-js/CHANGELOG.md)).
5959

6060
## 🤝 How to Contribute
6161

62-
We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerkinc/javascript/blob/main/docs/CONTRIBUTING.md). We'd love to have you as part of the Clerk community!
62+
We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md). We'd love to have you as part of the Clerk community!
6363

6464
It'll show you how to make changes to the SDKs, open pull requests, or submitting issues. If you want to add or edit localizations (e.g. how a button text is translated to your language), you can check out the [`localizations` README](./packages/localizations/README.md).
6565

6666
## 📝 License
6767

6868
This project is licensed under the **MIT license**.
6969

70-
See [LICENSE](https://github.com/clerkinc/javascript/blob/main/LICENSE) for more information.
70+
See [LICENSE](https://github.com/clerk/javascript/blob/main/LICENSE) for more information.

docs/CICD.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ Every time a PR is merged into `main`, an automated staging release will happen.
99

1010
## Stable releases
1111

12-
A stable release will be triggered every time the "Version Packages" PR is merged. Once versioning and publishing is done, the `clerkinc/javascript` repo will dispatch a workflow event, notifying other related Clerk repos of the new releases.
12+
A stable release will be triggered every time the "Version Packages" PR is merged. Once versioning and publishing is done, the `clerk/javascript` repo will dispatch a workflow event, notifying other related Clerk repos of the new releases.
1313

1414
Actions that will be triggered:
1515

16-
- `clerkinc/cloudflare-workers`: The latest clerk-js versions in `clerkjs-proxy/wrangler.toml` will be updated a PR will open. Follow the instructions in the PR to manually release a new `clerkjs-proxy` worker.
16+
- `clerk/cloudflare-workers`: The latest clerk-js versions in `clerkjs-proxy/wrangler.toml` will be updated a PR will open. Follow the instructions in the PR to manually release a new `clerkjs-proxy` worker.
1717

18-
For more details, refer to [PUBLISH.md](https://github.com/clerkinc/javascript/blob/main/docs/PUBLISH.md).
18+
For more details, refer to [PUBLISH.md](https://github.com/clerk/javascript/blob/main/docs/PUBLISH.md).
1919

2020
## Automated staging releases
2121

22-
A staging release will be triggered every time PR is merged into `main`. Once versioning and publishing is done, the `clerkinc/javascript` repo will dispatch a workflow event, notifying other related Clerk repos of the new releases.
22+
A staging release will be triggered every time PR is merged into `main`. Once versioning and publishing is done, the `clerk/javascript` repo will dispatch a workflow event, notifying other related Clerk repos of the new releases.
2323

2424
Actions that will be triggered:
2525

26-
- `clerkinc/cloudflare-workers`: The latest clerk-js versions in `clerkjs-proxy/wrangler.toml` will be updated and directly committed to `main`. A second workflow will perform a staging release of the `clerkjs-proxy` worker.
27-
- `clerkinc/accounts`: A new Accounts deployment will take place, using the most recent staging `@clerk/nextjs` version. This change will not be committed to `main`.
26+
- `clerk/cloudflare-workers`: The latest clerk-js versions in `clerkjs-proxy/wrangler.toml` will be updated and directly committed to `main`. A second workflow will perform a staging release of the `clerkjs-proxy` worker.
27+
- `clerk/accounts`: A new Accounts deployment will take place, using the most recent staging `@clerk/nextjs` version. This change will not be committed to `main`.
2828

29-
For more details about staging releases, refer to [PUBLISH.md](https://github.com/clerkinc/javascript/blob/main/docs/PUBLISH.md).
29+
For more details about staging releases, refer to [PUBLISH.md](https://github.com/clerk/javascript/blob/main/docs/PUBLISH.md).
3030

3131
## Quality checks
3232

docs/CONTRIBUTING.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributing guide
22

33
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
4-
Please note we have a [code of conduct](https://github.com/clerkinc/javascript/blob/main/docs/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.
4+
Please note we have a [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.
55

66
<details open="open">
77
<summary><strong>TABLE OF CONTENTS</strong></summary>
@@ -57,7 +57,7 @@ To set up your development environment, please follow these steps:
5757
1. Clone the repo
5858

5959
```sh
60-
git clone https://github.com/clerkinc/javascript
60+
git clone https://github.com/clerk/javascript
6161
```
6262

6363
2. Install the dependencies. We're using npm workspaces, so you **should always run `npm install` from the root of the monorepo**, as it will install dependencies for all the packages:
@@ -77,21 +77,21 @@ For package specific setup, refer to the `Build` section of the specific package
7777

7878
### Documenting your changes
7979

80-
Updating documentation is an important part of the contribution process. If you are changing existing behavior or adding a new feature, make sure [Clerk's documentation](https://github.com/clerkinc/clerk-docs) is also updated.
80+
Updating documentation is an important part of the contribution process. If you are changing existing behavior or adding a new feature, make sure [Clerk's documentation](https://github.com/clerk/clerk-docs) is also updated.
8181

8282
To improve the in-editor experience when using Clerk's SDKs, we do our best to add [JSDoc comments](https://jsdoc.app/about-getting-started.html) to our package's public exports. The JSDoc comments should not attempt to duplicate any existing type information, but should provide meaningful additional context or references. If you are adding a new export, make sure it has a JSDoc comment. If you are updating an existing export, make sure any existing comments are updated appropriately.
8383

8484
## Opening a Pull Request
8585

8686
1. Search our repository for open or closed
87-
[Pull Requests](https://github.com/clerkinc/javascript/pulls)
87+
[Pull Requests](https://github.com/clerk/javascript/pulls)
8888
that relate to your submission. You don't want to duplicate effort.
8989
2. Fork the project
9090
3. Create your feature branch (`git checkout -b feat/amazing_feature`)
9191
4. If required, create a `changeset` that describes your changes (`npm run changeset`). In cases where a changeset is not required, an empty changeset can be created instead (`npm run changeset:empty`) - an empty changeset will not generate a changelog entry for the change, so please use it as an escape hatch or for internal refactors only.
9292
5. Commit your changes (`git commit -m 'feat: Add amazing_feature'`)
9393
6. Push to the branch (`git push origin feat/amazing_feature`)
94-
7. [Open a Pull Request](https://github.com/clerkinc/javascript/compare?expand=1). Make sure the description includes enough information for the reviewer to understand what the PR is about.
94+
7. [Open a Pull Request](https://github.com/clerk/javascript/compare?expand=1). Make sure the description includes enough information for the reviewer to understand what the PR is about.
9595
8. Follow the instructions of the pull request template
9696

9797
### Changesets
@@ -172,7 +172,7 @@ All of these are used to describe changes in the codebase, but they have differe
172172

173173
## Issues and feature requests
174174

175-
You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? You can help us by [submitting an issue on GitHub](https://github.com/clerkinc/javascript/issues). Before you create an issue, make sure to search the issue archive - your issue may have already been addressed! Please ensure that you have read and followed the bug report template, otherwise we will have to close the issue. You can submit a feature request by visiting [feedback.clerk.com](https://feedback.clerk.com).
175+
You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? You can help us by [submitting an issue on GitHub](https://github.com/clerk/javascript/issues). Before you create an issue, make sure to search the issue archive - your issue may have already been addressed! Please ensure that you have read and followed the bug report template, otherwise we will have to close the issue. You can submit a feature request by visiting [feedback.clerk.com](https://feedback.clerk.com).
176176

177177
Issues that have the label `needs-triage` have been seen by our team and are queued for triage internally. Issues that have the label `prioritized` have been discussed and are either in our backlog or being worked on actively. We do our best to prioritize work across a wide variety of sources, only one of which is github issues. While we understand that it can be frustrating if it takes a while for a patch to land, we ask for your understanding in that we have quite a lot of things that need to be worked on at any given time and are still a small team. And remember, the best way to get something fixed in an open source library is to contribute the fix yourself!
178178

@@ -186,7 +186,7 @@ If you want to add or edit localizations (e.g. how a button text is translated t
186186

187187
_Note: Only core maintainers can publish packages._
188188

189-
For more information visit [publish documentation](https://github.com/clerkinc/javascript/blob/main/docs/PUBLISH.md).
189+
For more information visit [publish documentation](https://github.com/clerk/javascript/blob/main/docs/PUBLISH.md).
190190

191191
## License
192192

docs/PUBLISH.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Snapshot releases are a way to release your changes for testing without updating
2626
**Important:**
2727
Before requesting a snapshot release, ensure that your Clerk organization membership status is set to "Public". Otherwise, the snapshot release will fail. To set your status to "Public", follow [these steps](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/publicizing-or-hiding-organization-membership).
2828

29-
To perform a snapshot release, simply comment `!snapshot` in your PR. Once the packages are built and published (~2mins), [clerk-cookie](https://github.com/clerk-cookie) will post a reply with the published versions ([example](https://github.com/clerkinc/javascript/pull/1329#issuecomment-1586970784)). Simply install the snap version using `npm install` as usual.
29+
To perform a snapshot release, simply comment `!snapshot` in your PR. Once the packages are built and published (~2mins), [clerk-cookie](https://github.com/clerk-cookie) will post a reply with the published versions ([example](https://github.com/clerk/javascript/pull/1329#issuecomment-1586970784)). Simply install the snap version using `npm install` as usual.
3030

3131
Notes:
3232

@@ -45,7 +45,7 @@ We're still considering whether switching the repo into a `canary` mode for big,
4545

4646
> Backporting is the action of taking parts from a newer version of a software system or software component and porting them to an older version of the same software.
4747
48-
If a PR got merged into `main` that should also be released in older versions (e.g. critical security fixes), you'll need to backport said PR. You can do this by using the [`backport` script](https://github.com/clerkinc/javascript/blob/main/scripts/backport.mjs) inside `scripts`.
48+
If a PR got merged into `main` that should also be released in older versions (e.g. critical security fixes), you'll need to backport said PR. You can do this by using the [`backport` script](https://github.com/clerk/javascript/blob/main/scripts/backport.mjs) inside `scripts`.
4949

5050
Duplicate the `.env.example` file inside `scripts` and rename it to `.env`. Fill out the `GITHUB_ACCESS_TOKEN` variable. Afterwards, you'll be able to run the CLI like so:
5151

0 commit comments

Comments
 (0)