pluresdb 1.0.1
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/LICENSE +72 -0
- package/README.md +322 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/cli.d.ts +7 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +253 -0
- package/dist/cli.js.map +1 -0
- package/dist/node-index.d.ts +52 -0
- package/dist/node-index.d.ts.map +1 -0
- package/dist/node-index.js +359 -0
- package/dist/node-index.js.map +1 -0
- package/dist/node-wrapper.d.ts +44 -0
- package/dist/node-wrapper.d.ts.map +1 -0
- package/dist/node-wrapper.js +294 -0
- package/dist/node-wrapper.js.map +1 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +3 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/node-types.d.ts +59 -0
- package/dist/types/node-types.d.ts.map +1 -0
- package/dist/types/node-types.js +6 -0
- package/dist/types/node-types.js.map +1 -0
- package/dist/vscode/extension.d.ts +81 -0
- package/dist/vscode/extension.d.ts.map +1 -0
- package/dist/vscode/extension.js +309 -0
- package/dist/vscode/extension.js.map +1 -0
- package/examples/basic-usage.d.ts +2 -0
- package/examples/basic-usage.d.ts.map +1 -0
- package/examples/basic-usage.js +26 -0
- package/examples/basic-usage.js.map +1 -0
- package/examples/basic-usage.ts +29 -0
- package/examples/vscode-extension-example/README.md +95 -0
- package/examples/vscode-extension-example/package.json +49 -0
- package/examples/vscode-extension-example/src/extension.ts +163 -0
- package/examples/vscode-extension-example/tsconfig.json +12 -0
- package/examples/vscode-extension-integration.d.ts +24 -0
- package/examples/vscode-extension-integration.d.ts.map +1 -0
- package/examples/vscode-extension-integration.js +285 -0
- package/examples/vscode-extension-integration.js.map +1 -0
- package/examples/vscode-extension-integration.ts +41 -0
- package/package.json +115 -0
- package/scripts/compiled-crud-verify.ts +28 -0
- package/scripts/dogfood.ts +258 -0
- package/scripts/postinstall.js +155 -0
- package/scripts/run-tests.ts +175 -0
- package/scripts/setup-libclang.ps1 +209 -0
- package/src/benchmarks/memory-benchmarks.ts +316 -0
- package/src/benchmarks/run-benchmarks.ts +293 -0
- package/src/cli.ts +231 -0
- package/src/config.ts +49 -0
- package/src/core/crdt.ts +104 -0
- package/src/core/database.ts +494 -0
- package/src/healthcheck.ts +156 -0
- package/src/http/api-server.ts +334 -0
- package/src/index.ts +28 -0
- package/src/logic/rules.ts +44 -0
- package/src/main.rs +3 -0
- package/src/main.ts +190 -0
- package/src/network/websocket-server.ts +115 -0
- package/src/node-index.ts +385 -0
- package/src/node-wrapper.ts +320 -0
- package/src/sqlite-compat.ts +586 -0
- package/src/sqlite3-compat.ts +55 -0
- package/src/storage/kv-storage.ts +71 -0
- package/src/tests/core.test.ts +281 -0
- package/src/tests/fixtures/performance-data.json +71 -0
- package/src/tests/fixtures/test-data.json +124 -0
- package/src/tests/integration/api-server.test.ts +232 -0
- package/src/tests/integration/mesh-network.test.ts +297 -0
- package/src/tests/logic.test.ts +30 -0
- package/src/tests/performance/load.test.ts +288 -0
- package/src/tests/security/input-validation.test.ts +282 -0
- package/src/tests/unit/core.test.ts +216 -0
- package/src/tests/unit/subscriptions.test.ts +135 -0
- package/src/tests/unit/vector-search.test.ts +173 -0
- package/src/tests/vscode_extension_test.ts +253 -0
- package/src/types/index.ts +32 -0
- package/src/types/node-types.ts +66 -0
- package/src/util/debug.ts +14 -0
- package/src/vector/index.ts +59 -0
- package/src/vscode/extension.ts +364 -0
- package/web/README.md +27 -0
- package/web/svelte/package.json +31 -0
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import * as path from "node:path";
|
|
2
|
+
import { PluresNode, SQLiteCompatibleAPI } from "../node-index";
|
|
3
|
+
import type { PluresDBConfig } from "../types/node-types";
|
|
4
|
+
|
|
5
|
+
type DisposableLike = { dispose(): void };
|
|
6
|
+
|
|
7
|
+
type InputBoxOptions = {
|
|
8
|
+
prompt: string;
|
|
9
|
+
placeHolder?: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
type TextDocumentInit = {
|
|
13
|
+
content: string;
|
|
14
|
+
language: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type UriLike = { toString(): string } | string;
|
|
18
|
+
|
|
19
|
+
export type VSCodeWindow = {
|
|
20
|
+
showInformationMessage(message: string): void | Promise<unknown>;
|
|
21
|
+
showErrorMessage(message: string): void | Promise<unknown>;
|
|
22
|
+
showInputBox(options: InputBoxOptions): Promise<string | undefined>;
|
|
23
|
+
showTextDocument(document: unknown): Promise<unknown>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type VSCodeCommands = {
|
|
27
|
+
registerCommand(command: string, callback: (...args: unknown[]) => unknown): DisposableLike;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export type VSCodeWorkspace = {
|
|
31
|
+
openTextDocument(init: TextDocumentInit): Promise<unknown>;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type VSCodeEnv = {
|
|
35
|
+
openExternal(target: UriLike): Promise<unknown> | unknown;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type VSCodeUri = {
|
|
39
|
+
parse(target: string): UriLike;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type VSCodeAPI = {
|
|
43
|
+
window: VSCodeWindow;
|
|
44
|
+
commands: VSCodeCommands;
|
|
45
|
+
workspace: VSCodeWorkspace;
|
|
46
|
+
env: VSCodeEnv;
|
|
47
|
+
Uri: VSCodeUri;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type ExtensionContextLike = {
|
|
51
|
+
subscriptions: DisposableLike[];
|
|
52
|
+
globalStorageUri: { fsPath: string };
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type ExtensionOptions = {
|
|
56
|
+
config?: PluresDBConfig;
|
|
57
|
+
commandPrefix?: string;
|
|
58
|
+
pluresInstance?: PluresNode;
|
|
59
|
+
sqliteInstance?: SQLiteCompatibleAPI;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
type CommandFactory = () => Promise<void> | void;
|
|
63
|
+
|
|
64
|
+
const DEFAULT_CONFIG: PluresDBConfig = {
|
|
65
|
+
port: 34567,
|
|
66
|
+
host: "localhost",
|
|
67
|
+
webPort: 34568,
|
|
68
|
+
logLevel: "info",
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export class PluresVSCodeExtension {
|
|
72
|
+
private readonly vscode: VSCodeAPI;
|
|
73
|
+
private readonly context: ExtensionContextLike;
|
|
74
|
+
private readonly plures: PluresNode;
|
|
75
|
+
private readonly sqlite: SQLiteCompatibleAPI;
|
|
76
|
+
private readonly commandPrefix: string;
|
|
77
|
+
private readonly disposables: DisposableLike[] = [];
|
|
78
|
+
private activated = false;
|
|
79
|
+
|
|
80
|
+
constructor(vscodeApi: VSCodeAPI, context: ExtensionContextLike, options: ExtensionOptions = {}) {
|
|
81
|
+
this.vscode = vscodeApi;
|
|
82
|
+
this.context = context;
|
|
83
|
+
this.commandPrefix = options.commandPrefix ?? "pluresdb";
|
|
84
|
+
|
|
85
|
+
const mergedConfig: PluresDBConfig = {
|
|
86
|
+
...DEFAULT_CONFIG,
|
|
87
|
+
dataDir: path.join(context.globalStorageUri.fsPath, "pluresdb"),
|
|
88
|
+
...options.config,
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
this.plures =
|
|
92
|
+
options.pluresInstance ?? new PluresNode({ config: mergedConfig, autoStart: false });
|
|
93
|
+
this.sqlite =
|
|
94
|
+
options.sqliteInstance ?? new SQLiteCompatibleAPI({ config: mergedConfig, autoStart: false });
|
|
95
|
+
|
|
96
|
+
this.setupEventHandlers();
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
async activate(): Promise<void> {
|
|
100
|
+
if (this.activated) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
try {
|
|
105
|
+
await this.plures.start();
|
|
106
|
+
await this.sqlite.start();
|
|
107
|
+
this.registerCommands();
|
|
108
|
+
await this.setupDatabase();
|
|
109
|
+
this.activated = true;
|
|
110
|
+
await this.safeInfo("PluresDB extension activated");
|
|
111
|
+
} catch (error) {
|
|
112
|
+
await this.safeError(`Failed to activate PluresDB: ${this.errorMessage(error)}`);
|
|
113
|
+
throw error;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
async deactivate(): Promise<void> {
|
|
118
|
+
if (!this.activated) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
try {
|
|
123
|
+
await this.sqlite.stop();
|
|
124
|
+
await this.plures.stop();
|
|
125
|
+
} finally {
|
|
126
|
+
this.disposeAll();
|
|
127
|
+
this.activated = false;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
getWebUrl(): string {
|
|
132
|
+
return this.plures.getWebUrl();
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
async storeSetting(key: string, value: unknown) {
|
|
136
|
+
return this.sqlite.put(`settings:${key}`, value);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
async getSetting(key: string) {
|
|
140
|
+
return this.sqlite.getValue(`settings:${key}`);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
async storeDocument(id: string, content: string, language: string, filePath: string) {
|
|
144
|
+
return this.sqlite.put(`documents:${id}`, {
|
|
145
|
+
content,
|
|
146
|
+
language,
|
|
147
|
+
filePath,
|
|
148
|
+
updatedAt: new Date().toISOString(),
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
async searchDocuments(query: string, limit = 20) {
|
|
153
|
+
return this.sqlite.vectorSearch(query, limit);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
async executeSQL(sql: string, params: unknown[] = []) {
|
|
157
|
+
return this.sqlite.all(sql, params);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
private setupEventHandlers() {
|
|
161
|
+
this.plures.on("started", () => {
|
|
162
|
+
this.safeInfo("PluresDB database started");
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
this.plures.on("stopped", () => {
|
|
166
|
+
this.safeInfo("PluresDB database stopped");
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
this.plures.on("error", (error: unknown) => {
|
|
170
|
+
this.safeError(`PluresDB error: ${this.errorMessage(error)}`);
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
this.plures.on("stderr", (output: string) => {
|
|
174
|
+
const trimmed = output.trim();
|
|
175
|
+
if (trimmed.length > 0) {
|
|
176
|
+
this.safeError(trimmed);
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
this.plures.on("stdout", (output: string) => {
|
|
181
|
+
const trimmed = output.trim();
|
|
182
|
+
if (trimmed.length > 0) {
|
|
183
|
+
this.safeInfo(trimmed);
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
private registerCommands() {
|
|
189
|
+
const register = (name: string, factory: CommandFactory) => {
|
|
190
|
+
const disposable = this.vscode.commands.registerCommand(`${this.commandPrefix}.${name}`, () =>
|
|
191
|
+
factory(),
|
|
192
|
+
);
|
|
193
|
+
this.context.subscriptions.push(disposable);
|
|
194
|
+
this.disposables.push(disposable);
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
register("openWebUI", async () => {
|
|
198
|
+
const webUrl = this.getWebUrl();
|
|
199
|
+
await this.vscode.env.openExternal(this.vscode.Uri.parse(webUrl));
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
register("executeQuery", async () => {
|
|
203
|
+
const sql = await this.vscode.window.showInputBox({
|
|
204
|
+
prompt: "Enter SQL query",
|
|
205
|
+
placeHolder: "SELECT * FROM users",
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
if (!sql) return;
|
|
209
|
+
|
|
210
|
+
try {
|
|
211
|
+
const result = await this.sqlite.all(sql);
|
|
212
|
+
const doc = await this.vscode.workspace.openTextDocument({
|
|
213
|
+
content: JSON.stringify(result, null, 2),
|
|
214
|
+
language: "json",
|
|
215
|
+
});
|
|
216
|
+
await this.vscode.window.showTextDocument(doc);
|
|
217
|
+
} catch (error) {
|
|
218
|
+
await this.safeError(`Query failed: ${this.errorMessage(error)}`);
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
register("vectorSearch", async () => {
|
|
223
|
+
const query = await this.vscode.window.showInputBox({
|
|
224
|
+
prompt: "Enter search query",
|
|
225
|
+
placeHolder: "machine learning",
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
if (!query) return;
|
|
229
|
+
|
|
230
|
+
try {
|
|
231
|
+
const results = await this.sqlite.vectorSearch(query, 10);
|
|
232
|
+
const doc = await this.vscode.workspace.openTextDocument({
|
|
233
|
+
content: JSON.stringify(results, null, 2),
|
|
234
|
+
language: "json",
|
|
235
|
+
});
|
|
236
|
+
await this.vscode.window.showTextDocument(doc);
|
|
237
|
+
} catch (error) {
|
|
238
|
+
await this.safeError(`Vector search failed: ${this.errorMessage(error)}`);
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
register("storeData", async () => {
|
|
243
|
+
const key = await this.vscode.window.showInputBox({
|
|
244
|
+
prompt: "Enter key",
|
|
245
|
+
placeHolder: "user:123",
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
if (!key) return;
|
|
249
|
+
|
|
250
|
+
const json = await this.vscode.window.showInputBox({
|
|
251
|
+
prompt: "Enter value (JSON)",
|
|
252
|
+
placeHolder: '{"name": "Ada", "email": "ada@example.com"}',
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
if (!json) return;
|
|
256
|
+
|
|
257
|
+
try {
|
|
258
|
+
const value = JSON.parse(json);
|
|
259
|
+
await this.sqlite.put(key, value);
|
|
260
|
+
await this.safeInfo(`Stored data for key: ${key}`);
|
|
261
|
+
} catch (error) {
|
|
262
|
+
await this.safeError(`Failed to store data: ${this.errorMessage(error)}`);
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
|
|
266
|
+
register("retrieveData", async () => {
|
|
267
|
+
const key = await this.vscode.window.showInputBox({
|
|
268
|
+
prompt: "Enter key to retrieve",
|
|
269
|
+
placeHolder: "user:123",
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
if (!key) return;
|
|
273
|
+
|
|
274
|
+
try {
|
|
275
|
+
const value = await this.sqlite.getValue(key);
|
|
276
|
+
if (value) {
|
|
277
|
+
const doc = await this.vscode.workspace.openTextDocument({
|
|
278
|
+
content: JSON.stringify(value, null, 2),
|
|
279
|
+
language: "json",
|
|
280
|
+
});
|
|
281
|
+
await this.vscode.window.showTextDocument(doc);
|
|
282
|
+
} else {
|
|
283
|
+
await this.safeInfo("Key not found");
|
|
284
|
+
}
|
|
285
|
+
} catch (error) {
|
|
286
|
+
await this.safeError(`Failed to retrieve data: ${this.errorMessage(error)}`);
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
private async setupDatabase() {
|
|
292
|
+
const statements = [
|
|
293
|
+
`CREATE TABLE IF NOT EXISTS settings (
|
|
294
|
+
key TEXT PRIMARY KEY,
|
|
295
|
+
value TEXT,
|
|
296
|
+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
297
|
+
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
|
298
|
+
)`,
|
|
299
|
+
`CREATE TABLE IF NOT EXISTS documents (
|
|
300
|
+
id TEXT PRIMARY KEY,
|
|
301
|
+
content TEXT,
|
|
302
|
+
language TEXT,
|
|
303
|
+
file_path TEXT,
|
|
304
|
+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
305
|
+
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
|
306
|
+
)`,
|
|
307
|
+
`CREATE TABLE IF NOT EXISTS search_history (
|
|
308
|
+
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
309
|
+
query TEXT,
|
|
310
|
+
results_count INTEGER,
|
|
311
|
+
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
|
|
312
|
+
)`,
|
|
313
|
+
];
|
|
314
|
+
|
|
315
|
+
for (const sql of statements) {
|
|
316
|
+
try {
|
|
317
|
+
await this.sqlite.exec(sql);
|
|
318
|
+
} catch (error) {
|
|
319
|
+
await this.safeError(`Failed to initialize database: ${this.errorMessage(error)}`);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
private disposeAll() {
|
|
325
|
+
for (const disposable of this.disposables.splice(0)) {
|
|
326
|
+
try {
|
|
327
|
+
disposable.dispose();
|
|
328
|
+
} catch (_error) {
|
|
329
|
+
// ignore
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
private async safeInfo(message: string) {
|
|
335
|
+
try {
|
|
336
|
+
await this.vscode.window.showInformationMessage(message);
|
|
337
|
+
} catch (_error) {
|
|
338
|
+
// ignore message failures in headless tests
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
private async safeError(message: string) {
|
|
343
|
+
try {
|
|
344
|
+
await this.vscode.window.showErrorMessage(message);
|
|
345
|
+
} catch (_error) {
|
|
346
|
+
// ignore message failures in headless tests
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
private errorMessage(error: unknown): string {
|
|
351
|
+
if (error instanceof Error) {
|
|
352
|
+
return error.message;
|
|
353
|
+
}
|
|
354
|
+
return String(error);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export function createPluresExtension(
|
|
359
|
+
vscodeApi: VSCodeAPI,
|
|
360
|
+
context: ExtensionContextLike,
|
|
361
|
+
options: ExtensionOptions = {},
|
|
362
|
+
) {
|
|
363
|
+
return new PluresVSCodeExtension(vscodeApi, context, options);
|
|
364
|
+
}
|
package/web/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Web UI (Svelte)
|
|
2
|
+
|
|
3
|
+
This folder contains a Svelte-based reactive UI for PluresDB.
|
|
4
|
+
|
|
5
|
+
- svelte/ source using Vite
|
|
6
|
+
- Built assets go to web/dist/ and are served by the PluresDB HTTP server
|
|
7
|
+
|
|
8
|
+
## Dev
|
|
9
|
+
|
|
10
|
+
Use Node 18+.
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
cd web/svelte
|
|
14
|
+
npm i
|
|
15
|
+
npm run dev
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Configure the API base URL if needed (defaults to same origin).
|
|
19
|
+
|
|
20
|
+
## Build
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
cd web/svelte
|
|
24
|
+
npm run build
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This outputs to ../dist/. Start PluresDB serve and open the port+1 URL printed in the console.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pluresdb-ui",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"preview": "vite preview"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@codemirror/commands": "^6.6.0",
|
|
13
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
14
|
+
"@codemirror/lint": "^6.8.0",
|
|
15
|
+
"@codemirror/state": "^6.4.0",
|
|
16
|
+
"@codemirror/theme-one-dark": "^6.1.2",
|
|
17
|
+
"@codemirror/view": "^6.28.1",
|
|
18
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
|
19
|
+
"ajv": "^8.12.0",
|
|
20
|
+
"svelte": "^4.2.18",
|
|
21
|
+
"vite": "^5.3.3"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@monaco-editor/loader": "^1.5.0",
|
|
25
|
+
"cytoscape": "^3.28.1",
|
|
26
|
+
"cytoscape-cola": "^2.5.1",
|
|
27
|
+
"cytoscape-cose-bilkent": "^4.1.0",
|
|
28
|
+
"cytoscape-dagre": "^2.5.0",
|
|
29
|
+
"monaco-editor": "^0.53.0"
|
|
30
|
+
}
|
|
31
|
+
}
|