You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9cf2974
Browse filesBrowse the repository at this point in the historyBrowse files
runtime: @reactivescript/runtime, CP-4a's package, built from the reference
- runtime/: the browser and server builds of ref/compile/rt-web.ts and
rt-server.ts (transpiled as they are, Solid external as a peer), with
declarations; export conditions as @solidjs/web's. npm test checks both
builds and renders todo.rx, compiled by the crate, on the server build over
the published Solid 2.0.0-rc.19.
- compiler/test/vite.mjs mounts every example with createApp from the
installed package: 14 pass.
- .github/workflows/runtime.yml: build and test; on main, publish a new
version by trusted publishing, tagged runtime-v<version>.
- spec/11 CP-4a and the Vite paragraph name the package; compiler/README's
release setup covers it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117BoWMdD4K7882vob4J9vq
writeFileSync(path.join(dir,"src/entry.js"),`import { createApp } from ${JSON.stringify(rtWeb)};\nimport main from "./${entry}";\nimport * as api from "./api.mjs";\nconst app = createApp({ root: document.getElementById("app"), api });\napp.mount(main(app));\n`);
51
+
writeFileSync(path.join(dir,"src/entry.js"),`import { createApp } from "@reactivescript/runtime";\nimport main from "./${entry}";\nimport * as api from "./api.mjs";\nconst app = createApp({ root: document.getElementById("app"), api });\napp.mount(main(app));\n`);
writeFileSync(path.join(dir,"src/entry.js"),`import { createApp } from ${JSON.stringify(rtWeb)};\nimport shop from "./shop/main.rx";\nimport count from "./shop/count.rx";\nimport * as api from "./api.mjs";\nfor (const [main, el] of [[shop, "app"], [count, "app2"]]) { const app = createApp({ root: document.getElementById(el), api }); app.mount(main(app)); }\n`);
102
+
writeFileSync(path.join(dir,"src/entry.js"),`import { createApp } from "@reactivescript/runtime";\nimport shop from "./shop/main.rx";\nimport count from "./shop/count.rx";\nimport * as api from "./api.mjs";\nfor (const [main, el] of [[shop, "app"], [count, "app2"]]) { const app = createApp({ root: document.getElementById(el), api }); app.mount(main(app)); }\n`);
0 commit comments