Skip to content

Commit

Permalink
refactor: Removed explicit support for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed May 29, 2024
1 parent 4b7e951 commit 4e89257
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 1,234 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,3 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: npm run build

test-deno:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: denolib/setup-deno@v2
with:
deno-version: v1.x
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deno Test
run: npm run test-deno
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@ Packages can be used as [UMD](https://github.com/umdjs/umd) modules. Use
</script>
```

`ditox` package is available for Deno environment:

```typescript
import {createContainer} from 'https://deno.land/x/ditox/mod.ts';

const container = createContainer();
```

### Basic concepts

- **Token** specifies a future injection of an "internal" implementation with a
Expand Down
2 changes: 0 additions & 2 deletions mod.ts

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"lint:eslint": "eslint \"packages/*/{src,test*}/**\"",
"lint:tsc": "tsc --noEmit --jsx react",
"test": "jest",
"test-deno": "npm run -w ditox test-deno",
"build": "npm run -ws build",
"build-docs": "npm run build && typedoc",
"pack": "npm run build && mkdir -p dist && npm exec -ws -c 'npm pack --pack-destination ../../dist'",
Expand Down
8 changes: 0 additions & 8 deletions packages/ditox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ The package can be used as [UMD](https://github.com/umdjs/umd) module. Use
</script>
```

Using in Deno environment:

```ts
import {createContainer} from 'https://deno.land/x/ditox/mod.ts';

const container = createContainer();
```

## General description

DI pattern in general allows to declare and construct a code graph of an
Expand Down
Loading

0 comments on commit 4e89257

Please sign in to comment.