Open BelfordZ opened 1 month ago
Why not maybe a monorepo with shared components, like with workspaces, then we get all benefits and we don't have to pull in all the deps for all contexts?
@zcstarr Im not opposed to going 'proper' monorepo. @shanejonas mentioned we should try turborepo. Im down to give it a shot here. This is what chat gpt helped me come up with as alternative 'work description':
https://github.com/open-rpc/playground/issues/608
I think we could stick with semantic release, it might save us a bit of time in the short term (we have typings plugin that is a sem-rel plugin... not ideal anyway you look at it) ... but this could also be a better forcing function to fix that.
Objective:
Consolidate the following repositories into a single package:
Ensure the combined codebase uses compatible versions of:
The goal is to make the project run again with less maintenance required and maintain compatibility across all dependencies.
Scope of Work:
Single Package Setup:
logs-react
andinspector
intoplayground
such that all repositories become a single package.src/common
: For shared utilities and components across the three codebases.src/inspector
: For inspector-specific code.src/logs
: For logs-react specific code.src/playground
: For code specific to the playground functionality.package.json
file managing all dependencies.Dependency Upgrades:
Refactor & Fixes:
Monaco Editor Setup:
@monaco-editor/react
.Functional Testing:
https://mock.open-rpc.org
as a test subject for these functionalities.Testing:
playground
. No new tests are required.logs-react
orinspector
. If additional tests help complete the work, feel free to add them, but new tests are not expected.Bugs:
https://playground.open-rpc.org
). Fix any new bugs introduced during the consolidation/upgrade, but for existing bugs, simply raise an issue.Deliverables:
playground
,logs-react
,inspector
).package.json
file with updated and compatible versions of dependencies (Material UI, React, Node.js).Technical Requirements:
Documentation Recommendation:
For documentation, it's recommended to:
https://mock.open-rpc.org
.