@milaboratories/pl-deployments 2.16.6 → 2.17.0

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/dist/package.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var pl_version = "1.46.0";
2
+ var pl_version = "3.2.1";
3
3
  //#endregion
4
4
  Object.defineProperty(exports, "pl_version", {
5
5
  enumerable: true,
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var pl_version = "1.46.0";
2
+ var pl_version = "3.2.1";
3
3
  //#endregion
4
4
  export { pl_version };
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-deployments",
3
- "version": "2.16.6",
3
+ "version": "2.17.0",
4
4
  "description": "MiLaboratories Platforma Backend code service run wrapper",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",
@@ -32,9 +32,9 @@
32
32
  "yaml": "^2.8.0",
33
33
  "zod": "~3.25.76",
34
34
  "@milaboratories/pl-config": "1.7.17",
35
+ "@milaboratories/ts-helpers": "1.8.1",
35
36
  "@milaboratories/pl-http": "1.2.4",
36
- "@milaboratories/pl-model-common": "1.31.2",
37
- "@milaboratories/ts-helpers": "1.8.1"
37
+ "@milaboratories/pl-model-common": "1.31.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/decompress": "^4.2.7",
@@ -45,14 +45,14 @@
45
45
  "typescript": "~5.9.3",
46
46
  "utility-types": "^3.11.0",
47
47
  "vitest": "^4.1.3",
48
- "@milaboratories/build-configs": "2.0.0",
49
- "@milaboratories/ts-builder": "1.3.1",
50
- "@milaboratories/ts-configs": "1.2.3"
48
+ "@milaboratories/ts-builder": "1.3.2",
49
+ "@milaboratories/ts-configs": "1.2.3",
50
+ "@milaboratories/build-configs": "2.0.0"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=22.19.0"
54
54
  },
55
- "pl-version": "1.46.0",
55
+ "pl-version": "3.2.1",
56
56
  "scripts": {
57
57
  "build": "ts-builder build --target node",
58
58
  "watch": "ts-builder build --target node --watch",
@@ -5,7 +5,8 @@ license:
5
5
  logging:
6
6
  level: "info"
7
7
  destinations:
8
- - path: "platforma.log"
8
+ - type: "file"
9
+ path: "platforma.log"
9
10
 
10
11
  monitoring:
11
12
  listen: "127.0.0.1:11235"
@@ -18,15 +19,19 @@ core:
18
19
  extendedInfo: true
19
20
  dumpResourceData: true
20
21
 
22
+ tls:
23
+ enabled: false
21
24
  grpc:
22
25
  listen: "127.0.0.1:11234"
23
- tlsEnabled: false
24
-
25
26
  http:
26
27
  listen: "127.0.0.1:11233"
27
28
 
28
- authEnabled: false
29
- auth: []
29
+ authEnabled: true
30
+ auth:
31
+ - driver: jwt
32
+ key: "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
33
+ - driver: htpasswd
34
+ path: "users.htpasswd"
30
35
  db:
31
36
  path: "./db"
32
37
 
@@ -133,6 +133,7 @@ async function prepareDirForTestConfig() {
133
133
  await fs.mkdir(upath.join(dir, "storages", "work"), { recursive: true });
134
134
  await fs.mkdir(upath.join(dir, "storages", "main"), { recursive: true });
135
135
  await fs.mkdir(upath.join(dir, "packages"), { recursive: true });
136
+ await fs.writeFile(upath.join(dir, "users.htpasswd"), "testuser:testpassword");
136
137
 
137
138
  return dir;
138
139
  }