Currently, we have ~1Gb of node_modules dependencies on the monorepo, and most of that comes from the devDependencies of the Stencil Apps (namely dapp-high-roller and playground).
Considering that High Roller, Tic-Tac-Toe and their respective bot apps are demo environments for showcasing what Counterfactual is capable of, it makes sense to move them to a monorepo of their own, given the fact that they are not, strictly speaking, components of the framework.
We'd create a demo-apps monorepo, containing the following packages:
dapp-high-roller
dapp-tic-tac-toe
high-roller-bot
tic-tac-toe-bot
playground
In order to accomplish this extraction, we need to meet the following high-level requirements:
[x] Create the new monorepo, with the same rules as counterfactual/monorepo
[x] Move the packages to the monorepo
[x] Fix @counterfactual/* dependencies, as they'll need to be pulled from the public registry instead of the monorepo
[x] Run the apps, make sure everything is working as it was before
[ ] Migrate the CI jobs that involve those packages
[ ] Reconfigure related deployments to be linked to counterfactual/playground-demo.
Currently, we have ~1Gb of
node_modules
dependencies on the monorepo, and most of that comes from thedevDependencies
of the Stencil Apps (namelydapp-high-roller
andplayground
).Considering that High Roller, Tic-Tac-Toe and their respective bot apps are demo environments for showcasing what Counterfactual is capable of, it makes sense to move them to a monorepo of their own, given the fact that they are not, strictly speaking, components of the framework.
We'd create a
demo-apps
monorepo, containing the following packages:dapp-high-roller
dapp-tic-tac-toe
high-roller-bot
tic-tac-toe-bot
playground
In order to accomplish this extraction, we need to meet the following high-level requirements:
counterfactual/monorepo
@counterfactual/*
dependencies, as they'll need to be pulled from the public registry instead of the monorepocounterfactual/playground-demo
.