Skip to content

Commit 3caaca0

Browse files
committed
ReScript
1 parent 43ae420 commit 3caaca0

File tree

89 files changed

+923
-1243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+923
-1243
lines changed

.gitattributes

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

.github/ISSUE_TEMPLATE/bug.md

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

.github/ISSUE_TEMPLATE/feature.md

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

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 13 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Changelog of `@reason-react-native/paper`
1+
# Changelog of `@rescript-react-native/paper`
22

33
## 3.0.5 - 2021-02-19
44

@@ -10,7 +10,7 @@ Fix npm description
1010

1111
## 3.0.3 - 2020-11-07
1212

13-
- Add theme support in `PaperProvider` [#5](https://github.com/reason-react-native/paper/pull/5) by [@souhe](https://github.com/souhe)
13+
- Add theme support in `PaperProvider` [#5](https://github.com/rescript-react-native/paper/pull/5) by [@souhe](https://github.com/souhe)
1414

1515
## 3.0.2 - 2020-11-07
1616

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: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# `@reason-react-native/paper`
1+
# `@rescript-react-native/paper`
22

3-
[![Build Status](https://github.com/reason-react-native/paper/workflows/Build/badge.svg)](https://github.com/reason-react-native/paper/actions)
4-
[![Version](https://img.shields.io/npm/v/@reason-react-native/paper.svg)](https://www.npmjs.com/@reason-react-native/paper)
5-
[![Chat](https://img.shields.io/discord/235176658175262720.svg?logo=discord&colorb=blue)](https://reasonml-community.github.io/reason-react-native/discord/)
3+
[![Build Status](https://github.com/rescript-react-native/paper/workflows/Build/badge.svg)](https://github.com/rescript-react-native/paper/actions)
4+
[![Version](https://img.shields.io/npm/v/@rescript-react-native/paper.svg)](https://www.npmjs.com/@rescript-react-native/paper)
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-paper`](https://github.com/callstack/react-native-paper).
99

1010
Exposed as `Paper` module.
1111

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

1515
## Status
@@ -26,22 +26,22 @@ is properly installed & configured by following their installation instructions,
2626
you can install the bindings:
2727

2828
```console
29-
npm install @reason-react-native/paper
29+
npm install @rescript-react-native/paper
3030
# or
31-
yarn add @reason-react-native/paper
31+
yarn add @rescript-react-native/paper
3232
```
3333

34-
`@reason-react-native/paper` should be added to `bs-dependencies` in your
34+
`@rescript-react-native/paper` should be added to `bs-dependencies` in your
3535
`bsconfig.json`:
3636

3737
```diff
3838
{
3939
//...
4040
"bs-dependencies": [
41-
"reason-react",
42-
"reason-react-native",
41+
"@rescript/react",
42+
"rescript-react-native",
4343
// ...
44-
+ "@reason-react-native/paper"
44+
+ "@rescript-react-native/paper"
4545
],
4646
//...
4747
}
@@ -51,7 +51,7 @@ yarn add @reason-react-native/paper
5151

5252
### Components
5353

54-
```reason
54+
```rescript
5555
[@react.component]
5656
let make = () => {
5757
let (visible, setVisible) = React.useState(() => false);
@@ -78,12 +78,12 @@ releases.
7878

7979
## Contribute
8080

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

8383
## Code of Conduct
8484

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

8989
## Implemented components

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/paper",
3-
"refmt": 3,
4-
"reason": {
5-
"react-jsx": 3
6-
},
2+
"name": "@rescript-react-native/paper",
3+
"reason": { "react-jsx": 3 },
74
"package-specs": {
85
"module": "commonjs",
96
"in-source": true
@@ -20,5 +17,5 @@
2017
"warnings": {
2118
"error": true
2219
},
23-
"bs-dependencies": ["reason-react", "reason-react-native"]
20+
"bs-dependencies": ["@rescript/react", "rescript-react-native"]
2421
}

package.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
{
2-
"name": "@reason-react-native/paper",
2+
"name": "@rescript-react-native/paper",
33
"description": "ReScript bindings for react-native-paper.",
44
"version": "3.0.5",
55
"publishConfig": {
66
"access": "public"
77
},
88
"peerDependencies": {
99
"react-native-paper": "^3.0.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/paper.git",
13+
"repository": "https://github.com/rescript-react-native/paper.git",
1414
"license": "MIT",
1515
"keywords": [
1616
"rescript",
17-
"reason",
18-
"reasonml",
19-
"bucklescript",
2017
"react-native",
2118
"react-native-paper"
2219
],
2320
"files": [
2421
"*.md",
2522
"bsconfig.json",
26-
"src/**/*.re",
23+
"src/**/*.res",
24+
"src/**/*.resi",
2725
"src/**/*.js",
2826
"!src/**/*.bs.js"
2927
],
@@ -40,14 +38,14 @@
4038
"release": "npmpub"
4139
},
4240
"devDependencies": {
43-
"bs-platform": "^8.2.0",
41+
"bs-platform": "^9.0.0",
4442
"husky": "^4.0.0",
4543
"lint-staged": "^10.0.0",
4644
"npmpub": "^5.0.0",
4745
"prettier": "^2.0.0",
4846
"react-native-paper": "^3.0.0",
49-
"reason-react": "^0.9.0",
50-
"reason-react-native": "^0.63.0"
47+
"@rescript/react": "^0.10.0",
48+
"rescript-react-native": "^0.64.3"
5149
},
5250
"prettier": {
5351
"trailingComma": "all"

0 commit comments

Comments
 (0)