@hydranium/cli 1.0.0-next.364 → 1.0.0-next.366

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/cli",
3
- "version": "1.0.0-next.364",
3
+ "version": "1.0.0-next.366",
4
4
  "description": "Build-time codegen tools + data-server subcommands for the hydranium framework.",
5
5
  "keywords": [
6
6
  "cli",
@@ -78,19 +78,19 @@
78
78
  "@eclipse-glsp/theia-integration": "2.7.0",
79
79
  "@eclipse-glsp/vscode-integration": "2.7.0",
80
80
  "@eclipse-glsp/vscode-integration-webview": "2.7.0",
81
- "@hydranium/client-browser": "1.0.0-next.364",
82
- "@hydranium/client-theia": "1.0.0-next.364",
83
- "@hydranium/client-vscode": "1.0.0-next.364",
84
- "@hydranium/core": "1.0.0-next.364",
85
- "@hydranium/data-client-theia": "1.0.0-next.364",
86
- "@hydranium/data-client-vscode": "1.0.0-next.364",
87
- "@hydranium/data-server": "1.0.0-next.364",
88
- "@hydranium/glsp-client": "1.0.0-next.364",
89
- "@hydranium/glsp-client-theia": "1.0.0-next.364",
90
- "@hydranium/glsp-client-vscode": "1.0.0-next.364",
91
- "@hydranium/glsp-server": "1.0.0-next.364",
92
- "@hydranium/langium": "1.0.0-next.364",
93
- "@hydranium/protocol": "1.0.0-next.364",
81
+ "@hydranium/client-browser": "1.0.0-next.366",
82
+ "@hydranium/client-theia": "1.0.0-next.366",
83
+ "@hydranium/client-vscode": "1.0.0-next.366",
84
+ "@hydranium/core": "1.0.0-next.366",
85
+ "@hydranium/data-client-theia": "1.0.0-next.366",
86
+ "@hydranium/data-client-vscode": "1.0.0-next.366",
87
+ "@hydranium/data-server": "1.0.0-next.366",
88
+ "@hydranium/glsp-client": "1.0.0-next.366",
89
+ "@hydranium/glsp-client-theia": "1.0.0-next.366",
90
+ "@hydranium/glsp-client-vscode": "1.0.0-next.366",
91
+ "@hydranium/glsp-server": "1.0.0-next.366",
92
+ "@hydranium/langium": "1.0.0-next.366",
93
+ "@hydranium/protocol": "1.0.0-next.366",
94
94
  "@playwright/test": "^1.55.0",
95
95
  "@theia/cli": "1.74.3",
96
96
  "@theia/core": "1.74.3",
@@ -130,10 +130,10 @@
130
130
  "vscode-languageserver-types": "3.18.0"
131
131
  },
132
132
  "peerDependencies": {
133
- "@hydranium/core": "1.0.0-next.364",
134
- "@hydranium/data-server": "1.0.0-next.364",
135
- "@hydranium/langium": "1.0.0-next.364",
136
- "@hydranium/protocol": "1.0.0-next.364",
133
+ "@hydranium/core": "1.0.0-next.366",
134
+ "@hydranium/data-server": "1.0.0-next.366",
135
+ "@hydranium/langium": "1.0.0-next.366",
136
+ "@hydranium/protocol": "1.0.0-next.366",
137
137
  "@memlab/core": "^2.0.3",
138
138
  "@memlab/heap-analysis": "^2.0.3",
139
139
  "vscode-jsonrpc": "^9.0.0"
@@ -12,7 +12,6 @@
12
12
  import 'reflect-metadata';
13
13
  import {
14
14
  type Action,
15
- ComputedBoundsAction,
16
15
  CreateNodeOperation,
17
16
  DeleteElementOperation,
18
17
  GEdge,
@@ -22,9 +21,7 @@ import {
22
21
  RedoAction,
23
22
  ServerModule,
24
23
  SetDirtyStateAction,
25
- SetModelAction,
26
- UndoAction,
27
- UpdateModelAction
24
+ UndoAction
28
25
  } from '@eclipse-glsp/server';
29
26
  import { initializeWorkspaceProgrammatically } from '@hydranium/core';
30
27
  import { makeScratchWorkspace, type ScratchWorkspace } from '@hydranium/core/testing/node';
@@ -332,17 +329,13 @@ describe('__GRAMMAR__ diagram', () => {
332
329
  const edgeId = edge()?.id ?? '';
333
330
 
334
331
  // A self-reference's loop as the client routes it around a node not yet sized.
335
- const before = harness.actions.length;
336
332
  const corners = [
337
333
  { x: 19, y: -0.75 },
338
334
  { x: 19, y: 19 },
339
335
  { x: -0.75, y: 19 }
340
336
  ];
341
337
  const routes = [{ elementId: edgeId, newRoutingPoints: [{ x: 0, y: 0 }, ...corners, { x: 0, y: 0 }] }];
342
- harness.dispatch(ComputedBoundsAction.create([], { revision: harness.state.root.revision, routes }));
343
- await waitFor(() => harness.actions.slice(before).some(sent => SetModelAction.is(sent) || UpdateModelAction.is(sent)), {
344
- message: 'no model sent after the computed bounds'
345
- });
338
+ await harness.answerBoundsRequest({ routes });
346
339
 
347
340
  expect(edge()?.routingPoints).toEqual([]);
348
341
  });