@villedemontreal/general-utils 5.16.3 → 5.16.4

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.
@@ -9,7 +9,7 @@ const path = require("path");
9
9
  class Constants {
10
10
  constructor() {
11
11
  // From the "dist/src/config" folder
12
- this.libRoot = path.normalize(__dirname + '/../../..');
12
+ this.libRoot = path.normalize(__dirname + '/../..');
13
13
  this.appRoot = app_root_path_1.path;
14
14
  }
15
15
  // ==========================================
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/config/constants.ts"],"names":[],"mappings":";;;AAAA,iDAAgD;AAChD,6BAA6B;AAE7B;;GAEG;AACH,MAAa,SAAS;IAgBpB;QACE,oCAAoC;QACpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,GAAG,WAAW,CAAC,CAAC;QACvD,IAAI,CAAC,OAAO,GAAG,oBAAO,CAAC;IACzB,CAAC;IAED,6CAA6C;IAC7C,+BAA+B;IAC/B,6CAA6C;IAC7C,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,OAAO,GAAG,YAAY,CAAC;IACrC,CAAC;CACF;AA5BD,8BA4BC;AAEU,QAAA,SAAS,GAAc,IAAI,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/config/constants.ts"],"names":[],"mappings":";;;AAAA,iDAAgD;AAChD,6BAA6B;AAE7B;;GAEG;AACH,MAAa,SAAS;IAgBpB;QACE,oCAAoC;QACpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,GAAG,QAAQ,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,GAAG,oBAAO,CAAC;IACzB,CAAC;IAED,6CAA6C;IAC7C,+BAA+B;IAC/B,6CAA6C;IAC7C,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,OAAO,GAAG,YAAY,CAAC;IACrC,CAAC;CACF;AA5BD,8BA4BC;AAEU,QAAA,SAAS,GAAc,IAAI,SAAS,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@villedemontreal/general-utils",
3
- "version": "5.16.3",
3
+ "version": "5.16.4",
4
4
  "description": "General utilities library",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/src",
@@ -10,10 +10,8 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "start": "node run test",
13
- "test": "node run test",
14
- "compile": "node run compile",
15
- "prepare": "",
16
- "prepublishOnly": "",
13
+ "test": "mocha --require ts-node/register ./**/*.test.ts",
14
+ "compile": "tsc --build",
17
15
  "lint": "node run lint",
18
16
  "lint-fix": "node run lint-fix",
19
17
  "tslint": "node run tslint",
@@ -59,13 +57,13 @@
59
57
  "@types/sinon": "9.0.4",
60
58
  "@types/uuid": "8.0.0",
61
59
  "@villedemontreal/lint-config": "1.7.5",
62
- "@villedemontreal/scripting": "1.4.5",
63
60
  "chai": "4.2.0",
64
61
  "fs-extra": "9.0.1",
65
- "mocha": "8.4.0",
62
+ "mocha": "9.2.2",
66
63
  "mocha-jenkins-reporter": "0.4.5",
67
64
  "sinon": "9.0.2",
68
65
  "source-map-support": "0.5.19",
66
+ "ts-node": "^10.7.0",
69
67
  "tslint": "6.1.2",
70
68
  "typescript": "3.9.5",
71
69
  "uuid": "8.1.0"
@@ -22,7 +22,7 @@ export class Constants {
22
22
 
23
23
  constructor() {
24
24
  // From the "dist/src/config" folder
25
- this.libRoot = path.normalize(__dirname + '/../../..');
25
+ this.libRoot = path.normalize(__dirname + '/../..');
26
26
  this.appRoot = appRoot;
27
27
  }
28
28