Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: current
- run: bash .ci/runChecks.sh
Expand All @@ -20,14 +20,12 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: current
registry-url: https://registry.npmjs.org/
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run build
- run: npx enhanced-publish --if-possible --use-preid-as-tag
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
needs: ['run-checks']
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: current
- run: bash .ci/runChecks.sh

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: current
- run: npm ci
Expand Down
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@ It can be used on browser, on react native or on node.js server code.

**Table of Contents**

- [IoC Container for Typescript](#)
- [Installation](#installation)
- [Configuration](#configuration)
- [Basic Usage](#basic-usage)
- [Scopes](#scopes)
- [Singleton Scope](#singleton)
- [Request Scope](#inrequestscope)
- [Local Scope](#local-scope)
- [Custom Scopes](#custom-scopes)
- [@Factory](#factories)
- [@OnlyInstantiableByContainer](#the-onlyinstantiablebycontainer-annotation)
- [The Container Class](#the-container-class)
- [@InjectValue decorator and Constants](#injectvalue-decorator-and-constants)
- [Namespaces (Environments)](#namespaces-environments)
- [Creating temporary configurations](#creating-temporary-configurations)
- [Importing configurations from external file](#importing-configurations-from-external-file)
- [A note about classes and interfaces](#a-note-about-classes-and-interfaces)
- [Examples](#examples)
- [Using Container for testing](#using-container-for-testing)
- [Using Namespaces](#using-namespaces)
- [Browser usage](#browser-usage)
- [Restrictions](#restrictions)
- [Migrating from previous version](#migrating-from-previous-version)
- [IoC Container for Typescript](#)
- [Installation](#installation)
- [Configuration](#configuration)
- [Basic Usage](#basic-usage)
- [Scopes](#scopes)
- [Singleton Scope](#singleton)
- [Request Scope](#inrequestscope)
- [Local Scope](#local-scope)
- [Custom Scopes](#custom-scopes)
- [@Factory](#factories)
- [@OnlyInstantiableByContainer](#the-onlyinstantiablebycontainer-annotation)
- [The Container Class](#the-container-class)
- [@InjectValue decorator and Constants](#injectvalue-decorator-and-constants)
- [Namespaces (Environments)](#namespaces-environments)
- [Creating temporary configurations](#creating-temporary-configurations)
- [Importing configurations from external file](#importing-configurations-from-external-file)
- [A note about classes and interfaces](#a-note-about-classes-and-interfaces)
- [Examples](#examples)
- [Using Container for testing](#using-container-for-testing)
- [Using Namespaces](#using-namespaces)
- [Browser usage](#browser-usage)
- [Restrictions](#restrictions)
- [Migrating from previous version](#migrating-from-previous-version)

## Installation

Expand Down Expand Up @@ -709,7 +709,7 @@ Starting from version 2, this library only works in browsers that supports javas

## Restrictions

- Circular injections are not supported
- Circular injections are not supported

## Migrating from previous version

Expand Down
Loading