Skip to content

Commit 9fbcecf

Browse files
committed
fix: import keywords
1 parent 14ca9f9 commit 9fbcecf

File tree

4 files changed

+11
-20
lines changed

4 files changed

+11
-20
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"lint-staged": "^15.2.7",
147147
"mini-css-extract-plugin": "^2.9.1",
148148
"monaco-editor-webpack-plugin": "^7.1.0",
149-
"monaco-yql-languages": "^1.0.6",
149+
"monaco-yql-languages": "^1.2.1",
150150
"npm-run-all": "^4.1.5",
151151
"postcss": "^8.4.38",
152152
"prettier": "^3.2.5",

src/components/SqlHighlighter/keywords.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/components/SqlHighlighter/yql.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
import {
2+
builtinFunctions,
3+
keywords,
4+
typeKeywords,
5+
} from 'monaco-yql-languages/build/yql/yql.keywords';
16
import {
27
vscDarkPlus as darkTheme,
38
materialLight as lightTheme,
49
} from 'react-syntax-highlighter/dist/esm/styles/prism';
510

6-
import {builtinFunctions, keywords, typeKeywords} from './keywords';
7-
811
export const light = {
912
...lightTheme,
1013
'pre[class*="language-"]': {

0 commit comments

Comments
 (0)