Skip to content

Commit 6f2c1c2

Browse files
committed
feat: update master references in packages, examples
1 parent ffc5df1 commit 6f2c1c2

File tree

339 files changed

+681
-684
lines changed

Some content is hidden

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

339 files changed

+681
-684
lines changed

.changeset/cuddly-bugs-knock.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"create-refine-app": patch
3+
"@refinedev/devtools-server": patch
4+
"@refinedev/devtools-ui": patch
5+
"@refinedev/cli": patch
6+
---
7+
8+
chore: update master references to main

documentation/blog/2021-10-4-admin-panel-with-nestjs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ In this article, we will prepare a simple `job-posting` application. We will als
2020

2121
<!--truncate-->
2222

23-
All the steps described are in this [repo](https://github.com/refinedev/refine/tree/master/examples/blog-job-posting).
23+
All the steps described are in this [repo](https://github.com/refinedev/refine/tree/main/examples/blog-job-posting).
2424

2525
## Intro
2626

documentation/blog/2021-10-6-migrating-react-admin-application-to-refine.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Both of these images show a list page of a resource (campaign).
4444

4545
List pages have one/more tables inside them. Ideally, all table state should be managed by the framework in use.
4646

47-
Refine is very flexible with tables. You can put them anywhere, configure it as much as you want with [useTable](https://refine.dev/docs/api-reference/antd/hooks/table/useTable/). See the [fineFoods example](https://refine.dev/demo/) and [it's code](https://github.com/refinedev/refine/blob/master/examples/finefoods-antd/src/pages/categories/list.tsx).
47+
Refine is very flexible with tables. You can put them anywhere, configure it as much as you want with [useTable](https://refine.dev/docs/api-reference/antd/hooks/table/useTable/). See the [fineFoods example](https://refine.dev/demo/) and [it's code](https://github.com/refinedev/refine/blob/main/examples/finefoods-antd/src/pages/categories/list.tsx).
4848

4949
Here is an example list page from React-Admin that shows you the list of `id`,`name`, `isActive`, `startDate`, `endDate` from the API endpoint for `campaigns` resource.
5050

documentation/blog/2021-11-12-issue-tracker-refine.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ Our project is done. Lets see how its look like.
13501350

13511351
As you can see, we made a simple and short task manager application using Refine on our front end and using its data-provider.
13521352

1353-
[Here is repo](https://github.com/refinedev/refine/tree/master/examples/blog-issue-tracker)
1353+
[Here is repo](https://github.com/refinedev/refine/tree/main/examples/blog-issue-tracker)
13541354

13551355
For more information about Refine: [Refine Github Page](https://github.com/refinedev/refine)
13561356

documentation/blog/2021-11-26-refine-vs-react-admin.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -582,13 +582,13 @@ Here we only make requests for queries that are necessary. As you can see, all y
582582

583583
Connects to any REST or GraphQL custom backend.
584584

585-
- NestJs CRUD: [https://github.com/refinedev/refine/tree/master/examples/data-provider-nestjsx-crud](https://github.com/refinedev/refine/tree/master/examples/data-provider-nestjsx-crud)
586-
- Airtable: [https://github.com/refinedev/refine/tree/master/examples/data-provider-airtable](https://github.com/refinedev/refine/tree/master/examples/data-provider-airtable)
587-
- Strapi: [https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi](https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi)
588-
- Strapi v4: [https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi-v4](https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi-v4)
589-
- Supabase: [https://github.com/refinedev/refine/tree/master/examples/data-provider-supabase](https://github.com/refinedev/refine/tree/master/examples/data-provider-supabase)
590-
- Hasura: [https://github.com/refinedev/refine/tree/master/examples/data-provider-hasura](https://github.com/refinedev/refine/tree/master/examples/data-provider-hasura)
591-
- Appwrite: [https://github.com/refinedev/refine/tree/master/examples/data-provider-appwrite](https://github.com/refinedev/refine/tree/master/examples/data-provider-appwrite)
585+
- NestJs CRUD: [https://github.com/refinedev/refine/tree/main/examples/data-provider-nestjsx-crud](https://github.com/refinedev/refine/tree/main/examples/data-provider-nestjsx-crud)
586+
- Airtable: [https://github.com/refinedev/refine/tree/main/examples/data-provider-airtable](https://github.com/refinedev/refine/tree/main/examples/data-provider-airtable)
587+
- Strapi: [https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi](https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi)
588+
- Strapi v4: [https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi-v4](https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi-v4)
589+
- Supabase: [https://github.com/refinedev/refine/tree/main/examples/data-provider-supabase](https://github.com/refinedev/refine/tree/main/examples/data-provider-supabase)
590+
- Hasura: [https://github.com/refinedev/refine/tree/main/examples/data-provider-hasura](https://github.com/refinedev/refine/tree/main/examples/data-provider-hasura)
591+
- Appwrite: [https://github.com/refinedev/refine/tree/main/examples/data-provider-appwrite](https://github.com/refinedev/refine/tree/main/examples/data-provider-appwrite)
592592

593593
### Customization
594594

documentation/blog/2021-11-29-refine-vs-admin-bro.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,14 @@ Here we only make requests for queries that are necessary. As you can see, all y
369369

370370
Connects to any REST or GraphQL custom backend.
371371

372-
- NestJs CRUD: [https://github.com/refinedev/refine/tree/master/examples/data-provider-nestjsx-crud](https://github.com/refinedev/refine/tree/master/examples/data-provider-nestjsx-crud)
373-
- Airtable: [https://github.com/refinedev/refine/tree/master/examples/data-provider-airtable](https://github.com/refinedev/refine/tree/master/examples/data-provider-airtable)
374-
- Strapi: [https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi](https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi)
375-
- Strapi v4: [https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi-v4](https://github.com/refinedev/refine/tree/master/examples/data-provider-strapi-v4)
376-
- Supabase: [https://github.com/refinedev/refine/tree/master/examples/data-provider-supabase](https://github.com/refinedev/refine/tree/master/examples/data-provider-supabase)
377-
- Hasura: [https://github.com/refinedev/refine/tree/master/examples/data-provider-hasura](https://github.com/refinedev/refine/tree/master/examples/data-provider-hasura)
378-
- Appwrite: [https://github.com/refinedev/refine/tree/master/examples/data-provider-appwrite](https://github.com/refinedev/refine/tree/master/examples/data-provider-appwrite)
379-
- Medusa: [https://github.com/refinedev/refine/tree/master/packages/medusa](https://github.com/refinedev/refine/tree/master/packages/medusa)
372+
- NestJs CRUD: [https://github.com/refinedev/refine/tree/main/examples/data-provider-nestjsx-crud](https://github.com/refinedev/refine/tree/main/examples/data-provider-nestjsx-crud)
373+
- Airtable: [https://github.com/refinedev/refine/tree/main/examples/data-provider-airtable](https://github.com/refinedev/refine/tree/main/examples/data-provider-airtable)
374+
- Strapi: [https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi](https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi)
375+
- Strapi v4: [https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi-v4](https://github.com/refinedev/refine/tree/main/examples/data-provider-strapi-v4)
376+
- Supabase: [https://github.com/refinedev/refine/tree/main/examples/data-provider-supabase](https://github.com/refinedev/refine/tree/main/examples/data-provider-supabase)
377+
- Hasura: [https://github.com/refinedev/refine/tree/main/examples/data-provider-hasura](https://github.com/refinedev/refine/tree/main/examples/data-provider-hasura)
378+
- Appwrite: [https://github.com/refinedev/refine/tree/main/examples/data-provider-appwrite](https://github.com/refinedev/refine/tree/main/examples/data-provider-appwrite)
379+
- Medusa: [https://github.com/refinedev/refine/tree/main/packages/medusa](https://github.com/refinedev/refine/tree/main/packages/medusa)
380380

381381
### Customization
382382

documentation/blog/2021-12-27-multipart-upload.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The Multipart file upload process with **Refine** is very simple. How to use it
123123

124124
[Refer to the **Refine** Multipart Upload guide for more information. →](https://refine.dev/docs/guides-and-concepts/upload/multipart-upload/)
125125

126-
[View Source](https://github.com/refinedev/refine/tree/master/examples/upload/multipartUpload)
126+
[View Source](https://github.com/refinedev/refine/tree/main/examples/upload/multipartUpload)
127127

128128
## Example
129129

documentation/blog/2022-01-18-csv-import.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ The CSV import with **Refine** is very simple and out-of-the-box feature. How to
211211
212212
[Refer to the **Refine** CSV import guide for more information. →](https://refine.dev/docs/guides-and-concepts/import-export/csv-import/)
213213
214-
[View Source](https://github.com/refinedev/refine/blob/master/examples/import-export-antd/src/pages/posts/list.tsx#L32)
214+
[View Source](https://github.com/refinedev/refine/blob/main/examples/import-export-antd/src/pages/posts/list.tsx#L32)
215215
216216
## Refine CSV Import Usage
217217

documentation/blog/2022-02-21-build-internal-tools-with-refine.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ Refer to the [`dataProvider`](https://refine.dev/docs/core/providers/data-provid
151151

152152
Refine includes many out-of-the-box data providers to use in your projects like:
153153

154-
- [Simple REST API](https://github.com/refinedev/refine/tree/master/packages/simple-rest)
155-
- [GraphQL](https://github.com/refinedev/refine/tree/master/packages/graphql)
156-
- [NestJS CRUD](https://github.com/refinedev/refine/tree/master/packages/nestjsx-crud)
157-
- [Airtable](https://github.com/refinedev/refine/tree/master/packages/airtable)
158-
- [Strapi](https://github.com/refinedev/refine/tree/master/packages/strapi) - [Strapi v4](https://github.com/refinedev/refine/tree/master/packages/strapi-v4)
159-
- [Supabase](https://github.com/refinedev/refine/tree/master/packages/supabase)
160-
- [Hasura](https://github.com/refinedev/refine/tree/master/packages/hasura)
161-
- [Medusa](https://github.com/refinedev/refine/tree/master/packages/medusa)
162-
- [Appwrite](https://github.com/refinedev/refine/tree/master/packages/appwrite)
154+
- [Simple REST API](https://github.com/refinedev/refine/tree/main/packages/simple-rest)
155+
- [GraphQL](https://github.com/refinedev/refine/tree/main/packages/graphql)
156+
- [NestJS CRUD](https://github.com/refinedev/refine/tree/main/packages/nestjsx-crud)
157+
- [Airtable](https://github.com/refinedev/refine/tree/main/packages/airtable)
158+
- [Strapi](https://github.com/refinedev/refine/tree/main/packages/strapi) - [Strapi v4](https://github.com/refinedev/refine/tree/main/packages/strapi-v4)
159+
- [Supabase](https://github.com/refinedev/refine/tree/main/packages/supabase)
160+
- [Hasura](https://github.com/refinedev/refine/tree/main/packages/hasura)
161+
- [Medusa](https://github.com/refinedev/refine/tree/main/packages/medusa)
162+
- [Appwrite](https://github.com/refinedev/refine/tree/main/packages/appwrite)
163163

164164
## Add routing to the application
165165

@@ -173,9 +173,9 @@ Refer to the [`routerProvider`](https://refine.dev/docs/core/providers/router-pr
173173

174174
Refine includes many out-of-the-box data providers to use in your projects like:
175175

176-
- [React Router](https://github.com/refinedev/refine/tree/master/packages/react-router)
177-
- [React Location](https://github.com/refinedev/refine/tree/master/packages/react-location)
178-
- [Next.js Router](https://github.com/refinedev/refine/tree/master/packages/nextjs-router)
176+
- [React Router](https://github.com/refinedev/refine/tree/main/packages/react-router)
177+
- [React Location](https://github.com/refinedev/refine/tree/main/packages/react-location)
178+
- [Next.js Router](https://github.com/refinedev/refine/tree/main/packages/nextjs-router)
179179

180180
## Create pages via `resources`
181181

@@ -235,10 +235,10 @@ Refer to the [`authProvider`](https://refine.dev/docs/core/providers/auth-provid
235235

236236
### Out-of-the-box Auth providers
237237

238-
- Auth0 - [Source Code](https://github.com/refinedev/refine/tree/master/examples/auth-auth0/) - [Demo](https://refine.dev/docs/examples/auth-provider/auth0)
239-
- Keycloak - [Source Code](https://github.com/refinedev/refine/tree/master/examples/auth-keycloak/) - [Demo](https://refine.dev/docs/examples/auth-provider/keycloak)
240-
- Google - [Source Code](https://github.com/refinedev/refine/tree/master/examples/auth-google-login) - [Demo](https://refine.dev/docs/examples/auth-provider/google-auth)
241-
- OTP Login - [Source Code](https://github.com/refinedev/refine/tree/master/examples/auth-otp) - [Demo](https://refine.dev/docs/examples/auth-provider/otpLogin)
238+
- Auth0 - [Source Code](https://github.com/refinedev/refine/tree/main/examples/auth-auth0/) - [Demo](https://refine.dev/docs/examples/auth-provider/auth0)
239+
- Keycloak - [Source Code](https://github.com/refinedev/refine/tree/main/examples/auth-keycloak/) - [Demo](https://refine.dev/docs/examples/auth-provider/keycloak)
240+
- Google - [Source Code](https://github.com/refinedev/refine/tree/main/examples/auth-google-login) - [Demo](https://refine.dev/docs/examples/auth-provider/google-auth)
241+
- OTP Login - [Source Code](https://github.com/refinedev/refine/tree/main/examples/auth-otp) - [Demo](https://refine.dev/docs/examples/auth-provider/otpLogin)
242242

243243
## Authorization
244244

@@ -296,8 +296,8 @@ Refer to the [`accessControlProvider`](https://refine.dev/docs/core/providers/ac
296296

297297
### Out-of-the-box access control providers
298298

299-
- Casbin - [Source Code](https://github.com/refinedev/refine/tree/master/examples/access-control-casbin) - [Demo](https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/access-control-casbin)
300-
- Cerbos - [Source Code](https://github.com/refinedev/refine/tree/master/examples/access-control-cerbos) - [Demo](https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/access-control-cerbos)
299+
- Casbin - [Source Code](https://github.com/refinedev/refine/tree/main/examples/access-control-casbin) - [Demo](https://codesandbox.io/embed/github/refinedev/refine/tree/main/examples/access-control-casbin)
300+
- Cerbos - [Source Code](https://github.com/refinedev/refine/tree/main/examples/access-control-cerbos) - [Demo](https://codesandbox.io/embed/github/refinedev/refine/tree/main/examples/access-control-cerbos)
301301

302302
## Internationalization
303303

@@ -337,9 +337,9 @@ If you send an event after the relevant operations on the server, Refine will in
337337

338338
### Out-of-the-box access control providers
339339

340-
- Ably - [Source Code](https://github.com/refinedev/refine/blob/master/packages/ably/src/index.ts) - [Demo](https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/live-provider-ably)
341-
- Supabase - [Source Code](https://github.com/refinedev/refine/blob/master/packages/supabase/src/index.ts#L187)
342-
- Appwrite - [Source Code](https://github.com/refinedev/refine/blob/master/packages/appwrite/src/index.ts#L252)
340+
- Ably - [Source Code](https://github.com/refinedev/refine/blob/main/packages/ably/src/index.ts) - [Demo](https://codesandbox.io/embed/github/refinedev/refine/tree/main/examples/live-provider-ably)
341+
- Supabase - [Source Code](https://github.com/refinedev/refine/blob/main/packages/supabase/src/index.ts#L187)
342+
- Appwrite - [Source Code](https://github.com/refinedev/refine/blob/main/packages/appwrite/src/index.ts#L252)
343343

344344
## Other features of Refine
345345

documentation/blog/2022-02-21-top-react-frameworks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ npm install react-bootstrap [email protected]
112112
113113
⚙️ Experience effortless setup in just a minute using a single command via **zero-configuration**.
114114

115-
🔌 Seamlessly connect to over **15 backend services** such as [REST API](https://github.com/refinedev/refine/tree/master/packages/simple-rest), [GraphQL](https://github.com/refinedev/refine/tree/master/packages/graphql), [NestJs CRUD](https://github.com/refinedev/refine/tree/master/packages/nestjsx-crud), [Airtable](https://github.com/refinedev/refine/tree/master/packages/airtable), [Strapi](https://github.com/refinedev/refine/tree/master/packages/strapi), [Strapi v4](https://github.com/refinedev/refine/tree/master/packages/strapi-v4), [Supabase](https://github.com/refinedev/refine/tree/master/packages/supabase), [Hasura](https://github.com/refinedev/refine/tree/master/packages/hasura), [Appwrite](https://github.com/refinedev/refine/tree/master/packages/appwrite), [Firebase](https://firebase.google.com/), and [Directus](https://directus.io/).
115+
🔌 Seamlessly connect to over **15 backend services** such as [REST API](https://github.com/refinedev/refine/tree/main/packages/simple-rest), [GraphQL](https://github.com/refinedev/refine/tree/main/packages/graphql), [NestJs CRUD](https://github.com/refinedev/refine/tree/main/packages/nestjsx-crud), [Airtable](https://github.com/refinedev/refine/tree/main/packages/airtable), [Strapi](https://github.com/refinedev/refine/tree/main/packages/strapi), [Strapi v4](https://github.com/refinedev/refine/tree/main/packages/strapi-v4), [Supabase](https://github.com/refinedev/refine/tree/main/packages/supabase), [Hasura](https://github.com/refinedev/refine/tree/main/packages/hasura), [Appwrite](https://github.com/refinedev/refine/tree/main/packages/appwrite), [Firebase](https://firebase.google.com/), and [Directus](https://directus.io/).
116116

117117
🌐 Enable **server-side rendering (SSR)** support using **Next.js** or **Remix**.
118118

documentation/blog/2022-03-22-refine-with-react95.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ export const LoginPage = () => {
487487
</WindowHeader>
488488
<div style={{ marginTop: 8 }}>
489489
<img
490-
src="https://raw.githubusercontent.com/refinedev/refine/master/logo.png"
490+
src="https://raw.githubusercontent.com/refinedev/refine/main/logo.png"
491491
alt="refine-logo"
492492
width={100}
493493
/>
@@ -617,7 +617,7 @@ export const Footer: React.FC = () => {
617617
style={{ fontWeight: "bold" }}
618618
>
619619
<img
620-
src="https://raw.githubusercontent.com/refinedev/refine/master/logo.png"
620+
src="https://raw.githubusercontent.com/refinedev/refine/main/logo.png"
621621
alt="refine logo"
622622
style={{ height: "20px", marginRight: 4 }}
623623
/>

documentation/blog/2022-03-29-react-hook-form-upload.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Try [Refine](https://github.com/pankod/refine) to rapidly build your next **CRUD
117117

118118
<div>
119119
<a href="https://github.com/pankod/refine">
120-
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png" alt="refine blog logo" />
120+
<img src="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png" alt="refine blog logo" />
121121
</a>
122122
</div>
123123

@@ -238,7 +238,7 @@ It allows you to manage your forms and send data to your server with the [refine
238238

239239
[Refer to the refine-react-hook-form adapter documentation for detailed information. →](/docs/packages/list-of-packages)
240240

241-
[View Source](https://github.com/refinedev/refine/tree/master/examples/reactHookForm/useForm)
241+
[View Source](https://github.com/refinedev/refine/tree/main/examples/reactHookForm/useForm)
242242

243243
You can manage your form very easily with the `refine-react-hook-form adapter`. The data created in the form will be automatically saved to the database with the **Refine** `onFinish` method.
244244

0 commit comments

Comments
 (0)