This is an opinionated library for full-stack Effect-TS. (See repositories for more info and discord link, articles, youtube videos, etc).
WIP docs
See https://github.com/effect-ts-app/boilerplate for a sample app use.
effect-app: service contracts and runtime-agnostic base logic.@effect-app/infra: backend / Node adapters.@effect-app/vue: Vue / browser adapters.
Migration targets introduced in this repo include:
@effect-app/infra/Emailer/service->effect-app/Emailer@effect-app/infra/QueueMaker/service->effect-app/QueueMaker@effect-app/infra/Store/service->effect-app/Store@effect-app/infra/Model/*->effect-app/Model/*@effect-app/vue/runtime->effect-app/runtime@effect-app/vue/toast->effect-app/toast@effect-app/vue/withToast->effect-app/withToast
repos/effect is a git subtree of https://github.com/Effect-TS/effect-smol.git.
Recommended (uses the currently pinned effect / @effect/* version from package.json):
pnpm subtree:effectOr directly via the CLI:
effa sync-effectOne-time remote setup (handled automatically by the command, or manually):
git remote add effect-smol https://github.com/Effect-TS/effect-smol.gitManual update to a specific ref:
git fetch effect-smol --tags
git subtree pull --prefix=repos/effect effect-smol <ref> --squashExample:
git subtree pull --prefix=repos/effect effect-smol @effect/[email protected] --squashUses Changesets
- make changes
- generate and include changeset
pnpm changeset - wait for build which creates a PR
- inspect the PR, merge when alright
- await new build and new package deployments
- All contributors
- Michael Arnaldi, Max Brown and the Effect-TS contributors for Effect
- ZIO Contributors for the excellent ZIO
- Anyone else we're forgetting..
On Mac:
Shift + Command + P- Select
Run Task - Select
Run Storybook OmegaForm - Will automatically open browser to http://localhost:6006/ Enjoy!
On Windows:
- Select "Run Task"
cd packages/vue-components- run storybook
pnpm storybook- Will automatically open browser to http://localhost:6006/ Enjoy!