ビルドインフラ・ドキュメント改修: renderer export追加, rolldown修正, ガイド補完#13
Merged
Conversation
- Add solidion/renderer to package.json exports and all example vite.config.ts aliases to fix Vite 8 rolldown build failures - Update README: test count (101→443), project structure (add ecs/, debug/), list all 5 examples - Add import statements to guide pages (components, behaviors, hooks) in both EN and JA - Create ECS guide (EN + JA) documenting step functions, System component, and forActive helper - Update CLAUDE.md test count https://claude.ai/code/session_013XHS9XjPJ3tkMikyjVXNUC
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
solidion | a8c8f33 | Commit Preview URL Branch Preview URL |
Mar 26 2026, 02:13 AM |
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.
背景
A-1〜A-3(ソース構造変更)、B-1〜B-2(examplesのimport統一・vite.config更新)はmasterで既に完了済み。
本ブランチはmasterの上にビルドインフラ修正とドキュメント改修を追加する。
変更内容
ビルドインフラ:
solidion/rendererエントリ追加solidion/rendererはビルドインフラ用の5番目のエントリ。SolidコンパイラのmoduleNameターゲット(vite-plugin-solidのJSX変換がimport { createElement, insert, ... } from "solidion/renderer"を生成する)であり、ユーザーが直接importすることはない。ユーザー向けAPI設計(4エントリ:
solidion,solidion/ecs,solidion/core,solidion/debug)とは別レイヤー。solid-jsもsolid-js/web(コンパイラターゲット)と他のエントリを分けている前例に倣う。package.json:./rendererエントリ追加vite.config.ts:solidion/rendereralias追加UNLOADABLE_DEPENDENCY: Could not load ../../src/index.ts/rendererを解消C-1. README更新
ecs/,debug/,components/の説明を現状に合わせて修正C-2. ガイドページ補完
guides/components.md: import文明記(import { Game, Scene, ... } from "solidion")guides/hooks.md: L1a/L1bのimport文追加(from "solidion")、useFrameはfrom "solidion/core"を維持guides/behaviors.md: import文追加(from "solidion")guides/ecs.md: 新規作成 — ECS vs Hooksの使い分け、step関数一覧、System/forActiveの使い方、aquariumへのリンクja/)も同時対応その他
CLAUDE.md: テスト数更新検証結果
solidion/rendereralias追加によりUNLOADABLE_DEPENDENCYエラー解消を確認。barrel importに起因する交差型エラーも発生せず未実施
https://claude.ai/code/session_013XHS9XjPJ3tkMikyjVXNUC