libmodulor 0.15.0 → 0.16.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/CHANGELOG.md CHANGED
@@ -1,7 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.16.0 (2025-05-27)
4
+
5
+ **BREAKING**
6
+
7
+ - Make `pnpm` (in replacement of `yarn`) the default package manager in `npx libmodulor CreateProject`
8
+
3
9
  ## v0.15.0 (2025-05-25)
4
10
 
11
+ **Added**
12
+
5
13
  - In `LLMManager`, allow to pass the `apiKey` directly in the request. It precedes the settings value defined at the implementation level
6
14
  - In `target/react`, add optional `className` to stylable components
7
15
  - In `target/web`, handle use case input field initial value
package/README.md CHANGED
@@ -17,4 +17,4 @@ If you think you can help in any way, feel free to contact me (cf. `author` in `
17
17
 
18
18
  ## ⚖️ License
19
19
 
20
- [LGPL-3.0](https://github.com/c100k/libmodulor/blob/v0.15.0/LICENSE)
20
+ [LGPL-3.0](https://github.com/c100k/libmodulor/blob/v0.16.0/LICENSE)
@@ -42,8 +42,8 @@ export const PACKAGE_JSON = (name) => `{
42
42
  },
43
43
  "devDependencies": {
44
44
  "@biomejs/biome": "^1.9.4",
45
- "@types/node": "^22.15.19",
46
- "@vitest/coverage-v8": "^3.1.3",
45
+ "@types/node": "^22.15.21",
46
+ "@vitest/coverage-v8": "^3.1.4",
47
47
  "buffer": "^6.0.3",
48
48
  "cookie-parser": "^1.4.7",
49
49
  "express": "^5.1.0",
@@ -53,7 +53,7 @@ export const PACKAGE_JSON = (name) => `{
53
53
  "jose": "^6.0.11",
54
54
  "typescript": "^5.8.3",
55
55
  "vite": "^6.3.5",
56
- "vitest": "^3.1.3"
56
+ "vitest": "^3.1.4"
57
57
  }
58
58
  }
59
59
  `;
@@ -156,7 +156,7 @@ export const CreateProjectUCD = {
156
156
  min: 0,
157
157
  },
158
158
  type: new TFileName()
159
- .setDefaultValue('yarn')
159
+ .setDefaultValue('pnpm')
160
160
  .setExamples(['bun', 'npm', 'pnpm', 'yarn']),
161
161
  },
162
162
  projectName: {
@@ -1,7 +1,7 @@
1
1
  import type { FilePath } from '../dt/index.js';
2
2
  import type { Worker } from './Worker.js';
3
3
  export type ShellCommandExecutorCommandArg = string;
4
- export type ShellCommandExecutorCommandBin = 'docker' | 'file' | 'git' | 'open' | 'ssh-keygen' | 'ssh-keyscan' | 'unzip' | 'yarn' | 'zip' | (string & {});
4
+ export type ShellCommandExecutorCommandBin = 'bun' | 'docker' | 'file' | 'git' | 'npm' | 'open' | 'pnpm' | 'ssh-keygen' | 'ssh-keyscan' | 'unzip' | 'yarn' | 'zip' | (string & {});
5
5
  export type ShellCommandExecutorEnv = Record<string, string>;
6
6
  export type ShellCommandExecutorInstruction = string;
7
7
  export type ShellCommandExecutorScript = string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "libmodulor",
3
3
  "description": "A TypeScript library to create platform-agnostic applications",
4
- "version": "0.15.0",
4
+ "version": "0.16.0",
5
5
  "license": "LGPL-3.0",
6
6
  "author": "Chafik H'nini <chafik.hnini@gmail.com>",
7
7
  "homepage": "https://libmodulor.c100k.eu",
@@ -81,8 +81,8 @@
81
81
  "@biomejs/biome": "^1.9.4"
82
82
  },
83
83
  "peerDependencies": {
84
- "@hono/node-server": "^1.14.1",
85
- "@modelcontextprotocol/sdk": "^1.11.4",
84
+ "@hono/node-server": "^1.14.2",
85
+ "@modelcontextprotocol/sdk": "^1.12.0",
86
86
  "@stricli/core": "^1.1.2",
87
87
  "buffer": "^6.0.3",
88
88
  "cookie-parser": "^1.4.7",
@@ -103,7 +103,7 @@
103
103
  "sqlite3": "^5.1.7",
104
104
  "typescript": "^5.8.3",
105
105
  "vite": "^6.3.5",
106
- "vitest": "^3.1.3"
106
+ "vitest": "^3.1.4"
107
107
  },
108
108
  "peerDependenciesMeta": {
109
109
  "@hono/node-server": {
@@ -0,0 +1,9 @@
1
+ onlyBuiltDependencies:
2
+ - '@biomejs/biome'
3
+ - esbuild
4
+ - sharp
5
+ - sqlite3
6
+ packages:
7
+ - docs-fd
8
+ - examples/basic
9
+ - examples/supertrader