File tree Expand file tree Collapse file tree 12 files changed +73
-14
lines changed Expand file tree Collapse file tree 12 files changed +73
-14
lines changed Original file line number Diff line number Diff line change 7070 " *.res.js" ,
7171 " *.res.mjs" ,
7272 " *.gen.ts*" ,
73+ " *.d.ts" ,
7374 " *.exe" ,
7475 " package.json"
7576 ]
Original file line number Diff line number Diff line change 33import * as fs from "node:fs" ;
44
55/**
6- * @typedef {{
7- * binDir: string,
8- * binPaths: BinaryPaths,
9- * }} BinaryModuleExports
10- *
11- * @typedef {{
12- * bsb_helper_exe: string,
13- * bsc_exe: string,
14- * ninja_exe: string,
15- * rescript_exe: string,
16- * rescript_tools_exe: string,
17- * rescript_editor_analysis_exe: string,
18- * rewatch_exe: string,
19- * }} BinaryPaths
6+ * @import {BinaryPaths} from "@rescript/linux-x64"
7+ * @typedef {import("@rescript/linux-x64") } BinaryModuleExports
208 */
219
2210const target = `${ process . platform } -${ process . arch } ` ;
Original file line number Diff line number Diff line change 1+ export const binDir : string ;
2+
3+ export const binPaths : BinaryPaths ;
4+
5+ export type BinaryPaths = {
6+ bsb_helper_exe : string ,
7+ bsc_exe : string ,
8+ ninja_exe : string ,
9+ rescript_exe : string ,
10+ rescript_tools_exe : string ,
11+ rescript_editor_analysis_exe : string ,
12+ rewatch_exe : string ,
13+ } ;
Original file line number Diff line number Diff line change 2121 ],
2222 "files" : [
2323 " bin.js" ,
24+ " bin.d.ts" ,
2425 " bin/"
2526 ],
2627 "bin" : {
Original file line number Diff line number Diff line change 1+ export const binDir : string ;
2+
3+ export const binPaths : BinaryPaths ;
4+
5+ export type BinaryPaths = {
6+ bsb_helper_exe : string ,
7+ bsc_exe : string ,
8+ ninja_exe : string ,
9+ rescript_exe : string ,
10+ rescript_tools_exe : string ,
11+ rescript_editor_analysis_exe : string ,
12+ rewatch_exe : string ,
13+ } ;
Original file line number Diff line number Diff line change 2121 ],
2222 "files" : [
2323 " bin.js" ,
24+ " bin.d.ts" ,
2425 " bin/"
2526 ],
2627 "bin" : {
Original file line number Diff line number Diff line change 1+ export const binDir : string ;
2+
3+ export const binPaths : BinaryPaths ;
4+
5+ export type BinaryPaths = {
6+ bsb_helper_exe : string ,
7+ bsc_exe : string ,
8+ ninja_exe : string ,
9+ rescript_exe : string ,
10+ rescript_tools_exe : string ,
11+ rescript_editor_analysis_exe : string ,
12+ rewatch_exe : string ,
13+ } ;
Original file line number Diff line number Diff line change 2121 ],
2222 "files" : [
2323 " bin.js" ,
24+ " bin.d.ts" ,
2425 " bin/"
2526 ],
2627 "bin" : {
Original file line number Diff line number Diff line change 1+ export const binDir : string ;
2+
3+ export const binPaths : BinaryPaths ;
4+
5+ export type BinaryPaths = {
6+ bsb_helper_exe : string ,
7+ bsc_exe : string ,
8+ ninja_exe : string ,
9+ rescript_exe : string ,
10+ rescript_tools_exe : string ,
11+ rescript_editor_analysis_exe : string ,
12+ rewatch_exe : string ,
13+ } ;
Original file line number Diff line number Diff line change 2121 ],
2222 "files" : [
2323 " bin.js" ,
24+ " bin.d.ts" ,
2425 " bin/"
2526 ],
2627 "bin" : {
You can’t perform that action at this time.
0 commit comments