Skip to content

Commit c4fda2b

Browse files
committed
Merge branch 'main' of github.com:testing-library/dom-testing-library into ts-2
� Conflicts: � types/queries.d.ts
2 parents 9a7e7fa + e061cd1 commit c4fda2b

File tree

5 files changed

+37
-15
lines changed

5 files changed

+37
-15
lines changed

Diff for: .all-contributorsrc

+18
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,24 @@
13691369
"contributions": [
13701370
"code"
13711371
]
1372+
},
1373+
{
1374+
"login": "simcha90",
1375+
"name": "simcha90",
1376+
"avatar_url": "https://avatars.githubusercontent.com/u/56388545?v=4",
1377+
"profile": "https://github.com/simcha90",
1378+
"contributions": [
1379+
"code"
1380+
]
1381+
},
1382+
{
1383+
"login": "amitmiran137",
1384+
"name": "Amit Miran",
1385+
"avatar_url": "https://avatars.githubusercontent.com/u/47772523?v=4",
1386+
"profile": "https://github.com/amitmiran137",
1387+
"contributions": [
1388+
"infra"
1389+
]
13721390
}
13731391
],
13741392
"repoHost": "https://github.com"

Diff for: .github/workflows/validate.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches:
55
- '+([0-9])?(.{+([0-9]),x}).x'
6-
- 'master'
6+
- 'main'
77
- 'next'
88
- 'next-major'
99
- 'beta'
@@ -52,7 +52,7 @@ jobs:
5252
runs-on: ubuntu-latest
5353
if:
5454
${{ github.repository == 'testing-library/dom-testing-library' &&
55-
contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha',
55+
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
5656
github.ref) && github.event_name == 'push' }}
5757
steps:
5858
- name: 🛑 Cancel Previous Runs
@@ -81,7 +81,7 @@ jobs:
8181
branches: |
8282
[
8383
'+([0-9])?(.{+([0-9]),x}).x',
84-
'master',
84+
'main',
8585
'next',
8686
'next-major',
8787
{name: 'beta', prerelease: true},

Diff for: CONTRIBUTING.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
1111
2. Run `npm run setup` to install dependencies and run validation
1212
3. Create a branch for your PR with `git checkout -b pr/your-branch-name`
1313

14-
> Tip: Keep your `master` branch pointing at the original repository and make
15-
> pull requests from branches on your fork. To do this, run:
14+
> Tip: Keep your `main` branch pointing at the original repository and make pull
15+
> requests from branches on your fork. To do this, run:
1616
>
1717
> ```
1818
> git remote add upstream https://github.com/testing-library/dom-testing-library.git
1919
> git fetch upstream
20-
> git branch --set-upstream-to=upstream/master master
20+
> git branch --set-upstream-to=upstream/main main
2121
> ```
2222
>
2323
> This will add the original repository as a "remote" called "upstream," Then
24-
> fetch the git information from that remote, then set your local `master`
25-
> branch to use the upstream master branch whenever you run `git pull`. Then you
26-
> can make all of your pull request branches based on this `master` branch.
27-
> Whenever you want to update your version of `master`, do a regular `git pull`.
24+
> fetch the git information from that remote, then set your local `main` branch
25+
> to use the upstream main branch whenever you run `git pull`. Then you can make
26+
> all of your pull request branches based on this `main` branch. Whenever you
27+
> want to update your version of `main`, do a regular `git pull`.
2828
2929
## Committing and Pushing changes
3030

Diff for: README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
height="80"
77
width="80"
88
alt="octopus"
9-
src="https://raw.githubusercontent.com/testing-library/dom-testing-library/master/other/octopus.png"
9+
src="https://raw.githubusercontent.com/testing-library/dom-testing-library/main/other/octopus.png"
1010
/>
1111
</a>
1212

@@ -41,7 +41,7 @@ practices.</p>
4141
<img
4242
width="500"
4343
alt="TestingJavaScript.com Learn the smart, efficient way to test any JavaScript application."
44-
src="https://raw.githubusercontent.com/testing-library/dom-testing-library/master/other/testingjavascript.jpg"
44+
src="https://raw.githubusercontent.com/testing-library/dom-testing-library/main/other/testingjavascript.jpg"
4545
/>
4646
</a>
4747
</div>
@@ -309,6 +309,10 @@ Thanks goes to these people ([emoji key][emojis]):
309309
<td align="center"><a href="https://github.com/SimenB"><img src="https://avatars.githubusercontent.com/u/1404810?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Simen Bekkhus</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/issues?q=author%3ASimenB" title="Bug reports">🐛</a></td>
310310
<td align="center"><a href="https://github.com/gaearon"><img src="https://avatars.githubusercontent.com/u/810438?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dan Abramov</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/issues?q=author%3Agaearon" title="Bug reports">🐛</a> <a href="https://github.com/testing-library/dom-testing-library/pulls?q=is%3Apr+reviewed-by%3Agaearon" title="Reviewed Pull Requests">👀</a></td>
311311
<td align="center"><a href="https://matan.io"><img src="https://avatars.githubusercontent.com/u/12711091?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matan Borenkraout</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=MatanBobi" title="Code">💻</a></td>
312+
<td align="center"><a href="https://github.com/simcha90"><img src="https://avatars.githubusercontent.com/u/56388545?v=4?s=100" width="100px;" alt=""/><br /><sub><b>simcha90</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=simcha90" title="Code">💻</a></td>
313+
</tr>
314+
<tr>
315+
<td align="center"><a href="https://github.com/amitmiran137"><img src="https://avatars.githubusercontent.com/u/47772523?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Amit Miran</b></sub></a><br /><a href="#infra-amitmiran137" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
312316
</tr>
313317
</table>
314318

@@ -337,11 +341,11 @@ Contributions of any kind welcome!
337341
[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/dom.svg?style=flat-square
338342
[npmtrends]: http://www.npmtrends.com/@testing-library/dom
339343
[license-badge]: https://img.shields.io/npm/l/@testing-library/dom.svg?style=flat-square
340-
[license]: https://github.com/testing-library/dom-testing-library/blob/master/LICENSE
344+
[license]: https://github.com/testing-library/dom-testing-library/blob/main/LICENSE
341345
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
342346
[prs]: http://makeapullrequest.com
343347
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
344-
[coc]: https://github.com/testing-library/dom-testing-library/blob/master/CODE_OF_CONDUCT.md
348+
[coc]: https://github.com/testing-library/dom-testing-library/blob/main/CODE_OF_CONDUCT.md
345349
[github-watch-badge]: https://img.shields.io/github/watchers/testing-library/dom-testing-library.svg?style=social
346350
[github-watch]: https://github.com/testing-library/dom-testing-library/watchers
347351
[github-star-badge]: https://img.shields.io/github/stars/testing-library/dom-testing-library.svg?style=social

Diff for: other/MAINTAINING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ to release. See the next section on Releases for more about that.
6161

6262
## Release
6363

64-
Our releases are automatic. They happen whenever code lands into `master`. A
64+
Our releases are automatic. They happen whenever code lands into `main`. A
6565
GitHub Action gets kicked off and if it's successful, a tool called
6666
[`semantic-release`](https://github.com/semantic-release/semantic-release) is
6767
used to automatically publish a new release to npm as well as a changelog to

0 commit comments

Comments
 (0)