scratchfoundation / scratchfoundation/scratch-desktop
media library acquisition should be at install time, not build time
Nobody has claimed this yet.
- 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
- Clone this repository
- Run
npm installornpm ci - Check the
static/assets/directory - Run
npm run fetchornpm run dist - Check the
static/assets/directory again
Contributor 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.
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