scratchfoundation / scratchfoundation/scratch-desktop

media library acquisition should be at install time, not build time

Open
#182 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

developer facing tech debt
Dominant language
JavaScript
Stars
426
Forks
268
Avg merge
16h 6m
Merged PRs (30d)
25

Description

Expected Behavior

All dependencies should be downloaded during npm install or npm ci.

Actual Behavior

Most dependencies are downloaded during npm install or npm ci, except for the media libraries. The media libraries are downloaded during npm run fetch which is part of the dist and distDev build commands.

Steps to Reproduce
  1. Clone this repository
  2. Run npm install or npm ci
  3. Check the static/assets/ directory
  4. Run npm run fetch or npm run dist
  5. Check the static/assets/ directory again

Contributor guide

Open the contributing guide

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.

Research direction

Start by comparing the behavior of npm install or npm ci with npm run fetch, npm run dist, and npm run distDev, using static/assets/ to verify when media libraries appear. Trace the package scripts invoked by these commands and make completion of installation place the media libraries in static/assets/ without requiring a build command.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.