0.1.11 #14

Merged
Thilawyn merged 318 commits from next into master 2025-05-19 14:01:41 +02:00
5 changed files with 28 additions and 27 deletions
Showing only changes of commit 1b1a1961bc - Show all commits

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
@thilawyn:registry=https://git.valverde.cloud/api/packages/thilawyn/npm/

BIN
bun.lockb

Binary file not shown.

View File

@@ -11,32 +11,32 @@
"preview": "vite preview"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@tanstack/react-router": "^1.97.3",
"@tanstack/router-devtools": "^1.97.3",
"@tanstack/router-plugin": "^1.97.3",
"@eslint/js": "^9.20.0",
"@tanstack/react-router": "^1.105.0",
"@tanstack/router-devtools": "^1.105.0",
"@tanstack/router-plugin": "^1.105.0",
"@thilawyn/thilaschema": "^0.1.4",
"@types/react": "^19.0.7",
"@types/react": "^19.0.9",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"effect": "^3.12.5",
"eslint": "^9.18.0",
"effect": "^3.13.1",
"eslint": "^9.20.1",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"reffuse": "workspace:*",
"typescript-eslint": "^8.21.0",
"vite": "^6.0.11"
"typescript-eslint": "^8.24.0",
"vite": "^6.1.0"
},
"dependencies": {
"@effect/platform": "^0.74.0",
"@effect/platform-browser": "^0.53.0",
"@radix-ui/themes": "^3.1.6",
"@effect/platform": "^0.77.1",
"@effect/platform-browser": "^0.56.1",
"@radix-ui/themes": "^3.2.0",
"@typed/id": "^0.17.1",
"@typed/lazy-ref": "^0.3.3",
"lucide-react": "^0.473.0",
"mobx": "^6.13.5"
"lucide-react": "^0.475.0",
"mobx": "^6.13.6"
}
}

View File

@@ -1,6 +1,5 @@
import { R } from "@/reffuse"
import { createFileRoute } from "@tanstack/react-router"
import { GetRandomValues, makeUuid4 } from "@typed/id"
import { Console, Effect } from "effect"
@@ -9,15 +8,16 @@ export const Route = createFileRoute("/tests")({
})
function RouteComponent() {
// R.useMemo(Effect.addFinalizer(() => Console.log("Cleanup!")).pipe(
// Effect.map(() => "test")
// ))
// const value = R.useMemoScoped(Effect.addFinalizer(() => Console.log("cleanup")).pipe(
// Effect.andThen(makeUuid4),
// Effect.provide(GetRandomValues.CryptoRandom),
// ), [])
// console.log(value)
const value = R.useMemoScoped(Effect.addFinalizer(() => Console.log("cleanup")).pipe(
Effect.andThen(makeUuid4),
Effect.provide(GetRandomValues.CryptoRandom),
), [])
console.log(value)
R.useFork(Effect.addFinalizer(() => Console.log("cleanup")).pipe(
Effect.andThen(Console.log("ouient")),
Effect.delay("1 second"),
))
return <div>Hello "/tests"!</div>
}

View File

@@ -30,8 +30,8 @@
},
"devDependencies": {
"@typed/lazy-ref": "^0.3.3",
"@types/react": "^19.0.7",
"effect": "^3.12.5",
"@types/react": "^19.0.9",
"effect": "^3.13.1",
"react": "^19.0.0"
}
}