Skip to content

Commit 53480d2

Browse files
committed
feat: add typescript mappings
Also modernize the project and migrate it to gregberge/react-merge-refs.
1 parent fae98bd commit 53480d2

20 files changed

+4912
-2864
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: gregberge

.github/ISSUE_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 👉 [Please follow one of these issue templates](https://github.com/gregberge/react-merge-refs/issues/new/choose) 👈
2+
3+
Note: to keep the backlog clean and actionable, issues may be immediately closed if they do not follow one of the above issue templates.

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: 🐛 Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
## 🐛 Bug Report
7+
8+
A clear and concise description of what the bug is.
9+
10+
## To Reproduce
11+
12+
Steps to reproduce the behavior:
13+
14+
## Expected behavior
15+
16+
A clear and concise description of what you expected to happen.
17+
18+
## Link to repl or repo (highly encouraged)
19+
20+
Please provide a minimal repository on GitHub.
21+
22+
Issues without a reproduction link are likely to stall.
23+
24+
## Run `npx envinfo --system --binaries --npmPackages react-merge-refs,react,react-dom --markdown --clipboard`
25+
26+
Paste the results here:
27+
28+
```bash
29+
30+
```

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: 🚀 Feature Proposal
3+
about: Submit a proposal for a new feature
4+
---
5+
6+
## 🚀 Feature Proposal
7+
8+
A clear and concise description of what the feature is.
9+
10+
## Motivation
11+
12+
Please outline the motivation for the proposal.
13+
14+
## Example
15+
16+
Please provide an example for how this feature would be used.
17+
18+
## Pitch
19+
20+
Why does this feature belong in the react-merge-refs ecosystem?

.github/ISSUE_TEMPLATE/question.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: 💬 Questions / Help
3+
about: If you have questions, please read full readme first
4+
---
5+
6+
## 💬 Questions and Help
7+
8+
This project project is young, but please before asking your question:
9+
10+
- Read carefully the README of the project
11+
- Search if your answer has already been answered in old issues
12+
13+
After you can submit your question and we will be happy to help you!

.github/ISSUE_TEMPLATE/regression.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: 💥 Regression Report
3+
about: Report unexpected behavior that worked in previous versions
4+
---
5+
6+
## 💥 Regression Report
7+
8+
A clear and concise description of what the regression is.
9+
10+
## Last working version
11+
12+
Worked up to version:
13+
14+
Stopped working in version:
15+
16+
## To Reproduce
17+
18+
Steps to reproduce the behavior:
19+
20+
## Expected behavior
21+
22+
A clear and concise description of what you expected to happen.
23+
24+
## Link to repl or repo (highly encouraged)
25+
26+
Please provide a minimal repository on GitHub.
27+
28+
Issues without a reproduction link are likely to stall.
29+
30+
## `npx envinfo --system --binaries --npmPackages react-merge-refs,react,react-dom --markdown --clipboard`
31+
32+
Paste the results here:
33+
34+
```bash
35+
36+
```

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory. -->
2+
3+
## Summary
4+
5+
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->
6+
7+
## Test plan
8+
9+
<!-- Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. -->

.npmignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/*
2-
!/dist/**/*.js
3-
!/src/**/*.js
4-
*.test.js
2+
!/dist/**/*.{ts,js,map}
3+
!/src/**/*.tsx?
4+
**/*.test.tsx

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
language: node_js
22

33
node_js:
4-
- 10
4+
- 14
5+
6+
branches:
7+
only:
8+
- "master"
59

610
notifications:
711
email: false
812

913
cache:
1014
yarn: true
1115
directories:
12-
- 'node_modules'
16+
- "node_modules"
1317

1418
git:
1519
depth: 5

0 commit comments

Comments
 (0)