All notable changes to the "@smonn/container" project will be documented in this file.
- Bump dev dependencies.
- Improve type inference from
Token<T>
andcreateToken
helpers. - Switch to Vite for builds.
- Switch to Jest for tests.
- Update readme
- Bump dev dependencies.
- Allow tokens to be strings
- Allow
createToken
to accept a class/constructor - Add examples for the above
- Ensure 100% test coverage
- Dependency upgrades.
- Add
Token<T>
interface andcreateToken(name)
helper. This replacesSymbol
usages to identify factories and instances.
- Fix for importing in a Node.js module (ESM) environment.
- Initial release