Skip to content

Commit 601be57

Browse files
authored
updates github repo links to peels-org (#100)
Point repo URLs at peels-org/peels after the GitHub org transfer and route the contribute redirect through siteConfig.repoUrl.
1 parent 67c4a7b commit 601be57

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Peels is built on top of Next.js and Supabase. The code is [open source](#forkin
88

99
```bash
1010
# Clone the repository
11-
git clone https://github.com/dnywh/peels.git
11+
git clone https://github.com/peels-org/peels.git
1212
cd peels
1313

1414
# Install dependencies
@@ -65,11 +65,11 @@ peels/
6565

6666
## Contributing to Peels
6767

68-
Thank you for contributing! Please read our [Code of Conduct](https://github.com/dnywh/peels/blob/main/.github/CODE_OF_CONDUCT.md) and [contributing guidelines](https://github.com/dnywh/peels/contribute) before you start.
68+
Thank you for contributing! Please read our [Code of Conduct](https://github.com/peels-org/peels/blob/main/.github/CODE_OF_CONDUCT.md) and [contributing guidelines](https://github.com/peels-org/peels/contribute) before you start.
6969

70-
Check out the list of [issues](https://github.com/dnywh/peels/issues) you could help out on, [discussions](https://github.com/dnywh/peels/discussions) about future improvements, and our [Wiki](https://peels.notion.site/207b37e1678f80259217f54cd9d1f637) for information on how things are set up.
70+
Check out the list of [issues](https://github.com/peels-org/peels/issues) you could help out on, [discussions](https://github.com/peels-org/peels/discussions) about future improvements, and our [Wiki](https://peels.notion.site/207b37e1678f80259217f54cd9d1f637) for information on how things are set up.
7171

72-
For minor improvements, feel free to just go ahead and create a pull request. For major changes, please [open an issue](https://github.com/dnywh/peels/issues) first to discuss what you would like to change.
72+
For minor improvements, feel free to just go ahead and create a pull request. For major changes, please [open an issue](https://github.com/peels-org/peels/issues) first to discuss what you would like to change.
7373

7474
### Environment Variables
7575

@@ -87,7 +87,7 @@ For local-first Supabase development:
8787
The repo defaults `NEXT_PUBLIC_SUPABASE_URL` to `http://127.0.0.1:54331` so local development does not need to point at the hosted Peels project. If you already had a `.env.local` from hosted development, update that value manually because copying `.env.example` later may not overwrite your existing file.
8888
Peels intentionally uses the `54331`-`54334` local port range so it can run alongside other Supabase projects that still use the CLI defaults.
8989

90-
If you need to serve [Supabase edge functions](https://github.com/dnywh/peels/blob/main/supabase/functions) locally, copy `supabase/.env.example` to `supabase/.env` and add only the secrets you actually need. Production secrets should remain dashboard-managed for now.
90+
If you need to serve [Supabase edge functions](https://github.com/peels-org/peels/blob/main/supabase/functions) locally, copy `supabase/.env.example` to `supabase/.env` and add only the secrets you actually need. Production secrets should remain dashboard-managed for now.
9191

9292
For the fuller operational walkthrough, including GitHub/Vercel dashboard setup and fresh-computer bootstrap, see [docs/supabase-local-first.md](./docs/supabase-local-first.md).
9393

@@ -98,7 +98,7 @@ For how auth/session forwarding, public-page performance, footer locale state, u
9898
1. Clone and set up codebase:
9999

100100
```bash
101-
git clone https://github.com/dnywh/peels.git
101+
git clone https://github.com/peels-org/peels.git
102102
cd peels
103103
npm install
104104
```
@@ -313,9 +313,9 @@ Map changes are still a manual smoke-check area. When you touch `/map`, verify t
313313

314314
### Getting Help
315315

316-
- Check existing [issues](https://github.com/dnywh/peels/issues) for known problems
317-
- Create a [new issue](https://github.com/dnywh/peels/issues/new) if you find a bug or have a feature request
318-
- Join our [discussion board](https://github.com/dnywh/peels/discussions) for anything else
316+
- Check existing [issues](https://github.com/peels-org/peels/issues) for known problems
317+
- Create a [new issue](https://github.com/peels-org/peels/issues/new) if you find a bug or have a feature request
318+
- Join our [discussion board](https://github.com/peels-org/peels/discussions) for anything else
319319

320320
## Forking Peels
321321

docs/supabase-local-first.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Right now the changes are only in your working tree on `main`. The safe path is:
216216
Suggested branch name:
217217

218218
```bash
219-
git switch -c dnywh/supabase-local-first
219+
git switch -c your-handle/supabase-local-first
220220
```
221221

222222
Then review what is staged before committing:

src/app/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ export const signUpAction = async (formData: FormData, request?: Request) => {
439439

440440
if (error || !user) {
441441
// Temporary check and special handling for Supabase hook timeout errors
442-
// See https://github.com/dnywh/peels/issues/3
442+
// See https://github.com/peels-org/peels/issues/3
443443
const hookTimeoutPatterns = [
444444
"Error running hook URI",
445445
"Failed to reach hook within maximum time",

src/app/contribute/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { redirect } from "next/navigation";
22

3+
import { siteConfig } from "@/config/site";
4+
35
export default function ContributePage() {
4-
redirect(
5-
"https://github.com/dnywh/peels?tab=readme-ov-file#contributing-to-peels"
6-
);
6+
redirect(`${siteConfig.repoUrl}?tab=readme-ov-file#contributing-to-peels`);
77
}

src/config/site.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export const siteConfig = {
22
name: "Peels",
33
description: "Find a home for your food scraps, wherever you are.",
44
url: "https://www.peels.org",
5-
repoUrl: "https://github.com/dnywh/peels",
5+
repoUrl: "https://github.com/peels-org/peels",
66
links: {
77
about: "/",
88
newsletter: "/newsletter",

supabase/functions/_templates/newsletter-issue-one-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const NewsletterIssueOneEmail = ({
2727
externalAudience,
2828
}: NewsletterIssueOneEmailProps) => {
2929
const siteUrl = getPublicSiteUrl();
30-
const repoUrl = "https://github.com/dnywh/peels";
30+
const repoUrl = "https://github.com/peels-org/peels";
3131
const issueAssetUrl = `${staticAssetUrl}/newsletter/1`;
3232
return (
3333
<EmailBody

supabase/functions/_templates/newsletter-issue-two-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const NewsletterIssueTwoEmail = ({
2727
externalAudience,
2828
}: NewsletterIssueTwoEmailProps) => {
2929
const siteUrl = getPublicSiteUrl();
30-
const repoUrl = "https://github.com/dnywh/peels";
30+
const repoUrl = "https://github.com/peels-org/peels";
3131
const issueAssetUrl = `${staticAssetUrl}/newsletter/2`;
3232
return (
3333
<EmailBody

0 commit comments

Comments
 (0)