Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow CI to pass

Aperta
#179 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript, webpack

Direzione di ricerca

Inizia con l’estratto collegato di web/config/webpack.config.js e segui come DuplicatesPlugin gestisce l’opzione emitErrors. Riproduci la configurazione segnalata in CI e conferma che impostare emitErrors su false consenta alla build di completarsi correttamente senza perdere la segnalazione dei pacchetti duplicati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

unverified

Hello,

I have installed this package in 4.7.1 to keep a track of our duplicates packages, and now the CI fail :

image
image

This is our configuration in webpack 4 https://github.com/pass-culture/pass-culture-app-native/blob/c703bd08bf949eba64fe282c97034f09d97a3a57/web/config/webpack.config.js#L722-L738

        new DuplicatesPlugin({
          // Emit compilation warning or error? (Default: `false`)
          emitErrors: false,
          // Handle all messages with handler function (`(report: string)`)
          // Overrides `emitErrors` output.
          emitHandler: undefined,
          // List of packages that can be ignored. (Default: `[]`)
          // - If a string, then a prefix match of `{$name}/` for each module.
          // - If a regex, then `.test(pattern)` which means you should add slashes
          //   where appropriate.
          //
          // **Note**: Uses posix paths for all matching (e.g., on windows `/` not `\`).
          ignoredPackages: undefined,
          // Display full duplicates information? (Default: `false`)
          verbose: true
        })

I would expect emitErrors to prevent the CI to fail.

How can I allow the CI to pass ? Can this be a futur feture ?

Thanks for sharing !

Lingua principale
TypeScript
Stelle
590
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FormidableLabs/inspectpack

Tutte le issue di FormidableLabs/inspectpack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.