Repository navigation
Prepara el paquete para publicarlo en npm - #1
Merged
Merged
Conversation
- package.json: metadatos, exports (ESM/CJS, vista y CSS), campos unpkg/jsdelivr, files y publishConfig con access public. - Entrada ESM index.mjs y vista cargable con require(). - npm test usa "node --test" para funcionar en Node 18+. - Workflows de CI y de publicación con Trusted Publishing (OIDC + provenance). - README en inglés, CHANGELOG, CONTRIBUTING y .gitignore. - Quita referencias a GCP/AWS en pruebas y documentación. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VBSeDP8crikGpygQhKgcu5
- Textos por defecto de StudyTrackerView en inglés y locale 'en'. - Mensajes de error de la librería en inglés. - README con ejemplo completo de configuración en español (texts + locale). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VBSeDP8crikGpygQhKgcu5
fabianimv
marked this pull request as ready for review
October 12, 2026 19:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
exports(ESM víaindex.mjs, CJS,./view,./style.css),main/module,unpkg/jsdelivr,files,repository/homepage/bugs,keywordsypublishConfig.access: public.importyrequire).require()o bundlers. Con<script>sigue exponiendowindow.StudyTrackerView. Los textos vienen en inglés por defecto y ellocalepor defecto es'en'. El español se configura contexts+locale(ejemplo completo en el README).node --test(el glob entre comillas no funcionaba en Node 18/20). Se agregan pruebas de ESM/exports, de los textos por defecto y una que verifica que la versión depackage.jsoncoincide con la de la librería.ci.yml): Node 18/20/22/24 en cada push y PR.release.yml): publica con un tagv*.*.*usando Trusted Publishing (OIDC,id-token: write,--provenance), sinNPM_TOKEN. Revisa que el tag coincida con la versión.Pruebas
npm testpasa (16 pruebas) en Node 18, 20 y 22.npm pack --dry-runincluye solo los archivos de la librería, README, LICENSE, CHANGELOG y package.json.🤖 Generated with Claude Code
https://claude.ai/code/session_01VBSeDP8crikGpygQhKgcu5