Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

11 changes: 6 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
"unstable": ["kv"],
"imports": {
"@biomejs/biome": "npm:@biomejs/biome@^1.9.4",
"@effect/vitest": "npm:@effect/vitest@^0.18.1",
"@deno/vite-plugin": "npm:@deno/vite-plugin@^1.0.4",
"@effect/vitest": "npm:@effect/vitest@^0.19.0",
"@std/assert": "jsr:@std/assert@^1.0.11",
"@vitest/coverage-v8": "npm:@vitest/coverage-v8@^2.1.9",
"@vitest/ui": "npm:@vitest/ui@^2.1.9",
"effect": "npm:effect@^3.13.1",
"vitest": "npm:vitest@^2.1.9"
"@vitest/coverage-v8": "npm:@vitest/coverage-v8@^3.0.6",
"@vitest/ui": "npm:@vitest/ui@^3.0.6",
"effect": "npm:effect@^3.13.2",
"vitest": "npm:vitest@^3.0.6"
},
"tasks": {
"test": "vitest run",
Expand Down
176 changes: 90 additions & 86 deletions deno.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions packages/platform-deno/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@
"./DenoRuntime": "./src/DenoRuntime.ts",
"./DenoWorker": "./src/DenoWorker.ts",
"./DenoWorkerRunner": "./src/DenoWorkerRunner.ts"
},
"imports": {
"@types/node": "npm:@types/node@22.7.3",
"@effect/platform": "npm:@effect/platform@^0.77.2",
"@effect/platform-browser": "npm:@effect/platform-browser@^0.56.2",
"@effect/platform-node": "npm:@effect/platform-node@^0.73.2",
"@effect/platform-node-shared": "npm:@effect/platform-node-shared@^0.27.2",
"effect": "npm:effect@^3.13.2"
}
}
20 changes: 0 additions & 20 deletions packages/platform-deno/package.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/platform-deno/src/DenoFileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

// biome-ignore lint/correctness/noNodejsModules: Using Node.js compat for fid operations.
import * as NFS from "node:fs";
import * as SFS from "jsr:@std/fs@^1.0.13";
import * as Path from "jsr:@std/path@^1.0.8";
import { FileSystem } from "@effect/platform";
import { effectify } from "@effect/platform/Effectify";
import {
BadArgument,
type PlatformError,
SystemError,
} from "@effect/platform/Error";
import * as SFS from "@std/fs";
import * as Path from "@std/path";
import {
Chunk,
type Context,
Expand Down
6 changes: 3 additions & 3 deletions packages/platform-deno/src/DenoPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
* @since 0.1.0
*/

import * as DenoPath from "jsr:@std/path@^1.0.8";
import * as DenoPathPosix from "jsr:@std/path@^1.0.8/posix";
import * as DenoPathWin from "jsr:@std/path@^1.0.8/windows";
import { BadArgument } from "@effect/platform/Error";
import { Path, TypeId } from "@effect/platform/Path";
import * as DenoPath from "@std/path";
import * as DenoPathPosix from "@std/path/posix";
import * as DenoPathWin from "@std/path/windows";
import { Effect, Layer } from "effect";

const fromFileUrl = (url: URL): Effect.Effect<string, BadArgument> =>
Expand Down
11 changes: 11 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import deno from "@deno/vite-plugin";
import { defineConfig } from "vitest/config";

export default defineConfig({
plugins: [deno()],
test: {
coverage: {
// enabled: true,
Expand All @@ -12,5 +14,14 @@ export default defineConfig({
tests: true,
},
},
workspace: [
{
extends: true,
test: {
name: "platform-deno",
include: ["packages/platform-deno/tests/*.test.ts"],
},
},
],
},
});
3 changes: 0 additions & 3 deletions vitest.workspace.ts

This file was deleted.