Open flatpickles opened 9 months ago
Helpful references, perhaps:
These are optimized for packaging components only, and I want to package the whole dang thing, so we'll see how relevant this actually is.
skbk new
command would be huge - create the boilerplate
This is a BIG one – perhaps a fundamental reconceptualization of how Sketchbook works, and is used. A project unto itself. Maybe a major version increment if we do this after hitting 1.0.
Currently, Sketchbook is a web app repo that you clone in whole, and add to. This works well, and makes deployment easy, but it's a little bit clunky. Your sketchbook repo has to have a bunch of code in it that you didn't write, which doesn't feel great.
It'd be nicer to create just a
src/art
directory equivalent, and run commands like:This would still be using all the existing code, but in a less direct way. Probably app code would still be present and gitignored within
/.skbk
. You would still be able tonpm i
and use other packages. We'd have figure out types and intellisense and other things.Nice things:
Ultimately the
skbk
CLI tool would be doing a lot of file management, and indirectly running SvelteKit/Vite scripts.First steps:
/.skbk
)npm install
-ed at the top level