GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” ๐Ÿ›  Tooling: we're including a lot of bloat in our package ยท Issue #648 ยท all-contributors/cli

๐Ÿ›  Tooling: we're including a lot of bloat in our package #648

New issue
Copy link
New issue
Copy link
Closed
#657
#659
Closed
๐Ÿ›  Tooling: we're including a lot of bloat in our package#648
#657
#659
Copy link
Assignees
michaelfaith
Labels
status: accepting prsAccepted and ready to be worked ontype: infrastructureRepository tooling, build and release setup

Description

@michaelfaith
michaelfaith
opened on Nov 12, 2026
Issue body actions

Tooling Report Checklist

  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

We're bundling snapshots and unit tests in our npm package. We can cut down on our install footprint significantly.

screenshot

Additional Info

No response

Reacted by Jim Madge

Activity

  1. michaelfaith
    added
    type: infrastructureRepository tooling, build and release setup
    status: in discussionNeeds discussion before work starts
    on Nov 12, 2026
  2. JimMadge commented on Nov 12, 2026

    @JimMadge
    JimMadge
    on Nov 12, 2026
    Member
    More actions

    What is the canonical way to fix this? files in package.json, and ignore file?

    Does it work the same for pnpm and npm?

  3. michaelfaith commented on Nov 12, 2026

    @michaelfaith
    michaelfaith
    on Nov 12, 2026
    ContributorAuthor
    More actions

    What is the canonical way to fix this? files in package.json, and ignore file?

    We are using files to only include what's under dist, which is good. ๐Ÿ‘ The problem is that our "build" is just fully coping the src dir to be the dist dir. If this there were a typescript project, we'd use a builder that actually builds the code to dist, and wouldn't include any of the non-runtime code. So the package.json is set up right, we just need a better "build" script, so that non-runtime code doesn't end up in the dist directory at all.

    image

    Does it work the same for pnpm and npm?

    Yes, this is agnostic of package manager. Both would behave this way, with what we're giving it.

    Reacted by Jim Madge
  4. JimMadge commented on Nov 12, 2026

    @JimMadge
    JimMadge
    on Nov 12, 2026
    Member
    More actions

    Oh I hadn't seen that build script ๐Ÿ˜†.

    So, maybe we just need to replace that script with pnpm pack --pack-destination dist?

  5. michaelfaith commented on Nov 12, 2026

    @michaelfaith
    michaelfaith
    on Nov 12, 2026
    ContributorAuthor
    More actions

    So, maybe we just need to replace that script with pnpm pack --pack-destination dist?

    Oh, no, that doesn't do what we want. That would create a pnpm tarball in the dist directory, effectively with nothing in it, since we wouldn't have put anything in the dist directory before the pack. And then when we publish, we'd publish a package that just has a tarball inside a dist directory inside another tarball.

    Until we move to TypeScript and have an actual build process (#613), we can just adjust that cp command to filter out things we don't want copied into the dist dir.

  6. michaelfaith
    added
    status: accepting prsAccepted and ready to be worked on
    and removed
    status: in discussionNeeds discussion before work starts
    on Nov 13, 2026
  7. michaelfaith
    self-assigned this
    on Nov 13, 2026
  8. lwasser
    closed this as completedin #659on Nov 13, 2026
  9. michaelfaith
    added a commit that references this issue on Nov 15, 2026

    chore(main): release 7.0.3 (#657)

    ad2f3c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @michaelfaith
    michaelfaith

Labels

status: accepting prsAccepted and ready to be worked ontype: infrastructureRepository tooling, build and release setup

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 โ€” GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.