monaco-editor-lsp-next/package.json
cfngc4594 b7ae005076 feat(monaco-editor): add monaco-editor@0.36.1 and monaco-language@5.0.1 to enable LSP integration
- This commit adds the monaco-languageclient package (version 5.0.1) to enable Language Server Protocol (LSP) support in the Monaco Editor. The version 5.0.1 is chosen as it is the compatible version for monaco-editor@0.36.1, as documented in the official compatibility table. The monaco-editor package is pinned to version 0.36.1 to avoid compatibility issues with @monaco-editor/react.

- Refs: https://github.com/TypeFox/monaco-languageclient/blob/main/docs/versions-and-history.md#monaco-editor--codingamemonaco-vscode-api-compatibility-table
2025-02-19 10:28:20 +08:00

36 lines
842 B
JSON

{
"name": "monaco-editor-lsp-next",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@monaco-editor/react": "^4.7.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.475.0",
"monaco-editor": "0.36.1",
"monaco-languageclient": "5.0.1",
"next": "15.1.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^3.0.1",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.1.7",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}