@lastbrain/app 0.1.32 → 0.1.33

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.
@@ -211,10 +211,18 @@ function getLastBrainVersions(targetDir) {
211
211
  const moduleAuthPkg = JSON.parse(fs.readFileSync(moduleAuthPkgPath, "utf-8"));
212
212
  moduleAuthVersion = `^${moduleAuthPkg.version}`;
213
213
  }
214
+ else {
215
+ // Fallback: utiliser latest pour éviter les problèmes de versions
216
+ moduleAuthVersion = "latest";
217
+ }
214
218
  if (fs.existsSync(moduleAiPkgPath)) {
215
219
  const moduleAiPkg = JSON.parse(fs.readFileSync(moduleAiPkgPath, "utf-8"));
216
220
  moduleAiVersion = `^${moduleAiPkg.version}`;
217
221
  }
222
+ else {
223
+ // Fallback: utiliser latest pour éviter les problèmes de versions
224
+ moduleAiVersion = "latest";
225
+ }
218
226
  if (fs.existsSync(corePkgPath)) {
219
227
  const corePkg = JSON.parse(fs.readFileSync(corePkgPath, "utf-8"));
220
228
  coreVersion = `^${corePkg.version}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lastbrain/app",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "Framework modulaire Next.js avec CLI et système de modules",
5
5
  "private": false,
6
6
  "type": "module",
@@ -304,6 +304,9 @@ function getLastBrainVersions(targetDir: string): {
304
304
  fs.readFileSync(moduleAuthPkgPath, "utf-8"),
305
305
  );
306
306
  moduleAuthVersion = `^${moduleAuthPkg.version}`;
307
+ } else {
308
+ // Fallback: utiliser latest pour éviter les problèmes de versions
309
+ moduleAuthVersion = "latest";
307
310
  }
308
311
 
309
312
  if (fs.existsSync(moduleAiPkgPath)) {
@@ -311,6 +314,9 @@ function getLastBrainVersions(targetDir: string): {
311
314
  fs.readFileSync(moduleAiPkgPath, "utf-8"),
312
315
  );
313
316
  moduleAiVersion = `^${moduleAiPkg.version}`;
317
+ } else {
318
+ // Fallback: utiliser latest pour éviter les problèmes de versions
319
+ moduleAiVersion = "latest";
314
320
  }
315
321
 
316
322
  if (fs.existsSync(corePkgPath)) {