Transition package from CJS to ESM

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, nodejs
Ambito
tooling

Direzione di ricerca

The payload names no specific files. Start with the package's package.json (the type, main and exports fields) and its entry points, then follow the linked ESM migration issue in webdriverio/webdriverio #8306 for the pattern the wider project chose. Done would mean the package loads as ESM while still working from CJS. Expect a design discussion first, since the issue is over four years old and has gone quiet.

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

Descrizione

As part of the v8 effort we are currently migrating over to ESM as many packages will stop support CJS in the future. This means we have to transition all plugins to ESM as well, ideally with continuous support for CJS.

Lingua principale
JavaScript
Stelle
914
Fork
217
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 webdriverio/selenium-standalone

Tutte le issue di webdriverio/selenium-standalone

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.