@vgai/live 0.5.0 → 0.5.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/dist/session.js +1 -1
- package/package.json +4 -4
- package/src/session.ts +3 -1
package/dist/session.js
CHANGED
|
@@ -139,7 +139,7 @@ export async function resolveSession(projectDir = process.cwd(), deps = {}) {
|
|
|
139
139
|
sessions = [];
|
|
140
140
|
}
|
|
141
141
|
const canon = canonicalPath(projectRoot);
|
|
142
|
-
const match = sessions.find((s) => s.project !== null && canonicalPath(s.project) === canon);
|
|
142
|
+
const match = sessions.find((s) => s.kind !== 'e2e' && s.project !== null && canonicalPath(s.project) === canon);
|
|
143
143
|
if (!match) {
|
|
144
144
|
const otherCount = sessions.length;
|
|
145
145
|
throw new Error(`@vgai/live: no live editor session found for ${projectRoot}. @vgai/live only attaches to ` +
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@vgai/live",
|
|
3
3
|
"author": "Volter AI, Inc.",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"build": "tsc -p tsconfig.build.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@vgai/editor-sdk": "0.5.
|
|
34
|
-
"@vgai/e2e": "0.5.
|
|
35
|
-
"@vgai/sdk": "0.5.
|
|
33
|
+
"@vgai/editor-sdk": "0.5.1",
|
|
34
|
+
"@vgai/e2e": "0.5.1",
|
|
35
|
+
"@vgai/sdk": "0.5.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@playwright/test": ">=1.58.2 <2"
|
package/src/session.ts
CHANGED
|
@@ -195,7 +195,9 @@ export async function resolveSession(
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
const canon = canonicalPath(projectRoot);
|
|
198
|
-
const match = sessions.find(
|
|
198
|
+
const match = sessions.find(
|
|
199
|
+
(s) => s.kind !== 'e2e' && s.project !== null && canonicalPath(s.project) === canon,
|
|
200
|
+
);
|
|
199
201
|
if (!match) {
|
|
200
202
|
const otherCount = sessions.length;
|
|
201
203
|
throw new Error(
|