Skip to content

Commit f45b5d9

Browse files
committed
feat: updated deps & github actions workflow & licence
1 parent e25fe9c commit f45b5d9

31 files changed

+1855
-1570
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 & 13 deletions
This file was deleted.

LICENSE

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

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
</a>
66
</h1>
77
<div align="center">
8-
<a href="https://travis-ci.com/imqueue/pg-pubsub">
9-
<img src="https://travis-ci.com/imqueue/pg-pubsub.svg?branch=master" alt="Build Status">
8+
<a href="https://github.com/imqueue/pg-pubsub">
9+
<img src="https://img.shields.io/github/actions/workflow/status/imqueue/pg-pubsub/build.yml" alt="Build Status">
1010
</a>
1111
<a href="https://codebeat.co/projects/github-com-imqueue-pg-pubsub-master">
1212
<img src="https://codebeat.co/badges/579f6d7c-df61-4bc2-aa2e-d4fa9a3abf5a" alt="Codebeat Grade">
@@ -20,8 +20,8 @@
2020
<a href="https://coveralls.io/github/imqueue/pg-pubsub?branch=master">
2121
<img src="https://coveralls.io/repos/github/imqueue/pg-pubsub/badge.svg?branch=master" alt="Coverage Status">
2222
</a>
23-
<a href="https://rawgit.com/imqueue/core/master/LICENSE">
24-
<img src="https://img.shields.io/badge/license-ISC-blue.svg" alt="Coverage Status">
23+
<a href="https://rawgit.com/imqueue/pg-pubsub/master/LICENSE">
24+
<img src="https://img.shields.io/badge/license-GPL-blue.svg" alt="Coverage Status">
2525
</a>
2626
</div>
2727
<hr>
@@ -328,6 +328,7 @@ accepted!
328328

329329
## License
330330

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

333334
Happy Coding!

index.ts

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
/*!
22
* Copyright (c) 2018, imqueue.com <[email protected]>
33
*
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.
4+
* I'm Queue Software Project
5+
* Copyright (C) 2025 imqueue.com <[email protected]>
76
*
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.
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.
11+
*
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.
1523
*/
1624
export * from './src';

0 commit comments

Comments
 (0)