Skip to content

Commit a15e825

Browse files
committed
feat: updated deps & github actions workflow
1 parent 6ea6022 commit a15e825

File tree

13 files changed

+1708
-1504
lines changed

13 files changed

+1708
-1504
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
node-version: [lts/*]
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Run tests
28+
run: npm test

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.dockerignore
44
.codebeatignore
55
.codebeatsettings
6+
.github
67

78
.ssh/
89
dist/

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

LICENSE

Lines changed: 585 additions & 13 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @imqueue/type-graphql-dependency
22

3-
[![Build Status](https://travis-ci.com/type-graphql-dependency/type-graphql-dependency.svg?branch=master)](https://travis-ci.com/imqueue/type-graphql-dependency)
3+
[![Build Status](https://img.shields.io/github/actions/workflow/status/imqueue/type-graphql-dependency/build.yml)](https://github.com/imqueue/type-graphql-dependency)
44
[![License](https://img.shields.io/badge/license-ISC-blue.svg)](https://rawgit.com/imqueue/type-graphql-dependency/master/LICENSE)
55

66
Adoption of @imqueue/graphql-dependency for use with type-graphql.
@@ -85,6 +85,7 @@ const schema = await buildSchema({
8585
// so now all deps initialized within schema
8686
~~~
8787

88-
# License
88+
## License
8989

90-
[ISC](https://github.com/imqueue/type-graphql-dependency/blob/master/LICENSE)
90+
This project is licensed under the GNU General Public License v3.0.
91+
See the [LICENSE](LICENSE)

index.ts

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
/*!
22
* @imqueue/type-graphql-dependency - Declarative GraphQL dependency loading
33
*
4-
* Copyright (c) 2019, imqueue.com <[email protected]>
4+
* I'm Queue Software Project
5+
* Copyright (C) 2025 imqueue.com <[email protected]>
56
*
6-
* Permission to use, copy, modify, and/or distribute this software for any
7-
* purpose with or without fee is hereby granted, provided that the above
8-
* copyright notice and this permission notice appear in all copies.
7+
* This program is free software: you can redistribute it and/or modify
8+
* it under the terms of the GNU General Public License as published by
9+
* the Free Software Foundation, either version 3 of the License, or
10+
* (at your option) any later version.
911
*
10-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11-
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12-
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13-
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14-
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15-
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16-
* PERFORMANCE OF THIS SOFTWARE.
12+
* This program is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
* GNU General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU General Public License
18+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19+
*
20+
* If you want to use this code in a closed source (commercial) project, you can
21+
* purchase a proprietary commercial license. Please contact us at
22+
* <[email protected]> to get commercial licensing options.
1723
*/
1824
export * from './src';

0 commit comments

Comments
 (0)