Skip to content

Commit 53e3e01

Browse files
committed
chore: rename master to main
chore: update readme
1 parent 518cd2a commit 53e3e01

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"commit": false,
55
"linked": [],
66
"access": "public",
7-
"baseBranch": "master",
7+
"baseBranch": "main",
88
"updateInternalDependencies": "patch",
99
"ignore": ["@react-spring/demo", "@react-spring/docs"]
1010
}

.github/workflows/bundle-size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Bundle-size
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
size:

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: release
22
on:
33
push:
44
branches:
5-
- 'master'
5+
- 'main'
66
pull_request: {}
77
jobs:
88
main:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ It's as simple as that to create scroll-in animations when value of `isVisible`
7878

7979
More documentation on the project can be found [here](https://www.react-spring.io).
8080

81-
Pages contain their own [examples](https://react-spring.io/hooks/use-spring#demos) which you can check out there, or [open in codesandbox](https://codesandbox.io/s/github/pmndrs/react-spring/tree/master/demo/src/sandboxes/card) for a more in-depth view!
81+
Pages contain their own [examples](https://react-spring.io/hooks/use-spring#demos) which you can check out there, or [open in codesandbox](https://codesandbox.io/s/github/pmndrs/react-spring/tree/main/demo/src/sandboxes/card) for a more in-depth view!
8282

8383
---
8484

demo/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Preface
44

5-
Thanks for being interested in contributing a demo! Before you read more, have you read the [contribution guide](https://github.com/pmndrs/react-spring/blob/master/CONTRIBUTING.md) for the repo? If not, give it a look first!
5+
Thanks for being interested in contributing a demo! Before you read more, have you read the [contribution guide](https://github.com/pmndrs/react-spring/blob/main/CONTRIBUTING.md) for the repo? If not, give it a look first!
66

77
## What is required
88

demo/src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const DemoCard = ({ children, link }) => {
137137
<figure className={styles.card}>
138138
<div className={styles['image-container']}>
139139
<img
140-
src={`https://raw.githubusercontent.com/pmndrs/react-spring/master/demo/src/sandboxes/${link}/thumbnail.png`}
140+
src={`https://raw.githubusercontent.com/pmndrs/react-spring/main/demo/src/sandboxes/${link}/thumbnail.png`}
141141
placeholder="empty"
142142
loading="lazy"
143143
alt={children}

docs/app/helpers/links.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FlattenedNavigation } from './navigation'
22

33
const BASE_URL =
4-
'https://github.com/pmndrs/react-spring/tree/master/docs/app/routes/docs/'
4+
'https://github.com/pmndrs/react-spring/tree/main/docs/app/routes/docs/'
55

66
export const getDocFilePathToGithub = (item?: FlattenedNavigation): string => {
77
if (!item) {

docs/app/routes/docs/concepts/controllers-and-springs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ the `SpringValue`'s value, which in turn animates the `animated` node you're pas
153153
154154
Fluids are used all over this library, in the case of our `animated` HOC, we use Fluids to schedule animated updates with our `rafz` package.
155155
156-
If you want to learn more about Fluids, I recommend looking at our [source code!](https://github.com/pmndrs/react-spring/blob/master/packages/shared/src/fluids.ts)
156+
If you want to learn more about Fluids, I recommend looking at our [source code!](https://github.com/pmndrs/react-spring/blob/main/packages/shared/src/fluids.ts)
157157
158158
## What you learnt
159159

docs/app/routes/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ Otherwise, each page has it's own feedback button you can use to give an up or d
4040
vote, followed by the option to then add written feedback.
4141

4242
If you're interested in adding an example to the site then why not check out the specific
43-
[contributing guide](https://github.com/pmndrs/react-spring/tree/master/demo/CONTRIBUTING.md).
43+
[contributing guide](https://github.com/pmndrs/react-spring/tree/main/demo/CONTRIBUTING.md).

docs/app/routes/examples.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default function Examples() {
185185
}}>
186186
{`Got an example you want to see here & share with the community?`}{' '}
187187
Check out{' '}
188-
<Anchor href="https://github.com/pmndrs/react-spring/tree/master/demo/CONTRIBUTING.md">
188+
<Anchor href="https://github.com/pmndrs/react-spring/tree/main/demo/CONTRIBUTING.md">
189189
this guide
190190
</Anchor>
191191
.

0 commit comments

Comments
 (0)