Auth / foldkit-auth
Install
sh
pnpm add effect @yielded/auth foldkit-remote foldkit-remote-server foldkit-auth@yielded/auth is a peer, pinned exactly while Yielded is in beta: install
@yielded/auth@0.1.0-beta.47, since its latest tag is an older beta. Yielded
needs effect 4.1, the minor foldkit 0.170 takes, and each @effect/*
release peers on an effect at least its own, so an application pins every
Effect package to one release in its package.json to keep one copy of each.
With pnpm:
json
{
"pnpm": {
"overrides": {
"effect": "4.1.0",
"@effect/platform-browser": "4.1.0",
"@effect/platform-node": "4.1.0",
"@effect/platform-node-shared": "4.1.0",
"@effect/sql-sqlite-node": "4.1.0"
},
"peerDependencyRules": {
"allowedVersions": { "effect": "4.1.0", "@effect/platform-browser": "4.1.0" }
}
}
}npm takes the same pins as overrides, and overrides a package the project
depends on itself only where dependencies names that same release, so set
those to it too. npx --legacy-peer-deps foldkit-plus setup prints the fields for the
project's package manager.