@open3cl/engine 1.3.17 → 1.3.18
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/engine.js +3 -3
- package/package.json +6 -4
package/engine.js
CHANGED
|
@@ -20,7 +20,7 @@ import { Inertie } from './7_inertie.js';
|
|
|
20
20
|
import getFicheTechnique from './ficheTechnique.js';
|
|
21
21
|
import { ProductionENR } from './16.2_production_enr.js';
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
const LIB_VERSION = 'undefined';
|
|
24
24
|
|
|
25
25
|
function calc_th(map_id) {
|
|
26
26
|
const map = enums.methode_application_dpe_log[map_id];
|
|
@@ -35,7 +35,7 @@ const inertie = new Inertie();
|
|
|
35
35
|
const productionENR = new ProductionENR();
|
|
36
36
|
|
|
37
37
|
export function getVersion() {
|
|
38
|
-
return
|
|
38
|
+
return LIB_VERSION;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
export function calcul_3cl(dpe) {
|
|
@@ -98,7 +98,7 @@ export function calcul_3cl(dpe) {
|
|
|
98
98
|
|
|
99
99
|
add_references(logement.enveloppe);
|
|
100
100
|
|
|
101
|
-
dpe.administratif.diagnostiqueur = { version_moteur_calcul: `Open3CL ${
|
|
101
|
+
dpe.administratif.diagnostiqueur = { version_moteur_calcul: `Open3CL ${getVersion()}` };
|
|
102
102
|
const env = logement.enveloppe;
|
|
103
103
|
let Sh;
|
|
104
104
|
let ShChauffageAndEcs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open3cl/engine",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.18",
|
|
4
4
|
"description": "Open Source 3CL-DPE engine",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"release": "semantic-release",
|
|
25
25
|
"release:dry": "semantic-release --dry-run",
|
|
26
26
|
"prepare": "husky install",
|
|
27
|
-
"assets:sync": "node scripts/synchronize_assets.js"
|
|
27
|
+
"assets:sync": "node scripts/synchronize_assets.js",
|
|
28
|
+
"version:update": "node scripts/update_version.js"
|
|
28
29
|
},
|
|
29
30
|
"repository": {
|
|
30
31
|
"type": "git",
|
|
@@ -47,8 +48,9 @@
|
|
|
47
48
|
"@commitlint/cz-commitlint": "^19.2.0",
|
|
48
49
|
"@duckdb/node-api": "^1.3.2-alpha.25",
|
|
49
50
|
"@semantic-release/changelog": "^6.0.3",
|
|
51
|
+
"@semantic-release/exec": "^7.1.0",
|
|
50
52
|
"@semantic-release/git": "^10.0.1",
|
|
51
|
-
"@semantic-release/github": "^
|
|
53
|
+
"@semantic-release/github": "^12.0.2",
|
|
52
54
|
"@types/node": "^20.12.4",
|
|
53
55
|
"@vitest/coverage-v8": "^3.0.6",
|
|
54
56
|
"ansi-colors": "^4.1.3",
|
|
@@ -68,7 +70,7 @@
|
|
|
68
70
|
"piscina": "^5.1.2",
|
|
69
71
|
"prettier": "^3.2.5",
|
|
70
72
|
"pretty-quick": "^4.0.0",
|
|
71
|
-
"semantic-release": "^
|
|
73
|
+
"semantic-release": "^25.0.2",
|
|
72
74
|
"vitest": "3.0.6",
|
|
73
75
|
"xlsx": "0.18.5"
|
|
74
76
|
},
|