unsloth/studio/backend/core/data_recipe
Daniel Han 2f1d2deb5c ci: commit oxc-validator lockfile so npm ci has something to install
Followup to 7bb1eb6 (npm install -> npm ci for the oxc-validator
runtime install in studio/setup.sh, studio/setup.ps1). That commit
worked locally because the lockfile already existed there from an
earlier `npm install`, but `npm ci` failed in CI because the
lockfile was never committed:

npm error EUSAGE
npm error The `npm ci` command can only install with an existing
npm error package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1.

Root cause: the project-root .gitignore has a bare `package-lock.json`
entry left over from a Python-template gitignore. The frontend
lockfile was force-added past it; the oxc-validator lockfile never
was. So a fresh actions/checkout did not have it.

Fix:
Force-commit studio/backend/core/data_recipe/oxc-validator/package-lock.json
(5 packages, lockfileVersion 3, integrity-pinned).
Replace the bare gitignore rule with explicit `!` exceptions for
the two committed npm-project lockfiles, with a comment explaining
why stray lockfiles in random Python subtrees are still ignored.

The pyproject.toml package-data glob `backend/core/data_recipe/oxc-validator/*.json`
already pulls the lockfile into the pip-installed wheel; the only
gap was that fresh git checkouts (CI) didn't have it.
2026-05-16 06:14:14 +00:00
..
jobs Add native GGUF intake to Studio (#5246) 2026-05-04 11:46:18 +02:00
oxc-validator ci: commit oxc-validator lockfile so npm ci has something to install 2026-05-16 06:14:14 +00:00
__init__.py Update license headers 2026-03-12 17:23:10 +00:00
huggingface.py miscallenous studio (#4293) 2026-03-15 14:42:11 +04:00
jsonable.py Final cleanup 2026-03-12 18:28:04 +00:00
local_callable_validators.py Add native GGUF intake to Studio (#5246) 2026-05-04 11:46:18 +02:00
service.py Allow non-LLM recipes to run and move Data tab first in executions (#4805) 2026-04-03 05:37:26 -07:00