@signageos/lib 10.16.0-master.1825 → 10.17.0-master.1861

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +5 -1
package/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
  ### Added
9
+ - Test coverage tool `c8`
10
+ - `IsDefinedForEnvironment` check function
11
+
12
+ ## [10.16.0] - 2023-04-26
13
+ ### Added
9
14
  - Option to globally switch debugDecorator to serialize logged method arguments so that the entire log fits in one line
10
15
 
11
16
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signageos/lib",
3
- "version": "10.16.0-master.1825",
3
+ "version": "10.17.0-master.1861",
4
4
  "main": "./dist",
5
5
  "files": [
6
6
  "tools",
@@ -22,6 +22,7 @@
22
22
  "prebuild": "rm -rf dist/*",
23
23
  "prepare": "npm run prebuild && npm run build",
24
24
  "test": "NODE_ENV=test mocha --opts mocha.opts",
25
+ "test:coverage": "c8 npm run test",
25
26
  "test-connections": "DEBUG=@signageos/lib:Events:genericGracefulExit NODE_ENV=test mocha --allow-uncaught --opts mochaConnections.opts",
26
27
  "test-rabbit-connection": "DEBUG=@signageos/lib:Events:genericGracefulExit NODE_ENV=test node_modules/.bin/mocha --require should --require should-sinon --require ts-node/register --ui bdd --watch-extensions ts --timeout 120000 tests/**/rabbitmqGracefulExit.connection-spec.ts",
27
28
  "watch": "tsc --watch",
@@ -59,7 +60,9 @@
59
60
  },
60
61
  "devDependencies": {
61
62
  "@influxdata/influxdb-client": "1.16.0",
63
+ "@istanbuljs/nyc-config-typescript": "1.0.2",
62
64
  "@signageos/codestyle": "0.0.22",
65
+ "@signageos/common-types": "2.16.0",
63
66
  "@types/amqplib": "0.5.13",
64
67
  "@types/async-lock": "1.1.1",
65
68
  "@types/debug": "0.0.29",
@@ -86,6 +89,7 @@
86
89
  "@types/ws": "6.0.4",
87
90
  "amqplib": "0.6.0",
88
91
  "azure-storage": "2.7.0",
92
+ "c8": "7.13.0",
89
93
  "debug": "2.6.9",
90
94
  "depcheck": "1.4.3",
91
95
  "express": "4.16.4",