Skip to content

Improve reliability and build scripts#18

Open
ooovenenoso wants to merge 1 commit into
b1nzeex:mainfrom
ooovenenoso:fix/reliability-build-scripts
Open

Improve reliability and build scripts#18
ooovenenoso wants to merge 1 commit into
b1nzeex:mainfrom
ooovenenoso:fix/reliability-build-scripts

Conversation

@ooovenenoso
Copy link
Copy Markdown

  • Añadí scripts npm:
    • npm run build
    • npm run typecheck
    • prepublishOnly
  • Arreglé el logger:
    • crea directorios de log si no existen
    • evita crash cuando el archivo aún no existe
    • rota/limpia el log grande antes de escribir
  • Mejoré manejo de comandos WebSocket:
    • remueve comandos pendientes al resolverlos para evitar memory leaks
  • Mejoré typings:
    • logger opcional en opciones
    • socket puede ser null
    • sendCommand/resolver acepta undefined cuando hay timeout
  • Recompilé dist.

Verificado:

  • npm run typecheck ✅
  • npm run build ✅
  • prueba rápida del logger escribiendo archivo anidado ✅
  • npm pack --dry-run ✅
  • push a GitHub ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant