Skip to content

Commit ce519a0

Browse files
committed
ReScript
Closes #8
1 parent 232a23a commit ce519a0

File tree

10 files changed

+1042
-1103
lines changed

10 files changed

+1042
-1103
lines changed

.gitattributes

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

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ node_modules
99
# npm unused lock file (we use yarn.lock)
1010
package-lock.json
1111

12-
# ReScript / Reason / Ocaml artifacts
13-
#*.bs.js # we do want this files to ensure zero-cost
12+
# ReScript artifacts
13+
# *.bs.js # we do want this files to ensure zero-cost
1414
.bsb.lock
1515
**/lib/bs
1616
**/lib/ocaml

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Changelog of `@reason-react-native/svg`
1+
# Changelog of `@rescript-react-native/svg`
22

33
## 12.1.6-0.63 - 2021-03-15
44

5-
- Added children prop to RadialGradient [#7](https://github.com/reason-react-native/svg/pull/7) by [@reck753](https://github.com/reck753)
5+
- Added children prop to RadialGradient [#7](https://github.com/rescript-react-native/svg/pull/7) by [@reck753](https://github.com/reck753)
66

77
## 12.1.5-0.63 - 2020-11-18
88

@@ -11,17 +11,17 @@ Fix npm description
1111
## 12.1.4-0.63 - 2020-11-12
1212

1313
- rescript 8.2
14-
- reason-react-native 0.63
14+
- rescript-react-native 0.63
1515

1616
## 12.1.4 - 2020-08-08
1717

18-
- Fixed `Stop` props, that are all optional [09fe188](https://github.com/reason-react-native/svg/commit/09fe188) by [@MoOx](https://github.com/MoOx)
19-
- Ensure compatibility with ReScript 8 & reason-react-native 0.62 [4b6b32d](https://github.com/reason-react-native/svg/commit/4b6b32d) by [@MoOx](https://github.com/MoOx)
18+
- Fixed `Stop` props, that are all optional [09fe188](https://github.com/rescript-react-native/svg/commit/09fe188) by [@MoOx](https://github.com/MoOx)
19+
- Ensure compatibility with ReScript 8 & rescript-react-native 0.62 [4b6b32d](https://github.com/rescript-react-native/svg/commit/4b6b32d) by [@MoOx](https://github.com/MoOx)
2020

2121
## 12.1.3 - 2020-04-26
2222

23-
- Fixed opacity external [#2](https://github.com/reason-react-native/svg/pull/2) by [@tienle](https://github.com/tienle)
24-
- Added `ClipPath` missing children prop [#2](https://github.com/reason-react-native/svg/pull/2) by [@tienle](https://github.com/tienle)
23+
- Fixed opacity external [#2](https://github.com/rescript-react-native/svg/pull/2) by [@tienle](https://github.com/tienle)
24+
- Added `ClipPath` missing children prop [#2](https://github.com/rescript-react-native/svg/pull/2) by [@tienle](https://github.com/tienle)
2525

2626
## 12.1.2 - 2020-04-15
2727

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 @reason-react-native contributors
3+
Copyright (c) 2019 @rescript-react-native contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# `@reason-react-native/svg`
1+
# `@rescript-react-native/svg`
22

3-
[![Build Status](https://github.com/reason-react-native/svg/workflows/Build/badge.svg)](https://github.com/reason-react-native/svg/actions)
4-
[![Version](https://img.shields.io/npm/v/@reason-react-native/svg.svg)](https://www.npmjs.com/@reason-react-native/svg)
5-
[![Chat](https://img.shields.io/discord/235176658175262720.svg?logo=discord&colorb=blue)](https://reason-react-native.github.io/discord/)
3+
[![Build Status](https://github.com/rescript-react-native/svg/workflows/Build/badge.svg)](https://github.com/rescript-react-native/svg/actions)
4+
[![Version](https://img.shields.io/npm/v/@rescript-react-native/svg.svg)](https://www.npmjs.com/@rescript-react-native/svg)
5+
[![ReScript Forum](https://img.shields.io/discourse/posts?color=e6484f&label=ReScript%20Forum&server=https%3A%2F%2Fforum.rescript-lang.org)](https://forum.rescript-lang.org/)
66

7-
[ReScript](https://rescript-lang.org) / [Reason](https://reasonml.github.io) bindings for
7+
[ReScript](https://rescript-lang.org) bindings for
88
[`react-native-svg`](https://github.com/react-native-community/react-native-svg).
99

1010
Exposed as `ReactNativeSvg` module.
1111

12-
`@reason-react-native/svg` X.y.\* means it's compatible with `react-native-svg`
12+
`@rescript-react-native/svg` X.y.\* means it's compatible with `react-native-svg`
1313
X.y.\*
1414

1515
## Installation
@@ -20,22 +20,22 @@ is properly installed & configured by following their installation instructions,
2020
you can install the bindings:
2121

2222
```console
23-
npm install @reason-react-native/svg
23+
npm install @rescript-react-native/svg
2424
# or
25-
yarn add @reason-react-native/svg
25+
yarn add @rescript-react-native/svg
2626
```
2727

28-
`@reason-react-native/svg` should be added to `bs-dependencies` in your
28+
`@rescript-react-native/svg` should be added to `bs-dependencies` in your
2929
`bsconfig.json`:
3030

3131
```diff
3232
{
3333
//...
3434
"bs-dependencies": [
35-
"reason-react",
36-
"reason-react-native",
35+
"@rescript/react",
36+
"rescript-react-native",
3737
// ...
38-
+ "@reason-react-native/svg"
38+
+ "@rescript-react-native/svg"
3939
],
4040
//...
4141
}
@@ -86,11 +86,11 @@ releases.
8686
## Contribute
8787

8888
Read the
89-
[contribution guidelines](https://github.com/reason-react-native/.github/blob/master/CONTRIBUTING.md)
89+
[contribution guidelines](https://github.com/rescript-react-native/.github/blob/master/CONTRIBUTING.md)
9090
before contributing.
9191

9292
## Code of Conduct
9393

9494
We want this community to be friendly and respectful to each other. Please read
95-
[our full code of conduct](https://github.com/reason-react-native/.github/blob/master/CODE_OF_CONDUCT.md)
95+
[our full code of conduct](https://github.com/rescript-react-native/.github/blob/master/CODE_OF_CONDUCT.md)
9696
so that you can understand what actions will and will not be tolerated.

bsconfig.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
2-
"name": "@reason-react-native/svg",
3-
"refmt": 3,
4-
"reason": {
5-
"react-jsx": 3
6-
},
2+
"name": "@rescript-react-native/svg",
3+
"reason": { "react-jsx": 3 },
74
"package-specs": {
85
"module": "commonjs",
96
"in-source": true
@@ -19,5 +16,5 @@
1916
"warnings": {
2017
"error": true
2118
},
22-
"bs-dependencies": ["reason-react", "reason-react-native"]
19+
"bs-dependencies": ["@rescript/react", "rescript-react-native"]
2320
}

package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
{
2-
"name": "@reason-react-native/svg",
2+
"name": "@rescript-react-native/svg",
33
"description": "ReScript bindings for react-native-svg.",
4-
"version": "12.1.6-0.63",
4+
"version": "12.1.6",
55
"publishConfig": {
66
"access": "public"
77
},
88
"peerDependencies": {
99
"react-native-svg": "^12.1.0",
10-
"reason-react": "^0.9.0",
11-
"reason-react-native": "^0.63.0"
10+
"@rescript/react": "^0.10.0",
11+
"rescript-react-native": "^0.64.3"
1212
},
13-
"repository": "https://github.com/reason-react-native/svg.git",
13+
"repository": "https://github.com/rescript-react-native/svg.git",
1414
"license": "MIT",
1515
"keywords": [
1616
"rescript",
17-
"reason",
18-
"reasonml",
19-
"bucklescript",
2017
"react-native"
2118
],
2219
"files": [
2320
"*.md",
2421
"bsconfig.json",
25-
"src/**/*.re",
22+
"src/**/*.res",
23+
"src/**/*.resi",
2624
"src/**/*.js",
2725
"!src/**/*.bs.js"
2826
],
@@ -39,13 +37,13 @@
3937
"release": "npmpub"
4038
},
4139
"devDependencies": {
42-
"bs-platform": "^8.2.0",
40+
"bs-platform": "^9.0.0",
4341
"husky": "^4.0.0",
4442
"lint-staged": "^10.0.0",
4543
"npmpub": "^5.0.0",
4644
"prettier": "^2.0.0",
47-
"reason-react": "^0.9.0",
48-
"reason-react-native": "^0.63.0"
45+
"@rescript/react": "^0.10.0",
46+
"rescript-react-native": "^0.64.3"
4947
},
5048
"prettier": {
5149
"trailingComma": "all"

0 commit comments

Comments
 (0)