Skip to content

Commit

Permalink
Update to jiffies 2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
netalondon committed Jan 21, 2024
1 parent 9533a53 commit e475470
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 52 deletions.
2 changes: 1 addition & 1 deletion cli/src/grading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import { FileSystem } from "@davidsouther/jiffies/lib/esm/fs.js";
import { join, parse } from "path";

import { NodeFileSystemAdapter } from "./node_file_system_adapter.js";
import { NodeFileSystemAdapter } from "@davidsouther/jiffies/lib/esm/fs_node.js";

/**
* Given a FileSystem wrapper, curry a function that loads the necessary files for running an HDL test.
Expand Down
39 changes: 0 additions & 39 deletions cli/src/node_file_system_adapter.ts

This file was deleted.

2 changes: 1 addition & 1 deletion cli/src/testrunner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FileSystem } from "@davidsouther/jiffies/lib/esm/fs.js";
import { NodeFileSystemAdapter } from "./node_file_system_adapter.js";
import { NodeFileSystemAdapter } from "@davidsouther/jiffies/lib/esm/fs_node.js";
import { runner } from "@nand2tetris/simulator/projects/runner.js";
import { Assignment, Assignments } from "@nand2tetris/projects/index.js";
import { parse } from "path";
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"dependencies": {
"@davidsouther/jiffies": "^2.0.6",
"@davidsouther/jiffies": "^2.1.5",
"@nand2tetris/projects": "^1.0.0",
"@nand2tetris/runner": "^1.0.0",
"@types/node": "^20.9.0",
Expand Down
2 changes: 1 addition & 1 deletion simulator/src/languages/tst.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ describe("tst language", () => {
});

it("loads all project tst files", async () => {
const fs = new FileSystem(new ObjectFileSystemAdapter());
const fs = new FileSystem(new ObjectFileSystemAdapter({}));
await resetFiles(fs);
async function check() {
for (const stat of await fs.scandir(".")) {
Expand Down

0 comments on commit e475470

Please sign in to comment.