Moving to Typescript
Finally, the entire codebase has been moved to Typescript with handful of tweaks to the existing logic. Following are big highlights
Features
- Support for method injection using the Typescript
inject
decorator. - Support for tracer that emits the sequence in which values are read from the container.
Fixes
Ioc.fake
now uses the Proxy to have fake work even modules are cached inside Node.js require cache.
Commits
- chore: add reflect-metadata as types to tsconfig.json file e5bdaf6
- docs(readme): add link to api docs a337f26
- chore: move reflect-metadata to dev dependency 0050393
- docs: use markdown plugin for api docs cf25416
- docs: add api docs 9f9c27a
- docs(readme): add usage docs cb60c16
- feat: add support for method injection 7b6085d
- refactor: cleanup code 7da84ae
- feat: implement ioc container 43f6eac
- feat: restart project in typescript 97fcc5f
- fix: package.json & package-lock.json to reduce vulnerabilities (#16) 4a3d453
- chore(package): update files to publish on npm 7d65b63
- chore: remove legacy bin folder to run tests 68b4693