Bump serve 12.0.1 → 14.2.8 in npm-tools (#1027)

* build(deps): bump ajv and serve in /npm-tools

Bumps [ajv](https://github.com/ajv-validator/ajv) to 8.18.0 and updates ancestor dependency [serve](https://github.com/vercel/serve). These dependencies need to be updated together.


Updates `ajv` from 6.12.6 to 8.18.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v8.18.0)

Updates `serve` from 12.0.1 to 14.2.8
- [Release notes](https://github.com/vercel/serve/releases)
- [Changelog](https://github.com/vercel/serve/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vercel/serve/compare/12.0.1...v14.2.8)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 8.18.0
  dependency-type: indirect
- dependency-name: serve
  dependency-version: 14.2.8
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update serve test pin to 14.2.8

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Disable serve's per-request logging

serve 14 logs every request by default; -L keeps the journal as quiet
as it was with serve 12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
lrnselfreliance 2026-11-28 11:40:19 -07:00 • committed by GitHub
parent 712c4d9abc
commit 34eeebb8b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 376 additions and 518 deletions

View file

@ -8,7 +8,7 @@ Conflicts=wrolpi-app-dev.service
# Use explicit `serve.json` so `epub.html` is not lost.
# Resolve `serve` via PATH so it works regardless of npm's global prefix
# (/usr/local/bin vs /usr/bin depending on how node was installed).
ExecStart=/usr/bin/env serve build -l 3000 -c /opt/wrolpi/app/serve.json
ExecStart=/usr/bin/env serve build -L -l 3000 -c /opt/wrolpi/app/serve.json
Group=wrolpi
User=wrolpi
WorkingDirectory=/opt/wrolpi/app/

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
"description": "Command-line tools WROLPi runs; installed from package-lock.json by scripts/install_npm_tools.sh.",
"dependencies": {
"readability-extractor": "0.0.6",
"serve": "12.0.1",
"serve": "14.2.8",
"single-file-cli": "2.0.73"
}
}

View file

@ -10,7 +10,7 @@ from wrolpi.vars import PROJECT_DIR
NPM_TOOLS = PROJECT_DIR / 'npm-tools'
INSTALLER = 'scripts/install_npm_tools.sh'
TOOLS = {'serve': '12.0.1', 'single-file-cli': '2.0.73', 'readability-extractor': '0.0.6'}
TOOLS = {'serve': '14.2.8', 'single-file-cli': '2.0.73', 'readability-extractor': '0.0.6'}
INSTALL_SITES = [
PROJECT_DIR / 'scripts/install_debian.sh',
PROJECT_DIR / 'scripts/install_raspberrypios.sh',