4b712de788
## Summary - Rename `effect-fc-next` to `effect-view` and update package metadata, internal symbols, imports, and repository references. - Promote the Effect 4 example to `packages/example` and move the legacy Effect 3 example to `packages/effect-fc-example`. - Add `effect-view` to the npm publishing workflow. - Update the Vite Fast Refresh plugin for `effect-view` and rename `effectViewPlugin()` to `effectView()`. - Upgrade Effect, React, TypeScript, build tooling, and related dependencies. - Refresh the documentation and homepage. ## Documentation - Add a dedicated Async guide covering: - Suspense fallbacks - Hook ordering - Memoization - Structural prop equality - Clarify synchronous and asynchronous component behavior. - Document runner scope and service requirements. - Explain stable construction of Query, Mutation, and Form instances. - Expand focused Lens and Form examples, including curried focus helpers. - Document the optional `@effect/platform-browser` dependency for window-focus query refresh. - Improve the Forms guide structure and examples. - Fix responsive homepage headline wrapping and update homepage copy. ## Notable API changes - Package rename: ```diff - effect-fc-next + effect-view --------- Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #59
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "effect-fc",
|
|
"description": "Write React function components with Effect",
|
|
"version": "0.3.1",
|
|
"type": "module",
|
|
"files": [
|
|
"./README.md",
|
|
"./dist"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"url": "git+https://github.com/Thiladev/effect-view.git"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./*": [
|
|
{
|
|
"types": "./dist/*/index.d.ts",
|
|
"default": "./dist/*/index.js"
|
|
},
|
|
{
|
|
"types": "./dist/*.d.ts",
|
|
"default": "./dist/*.js"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"lint:tsc": "tsc -b --noEmit",
|
|
"lint:biome": "biome lint",
|
|
"test": "vitest run",
|
|
"build": "tsc -b tsconfig.build.json",
|
|
"pack": "npm pack",
|
|
"clean:cache": "rm -rf .turbo *.tsbuildinfo",
|
|
"clean:dist": "rm -rf dist",
|
|
"clean:modules": "rm -rf node_modules"
|
|
},
|
|
"devDependencies": {
|
|
"@effect/platform-browser": "^0.76.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"jsdom": "^26.1.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": "^19.2.0",
|
|
"effect": "^3.21.0",
|
|
"react": "^19.2.0"
|
|
},
|
|
"dependencies": {
|
|
"effect-lens": "^0.2.3"
|
|
}
|
|
}
|