Skip to content

Commit 9ba46f4

Browse files
cknittMoOx
authored andcommitted
Import rn-fetch-blob bindings from CCA repo, add stuff from __template__. (#1)
1 parent fa900f1 commit 9ba46f4

18 files changed

+2371
-2
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# https://EditorConfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 2

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Tell github that .re and .rei files are Reason, sometimes recognized as C/C++
2+
*.re linguist-language=Reason
3+
*.rei linguist-language=Reason

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
name: "\U0001F41B Bug report"
3+
about: "If something isn't working as expected \U0001F914"
4+
---
5+
6+
<!--
7+
# Thank you for reporting an issue.
8+
9+
Please note that an issue must include the information
10+
that is marked as REQUIRED below, or it may be closed.
11+
12+
**Great Bug Reports** tend to have:
13+
14+
- A quick summary and/or background
15+
- Steps to reproduce
16+
- Be specific!
17+
- Give sample code if you can. Try to include sample code that *anyone* could run to reproduce what you were seing
18+
- What you expected would happen
19+
- What actually happens
20+
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
21+
-->
22+
23+
## The problem
24+
25+
<!--
26+
REQUIRED: A clear and concise description of the bug or problem.
27+
-->
28+
29+
### How to reproduce
30+
31+
<!--
32+
Create a test case if possible
33+
-->
34+
35+
Steps to reproduce:
36+
37+
1.
38+
39+
## Expected behavior
40+
41+
<!--
42+
REQUIRED: A clear and concise description of what you expected to happen.
43+
-->
44+
45+
## Actual behavior
46+
47+
<!--
48+
REQUIRED: A clear and concise description of what is currently happening.
49+
-->
50+
51+
## Environment
52+
53+
<!--
54+
Please include all necessary versions & relevant informations
55+
-->
56+
57+
<!--
58+
OPTIONAL:
59+
60+
## Additional context
61+
62+
Add any other context about the problem here.
63+
-->

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: "\U0001F680 Feature request"
3+
about: If you have a suggestion
4+
---
5+
6+
## The problem
7+
8+
<!--
9+
Please include here a clear and concise description of what the problem is.
10+
11+
e.g.:
12+
13+
I have an issue when [...]
14+
-->
15+
16+
## Considered solution
17+
18+
<!--
19+
If possible, include a clear and concise description of what you want to happen.
20+
Add any considered drawbacks.
21+
-->
22+
23+
## Alternatives solutions
24+
25+
<!--
26+
if possible, include a clear and concise description of any alternative solutions
27+
or features you've considered.
28+
-->
29+
30+
<!--
31+
OPTIONAL:
32+
33+
## Additional context
34+
35+
Add any other context about the problem here.
36+
-->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
3+
**Before submitting a pull request,** please make you followed our CONTRIBUTING guide
4+
5+
https://github.com/reason-react-native/fetch-blob/blob/master/CONTRIBUTING.md
6+
7+
-->
8+
9+
Closes #<number-of-the-issue>
10+
11+
<!--
12+
Add any information that might be useful
13+
-->

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version:
12+
- 8.x
13+
- 10.x
14+
- 12.x
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: Install
23+
run: |
24+
yarn install \
25+
--non-interactive \
26+
--frozen-lockfile
27+
- name: Test
28+
run: yarn test
29+
env:
30+
CI: true

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
*.log
2+
3+
# macOS crap
4+
.DS_Store
5+
6+
# node
7+
node_modules
8+
9+
# npm unused lock file (we use yarn.lock)
10+
package-lock.json
11+
12+
# Ocaml / Reason / BuckleScript artifacts
13+
#*.bs.js # we do want this files to ensure zero-cost
14+
.bsb.lock
15+
**/lib/bs
16+
**/lib/ocaml
17+
**/.merlin

.node-version

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

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.bs.js
2+
package.json

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog of `@reason-react-native/fetch-blob`
2+
3+
## X.Y.Z - 2019-XX-XX
4+
5+
Initial release.

0 commit comments

Comments
 (0)