Skip to content

Porting templates from SolidStart repository#202

Merged
birkskyum merged 1 commit intomainfrom
bring-solidstart-templates
Sep 13, 2025
Merged

Porting templates from SolidStart repository#202
birkskyum merged 1 commit intomainfrom
bring-solidstart-templates

Conversation

@atilafassina
Copy link
Member

Currently the Solid CLI pulls the /examples folder from the SolidStart repository.
This PR ports them over here so the CLI can ping a single place to pull every template from the same place.

Furhtermore, /examples in SolidStart will be replaced as /fixtures for testing more specific development cases.

Not porting

  • HackerNews
  • Notes
  • TodoMVC

as I believe those are not useful as templates but as demos.

@atilafassina atilafassina self-assigned this Sep 12, 2025
Copy link
Member

@birkskyum birkskyum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this LGTM.

Just need a bit of cleanup. I see some build (.vinxi) directories that shouldn't be there. It would be good to add .vinxi to .gitignore, after the folders have been removed from the pr

e.g.
solid-start/with-vitest/.vinxi/build/client/_build etc.

@@ -0,0 +1,7 @@
ZERO_UPSTREAM_DB="postgresql://user:password@127.0.0.1/zstart_solid"
ZERO_CVR_DB="postgresql://user:password@127.0.0.1/zstart_solid_cvr"
ZERO_CHANGE_DB="postgresql://user:password@127.0.0.1/zstart_solid_cdb"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should there be more files in this example? or was this not meant to be copied over?
‎examples/with-drizzle-zero-better-auth/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad copy/paste from a test. Sorry

@brenelz
Copy link

brenelz commented Sep 12, 2025

Will these automatically be available in the vite cli or do we need to wire that up?

I assume we will have to change the solid-cli for sure

@atilafassina atilafassina force-pushed the bring-solidstart-templates branch 2 times, most recently from 224c19b to 771bf71 Compare September 13, 2025 16:50
@atilafassina
Copy link
Member Author

Overall this LGTM.

Just need a bit of cleanup. I see some build (.vinxi) directories that shouldn't be there. It would be good to add .vinxi to .gitignore, after the folders have been removed from the pr

e.g. solid-start/with-vitest/.vinxi/build/client/_build etc.

thanks. Yeah, I expected them to be ignored, and ended up being lazy on the copy/paste. Fixed it now.

@atilafassina
Copy link
Member Author

Will these automatically be available in the vite cli or do we need to wire that up?

I assume we will have to change the solid-cli for sure

no, there's a one-line change that is required. But we need this on main before make the switch

@atilafassina atilafassina force-pushed the bring-solidstart-templates branch from 771bf71 to 1e1bb94 Compare September 13, 2025 16:58
@atilafassina atilafassina force-pushed the bring-solidstart-templates branch from 1e1bb94 to aaf7899 Compare September 13, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants