Minor Changes
-
#754
aebed60Thanks @HugoRCD! -evlognow ships theevlogexecutable: once evlog is installed,npx evlog init,npx evlog map,npx evlog doctorandnpx evlog agentsare available without adding anything. The executable runs@evlog/cliwhen it is installed and otherwise fetches it with the package manager that launched it (npx,pnpm dlx,bunx,yarn dlx), soevloggains no dependency. Add@evlog/clias a dev dependency for a pinned, instant run in CI.@evlog/clinow declaresevlogas a peer dependency instead of a dependency, so a project carries one copy of the logger. -
#747
6d7a6e5Thanks @evlogai! -evlog initnow puts the drain credentials where they cannot be missed: when a chosen production destination reads environment variables that are set nowhere (neither the process nor the project's.env), the variable list becomes the first manual step, with what each variable is, where to put the value, and a link to the adapter docs. Variables that already exist are left out, and the separateSet these before anything is receivednote (interactive) andSET BEFORE ANYTHING IS RECEIVEDblock (non-interactive) are gone.
Patch Changes
-
#754
aebed60Thanks @HugoRCD! -evlognow loads only the command it runs, soevlog doctorandevlog telemetryno longer load the source parser thatevlog mapandevlog inituse.withTelemetryin@evlog/telemetryaccepts lazy citty subcommands (() => import('./cmd').then(m => m.default)) and wraps them when citty resolves them, without loading the other commands. -
#744
76ec0b1Thanks @evlogai! - Fixevlog initwriting invalid config for Nuxt (and TanStack Start) when the last property of the config object has no trailing comma: two appended properties each added their own separator, producing},,that failsnuxt prepare. Properties appended at the same spot also landed in reverse order. -
#745
ccd7063Thanks @evlogai! - On Nuxt 5 and Nitro v3 targets,evlog initnow generates server plugins withimport { definePlugin } from 'nitro'instead of relying on the auto-importeddefineNitroPlugin, which no longer exists there and crashed generated apps withReferenceError: defineNitroPlugin is not defined. Nuxt 4 and Nitro v2 keep the previous form. -
Updated dependencies [
aebed60]:- @evlog/telemetry@0.3.2