v0.1.1
Start from Example
Big new feature is support for examples from the monorepo! 💪 This works by doing a sparse clone, then checking out and moving some things around.
Directory Naming
Starters default to my-stackbit-site
for the project dir name, while examples use the name of the example. The automatic unique ID has been removed if there is no matching directory with that name.
IOW it works like this:
- Run
create-stackbit-app
- project created inmy-stackbit-site
- Run
create-stackbit-app
- project created inmy-stackbit-site-{timestamp}
- Run
create-stackbit-app
- project created inmy-stackbit-site-{timestamp}
- Run
create-stackbit-app --example sb-typist
- project created insb-typist
- Run
create-stackbit-app --example sb-typist
- project created insb-typist-{timestamp}
Note: This feature requires git version 2.25.0 or later.
See #11 for full code changes.