Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to a single dependency #45

Closed
mcrascal opened this issue Aug 8, 2021 · 0 comments
Closed

Move to a single dependency #45

mcrascal opened this issue Aug 8, 2021 · 0 comments

Comments

@mcrascal
Copy link
Member

mcrascal commented Aug 8, 2021

Today, when you initialize an evidence project you get a full sveltekit project built in your directory.

This is pretty gnarly for our users, and it makes managing dependencies tricky for us.

Future state

  1. A working project should only require a pages directory with .md files, and the required evidence.config and database.config files.
  2. The only dependency should be @evidence-dev/evidence. All of the other deps should be upstream of that.
  3. The __layout, svelte config, app.css, api route etc. files that are currently dropped in the directory should no longer be required.
  4. If a user did want to modify app.css or __layout (e.g. a new "theme") they should be able to add them directly to their directory and modify from there, with the build system preferring their additions.
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

No branches or pull requests

2 participants