Skip to content

v0.1.1

Compare
Choose a tag to compare
@seancdavis seancdavis released this 23 May 16:02
· 56 commits to main since this release
3352dde

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:

  1. Run create-stackbit-app - project created in my-stackbit-site
  2. Run create-stackbit-app - project created in my-stackbit-site-{timestamp}
  3. Run create-stackbit-app - project created in my-stackbit-site-{timestamp}
  4. Run create-stackbit-app --example sb-typist - project created in sb-typist
  5. Run create-stackbit-app --example sb-typist - project created in sb-typist-{timestamp}

Note: This feature requires git version 2.25.0 or later.


See #11 for full code changes.