Repository navigation
Build distribuibile: npm run dist produce varano239-web.zip (FASE 8) - #30
Merged
Merged
Conversation
npm run dist builds the game with a relative base and without the service worker, verifies the artifact stays self-contained (no absolute asset paths, no domain dependence), and packages it as varano239-web.zip for hosts that embed the game in an iframe, starting with itch.io. The canonical production build keeps base / and the PWA behavior (ADR-020). AI-Mode: agent
✅ Deploy Preview for varano239 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
AIDA PR Evidence Report
Change Summary
This report describes the commits in Observed Provenance100.0% evidence coverage — declared 1 · inferred 0 · none 0.
Provenance completenessEvery commit in this change set carries attribution evidence. Interpretation Limits
|
ceccode
marked this pull request as ready for review
August 27, 2026 22:03
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.
Obiettivo
Chiudere la FASE 8 del piano di lancio: una build web distribuibile via
varano239-web.zip, pronta per i portali che incastonano il gioco in un iframe (itch.io per primo).Modifiche
npm run dist(scripts/build-dist.mjs): costruisce con base relativa./e senza service worker, verifica l'artifact e producevarano239-web.zipconindex.htmlalla root (niente assolutizzazione, niente dipendenza di caricamento dai domini di produzione)VITE_BASE_PATH=./ora accettato (base relativa),VITE_NO_SW=1esclude il service worker,VITE_OUT_DIRper dirigere l'output senza toccaredist/di produzioneVITE_NO_SW(negli iframe dei portali non si può registrare un SW)resolveMessageinvece diappConfigForLocale, togliendo dagli URL di produzione dal bundle JS di runtimedist:index.html/en/index.htmlsenza riferimenti assoluti o risorse esterne (canonical/hreflang e link GitHub restano come metadata/ipertesti intenzionali), JS senzafetchverso URL assoluti, CSS senzaurl()esterne, nientesw.jsdist-dist/;.gitignoreignoradist-dist/evarano239-web.zip; ADR-020 aggiornata; comando documentato nel READMEVerifica
npm run distverde: 93 KB, 20 file,index.htmlalla root/portal/(come un portale): IT e EN caricano le 4 card ruolo senza errori console,langcorrettonpm run checkverde: format, lint, typecheck, validazione, 321 unit test, build, budget bundle, 57 test Playwright/, SW attivo)Messa in produzione
Draft per il test del proprietario. Dopo la verifica della preview può diventare Ready for review ed essere mergiata su main. L'upload su itch.io è il passo successivo (FASE 9).