@signageos/lib 10.2.1 → 10.2.2-master.1578

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 CHANGED
@@ -4,6 +4,10 @@ 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
+ ### Fixed
9
+ - Tool `version-upgrade` new works properly event for `package-lock.json` files with new Node 16 format.
10
+
7
11
  ## [10.2.1] - 2022-09-02
8
12
  ### Fixed
9
13
  - Password encryption limitation for `preEncryptPassword` result only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signageos/lib",
3
- "version": "10.2.1",
3
+ "version": "10.2.2-master.1578",
4
4
  "main": "./dist",
5
5
  "files": [
6
6
  "tools",
@@ -18,7 +18,7 @@
18
18
  "build": "tsc",
19
19
  "lint": "tslint --config node_modules/@signageos/codestyle/tslint.json {src,tests}/**/*.{ts,tsx}",
20
20
  "prebuild": "rm -rf dist/*",
21
- "prepublish": "npm run prebuild && npm run build",
21
+ "prepare": "npm run prebuild && npm run build",
22
22
  "test": "NODE_ENV=test mocha --opts mocha.opts",
23
23
  "test-connections": "DEBUG=@signageos/lib:Events:genericGracefulExit NODE_ENV=test mocha --allow-uncaught --opts mochaConnections.opts",
24
24
  "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",
@@ -18,6 +18,9 @@ if (!nextVersion) {
18
18
  package.version = nextVersion;
19
19
  if (packageLock) {
20
20
  packageLock.version = nextVersion;
21
+ if (packageLock.packages?.['']) {
22
+ packageLock.packages?.[''].version = nextVersion;
23
+ }
21
24
  }
22
25
 
23
26
  fs.writeFileSync(packagePath, JSON.stringify(package, null, 2) + "\n");