Skip to content

Start template includes blog post collection in code, breaking build if not included #629

@rikrose

Description

@rikrose

packages/create-app/templates/starter/src/index.ts lines 12 and 17 in commit f104a01 (current, at writing) include the blog posts collection.

packages/create-app/src/cli.js line 432 simply deletes the blog post collection if the example is not wanted.

The result is that if you use the package to create a new app, but say no to the example, you still have the include for the code, but the code is not present. The build breaks, and a new user of SonicJS needs to fugure out why the "next steps instructions" don't work, because their new default build won't run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions