chore(package): package.json has no engines, description or repository field, so the required Node version is not stated
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, nodejs
- Domain
- build-system, developer-experience
Research direction
Open package.json at the repo root and confirm which of description, repository and engines are missing. Read the CI workflow (the Node version the Worker build and test script run on) so engines.node matches it rather than guessing. Add the three fields, then add a small test or CI check that parses package.json and asserts engines.node is set and description/repository.url are non-empty; done when that check and the existing test script both pass.
Written by the indexing model from the issue text.
Description
Problem
The package.json of flisk-sh/analytics has no description, repository or engines field. A contributor cloning the repo gets no hint which Node version it needs, so an older Node can fail with an unclear error on npm install or on the test script. Tools that read package.json (npm, dependency bots, repo scanners) also show a nameless entry with no link back to the repo.
Repro:
gh api repos/flisk-sh/analytics/contents/package.json --jq .content | base64 -d | python3 -c "import sys,json; d=json.load(sys.stdin); print([k for k in ['description','repository','engines'] if k not in d])"
# ['description', 'repository', 'engines']
Root Cause Analysis
The file was created with only name, private, scripts and dependencies. The metadata fields npm and Node tooling use to document the project were never added.
TDD Fix Plan
- RED: Write a test (or a CI check) that parses
package.jsonand assertsengines.nodeis set.
GREEN: Add"engines": {"node": ">=20"}matching the version CI and the Worker build use. - RED: Write a test that asserts
descriptionis a non-empty string andrepository.urlpoints at this repo.
GREEN: Add both fields.
REFACTOR: None expected.
Acceptance Criteria
-
engines.nodeis set and matches the CI Node version -
descriptionandrepositoryare present - All new tests pass
- Existing tests still pass
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 1h 33m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flisk-sh/analytics
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
All issues in flisk-sh/analytics
Similar issues
-
Band: compact mode never draws on Claude Code 2.1.292 (level Button has a Text child)Possibly taken @Bunty9 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DietrichGebert/ponytail#1437 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
huggingface/transformers.js#1945 ·
Maintainers usually reply within 1 day
-
ACK_WAITING HELP_WANTED UPDATE_CS
Difficulty 1/5 Under an hour Newbie friendliness 88/100
OWASP/CheatSheetSeries#2977 ·
Maintainers usually reply within 1 day
-
backend bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
freshframework/fresh#3920 ·