litellm/litellm-js/spend-logs
Yuneng Jiang 1005fcd592
[Fix] CI/Tooling: Correct min-release-age value in .npmrc files
npm's `min-release-age` config has type `[null, Number]`. The value `3d`
parses to NaN, which propagates into `before = new Date(NaN)` (Invalid
Date). Pacote then calls `.toISOString()` on it and throws
`RangeError: Invalid time value`, breaking every local `npm install`.

Drop the `d` suffix in all six `.npmrc` files. The `<days>` in npm's
type hint is a label, not part of the value.

This is a no-op for CI (`npm ci` ignores this setting per the comment
in the file) but unblocks local `npm install`.
2026-04-29 19:49:27 -07:00
..
src build(spend-logs): separate server for writing spend logs to db 2024-03-28 13:23:22 -07:00
.npmrc [Fix] CI/Tooling: Correct min-release-age value in .npmrc files 2026-04-29 19:49:27 -07:00
Dockerfile chore: harden npm supply chain — pin overrides, enforce npm ci, add ignore-scripts (#24838) 2026-03-31 13:41:37 -07:00
package-lock.json fix(security): bump vulnerable dependencies 2026-04-09 19:35:19 +00:00
package.json fix(security): bump vulnerable dependencies 2026-04-09 19:35:19 +00:00
README.md build(spend-logs): separate server for writing spend logs to db 2024-03-28 13:23:22 -07:00
schema.prisma build(spend-logs): separate server for writing spend logs to db 2024-03-28 13:23:22 -07:00
tsconfig.json build(spend-logs): separate server for writing spend logs to db 2024-03-28 13:23:22 -07:00

npm install
npm run dev
open http://localhost:3000