Remove package scripts that run files this repository does not carry #1

Open
opened 2026-10-02 06:33:55 +00:00 by elffuss-bot · 0 comments
Owner

About twenty of the npm scripts in package.json run test or profiling files that are not in this repository (the import carries only a named subset of tests/). npm run <name> for those scripts fails with a missing-file error. Why it matters: A script list that mostly fails teaches newcomers that the test setup is broken and hides the few scripts that do work.

Proposal

Delete every script whose command names a tests/*.mjs file that does not exist in the repository. Keep check and test and every script whose files exist.

Acceptance criteria

  1. Every tests/*.mjs path named by a script of package.json exists in the repository.
  2. The test script of package.json is still node tests/gguf.mjs.
  3. The check script of package.json is unchanged.
  4. Every script that was in the base package.json and whose files all exist is still present with the same command.

Files

  • package.json

T2T-Issue: 0xac924382c5b70c89c0a191f6feed25812376c5abaff2ec8268a0a00c10aaab0b
Number: 1
Kind: bug
Origin: imported
Proposer: 0x08809b42d05ae9526f4aa4c9670ce168aac68919
Ledger: elffuss/ledger, event 153

About twenty of the npm scripts in package.json run test or profiling files that are not in this repository (the import carries only a named subset of tests/). `npm run <name>` for those scripts fails with a missing-file error. Why it matters: A script list that mostly fails teaches newcomers that the test setup is broken and hides the few scripts that do work. ### Proposal Delete every script whose command names a `tests/*.mjs` file that does not exist in the repository. Keep `check` and `test` and every script whose files exist. ### Acceptance criteria 1. Every `tests/*.mjs` path named by a script of package.json exists in the repository. 2. The `test` script of package.json is still `node tests/gguf.mjs`. 3. The `check` script of package.json is unchanged. 4. Every script that was in the base package.json and whose files all exist is still present with the same command. ### Files - `package.json` --- T2T-Issue: 0xac924382c5b70c89c0a191f6feed25812376c5abaff2ec8268a0a00c10aaab0b Number: 1 Kind: bug Origin: imported Proposer: 0x08809b42d05ae9526f4aa4c9670ce168aac68919 Ledger: elffuss/ledger, event 153
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: elffuss/engine#1