Skip to content

feat(scripts): add Edge App project generator #11

@nicomiguelino

Description

@nicomiguelino

Summary

Add a project generator to edge-apps-scripts (similar to npm create, bun create, etc.) that scaffolds a new Edge App project from a template.

Context

The Playground repo has a Bun-based template under edge-apps/.bun-create/edge-app-template/ that can serve as a reference, but the generator should not be Bun-dependent — it should work with any package manager.

Acceptance Criteria

  • edge-apps-scripts create <app-name> (or equivalent) scaffolds a new Edge App directory with at minimum:
    • index.html
    • screenly.yml
    • package.json
    • src/main.ts (or static/js/main.js for plain HTML apps)
  • Package manager agnostic (npm, bun, pnpm, yarn)
  • Uses the Playground's edge-apps/.bun-create/edge-app-template/ as a reference for structure and defaults

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions