Skip to content

Filled package.json uses authors instead of npm's author #21

Open

Description

@UnsignedArduino

fill_website_template writes the author into the site's package.json as "authors": {"name": ...}. npm's field is author (a string or a {name, email, url} object), so npm and npm-based tools ignore authors. When project.description isn't set, the template also gets "description": null.

Relevant code: website.py, lines 172–179.``

This has no visible effect on the static outputs today. It will matter for #14 (Electron): Electron Forge and electron-builder read author (and description) from package.json for installer metadata. The legacy Electron code on main set package_json["author"] (electron.py).

Expected behavior: write author instead, and leave description out (or set it to an empty string) when it's unset.

Found while reviewing PR #7, toolchain at ce12c48.

Activity

  1. changed the title [-][P3] Filled package.json uses `authors` instead of npm's `author`[/-] [+]Filled package.json uses `authors` instead of npm's `author`[/+] on Nov 4, 2026
  2. added
    found by claudeIssue was originally found by Claude Code. Only used for tracking.
    and removed on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfound by claudeIssue was originally found by Claude Code. Only used for tracking.p3

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions