Releases: stackbit/create-stackbit-app
v0.1.7
v0.1.6
New Example: hydrogen-contentful-demo-store
v0.1.5
Remove examples that are not full Stackbit projects. The list previously contained examples that were only a set of components and not a full Next.js project.
v0.1.4
Added support for full starters.
> npx create-stackbit-app@latest --help
Options:
--version Show version number [boolean]
-s, --starter Choose a starter
[choices: "nextjs", "ts-nextjs", "contentful", "full-nextjs", "small-biz-nextj
s", "personal-nextjs"]
-e, --example Start from an example
[choices: "algolia-search", "chakra-next", "dynamic-app", "sb-countdown", "sb-
typist", "tutorial-contentful"]
--help Show help [boolean]
v0.1.3
Add support for Chakra + Next.js example.
v0.1.2
💥 Add support for Contentful starter and example (tutorial starting point).
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.