Skip to content

Commit 963d2a7

Browse files
authored
Merge pull request #76 from hildjj/fix-preview
Fix preview in new build system
2 parents 85d4b7a + 91e5fef commit 963d2a7

5 files changed

Lines changed: 182 additions & 209 deletions

File tree

client/preview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as fromMem from "@peggyjs/from-mem";
21
import * as path from "path";
32
import * as peggy from "peggy";
43
import {
@@ -13,6 +12,7 @@ import {
1312
import { MemFS } from "../vendor/vscode-extension-samples/fileSystemProvider";
1413
import { debounce } from "../common/debounce";
1514
import { fileURLToPath } from "url";
15+
import fromMem from "@peggyjs/from-mem";
1616

1717
const PEGGY_INPUT_SCHEME = "peggyjsin";
1818

@@ -106,7 +106,7 @@ async function executeAndDisplayResults(
106106
out += "\n";
107107
out += result;
108108
out += "\n";
109-
} catch(error) {
109+
} catch (error) {
110110
out += error.toString();
111111
}
112112
if (!out.endsWith("\n")) {

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@
170170
"package": "vsce package --no-dependencies"
171171
},
172172
"devDependencies": {
173-
"@peggyjs/eslint-config": "6.0.4",
173+
"@peggyjs/eslint-config": "6.0.5",
174174
"@types/mocha": "^10.0.10",
175-
"@types/node": "22.x",
175+
"@types/node": "24.x",
176176
"@types/vscode": "^1.102.0",
177177
"@vscode/test-cli": "^0.0.11",
178178
"@vscode/test-electron": "^2.5.2",
@@ -183,10 +183,10 @@
183183
"npm-run-all": "^4.1.5",
184184
"rimraf": "^6.0.1",
185185
"typescript": "^5.8.3",
186-
"typescript-eslint": "8.36.0"
186+
"typescript-eslint": "8.37.0"
187187
},
188188
"dependencies": {
189-
"@peggyjs/from-mem": "3.0.2",
189+
"@peggyjs/from-mem": "3.1.0",
190190
"peggy": "^5.0.5",
191191
"source-map-generator": "2.0.1",
192192
"vscode-languageclient": "^9.0.1",
@@ -197,4 +197,4 @@
197197
"engines": {
198198
"vscode": ">=1.102.0"
199199
}
200-
}
200+
}

0 commit comments

Comments
 (0)