tsyringe icon indicating copy to clipboard operation
tsyringe copied to clipboard

Archive this repo

Open chriskuech opened this issue 1 year ago • 2 comments

This repo is evidently unmaintained. Please archive the repo so people know not to use it on projects.

chriskuech avatar Sep 26 '24 01:09 chriskuech

yes is better. any alternative?

alfiadoconstantino avatar Oct 03 '24 15:10 alfiadoconstantino

yes is better. any alternative?

I switched to inversify

chriskuech avatar Oct 03 '24 16:10 chriskuech

@chriskuech @alfiadoDev Sadly it is a sad state of affairs for many TypeScript DI libraries. Inversify maintenance is not much better, if you see their GitHub repo, without counting a small release v6.03 made just yesterday, the previous one v6.01 was done 3 years ago. On top of that, there are some very concerning issues related to the future of the project (See here and here). Archiving tsyringe I think is strong measure for a project with 5K stars on GitHub and 350K NPM downloads weekly. Before that, in my opinion it would be better to try searching for new maintainers among contributors or anyone else willing to help. And this is something Inversify is doing. If you go to their issues page, the first thing you see is the Maintainers wanted issue pinned on the top.

Image

eydelrivero avatar Oct 24 '24 10:10 eydelrivero

@eydelrivero yes, I have since observed the same. If anyone comes to this post recommending a DI solution for TS, I would instead recommend async_hooks and lazy instantiation with closures.

chriskuech avatar Oct 24 '24 15:10 chriskuech

hey guys, inversify has a new group of working members now, things will shift in a good direction. I will keep the pinned issue pinned so that other people who want to join can do so.

PodaruDragos avatar Oct 25 '24 10:10 PodaruDragos

@PodaruDragos Very glad to hear such a reassurance from someone actively working on it 👍

eydelrivero avatar Oct 26 '24 13:10 eydelrivero

yes is better. any alternative?

Hey everyone, I have been working on a library called di-wise. Welcome to try it out.

exuanbo avatar Dec 07 '24 23:12 exuanbo

I worked on a project called Needle DI. It does not depend on reflection metadata and features tree-shakeable injections tokens, to keep bundle size low when having multiple entry points in a project (e.g. web projects or serverless functions). Something that I missed in Inversify.

Feel free to share any feedback.

dirkluijk avatar Dec 17 '24 13:12 dirkluijk

I'm helping out maintaining this repo. Will close this issue but please reopen if you have any questions.

etiennenoel avatar Mar 29 '25 21:03 etiennenoel