Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,187 changes: 694 additions & 493 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"license": "MIT",
"devDependencies": {
"@lerna/legacy-package-management": "^8.2.4",
"@lvce-editor/server": "^0.69.1",
"@types/node": "^25.0.0",
"@lvce-editor/server": "^0.74.9",
"@types/node": "^25.3.0",
"jest": "^30.2.0",
"lerna": "^8.2.3",
"prettier": "^4.0.0-alpha.10",
Expand Down
632 changes: 394 additions & 238 deletions packages/build/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@lvce-editor/package-extension": "^1.6.0"
"@lvce-editor/package-extension": "^3.2.0"
}
}
60 changes: 30 additions & 30 deletions packages/e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@lvce-editor/test-with-playwright": "^10.4.0"
"@lvce-editor/test-with-playwright": "^14.5.0"
}
}
8 changes: 0 additions & 8 deletions packages/extension/src/parts/Command/Command.ts

This file was deleted.

13 changes: 1 addition & 12 deletions packages/extension/src/parts/CommandMap/CommandMap.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
import { CommandNotFoundError } from '../CommandNotFoundError/CommandNotFoundError.ts'

const log = (message) => {
export const log = (message) => {
console.info(message)
}

export const getFn = (method) => {
switch (method) {
case 'OutputChannel.log':
return log
default:
throw new CommandNotFoundError(method)
}
}
6 changes: 4 additions & 2 deletions packages/extension/src/parts/PrettierWorker/PrettierWorker.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import * as Command from '../Command/Command.ts'
import { log } from '../CommandMap/CommandMap.ts'

// @ts-ignore
const rpc = vscode.createRpc({
id: 'builtin.prettier.prettier-worker',
execute: Command.execute,
commandMap: {
'OutputChannel.log': log,
},
})

export const invoke = (method, ...params) => {
Expand Down
Loading