@vita-mojo/aggregator 1.11.0 → 1.14.0-7745
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/main.js.enc +0 -0
- package/main.js.map.enc +0 -0
- package/package.json +3 -2
- package/postinstall.js +1 -3
package/main.js.enc
CHANGED
|
Binary file
|
package/main.js.map.enc
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vita-mojo/aggregator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0-7745",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node postinstall.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@vita-mojo/amounts": "0.0.
|
|
9
|
+
"@vita-mojo/amounts": "^0.0.45",
|
|
10
10
|
"@vita-mojo/basket-quantifier": "0.0.7",
|
|
11
11
|
"@vita-mojo/proportional-distribution": "^1.1.1",
|
|
12
12
|
"@vita-mojo/services-logger": "^1.0.1",
|
|
13
13
|
"@vita-mojo/state-machine": "1.0.8",
|
|
14
|
+
"@vita-mojo/types": "^1.0.50",
|
|
14
15
|
"class-transformer": "0.5.1",
|
|
15
16
|
"class-validator": "0.14.0",
|
|
16
17
|
"currency.js": "^2.0.4",
|
package/postinstall.js
CHANGED
|
@@ -9,9 +9,7 @@ const crypto = require('crypto');
|
|
|
9
9
|
* Load environment variables from .env file
|
|
10
10
|
*/
|
|
11
11
|
function loadEnvFile() {
|
|
12
|
-
|
|
13
|
-
const repoRoot = path.resolve(__dirname, '../../../..');
|
|
14
|
-
const envFilePath = path.join(repoRoot, '.env');
|
|
12
|
+
const envFilePath = path.resolve(process.env.INIT_CWD, '.env');
|
|
15
13
|
|
|
16
14
|
if (!fs.existsSync(envFilePath)) {
|
|
17
15
|
console.log('ℹ No .env file found in repo root');
|