Conversation
- Remove old `btuin` package and re‑organize source under `src/*`. - Re‑implement core runtime with new `createApp` API and unified component system. - Simplify `package.json` scripts: centralize lint/format/test commands. - Upgrade README showcase to use new Neon dashboard example. - Adjust internal imports to the new aliasing (`@/*`). - Add missing helper modules (`buffer`, `grapheme`, `pool`, etc.) under `src/renderer`. - Update layout‑engine bindings and rendering logic to use the new WASM module API. - Add `app` helper for backwards compatibility. - Update the rest of the code base to match new architecture, including terminal and platform adapters.
🚀 Performance Benchmark ResultRun DetailsTriggered by commit: 8b5fdd9 |
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.
This pull request introduces significant project structure and configuration changes, focusing on build tooling, testing, and the public API. It removes the
btuinpackage's published configuration, updates monorepo-level scripts and dependencies, and simplifies the example and documentation to reflect a new, easier-to-use API. Additionally, it migrates test and build tasks to a new tool (mise), and removes legacy test and configuration files.Key changes include:
Project Structure and Tooling
package.jsonfiles from both thebtuinandlayout-enginepackages, making these packages unpublished and managed solely within the monorepo. This centralizes dependency and script management. [1] [2]mise.tomlfor unified tool and task management, replacing most previous scripts and developer commands. Tasks for build, lint, format, test, and profiling are now defined here.bunfig.tomlfile to specify the root directory for tests, standardizing test discovery.Monorepo Configuration
package.json:misetasks.bunengine version.Documentation and Examples
README.md:init/renderinstead ofsetup).Codebase Cleanup
app.ts), component system (component.ts), and the related runtime test (app.test.ts), indicating a major refactor or migration to a new architecture or API. [1] [2] [3]Most important changes:
Project and Package Management
package.jsonfrombtuinandlayout-engine, making these packages unpublished and managed internally. [1] [2]mise.tomlfor tool and task management, andbunfig.tomlto configure test roots. [1] [2]Monorepo Scripts and Dependencies
package.jsonand usingmisetasks instead.package.jsonwith a version and stricterbunengine requirement.Documentation and API
README.mdto reflect a new, simplified API and showcase example. [1] [2]Codebase Simplification