build: fix ihm_client build (config import Vite); bump 1.1.1; update CHANGELOG (docker-support-v2)

This commit is contained in:
Debian 2025-09-02 08:22:42 +00:00
parent b9580c0113
commit 7e3d160d5c
5 changed files with 41 additions and 32 deletions

View File

@ -1,3 +1,4 @@
## 1.1.1 - Correction build (config Vite) pour docker-support-v2
# Changelog - ihm_client
Tous les changements notables de ce projet seront documentés dans ce fichier.

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "sdk_client",
"version": "1.1.0",
"version": "1.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "sdk_client",
"version": "1.1.0",
"version": "1.1.1",
"license": "ISC",
"dependencies": {
"@angular/elements": "^19.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "sdk_client",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "dist/index.js",
"scripts": {

7
src/config.ts Normal file
View File

@ -0,0 +1,7 @@
export const config = {
api: {
baseUrl: (import.meta as any).env?.VITE_BASE_URL || process.env.VITE_BASE_URL || 'http://localhost'
}
};
export default config;

View File

@ -6,6 +6,7 @@ import ModalService from './modal.service';
import Database from './database.service';
import { navigate } from '../router';
import { storeData, retrieveData, testData } from './storage.service';
import config from '../config';
import { BackUp } from '~/models/backup.model';
export const U32_MAX = 4294967295;