Skip to content

Commit d62702e

Browse files
Testclaude
andcommitted
feat: configure Deno for ReScript compilation (no Node.js)
Per RSR language policy: Use Deno (not Node.js) for compilation. - deno task build/clean/watch for ReScript - Import maps for rescript, @rescript/core, proven - No node_modules required Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 9dd6a59 commit d62702e

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

deno.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"tasks": {
3-
"build": "rescript build",
4-
"clean": "rescript clean",
5-
"watch": "rescript build -w"
3+
"build": "deno run -A npm:rescript",
4+
"clean": "deno run -A npm:rescript clean",
5+
"watch": "deno run -A npm:rescript -w"
6+
},
7+
"imports": {
8+
"rescript": "npm:rescript@^12.1.0",
9+
"@rescript/core": "npm:@rescript/core@^1.7.0",
10+
"proven/": "../proven/bindings/rescript/src/"
11+
},
12+
"compilerOptions": {
13+
"allowJs": true,
14+
"checkJs": false
615
}
716
}

0 commit comments

Comments
 (0)