Skip to content

Commit

Permalink
Swap rewatch with rescript
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Nov 20, 2024
1 parent 20e9e63 commit 2d6622b
Show file tree
Hide file tree
Showing 133 changed files with 278 additions and 268 deletions.
7 changes: 6 additions & 1 deletion docs/content/docs/contributing/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,13 @@ This will update your fork with the latest from `rescript-lang/experimental-resc

## Initial build

Install the dependencies and compile the bindings using [Rewatch](https://github.com/rescript-lang/rewatch):
Install the dependencies and compile the bindings using `ReScript`:

```shell
npm install && npm run build
```

<Aside type="caution">
Usage of **[rewatch](https://github.com/rescript-lang/rewatch)** is currently not advised.
See [rewatch#144](https://github.com/rescript-lang/rewatch/issues/144) and [rewatch#124](https://github.com/rescript-lang/rewatch/issues/124#issuecomment-2488194551)
</Aside>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"type": "module",
"scripts": {
"test": "node tests/index.js",
"build": "rewatch",
"build": "rescript",
"format": "rescript format -all && prettier --write ./docs ./tests/index.js ./package.json",
"docs": "astro dev",
"build:docs": "astro build"
Expand Down
4 changes: 2 additions & 2 deletions src/CSSFontLoadingAPI/FontFaceSet.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/CanvasAPI/OffscreenCanvas.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ChannelMessagingAPI/MessagePort.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/ClipboardAPI/Clipboard.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/Animation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/DOMAPI/CharacterData.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/Comment.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/Document.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/DOMAPI/DocumentFragment.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/DOMAPI/Element.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/DOMAPI/FillStyle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLAnchorElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLAreaElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLAudioElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLBRElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLBaseElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLBodyElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLButtonElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLCanvasElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLDListElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLDataElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLDataListElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLDialogElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLDivElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/DOMAPI/HTMLElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLEmbedElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLFieldSetElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLFormElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLFrameSetElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLHRElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLHeadElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLHeadingElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/DOMAPI/HTMLHtmlElement.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2d6622b

Please sign in to comment.