You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All API domain-related code, such as types and graphQL queries, is generated inside the web app. Using a structure of scoped packages causes type duplication and quickly causes out-of-sync issues, mainly between the web and packages/ui. As complexity tends to increase with multi-version support, the earlier the reorg, the less is built on top of the current organization.
✔️ Solution
Create a new scoped package for the explorer and rollup-app domain and its outputs, e.g. data types, graphQL queries/documents/hooks, etc.
Scope name: @cartesi/rollups-explorer-domain.
Package folder name: domain
📈 Subtasks
Move current code generation to the new package.
Prepare the package to build the artefacts for distribution between other packages / Apps.
Update turborepo as necessary.
Replace imports in the apps/web.
🎯 Definition of Done
New package that generates the artefacts for distribution correctly.
Imports replaced without any regression added.
CI tests are passing.
Vercel builds are passing.
The text was updated successfully, but these errors were encountered:
📄 Context
All API domain-related code, such as types and graphQL queries, is generated inside the
web
app. Using a structure of scoped packages causes type duplication and quickly causes out-of-sync issues, mainly between theweb
andpackages/ui
. As complexity tends to increase with multi-version support, the earlier the reorg, the less is built on top of the current organization.✔️ Solution
Create a new scoped package for the explorer and rollup-app domain and its outputs, e.g. data types, graphQL queries/documents/hooks, etc.
📈 Subtasks
apps/web
.🎯 Definition of Done
The text was updated successfully, but these errors were encountered: