DTStack / DTStack/monaco-sql-languages

支持@monaco-editor/react使用

Open
#202 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
295
Forks
50
Avg merge
1h 21m
Merged PRs (30d)
1

Description

我使用的是包 https://www.npmjs.com/package/@monaco-editor/react
它是用的时候再加载的编辑器,不会把编辑器代码打包到我的代码中,我看了一下源码,monaco-sql-languages,直接引入了api,导致注入sql语法没有生效。

还有一个问题devDependencies下的monaco-editor可以不锁死吗?"monaco-editor": "0.52.2",

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the source code that directly imports the Monaco editor API and the devDependencies entry for monaco-editor. Reproduce the SQL injection issue with @monaco-editor/react's lazy loading, then verify that SQL language support works and the dependency version is no longer unnecessarily locked.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.