Skip to content

Commit

Permalink
Merge pull request #410 from HarperDB/stage
Browse files Browse the repository at this point in the history
[Enhancement] Added syntax highlighting for `.mjs` files (#409)
  • Loading branch information
BboyAkers authored Nov 11, 2024
2 parents 5f7b822 + ec95b70 commit 139f498
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "harperdb-studio",
"version": "4.6.3",
"version": "4.6.4",
"description": "A UI for HarperDB",
"deploymentUrl": "studio.harperdb.io",
"private": true,
Expand Down Expand Up @@ -86,4 +86,4 @@
"typescript": "^5.6.2"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const extensionToLanguageMap = {
html: 'html',
css: 'css',
graphql: 'graphql',
mjs: 'javascript'
};

// TODO: update code using whatever monaco hook is available. onupdate.
Expand All @@ -43,7 +44,6 @@ function Editor({ active, file, onFileChange }) {
return null;
}


return (
<ReactMonacoEditor
height="100%"
Expand Down

0 comments on commit 139f498

Please sign in to comment.