Skip to content

Refine template structure for better development and testing #396

@ben-polinsky

Description

@ben-polinsky

We've structured our new degit templates within our repo so they're tough to develop and test. The primary issue is - are the templates part of the monorepo, depending on other packages; or are they dumb templates, ready to publish. While we decided on the latter, it's not a great way to keep them in working shape.

To test our templates against other packages in the monorepo, we have to change their dep(s) to workspace: * in package json (and back before committing). We also will have to manually bump its dependencies when publishing.

I propose we create private packages which are template-apps for each of our templates. They are fully situated in the monorepo, easy to work on, and easy to test. When we publish our packages, we'll run a script which copies the package over to our template folder, replacing workspace:* versions dynamically with the version of that package about to be/just published.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions