erange

Erange (pronounced 'arrange') - flexible, lightweight and easy to use dependency injection for JS/TS.

MIT License

Downloads
36
Stars
0
erange - Beta 0.2.2 Latest Release

Published by arklanq 10 months ago

  • fix: functions and symbols were not allowed as a valid custom scope anchor in some cases
  • build: tweak rollup configuration
erange - Beta 0.2.1

Published by arklanq 10 months ago

  • feat: allow functions and symbols as a valid custom scope anchor
  • chore: normalize repository field in package.json
erange - Beta 0.2.0

Published by arklanq 10 months ago

BREAKING CHANGES

  • feat(binding-dsl)!: change default scope to singleton

  • feat: implement custom scopes

  • feat: decouple providers and scopes logic

  • feat: allow null values to be stored or produced by factories

  • fix(binding-dsl): .toAlias(...) directive not working properly

  • refactor: better adapt the code to SOLID principles

  • refactor: rename a few types to better reflect their meaning

  • refactor: remove decorator-based injection

  • chore(tools): tweak eslint, typescript configuration

  • chore: update all dependencies

  • docs: update readme

  • docs: add 'beta' disclaimer at the beginning

  • docs(to-do): revision of the task list

erange - Beta 0.1.11

Published by arklanq almost 1 year ago

  • fix(binding-dsl): invalid default scope for alias provider
  • docs(readme): fix invalid directive name
erange - Beta 0.1.10

Published by arklanq about 1 year ago

  • chore(package): update all dependencies and adjust script names
  • fix: invalid type inference with Container#instantiate method
  • chore: prepare codebase for upcoming tests
erange - Beta 0.1.9

Published by arklanq about 1 year ago

  • docs(readme): improvements
  • feat(source code): minor improvements
erange - Beta 0.1.8

Published by arklanq about 1 year ago

  • docs: update README.md and add TO-DO.md document
  • feat(source-code): replace relative imports with absolute aliases where applicable
  • feat(typescript-support): better type resolution when resolving class instance
  • feat: implement alias provider and related binding DSL method
erange - Beta 0.1.6

Published by arklanq about 1 year ago

  • Feature / Greater compatibility with import-aware linters (especially import/no-unresolved rule).
erange - Beta 0.1.5

Published by arklanq about 1 year ago

  • Fix / Missing project links in generated package.json.
erange - Beta 0.1.4

Published by arklanq about 1 year ago

Fix / Invalid exports mapping in generated package.json files.

erange - Beta 0.1.3

Published by arklanq about 1 year ago

  • Fix / Missing dependencies field in package.json for the resulting package.
  • Fix / Missing Scope, Token, Class type exports in package entrypoint.
  • Feature / Provide CJS and ES bundles alongside required changes in package.json for backward compatibility.
  • Feature / Provide TypeScript type declarations.
erange - Beta 0.1.2

Published by arklanq about 1 year ago

  • Fix / Missing readme on the NPM package page.
erange - Beta 0.1.1

Published by arklanq about 1 year ago

  • Concise readme file.
  • Configured bundler to output TS declaration files.
  • Configured bundler to not output *.map files.
  • Updated package.json to include homepage/repository links.
erange - Beta 0.1.0

Published by arklanq about 1 year ago

First version, docs will land soon.

Package Rankings
Top 45.47% on Npmjs.org
Badges
Extracted from project README
npm beta license docs docs