mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-06-27 08:18:48 -04:00
d16f824217
# Description of Changes This PR adds support for Solid. Related issue: https://github.com/clockworklabs/SpacetimeDB/issues/4820 The initial implementation was with an LLM, since Solid and React are very similar. Then I improved on it. The docs though are completely written by the LLM, I just read through them once to make sure there aren't any problems. # API and ABI breaking changes There are no API or ABI changes. Just added support for Solid. # Expected complexity level and risk I'd say around 1 or 2. I haven't tested it too much except for the example that I added. # Testing I'll be testing it more with the test app I'm planing to build. - [ ] I've added the test solid router similar to test react router, and it was working, but it'll be nice if someone else can verify as well. - [ ] I'll be testing it more with the test app I'm planing to build --------- Co-authored-by: Tyler Cloutier <cloutiertyler@users.noreply.github.com> Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>
25 lines
878 B
JSON
25 lines
878 B
JSON
{
|
|
"name": "@clockworklabs/solid-ts",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"generate": "pnpm --dir spacetimedb install && cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
|
|
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
|
|
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
|
|
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
|
|
},
|
|
"dependencies": {
|
|
"spacetimedb": "workspace:*",
|
|
"solid-js": "^1.9.5"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "~5.6.2",
|
|
"vite": "^7.1.5",
|
|
"vite-plugin-solid": "^2.11.8"
|
|
}
|
|
}
|