├── .changeset ├── README.md ├── config.json ├── flat-mirrors-film.md ├── gentle-cougars-hope.md ├── large-lobsters-grab.md ├── metal-windows-run.md ├── shaggy-readers-reflect.md └── short-dogs-reflect.md ├── .commitlintrc.js ├── .editorconfig ├── .env.template ├── .eslintrc.yml ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── ask-a-question.md │ ├── report-a-bug----.md │ ├── report-an-issue-with-documentation--including-the-website-.md │ └── request-a-feature----.md ├── dependabot.yml ├── semantic.yml └── workflows │ ├── auto-merge-dependabot-workflow.yml │ ├── codeql.yml │ ├── continuous-deployment-workflow.yml │ ├── continuous-integration-workflow.yml │ ├── lock-closed-issues-workflow.yml │ ├── prepare-package-manager-workflow.yml │ └── release.yml ├── .gitignore ├── .husky └── commit-msg ├── .npmignore ├── .prettierrc.yml ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── FAQ.md ├── LICENSE ├── README.md ├── assets └── this-is-fine-meme.png ├── docs ├── .gitignore ├── README.md ├── babel.config.js ├── docs │ ├── examples │ │ ├── _category_.json │ │ ├── hello-world.md │ │ └── nodejs-web-server │ │ │ ├── _category_.json │ │ │ ├── application-disposal.md │ │ │ ├── implementation.md │ │ │ └── testing.md │ ├── getting-started.mdx │ ├── guide │ │ ├── _category_.json │ │ ├── containers │ │ │ ├── _category_.json │ │ │ ├── creating-containers.md │ │ │ ├── custom-containers.md │ │ │ └── introduction.mdx │ │ ├── es-decorators.md │ │ ├── react │ │ │ ├── _category_.json │ │ │ └── introduction.md │ │ ├── services │ │ │ ├── _category_.json │ │ │ ├── eager-services.md │ │ │ ├── host-container.md │ │ │ ├── introduction.md │ │ │ ├── multiple-services.md │ │ │ ├── resolution-constraints.mdx │ │ │ ├── singletons.md │ │ │ ├── transient-services.mdx │ │ │ └── usage-in-javascript.md │ │ └── tokens │ │ │ ├── _category_.json │ │ │ ├── executable-tokens.md │ │ │ └── introduction.md │ ├── meta │ │ ├── _category_.json │ │ ├── code-of-conduct.md │ │ ├── contributing.md │ │ └── license.md │ └── migration │ │ ├── _category_.json │ │ └── migrating-from-upstream-typedi.md ├── docusaurus.config.js ├── package.json ├── pnpm-lock.yaml ├── sidebars.js ├── src │ ├── app-config.ts │ ├── client-modules │ │ └── README.md │ ├── components │ │ ├── HomeIntro │ │ │ ├── HomeIntro.module.css │ │ │ └── HomeIntro.tsx │ │ └── demos │ │ │ ├── FakeFeedDemo │ │ │ ├── FakeFeedBottomRack │ │ │ │ ├── FakeFeedBottomRack.module.css │ │ │ │ └── FakeFeedBottomRack.tsx │ │ │ ├── FakeFeedDemo.module.css │ │ │ ├── FakeFeedDemo.tsx │ │ │ └── FakePost │ │ │ │ ├── FakePost.module.css │ │ │ │ └── FakePost.tsx │ │ │ └── GreetingDemo │ │ │ ├── GreetingDemo.module.css │ │ │ └── GreetingDemo.tsx │ ├── css │ │ └── custom.css │ ├── pages │ │ ├── index.module.css │ │ ├── index.tsx │ │ └── markdown-page.md │ ├── services │ │ ├── fake-feed-demo │ │ │ ├── fake-feed.service.ts │ │ │ ├── posts.token.ts │ │ │ └── username.token.ts │ │ └── username-demo │ │ │ ├── greeting.service.ts │ │ │ └── username.token.ts │ ├── theme │ │ ├── CodeBlock.jsx │ │ ├── GitHubRefLink.tsx │ │ ├── MDXComponents.js │ │ ├── NPMInstallBlock.tsx │ │ ├── Root.tsx │ │ └── WorkInProgress.tsx │ ├── typedi-hooks.ts │ └── util-hooks.ts ├── static │ ├── .nojekyll │ └── CNAME └── tsconfig.json ├── jest.config.js ├── package.json ├── pnpm-lock.yaml ├── scripts ├── getTsConfigFiles.cjs ├── publishDocs.mjs ├── release_to_npm.sh ├── rollup │ ├── bundlePreamble.js │ ├── generateWebBuildEntryPoints.mjs │ └── rollup.config.mts ├── testing │ ├── jest │ │ └── moduleResolver.cjs │ └── resolver-options.d.ts ├── tsconfig.json ├── tsconfig │ ├── tsconfig.base.json │ ├── tsconfig.prod.cjs.json │ ├── tsconfig.prod.esm5.json │ ├── tsconfig.prod.json │ ├── tsconfig.prod.types.json │ ├── tsconfig.rollup.json │ ├── tsconfig.spec.json │ └── tsconfig.typedoc.json └── utils │ ├── assertUnreachable.mjs │ ├── environment │ ├── env.mjs │ └── install.mjs │ └── uuid.mjs ├── src ├── constants │ ├── builtins.const.mts │ ├── empty.const.mts │ ├── host-container.const.mts │ ├── minification │ │ ├── README.md │ │ ├── native-error.const.mts │ │ ├── native-null.const.mts │ │ └── strings.const.mts │ ├── service-defaults.const.mts │ ├── stamps │ │ └── executable-token.const.mts │ └── type-wrapper.const.mts ├── container-instance.class.mts ├── container-registry.class.mts ├── contrib │ ├── README.md │ ├── es │ │ ├── es-service.decorator.mts │ │ └── index.mts │ ├── transient-ref │ │ ├── index.mts │ │ ├── transient-ref-host.class.mts │ │ └── transient-ref.function.mts │ ├── upstream │ │ └── index.mts │ └── util │ │ ├── es-class-decorator.type.mts │ │ ├── get-service-identifier-type.util.mts │ │ ├── index.mts │ │ ├── resolve-constrained-container.util.mts │ │ └── synchronous-disposable.class.mts ├── decorators │ ├── js-service.decorator.mts │ └── service.decorator.mts ├── entry │ ├── README.md │ ├── index.cts │ ├── index.mts │ └── web │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── web.full.mts │ │ └── web.minimal.mts ├── error │ ├── cannot-instantiate-builtin-error.mts │ ├── cannot-instantiate-value.error.mts │ ├── container-registry-error.error.mts │ └── service-not-found.error.mts ├── executable-token.class.mts ├── functions │ ├── forward-ref.function.mts │ ├── host-container.function.mts │ ├── lazy.function.mts │ └── resolution-constraints.functions.mts ├── index.mts ├── interfaces │ ├── container-internals.interface.mts │ ├── container-registry-map.interface.mts │ ├── container-reset-options.interface.mts │ ├── create-container-options.interface.mts │ ├── dependency-descriptor.interface.mts │ ├── many-services-metadata.interface.mts │ ├── resolvable.interface.mts │ ├── service-dependency.interface.mts │ ├── service-metadata.interface.mts │ ├── service-options-with-dependencies.interface.mts │ ├── service-options.interface.mts │ └── tree-visitor.interface.mts ├── token.class.mts ├── types │ ├── abstract-constructable.type.mts │ ├── any-constructable.type.mts │ ├── constructable.type.mts │ ├── container-identifier.type.mts │ ├── container-scope.type.mts │ ├── create-container-result.type.mts │ ├── disposable.type.mts │ ├── extract-token.type.mts │ ├── infer-service-type.type.mts │ ├── inject-identifier.type.mts │ ├── multi-id-lookup-response.type.mts │ ├── resolution-constraint.type.mts │ ├── service-factory.type.mts │ ├── service-identifier-location.type.mts │ ├── service-identifier.type.mts │ └── type-wrapper.type.mts ├── utils │ ├── create-resolution-constraint-mask.util.mts │ ├── is-array.util.mts │ ├── is-type-wrapper.util.mts │ ├── normalize-identifier.util.mts │ ├── resolve-to-type-wrapper.util.mts │ └── wrap-resolvable-dependency.mts └── visitor-collection.class.mts ├── test ├── Container.spec.ts ├── ContainerRegistry.spec.ts ├── contrib │ ├── .gitkeep │ ├── es │ │ ├── es-service.spec.ts │ │ └── test-utils │ │ │ ├── es-service-decorator-wrapper.util.ts │ │ │ └── fake-context.util.ts │ ├── transient-ref.spec.ts │ └── util │ │ ├── get-service-identifier-type.spec.ts │ │ └── synchronous-disposable.spec.ts ├── decorators │ ├── JSService.spec.ts │ ├── Service.spec.ts │ └── service-es │ │ ├── README.md │ │ ├── Service.spec.ts │ │ └── tsconfig.json ├── eager-loading-services.spec.ts ├── errors.spec.ts ├── features │ ├── container-inheritance.spec.ts │ ├── create-options.spec.ts │ ├── dependency-descriptor.spec.ts │ ├── executable-token.spec.ts │ ├── host-container.spec.ts │ ├── lazy-and-forward-ref.spec.ts │ ├── recursive-multi-ids.spec.ts │ ├── resolution-constraints.spec.ts │ ├── service-options-without-dependencies.spec.ts │ ├── set-value.spec.ts │ └── tree-visitor.spec.ts ├── github-issues │ └── upstream │ │ ├── issue-151-unable-to-define-type-when-setting-service.spec.ts │ │ ├── issue-157-container-reset-should-not-break-transient-services.spec.ts │ │ ├── issue-41-possible-to-use-tokens-as-service-id-in-combination-with-factory.spec.ts │ │ ├── issue-48-token-service-ids-in-default-container-not-inherited-by-children.spec.ts │ │ ├── issue-53-token-based-services-are-cached-in-default-container-when-fetched-via-subcontainer.spec.ts │ │ ├── issue-56-extended-classes-are-being-overwritten.spec.ts │ │ ├── issue-61-child-container-creates-a-new-instance-of-a-service-each-time-get-is-called.spec.ts │ │ └── issue-87-container-does-not-throw-when-an-a-dependency-is-not-found.spec.ts ├── tsconfig.json └── utils │ ├── add-names-to-test-cases.ts │ ├── create-array-of-numbers.util.ts │ ├── create-deep-container-tree.util.ts │ ├── create-random-name.util.ts │ ├── create-test-name-from-github-issue.util.ts │ └── has-own-property.util.ts ├── tsconfig.json └── typedoc.config.cjs /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.changeset/flat-mirrors-film.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/flat-mirrors-film.md -------------------------------------------------------------------------------- /.changeset/gentle-cougars-hope.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/gentle-cougars-hope.md -------------------------------------------------------------------------------- /.changeset/large-lobsters-grab.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/large-lobsters-grab.md -------------------------------------------------------------------------------- /.changeset/metal-windows-run.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/metal-windows-run.md -------------------------------------------------------------------------------- /.changeset/shaggy-readers-reflect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/shaggy-readers-reflect.md -------------------------------------------------------------------------------- /.changeset/short-dogs-reflect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.changeset/short-dogs-reflect.md -------------------------------------------------------------------------------- /.commitlintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.commitlintrc.js -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.env.template -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/ask-a-question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/ISSUE_TEMPLATE/ask-a-question.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/report-a-bug----.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/ISSUE_TEMPLATE/report-a-bug----.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/report-an-issue-with-documentation--including-the-website-.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/ISSUE_TEMPLATE/report-an-issue-with-documentation--including-the-website-.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/request-a-feature----.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/ISSUE_TEMPLATE/request-a-feature----.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/auto-merge-dependabot-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/auto-merge-dependabot-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-deployment-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/continuous-deployment-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/continuous-integration-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/lock-closed-issues-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/lock-closed-issues-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/prepare-package-manager-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/prepare-package-manager-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /FAQ.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/FAQ.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/README.md -------------------------------------------------------------------------------- /assets/this-is-fine-meme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/assets/this-is-fine-meme.png -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/babel.config.js -------------------------------------------------------------------------------- /docs/docs/examples/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/examples/_category_.json -------------------------------------------------------------------------------- /docs/docs/examples/hello-world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/examples/hello-world.md -------------------------------------------------------------------------------- /docs/docs/examples/nodejs-web-server/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/examples/nodejs-web-server/_category_.json -------------------------------------------------------------------------------- /docs/docs/examples/nodejs-web-server/application-disposal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/examples/nodejs-web-server/application-disposal.md -------------------------------------------------------------------------------- /docs/docs/examples/nodejs-web-server/implementation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/examples/nodejs-web-server/implementation.md -------------------------------------------------------------------------------- /docs/docs/examples/nodejs-web-server/testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/examples/nodejs-web-server/testing.md -------------------------------------------------------------------------------- /docs/docs/getting-started.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/getting-started.mdx -------------------------------------------------------------------------------- /docs/docs/guide/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/_category_.json -------------------------------------------------------------------------------- /docs/docs/guide/containers/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/containers/_category_.json -------------------------------------------------------------------------------- /docs/docs/guide/containers/creating-containers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/containers/creating-containers.md -------------------------------------------------------------------------------- /docs/docs/guide/containers/custom-containers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/containers/custom-containers.md -------------------------------------------------------------------------------- /docs/docs/guide/containers/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/containers/introduction.mdx -------------------------------------------------------------------------------- /docs/docs/guide/es-decorators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/es-decorators.md -------------------------------------------------------------------------------- /docs/docs/guide/react/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/react/_category_.json -------------------------------------------------------------------------------- /docs/docs/guide/react/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/react/introduction.md -------------------------------------------------------------------------------- /docs/docs/guide/services/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/_category_.json -------------------------------------------------------------------------------- /docs/docs/guide/services/eager-services.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/eager-services.md -------------------------------------------------------------------------------- /docs/docs/guide/services/host-container.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/host-container.md -------------------------------------------------------------------------------- /docs/docs/guide/services/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/introduction.md -------------------------------------------------------------------------------- /docs/docs/guide/services/multiple-services.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/multiple-services.md -------------------------------------------------------------------------------- /docs/docs/guide/services/resolution-constraints.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/resolution-constraints.mdx -------------------------------------------------------------------------------- /docs/docs/guide/services/singletons.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/singletons.md -------------------------------------------------------------------------------- /docs/docs/guide/services/transient-services.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/transient-services.mdx -------------------------------------------------------------------------------- /docs/docs/guide/services/usage-in-javascript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/services/usage-in-javascript.md -------------------------------------------------------------------------------- /docs/docs/guide/tokens/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/tokens/_category_.json -------------------------------------------------------------------------------- /docs/docs/guide/tokens/executable-tokens.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/tokens/executable-tokens.md -------------------------------------------------------------------------------- /docs/docs/guide/tokens/introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/guide/tokens/introduction.md -------------------------------------------------------------------------------- /docs/docs/meta/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/meta/_category_.json -------------------------------------------------------------------------------- /docs/docs/meta/code-of-conduct.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/meta/code-of-conduct.md -------------------------------------------------------------------------------- /docs/docs/meta/contributing.md: -------------------------------------------------------------------------------- 1 | --- 2 | sidebar_position: 1 3 | --- 4 | 5 | # Contributing to TypeDI 6 | -------------------------------------------------------------------------------- /docs/docs/meta/license.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/meta/license.md -------------------------------------------------------------------------------- /docs/docs/migration/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/migration/_category_.json -------------------------------------------------------------------------------- /docs/docs/migration/migrating-from-upstream-typedi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docs/migration/migrating-from-upstream-typedi.md -------------------------------------------------------------------------------- /docs/docusaurus.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/docusaurus.config.js -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/pnpm-lock.yaml -------------------------------------------------------------------------------- /docs/sidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/sidebars.js -------------------------------------------------------------------------------- /docs/src/app-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/app-config.ts -------------------------------------------------------------------------------- /docs/src/client-modules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/client-modules/README.md -------------------------------------------------------------------------------- /docs/src/components/HomeIntro/HomeIntro.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/HomeIntro/HomeIntro.module.css -------------------------------------------------------------------------------- /docs/src/components/HomeIntro/HomeIntro.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/HomeIntro/HomeIntro.tsx -------------------------------------------------------------------------------- /docs/src/components/demos/FakeFeedDemo/FakeFeedBottomRack/FakeFeedBottomRack.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/FakeFeedDemo/FakeFeedBottomRack/FakeFeedBottomRack.module.css -------------------------------------------------------------------------------- /docs/src/components/demos/FakeFeedDemo/FakeFeedBottomRack/FakeFeedBottomRack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/FakeFeedDemo/FakeFeedBottomRack/FakeFeedBottomRack.tsx -------------------------------------------------------------------------------- /docs/src/components/demos/FakeFeedDemo/FakeFeedDemo.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/FakeFeedDemo/FakeFeedDemo.module.css -------------------------------------------------------------------------------- /docs/src/components/demos/FakeFeedDemo/FakeFeedDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/FakeFeedDemo/FakeFeedDemo.tsx -------------------------------------------------------------------------------- /docs/src/components/demos/FakeFeedDemo/FakePost/FakePost.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/FakeFeedDemo/FakePost/FakePost.module.css -------------------------------------------------------------------------------- /docs/src/components/demos/FakeFeedDemo/FakePost/FakePost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/FakeFeedDemo/FakePost/FakePost.tsx -------------------------------------------------------------------------------- /docs/src/components/demos/GreetingDemo/GreetingDemo.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/GreetingDemo/GreetingDemo.module.css -------------------------------------------------------------------------------- /docs/src/components/demos/GreetingDemo/GreetingDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/components/demos/GreetingDemo/GreetingDemo.tsx -------------------------------------------------------------------------------- /docs/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/css/custom.css -------------------------------------------------------------------------------- /docs/src/pages/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/pages/index.module.css -------------------------------------------------------------------------------- /docs/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/pages/index.tsx -------------------------------------------------------------------------------- /docs/src/pages/markdown-page.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/pages/markdown-page.md -------------------------------------------------------------------------------- /docs/src/services/fake-feed-demo/fake-feed.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/services/fake-feed-demo/fake-feed.service.ts -------------------------------------------------------------------------------- /docs/src/services/fake-feed-demo/posts.token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/services/fake-feed-demo/posts.token.ts -------------------------------------------------------------------------------- /docs/src/services/fake-feed-demo/username.token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/services/fake-feed-demo/username.token.ts -------------------------------------------------------------------------------- /docs/src/services/username-demo/greeting.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/services/username-demo/greeting.service.ts -------------------------------------------------------------------------------- /docs/src/services/username-demo/username.token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/services/username-demo/username.token.ts -------------------------------------------------------------------------------- /docs/src/theme/CodeBlock.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/theme/CodeBlock.jsx -------------------------------------------------------------------------------- /docs/src/theme/GitHubRefLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/theme/GitHubRefLink.tsx -------------------------------------------------------------------------------- /docs/src/theme/MDXComponents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/theme/MDXComponents.js -------------------------------------------------------------------------------- /docs/src/theme/NPMInstallBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/theme/NPMInstallBlock.tsx -------------------------------------------------------------------------------- /docs/src/theme/Root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/theme/Root.tsx -------------------------------------------------------------------------------- /docs/src/theme/WorkInProgress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/theme/WorkInProgress.tsx -------------------------------------------------------------------------------- /docs/src/typedi-hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/typedi-hooks.ts -------------------------------------------------------------------------------- /docs/src/util-hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/src/util-hooks.ts -------------------------------------------------------------------------------- /docs/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/static/CNAME: -------------------------------------------------------------------------------- 1 | typedi.js.org -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/getTsConfigFiles.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/getTsConfigFiles.cjs -------------------------------------------------------------------------------- /scripts/publishDocs.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/publishDocs.mjs -------------------------------------------------------------------------------- /scripts/release_to_npm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/release_to_npm.sh -------------------------------------------------------------------------------- /scripts/rollup/bundlePreamble.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/rollup/bundlePreamble.js -------------------------------------------------------------------------------- /scripts/rollup/generateWebBuildEntryPoints.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/rollup/generateWebBuildEntryPoints.mjs -------------------------------------------------------------------------------- /scripts/rollup/rollup.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/rollup/rollup.config.mts -------------------------------------------------------------------------------- /scripts/testing/jest/moduleResolver.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/testing/jest/moduleResolver.cjs -------------------------------------------------------------------------------- /scripts/testing/resolver-options.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/testing/resolver-options.d.ts -------------------------------------------------------------------------------- /scripts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.base.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.prod.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.prod.cjs.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.prod.esm5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.prod.esm5.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.prod.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.prod.types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.prod.types.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.rollup.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.rollup.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.spec.json -------------------------------------------------------------------------------- /scripts/tsconfig/tsconfig.typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/tsconfig/tsconfig.typedoc.json -------------------------------------------------------------------------------- /scripts/utils/assertUnreachable.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/utils/assertUnreachable.mjs -------------------------------------------------------------------------------- /scripts/utils/environment/env.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/utils/environment/env.mjs -------------------------------------------------------------------------------- /scripts/utils/environment/install.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/utils/environment/install.mjs -------------------------------------------------------------------------------- /scripts/utils/uuid.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/scripts/utils/uuid.mjs -------------------------------------------------------------------------------- /src/constants/builtins.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/builtins.const.mts -------------------------------------------------------------------------------- /src/constants/empty.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/empty.const.mts -------------------------------------------------------------------------------- /src/constants/host-container.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/host-container.const.mts -------------------------------------------------------------------------------- /src/constants/minification/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/minification/README.md -------------------------------------------------------------------------------- /src/constants/minification/native-error.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/minification/native-error.const.mts -------------------------------------------------------------------------------- /src/constants/minification/native-null.const.mts: -------------------------------------------------------------------------------- 1 | export const NativeNull = null; 2 | -------------------------------------------------------------------------------- /src/constants/minification/strings.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/minification/strings.const.mts -------------------------------------------------------------------------------- /src/constants/service-defaults.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/service-defaults.const.mts -------------------------------------------------------------------------------- /src/constants/stamps/executable-token.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/stamps/executable-token.const.mts -------------------------------------------------------------------------------- /src/constants/type-wrapper.const.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/constants/type-wrapper.const.mts -------------------------------------------------------------------------------- /src/container-instance.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/container-instance.class.mts -------------------------------------------------------------------------------- /src/container-registry.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/container-registry.class.mts -------------------------------------------------------------------------------- /src/contrib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/README.md -------------------------------------------------------------------------------- /src/contrib/es/es-service.decorator.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/es/es-service.decorator.mts -------------------------------------------------------------------------------- /src/contrib/es/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/es/index.mts -------------------------------------------------------------------------------- /src/contrib/transient-ref/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/transient-ref/index.mts -------------------------------------------------------------------------------- /src/contrib/transient-ref/transient-ref-host.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/transient-ref/transient-ref-host.class.mts -------------------------------------------------------------------------------- /src/contrib/transient-ref/transient-ref.function.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/transient-ref/transient-ref.function.mts -------------------------------------------------------------------------------- /src/contrib/upstream/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/upstream/index.mts -------------------------------------------------------------------------------- /src/contrib/util/es-class-decorator.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/util/es-class-decorator.type.mts -------------------------------------------------------------------------------- /src/contrib/util/get-service-identifier-type.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/util/get-service-identifier-type.util.mts -------------------------------------------------------------------------------- /src/contrib/util/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/util/index.mts -------------------------------------------------------------------------------- /src/contrib/util/resolve-constrained-container.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/util/resolve-constrained-container.util.mts -------------------------------------------------------------------------------- /src/contrib/util/synchronous-disposable.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/contrib/util/synchronous-disposable.class.mts -------------------------------------------------------------------------------- /src/decorators/js-service.decorator.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/decorators/js-service.decorator.mts -------------------------------------------------------------------------------- /src/decorators/service.decorator.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/decorators/service.decorator.mts -------------------------------------------------------------------------------- /src/entry/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/entry/README.md -------------------------------------------------------------------------------- /src/entry/index.cts: -------------------------------------------------------------------------------- 1 | export * from './index.mjs'; 2 | -------------------------------------------------------------------------------- /src/entry/index.mts: -------------------------------------------------------------------------------- 1 | export * from '../index.mjs'; 2 | -------------------------------------------------------------------------------- /src/entry/web/README.md: -------------------------------------------------------------------------------- 1 | # Web Entry Points 2 | -------------------------------------------------------------------------------- /src/entry/web/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/entry/web/index.d.ts -------------------------------------------------------------------------------- /src/entry/web/web.full.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/entry/web/web.full.mts -------------------------------------------------------------------------------- /src/entry/web/web.minimal.mts: -------------------------------------------------------------------------------- 1 | export * from '../index.mjs'; 2 | -------------------------------------------------------------------------------- /src/error/cannot-instantiate-builtin-error.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/error/cannot-instantiate-builtin-error.mts -------------------------------------------------------------------------------- /src/error/cannot-instantiate-value.error.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/error/cannot-instantiate-value.error.mts -------------------------------------------------------------------------------- /src/error/container-registry-error.error.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/error/container-registry-error.error.mts -------------------------------------------------------------------------------- /src/error/service-not-found.error.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/error/service-not-found.error.mts -------------------------------------------------------------------------------- /src/executable-token.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/executable-token.class.mts -------------------------------------------------------------------------------- /src/functions/forward-ref.function.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/functions/forward-ref.function.mts -------------------------------------------------------------------------------- /src/functions/host-container.function.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/functions/host-container.function.mts -------------------------------------------------------------------------------- /src/functions/lazy.function.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/functions/lazy.function.mts -------------------------------------------------------------------------------- /src/functions/resolution-constraints.functions.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/functions/resolution-constraints.functions.mts -------------------------------------------------------------------------------- /src/index.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/index.mts -------------------------------------------------------------------------------- /src/interfaces/container-internals.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/container-internals.interface.mts -------------------------------------------------------------------------------- /src/interfaces/container-registry-map.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/container-registry-map.interface.mts -------------------------------------------------------------------------------- /src/interfaces/container-reset-options.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/container-reset-options.interface.mts -------------------------------------------------------------------------------- /src/interfaces/create-container-options.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/create-container-options.interface.mts -------------------------------------------------------------------------------- /src/interfaces/dependency-descriptor.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/dependency-descriptor.interface.mts -------------------------------------------------------------------------------- /src/interfaces/many-services-metadata.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/many-services-metadata.interface.mts -------------------------------------------------------------------------------- /src/interfaces/resolvable.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/resolvable.interface.mts -------------------------------------------------------------------------------- /src/interfaces/service-dependency.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/service-dependency.interface.mts -------------------------------------------------------------------------------- /src/interfaces/service-metadata.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/service-metadata.interface.mts -------------------------------------------------------------------------------- /src/interfaces/service-options-with-dependencies.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/service-options-with-dependencies.interface.mts -------------------------------------------------------------------------------- /src/interfaces/service-options.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/service-options.interface.mts -------------------------------------------------------------------------------- /src/interfaces/tree-visitor.interface.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/interfaces/tree-visitor.interface.mts -------------------------------------------------------------------------------- /src/token.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/token.class.mts -------------------------------------------------------------------------------- /src/types/abstract-constructable.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/abstract-constructable.type.mts -------------------------------------------------------------------------------- /src/types/any-constructable.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/any-constructable.type.mts -------------------------------------------------------------------------------- /src/types/constructable.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/constructable.type.mts -------------------------------------------------------------------------------- /src/types/container-identifier.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/container-identifier.type.mts -------------------------------------------------------------------------------- /src/types/container-scope.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/container-scope.type.mts -------------------------------------------------------------------------------- /src/types/create-container-result.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/create-container-result.type.mts -------------------------------------------------------------------------------- /src/types/disposable.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/disposable.type.mts -------------------------------------------------------------------------------- /src/types/extract-token.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/extract-token.type.mts -------------------------------------------------------------------------------- /src/types/infer-service-type.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/infer-service-type.type.mts -------------------------------------------------------------------------------- /src/types/inject-identifier.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/inject-identifier.type.mts -------------------------------------------------------------------------------- /src/types/multi-id-lookup-response.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/multi-id-lookup-response.type.mts -------------------------------------------------------------------------------- /src/types/resolution-constraint.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/resolution-constraint.type.mts -------------------------------------------------------------------------------- /src/types/service-factory.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/service-factory.type.mts -------------------------------------------------------------------------------- /src/types/service-identifier-location.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/service-identifier-location.type.mts -------------------------------------------------------------------------------- /src/types/service-identifier.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/service-identifier.type.mts -------------------------------------------------------------------------------- /src/types/type-wrapper.type.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/types/type-wrapper.type.mts -------------------------------------------------------------------------------- /src/utils/create-resolution-constraint-mask.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/utils/create-resolution-constraint-mask.util.mts -------------------------------------------------------------------------------- /src/utils/is-array.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/utils/is-array.util.mts -------------------------------------------------------------------------------- /src/utils/is-type-wrapper.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/utils/is-type-wrapper.util.mts -------------------------------------------------------------------------------- /src/utils/normalize-identifier.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/utils/normalize-identifier.util.mts -------------------------------------------------------------------------------- /src/utils/resolve-to-type-wrapper.util.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/utils/resolve-to-type-wrapper.util.mts -------------------------------------------------------------------------------- /src/utils/wrap-resolvable-dependency.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/utils/wrap-resolvable-dependency.mts -------------------------------------------------------------------------------- /src/visitor-collection.class.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/src/visitor-collection.class.mts -------------------------------------------------------------------------------- /test/Container.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/Container.spec.ts -------------------------------------------------------------------------------- /test/ContainerRegistry.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/ContainerRegistry.spec.ts -------------------------------------------------------------------------------- /test/contrib/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/contrib/es/es-service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/contrib/es/es-service.spec.ts -------------------------------------------------------------------------------- /test/contrib/es/test-utils/es-service-decorator-wrapper.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/contrib/es/test-utils/es-service-decorator-wrapper.util.ts -------------------------------------------------------------------------------- /test/contrib/es/test-utils/fake-context.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/contrib/es/test-utils/fake-context.util.ts -------------------------------------------------------------------------------- /test/contrib/transient-ref.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/contrib/transient-ref.spec.ts -------------------------------------------------------------------------------- /test/contrib/util/get-service-identifier-type.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/contrib/util/get-service-identifier-type.spec.ts -------------------------------------------------------------------------------- /test/contrib/util/synchronous-disposable.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/contrib/util/synchronous-disposable.spec.ts -------------------------------------------------------------------------------- /test/decorators/JSService.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/decorators/JSService.spec.ts -------------------------------------------------------------------------------- /test/decorators/Service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/decorators/Service.spec.ts -------------------------------------------------------------------------------- /test/decorators/service-es/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/decorators/service-es/README.md -------------------------------------------------------------------------------- /test/decorators/service-es/Service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/decorators/service-es/Service.spec.ts -------------------------------------------------------------------------------- /test/decorators/service-es/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/decorators/service-es/tsconfig.json -------------------------------------------------------------------------------- /test/eager-loading-services.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/eager-loading-services.spec.ts -------------------------------------------------------------------------------- /test/errors.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/errors.spec.ts -------------------------------------------------------------------------------- /test/features/container-inheritance.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/container-inheritance.spec.ts -------------------------------------------------------------------------------- /test/features/create-options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/create-options.spec.ts -------------------------------------------------------------------------------- /test/features/dependency-descriptor.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/dependency-descriptor.spec.ts -------------------------------------------------------------------------------- /test/features/executable-token.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/executable-token.spec.ts -------------------------------------------------------------------------------- /test/features/host-container.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/host-container.spec.ts -------------------------------------------------------------------------------- /test/features/lazy-and-forward-ref.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/lazy-and-forward-ref.spec.ts -------------------------------------------------------------------------------- /test/features/recursive-multi-ids.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/recursive-multi-ids.spec.ts -------------------------------------------------------------------------------- /test/features/resolution-constraints.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/resolution-constraints.spec.ts -------------------------------------------------------------------------------- /test/features/service-options-without-dependencies.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/service-options-without-dependencies.spec.ts -------------------------------------------------------------------------------- /test/features/set-value.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/set-value.spec.ts -------------------------------------------------------------------------------- /test/features/tree-visitor.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/features/tree-visitor.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-151-unable-to-define-type-when-setting-service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-151-unable-to-define-type-when-setting-service.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-157-container-reset-should-not-break-transient-services.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-157-container-reset-should-not-break-transient-services.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-41-possible-to-use-tokens-as-service-id-in-combination-with-factory.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-41-possible-to-use-tokens-as-service-id-in-combination-with-factory.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-48-token-service-ids-in-default-container-not-inherited-by-children.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-48-token-service-ids-in-default-container-not-inherited-by-children.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-53-token-based-services-are-cached-in-default-container-when-fetched-via-subcontainer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-53-token-based-services-are-cached-in-default-container-when-fetched-via-subcontainer.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-56-extended-classes-are-being-overwritten.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-56-extended-classes-are-being-overwritten.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-61-child-container-creates-a-new-instance-of-a-service-each-time-get-is-called.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-61-child-container-creates-a-new-instance-of-a-service-each-time-get-is-called.spec.ts -------------------------------------------------------------------------------- /test/github-issues/upstream/issue-87-container-does-not-throw-when-an-a-dependency-is-not-found.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/github-issues/upstream/issue-87-container-does-not-throw-when-an-a-dependency-is-not-found.spec.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /test/utils/add-names-to-test-cases.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/utils/add-names-to-test-cases.ts -------------------------------------------------------------------------------- /test/utils/create-array-of-numbers.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/utils/create-array-of-numbers.util.ts -------------------------------------------------------------------------------- /test/utils/create-deep-container-tree.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/utils/create-deep-container-tree.util.ts -------------------------------------------------------------------------------- /test/utils/create-random-name.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/utils/create-random-name.util.ts -------------------------------------------------------------------------------- /test/utils/create-test-name-from-github-issue.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/utils/create-test-name-from-github-issue.util.ts -------------------------------------------------------------------------------- /test/utils/has-own-property.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/test/utils/has-own-property.util.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freshgum-bubbles/typedi/HEAD/typedoc.config.cjs --------------------------------------------------------------------------------