Skip to content

Commit 4528c91

Browse files
committed
refactor: migrate ProcessApi class to a new file and update imports
1 parent 5e47163 commit 4528c91

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

_build_scripts/build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { buildSrcFile } from "./build-src.ts";
22
import { buildComponent } from "./build-component.ts";
3+
import { build } from "https://deno.land/x/[email protected]/mod.d.ts";
34

45
async function cleaerDistFolder() {
56
const hasDistFolder = await Deno.stat("dist").catch(() => null);
@@ -56,4 +57,6 @@ await buildSrcFile("system/logger.js");
5657
// Validation Files
5758
await buildSrcFile("validate/conditions.js");
5859

60+
await buildSrcFile("process-api.js");
61+
5962
Deno.kill(Deno.pid); // Exit the process
File renamed without changes.

tests/src/loading.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ProcessApi } from "../../src/main.js";
1+
import { ProcessApi } from "../../src/process-api.js";
22
import { assertEquals, assertExists } from "jsr:@std/assert";
33

44
class MathModule {

0 commit comments

Comments
 (0)