@signageos/lib 10.22.0 → 10.23.0-master.2033
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +7 -4
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
### Added
|
|
9
|
+
- Common reusable implementation of a service
|
|
10
|
+
- Methods for getting current and next timeout of the progressiveWait function
|
|
11
|
+
|
|
7
12
|
## [10.22.0] - 2023-08-09
|
|
8
13
|
### Added
|
|
9
14
|
- `nonConcurrentInterval`
|
|
@@ -55,6 +60,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
55
60
|
## [10.16.0] - 2023-04-26
|
|
56
61
|
### Added
|
|
57
62
|
- Option to globally switch debugDecorator to serialize logged method arguments so that the entire log fits in one line
|
|
63
|
+
- Methods for getting current and next timeout of the `progressiveWait` function
|
|
58
64
|
|
|
59
65
|
### Fixed
|
|
60
66
|
- `waitUntil` function enhancement
|
package/README.md
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
# General Library
|
|
2
|
-
|
|
3
2
|
This repository contains all sets of generic TypeScript tools and utils for different technologies, like databases: 'MongoDB, AMQP (RabbitMQ), Redis, PostgreSQL, InfluxDB', monitoring in Prometheus, wrappers and helpers for Azure SDK, Browser Storage, time management, observables, async iterators and a lot more.
|
|
4
3
|
|
|
5
4
|
It's published as an npm library @signageos/lib that can be used in any project that requires and is using those technologies to simplify the business logic.
|
|
6
5
|
|
|
7
6
|
The library could be potentially separated into more libraries with a single purpose in the future. Currently, keeping the library in one package is still more practical than maintaining it separately.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
> :information_source: If you are not logged in, run `docker login https://registry.gitlab.com/ -u YOUR_USERNAME@signageos.io -p YOUR_PERSONAL_ACCESS_TOKEN`
|
|
9
|
+
|
|
10
|
+
1) `docker-compose up -d`
|
|
11
|
+
2)
|
|
11
12
|
```
|
|
13
|
+
cat >> config/env.test.json << EOF
|
|
12
14
|
{
|
|
13
15
|
"amqp_dsn": "amqp://guest:guest@localhost:5672/",
|
|
14
16
|
"redis_dsn": "redis://localhost:6379",
|
|
15
17
|
"mongo_db_dsn": "mongodb://localhost:27017/test",
|
|
16
18
|
"postgres_dsn": "postgres://postgres:postgres@localhost:5432/test"
|
|
17
19
|
}
|
|
20
|
+
EOF
|
|
18
21
|
```
|
|
19
|
-
3)
|
|
22
|
+
3) `npm test`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signageos/lib",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.23.0-master.2033",
|
|
4
4
|
"main": "./dist",
|
|
5
5
|
"files": [
|
|
6
6
|
"tools",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"@types/mocha": "2.2.41",
|
|
74
74
|
"@types/mongoose": "5.7.21",
|
|
75
75
|
"@types/node": "12.12.28",
|
|
76
|
+
"@types/node-fetch": "2.6.4",
|
|
76
77
|
"@types/raven": "2.5.1",
|
|
77
78
|
"@types/redis": "2.8.16",
|
|
78
79
|
"@types/rsync": "0.4.30",
|
|
@@ -97,6 +98,7 @@
|
|
|
97
98
|
"mocha": "3.5.3",
|
|
98
99
|
"mongodb": "3.3.3",
|
|
99
100
|
"mongoose": "5.9.16",
|
|
101
|
+
"node-fetch": "2.6.12",
|
|
100
102
|
"pg": "7.12.1",
|
|
101
103
|
"pg-promise": "10.11.0",
|
|
102
104
|
"prettier": "2.5.1",
|