Skip to content

Commit 9d30978

Browse files
committed
Move all rescript legacy js sources to rescript-legacy folder
1 parent e0528c0 commit 9d30978

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

cli/rescript-legacy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as fs from "node:fs";
1010
import * as tty from "node:tty";
1111

1212
import { bsc_exe, rescript_legacy_exe } from "./common/bins.js";
13-
import * as bsb from "./common/bsb.js";
13+
import * as bsb from "./rescript-legacy/bsb.js";
1414

1515
const cwd = process.cwd();
1616
process.env.BSB_PROJECT_ROOT = cwd;
File renamed without changes.

cli/common/bsb.js renamed to cli/rescript-legacy/bsb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { createServer } from "node:http";
66
import * as os from "node:os";
77
import * as path from "node:path";
88

9-
import { rescript_legacy_exe } from "./bins.js";
9+
import { rescript_legacy_exe } from "../common/bins.js";
1010
import { WebSocket } from "./minisocket.js";
1111

1212
const cwd = process.cwd();

cli/rescript-legacy/dump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import * as child_process from "node:child_process";
44
import * as path from "node:path";
55

6-
import * as arg from "#cli/args";
6+
import * as arg from "./args.js";
77

88
const dump_usage = `Usage: rescript dump <options> [target]
99
\`rescript dump\` dumps the information for the target

cli/rescript-legacy/format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as os from "node:os";
88
import * as path from "node:path";
99
import { promisify } from "node:util";
1010

11-
import * as arg from "#cli/args";
11+
import * as arg from "./args.js";
1212

1313
const asyncExecFile = promisify(child_process.execFile);
1414

File renamed without changes.

packages/artifacts.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"README.md",
99
"cli/bsc.js",
1010
"cli/bstracing.js",
11-
"cli/common/args.js",
1211
"cli/common/bins.js",
13-
"cli/common/bsb.js",
14-
"cli/common/minisocket.js",
1512
"cli/rescript-legacy.js",
13+
"cli/rescript-legacy/args.js",
14+
"cli/rescript-legacy/bsb.js",
1615
"cli/rescript-legacy/dump.js",
1716
"cli/rescript-legacy/format.js",
17+
"cli/rescript-legacy/minisocket.js",
1818
"cli/rescript-tools.js",
1919
"cli/rescript.js",
2020
"docs/docson/build-schema.json",

0 commit comments

Comments
 (0)