Skip to content

Commit

Permalink
fix: Export U functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jzck committed Aug 5, 2024
1 parent 1a28159 commit 79d1729
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { calcul_3cl } from './src/index.js';
export { calcul_3cl };
import { Umur, Uph, Upb, Uporte, Ubv, Upt } from 'src/3_deperdition.js';
import { Umur, Uph, Upb, Uporte, Ubv, Upt } from './src/3_deperdition.js';
export { Umur, Uph, Upb, Uporte, Ubv, Upt };
2 changes: 1 addition & 1 deletion src/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function calcul_3cl(dpe) {

// TODO commit version to package.json during release process
const package_version = require('../package.json').version;
dpe.administratif.diagnostiqueur = { version_moteur_calcul: `Open3cl v${package_version}` };
dpe.administratif.diagnostiqueur = { version_moteur_calcul: `Open3CL v${package_version}` };
const env = logement.enveloppe;
let Sh;
// TODO requestInput Sh
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { calcul_3cl } from './engine.js';

export { calcul_3cl };
import { Umur, Uph, Upb, Uporte, Ubv, Upt } from './3_deperdition.js';
export { Umur, Uph, Upb, Uporte, Ubv, Upt };

0 comments on commit 79d1729

Please sign in to comment.