Files
effect-view/package.json
T
ThilawynandJulien Valverdé a3119a4479
Publish / publish (push) Successful in 1m56s
Lint / lint (push) Successful in 25s
Add Component.provide and improve mutation state handling (#73)
## Summary

Add mount-lifetime layer provisioning through `Component.provide` and improve mutation state handling.

## Changes

- Add dual-form `Component.provide` support for direct and pipeline usage.
- Build provided layers once per mounted component and release them on unmount.
- Refactor mutation state to retain mutation keys and finalized results.
- Add non-blocking `mutateView` behavior and failure-state handling.
- Update `MutationForm` to use the new mutation state shape.
- Add Component and Mutation tests.
- Update documentation and the lens form example.
- Bump `effect-view` to `0.1.4`.

## Testing

- `bun run --cwd packages/effect-view test`
- 7 test files passed, 32 tests passed.

---------

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #73
2026-08-21 16:54:22 +02:00

29 lines
740 B
JSON

{
"name": "@effect-view/monorepo",
"packageManager": "bun@1.4.0",
"private": true,
"workspaces": [
"./packages/*"
],
"scripts": {
"prepare": "effect-tsgo patch --typescript --no-oxlint",
"lint:tsc": "turbo lint:tsc",
"lint:biome": "turbo lint:biome",
"test": "turbo test",
"build": "turbo build",
"pack": "turbo pack",
"clean:cache": "turbo clean:cache",
"clean:dist": "turbo clean:dist",
"clean:modules": "turbo clean:modules && rm -rf node_modules"
},
"devDependencies": {
"@biomejs/biome": "^2.5.5",
"@effect/tsgo": "0.36.4",
"@types/bun": "^1.4.0",
"npm-check-updates": "^23.0.0",
"npm-sort": "^0.0.4",
"turbo": "^2.10.7",
"typescript": "^7.0.2"
}
}