Skip to content

Commit c75c29c

Browse files
committed
ReScript
1 parent 8c8c2a9 commit c75c29c

12 files changed

+169
-207
lines changed

.gitattributes

-3
This file was deleted.

CHANGELOG.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Changelog of `@reason-react-native/template`
1+
# Changelog of `@rescript-react-native/template`
22

33
## 0.63.0 - 2020-11-18
44

55
Updated for
66

77
- react-native 0.63
8-
- reason-react-native 0.63
8+
- rescript-react-native 0.63
99
- rescript 8.2
1010

1111
## 0.62.1 - 2020-08-13
1212

13-
- Upgrade template to use RN 0.62 [#5](https://github.com/reason-react-native/template/pull/5) by [@Naturalclar](https://github.com/Naturalclar)
13+
- Upgrade template to use RN 0.62 [#5](https://github.com/rescript-react-native/template/pull/5) by [@Naturalclar](https://github.com/Naturalclar)
1414

1515
## 0.62.0 - 2020-08-11
1616

17-
- Update deps [d55731f](https://github.com/reason-react-native/template/commit/d55731f) by [@MoOx](https://github.com/MoOx)
17+
- Update deps [d55731f](https://github.com/rescript-react-native/template/commit/d55731f) by [@MoOx](https://github.com/MoOx)
1818

1919
## 0.61.1 - 2020-01-29
2020

2121
- Fix bs-platform version in yarn.lock
2222

2323
## 0.61.0 - 2020-01-29
2424

25-
- Rename `reason-react-native-template` to `@reason-react-native/template`
26-
25+
- Rename `rescript-react-native-template` to `@rescript-react-native/template`
26+
- Bump to `[email protected]` & `rescript[email protected]`
2727

2828
## 0.1.0 - 2019-06-17
2929

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019-present reason-react-native
3+
Copyright (c) 2019-present rescript-react-native
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

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# `@reason-react-native/template`
1+
# `@rescript-react-native/template`
22

3-
[![Version](https://img.shields.io/npm/v/@reason-react-native/template.svg)](https://www.npmjs.com/@reason-react-native/template)
4-
[![Chat](https://img.shields.io/discord/235176658175262720.svg?logo=discord&colorb=blue)](https://reason-react-native.github.io/discord/)
3+
[![Version](https://img.shields.io/npm/v/@rescript-react-native/template.svg)](https://www.npmjs.com/@rescript-react-native/template)
4+
[![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/)
55

66
> React Native template for application developed with ReScript.
77
@@ -10,12 +10,12 @@ experience.
1010

1111
## Setup
1212

13-
## Start a Reason React Native project with this template
13+
## Start a ReScript React Native project with this template
1414

1515
```console
16-
npx @react-native-community/cli init MyApp --template @reason-react-native/template
16+
npx @react-native-community/cli init MyApp --template @rescript-react-native/template
1717
cd MyApp
1818
```
1919

2020
Now that you are ready to go, you can check our documentation on
21-
[how to use Reason React Native](https://reason-react-native.github.io/en/docs/usage/).
21+
[how to use ReScript React Native](https://rescript-react-native.github.io/docs/).

package.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
{
2-
"name": "@reason-react-native/template",
2+
"name": "@rescript-react-native/template",
33
"description": "React Native template for application developed with ReScript.",
44
"version": "0.63.0",
55
"publishConfig": {
66
"access": "public"
77
},
8-
"repository": "https://github.com/reason-react-native/template",
8+
"repository": "https://github.com/rescript-react-native/template",
99
"license": "MIT",
1010
"keywords": [
1111
"rescript",
12-
"reason",
13-
"reasonml",
14-
"bucklescript",
1512
"react-native",
1613
"react-native-template"
1714
],
@@ -24,7 +21,7 @@
2421
"!template/ios/Pods"
2522
],
2623
"devDependencies": {
27-
"bs-platform": "^8.2.0",
24+
"bs-platform": "^9.0.0",
2825
"husky": "^4.0.0",
2926
"lint-staged": "^10.0.0",
3027
"npmpub": "^5.0.0",

script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
22

33
console.log(
4-
"You are now ready to use Reason React Native. Be sure to check the docs at https://reasonml-community.github.io/reason-react-native/",
4+
"You are now ready to use ReScript React Native. Be sure to check the docs at https://rescript-react-native.github.io/",
55
);

template/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ buck-out/
5858
# CocoaPods
5959
/ios/Pods/
6060

61-
# ReScript / Reason / Ocaml artifacts
61+
# ReScript artifacts
6262
*.bs.js
6363
.bsb.lock
6464
.merlin

template/bsconfig.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"name": "ProjectName",
3-
"refmt": 3,
4-
"reason": {
5-
"react-jsx": 3
6-
},
3+
"reason": {"react-jsx": 3},
74
"package-specs": {
85
"module": "es6",
96
"in-source": true
@@ -15,5 +12,5 @@
1512
"subdirs": true
1613
}
1714
],
18-
"bs-dependencies": ["reason-react", "reason-react-native"]
15+
"bs-dependencies": ["@rescript/react", "rescript-react-native"]
1916
}

template/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
},
1414
"dependencies": {
1515
"react": "^16.13.0",
16-
"react-native": "^0.63.0",
17-
"reason-react": "^0.9.0",
18-
"reason-react-native": "^0.63.0"
16+
"react-native": "^0.64.0",
17+
"@rescript/react": "^0.10.0",
18+
"rescript-react-native": "^0.64.3"
1919
},
2020
"devDependencies": {
2121
"@babel/core": "^7.8.4",
2222
"@babel/runtime": "^7.8.4",
2323
"@react-native-community/eslint-config": "^1.1.0",
2424
"babel-jest": "^25.1.0",
25-
"bs-platform": "^8.2.0",
25+
"bs-platform": "^9.0.0",
2626
"eslint": "^6.5.1",
2727
"jest": "^25.1.0",
2828
"metro-react-native-babel-preset": "^0.59.0",

template/src/App.re

-170
This file was deleted.

0 commit comments

Comments
 (0)