feat(contribs): import playground in the monorepo#5371
Closed
Conversation
Migrate the play.gno.land playground from gnostudio/studio into the gnolang/gno monorepo as contribs/playground. Structure: - app/ — main React application (from studio apps/play) - packages/ — wasm runtime, core config, editor, React components - tools/data/ — build artifacts (gno.wasm + root.zip, gitignored) - Makefile — build-wasm from local gnovm, dev, build, build-release Key changes from studio: - Chain config: gnoland1.0 as default (removed test9.1, staging) - WASM loading: bundled at build time (no runtime GCS fetch) - Faucet/session APIs: stubbed (no gnostudio backend dependency) - Self-contained pnpm workspace (no turbo/monorepo deps) Build modes: - make dev/build — builds WASM from ../../gnovm - make build-release TAG=chain/gnoland1.0 — downloads from GH release Deployment configs in misc/deployments/playground/.
Collaborator
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):No automated checks match this pull request. ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
This file must include the standard library, tests standar library and also the examples. Test standard library is required for running tests, the examples dir is required to be able to import the packages and realms defined there within the browser gno REPL.
Also updated workspace catalog with the package dependencies.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This package failed to build because it was importing `pkg` package, which imports browserfs in a way that was breaking the build process. Package `wasm` still fails to build because of the `gno.wasm` file inlining.
This works when building the Playground app. Needs to be tested when running locally as dev.
Contributor
|
I get the sentiment but we shouldn't copy/import entire pre-existing projects from other people and lose its history. |
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrate the play.gno.land playground from gnostudio/studio into the gnolang/gno monorepo as
contribs/playground.Goal: Make the playground self-contained in the gno repo so gnostudio/studio can be archived.
What's included
contribs/playground/— Full playground app (React + Vite + pnpm workspace)app/— Main playground React applicationpackages/— wasm runtime, core config, editor, React components, CodeMirror LSPtools/data/— Build artifacts (gno.wasm + root.zip, gitignored)Makefile— Build targets:dev,build,build-release,build-wasmmisc/deployments/playground/— Deployment configs and scriptsKey changes from studio
gnoland1.0as default chain (removed test9.1, staging)../../gnovm(no runtime GCS fetch)make devbuilds from source,make build-release TAG=chain/gnoland1.0from GH releaseBuild status
tsc --noEmitpasses)pnpm install: worksFollow-up work
This PR is part of the effort to consolidate gno tooling. Once merged and verified, gnostudio/studio will be archived.
AI agent assisted with the migration. See commit message for details.