chore(examples): run-all.sh rewrites the tracked example lock files

Open
#707 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
nodejs, shell
Domain
tooling

Research direction

Start with examples/run-all.sh, where the npm install step runs in each consumer example, and with the four tracked examples/*/package-lock.json files it rewrites. Run the script on a clean main and check git status to reproduce. Done means git status stays clean after the script runs. The issue lists three options (refresh and keep the locks current, untrack them, or use a non-writing install mode), so confirm with the maintainer which one to take before editing.

Written by the indexing model from the issue text.

Description

Problem

examples/run-all.sh runs npm install in each consumer example. That rewrites the 4 tracked examples/*/package-lock.json files (about 750 lines on 2026-11-03), because they are already stale (none of them lists driver-dds519mr). Every developer who runs the script gets a dirty tree and must restore the files by hand before a commit.

Done when

  • Running examples/run-all.sh on a clean main leaves git status clean (either the lock files are refreshed and kept fresh, or they are not tracked, or the script uses a mode that does not write them).
Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
13h 46m
Merged PRs (30d)
58

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from groupsky/ya-modbus

All issues in groupsky/ya-modbus

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.