Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Mar 19, 2021
1 parent fcaceb6 commit 2b97914
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 38 deletions.
3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ node_modules
# npm unused lock file (we use yarn.lock)
package-lock.json

# ReScript / Reason / Ocaml artifacts
#*.bs.js # we do want this files to ensure zero-cost
# ReScript artifacts
# *.bs.js # we do want this files to ensure zero-cost
.bsb.lock
**/lib/bs
**/lib/ocaml
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog of `@reason-react-native/__template__`
# Changelog of `@rescript-react-native/__template__`

## X.Y.Z - 20YY-MM-DD

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

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

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
`bsconfig.json` `"namespace"` field (more on this below),
- Update all occurences of

- `@reason-react-native/__template__`
- `https://github.com/reason-react-native/__template__`
- `@rescript-react-native/__template__`
- `https://github.com/rescript-react-native/__template__`
- `__template__`
- `react-native-XXXXXXXXXX`
- `https://github.com/OWNER/react-native-XXXXXXXXXX`
Expand All @@ -23,18 +23,18 @@

---

# `@reason-react-native/__template__`
# `@rescript-react-native/__template__`

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

[ReScript](https://rescript-lang.org) / [Reason](https://reasonml.github.io) bindings for
[ReScript](https://rescript-lang.org) bindings for
[`react-native-XXXXXXXXXX`](https://github.com/OWNER/react-native-XXXXXXXXXX).

Exposed as `ReactNativeXxxxxxxxxx` module.

`@reason-react-native/__template__` X.y.\* means it's compatible with
`@rescript-react-native/__template__` X.y.\* means it's compatible with
`react-native-XXXXXXXXXX` X.y.\*

## Installation
Expand All @@ -45,22 +45,22 @@ is properly installed & configured by following their installation instructions,
you can install the bindings:

```console
npm install @reason-react-native/__template__
npm install @rescript-react-native/__template__
# or
yarn add @reason-react-native/__template__
yarn add @rescript-react-native/__template__
```

`@reason-react-native/__template__` should be added to `bs-dependencies` in your
`@rescript-react-native/__template__` should be added to `bs-dependencies` in your
`bsconfig.json`:

```diff
{
//...
"bs-dependencies": [
"reason-react",
"reason-react-native",
"@rescript/react",
"rescript-react-native",
// ...
+ "@reason-react-native/__template__"
+ "@rescript-react-native/__template__"
],
//...
}
Expand Down Expand Up @@ -92,11 +92,11 @@ releases.
## Contribute

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

## Code of Conduct

We want this community to be friendly and respectful to each other. Please read
[our full code of conduct](https://github.com/reason-react-native/.github/blob/master/CODE_OF_CONDUCT.md)
[our full code of conduct](https://github.com/rescript-react-native/.github/blob/master/CODE_OF_CONDUCT.md)
so that you can understand what actions will and will not be tolerated.
7 changes: 2 additions & 5 deletions bsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"name": "@reason-react-native/__template__",
"refmt": 3,
"reason": {
"react-jsx": 3
},
"name": "@rescript-react-native/__template__",
"reason": { "react-jsx": 3 },
"package-specs": {
"module": "commonjs",
"in-source": true
Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{
"name": "@reason-react-native/__template__",
"name": "@rescript-react-native/__template__",
"description": "ReScript bindings for react-native-XXXXXXXXXX",
"version": "0.0.0",
"publishConfig": {
"access": "public"
},
"peerDependencies": {},
"repository": "https://github.com/reason-react-native/__template__.git",
"repository": "https://github.com/rescript-react-native/__template__.git",
"license": "MIT",
"keywords": [
"rescript",
"reason",
"reasonml",
"bucklescript",
"react-native"
],
"files": [
Expand All @@ -35,7 +32,7 @@
"release": "npmpub"
},
"devDependencies": {
"bs-platform": "^8.2.0",
"bs-platform": "^9.0.0",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"npmpub": "^5.0.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ braces@^3.0.1:
dependencies:
fill-range "^7.0.1"

bs-platform@^8.2.0:
version "8.3.2"
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-8.3.2.tgz#c307f1cc2d2397c3d088c7f3b62e9f493283cdcf"
integrity sha512-iOTi5JIlNPoCPq31NS9ET79FLyCpwTL2JZbgHz35LzY9Bch1iDtbBR3FVGhRbjphxelAP4fLlFONfUNp5Y3a5g==
bs-platform@^9.0.0:
version "9.0.2"
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-9.0.2.tgz#a6eac70eb8924a322556dacaccbfbc9b2a0d3a37"
integrity sha512-Ye9JqJ4Oa7mcjjoOVRYI8Uc2Cf8N7jQLWDcdUplY7996d/YErSR7WitmV7XnSwr4EvdrbwjEsg1NxNjUQv3ChA==

callsites@^3.0.0:
version "3.1.0"
Expand Down

0 comments on commit 2b97914

Please sign in to comment.