Skip to content

Commit 729b5dc

Browse files
committed
feat: updated deps & github actions workflow & licence
1 parent 4148bc3 commit 729b5dc

File tree

15 files changed

+2417
-2946
lines changed

15 files changed

+2417
-2946
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
@@ -1,4 +1,5 @@
11
.gitignore
2+
.github
23
.travis.yml
34
.dockerignore
45
.ssh/

.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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ accepted!
172172

173173
## License
174174

175-
[ISC](https://github.com/imqueue/pg-pubsub/blob/master/LICENSE)
175+
This project is licensed under the GNU General Public License v3.0.
176+
See the [LICENSE](LICENSE)
176177

177178
Happy Coding!

index.ts

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

0 commit comments

Comments
 (0)