Service-template-node/fr
Appearance
Outdated translations are marked like this.
Le projet service-template-node est un modèle pour créer des services MediaWiki dans Node.js. Le modèle combine l'utilisation de technologies telles que service-runner, Bluebird promises, express.js, mocha, istanbul, et Docker pour qu'il soit facile de créer des services robustes et conformes aux meilleures pratiques.
The template has not been maintained and is no longer recommended for use. It is now recommended you use native Promises instead of Bluebird as the library is no longer maintained. Several services have removed dependency on service-runner and you should not expect it to be maintained in the near future.
Migration guide:
Consider using service-utils for easier migration.
- Use Node >= 20
- Replace preq (deprecated) with fetch (native)
- Replace bluebird (no longer maintained) with Promise (native)
- Replace istanbul (deprecated) with nyc (maintained)
Optional
- Replace mocha (still maintained) with test runner (native)
See also:
- https://gerrit.wikimedia.org/r/q/servicelib-node, which aimed to be a library rather than a template, performing a similar function and using many of the same functions (also not maintained.)
- https://gitlab.wikimedia.org/repos/data-engineering/service-utils, which aims to replace some of the functionality of service-runner