Comments (6)
btw, does someone use this lib in production? is this project still alive at all?
we use it in production ( we compile when we run, so not running into this problem)
that said, we are actively considering alternatives, since the project seems somewhat dead lol
from di-compiler.
Here is link to cloud example: sandbox
from di-compiler.
this happens to me too with tsx. it works fine with ts-node. node v21.1.0
node --import tsx --loader @wessberg/di-compiler/loader src/app.ts
from di-compiler.
Maybe i am too stupid to setup everything correctly.. but for me only last example works:
Here is working example:
https://codesandbox.io/p/devbox/wessberf-di-commonjs-test-mlpzx4?file=%2Fsrc%2Findex.ts%3A9%2C41
If someone has an example of how can i build it and run built version it would be nice to have a look at it, ty.
from di-compiler.
btw, does someone use this lib in production? is this project still alive at all?
from di-compiler.
This lib seems like a true gem, but lack of live, working sandbox examples for everything listed in readme makes it little bit hard to understand how to work with it. Its just insane how projects like this fade out when projects like microsoft TSyringe has 350k weekly downloads… Hope author will continue with this project)
from di-compiler.
Related Issues (18)
- Issues with derived classes transpiled by Typescript HOT 1
- Jest example HOT 1
- Impossible to add in provider interfaces with generics. HOT 2
- Does not work with webpack ts-loader HOT 4
- Does this work with @rollup/plugin-typescript ? HOT 3
- Is there any special compiler options required? HOT 1
- Usage with Vite.js HOT 2
- Is there a way to get compilation error when the service is not registered at all?
- Extended services without constructors doesn't work. HOT 2
- Support for async service factories HOT 16
- Esbuild plugin support
- JSX support for transform() API method
- ttypescript deprecated and replaced with ts-patch
- DI-compiler fails to build due to change in TypeScript and @wessberg/ts-config
- Build a graph to discover cyclic dependencies and automatically apply proxies to defeat them HOT 1
- Bindings not generated with Parcel HOT 1
- is it possible to use with babel/preset-typescript ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from di-compiler.