Skip to content

Commit

Permalink
Upgrade to latest monaco-editor (#4538)
Browse files Browse the repository at this point in the history
Resolve broken typespec.io which did somehow upgrade 
fix #4456
  • Loading branch information
timotheeguerin authored Sep 25, 2024
1 parent c9695d7 commit bcee728
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
8 changes: 8 additions & 0 deletions .chronus/changes/upgrade-monaco-editor-2024-8-25-21-58-44.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: feature
packages:
- "@typespec/playground"
---

Upgrade to latest monaco-editor
2 changes: 1 addition & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"clsx": "^2.1.1",
"debounce": "~2.1.1",
"lzutf8": "0.6.3",
"monaco-editor": "~0.46.0",
"monaco-editor": "~0.52.0",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-error-boundary": "^4.0.13",
Expand Down
7 changes: 6 additions & 1 deletion packages/website/.scripts/docusaurus-build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ if (process.env.TYPESPEC_SKIP_DOCUSAURUS_BUILD?.toLowerCase() === "true") {
process.exit(0);
}

await runOrExit("docusaurus", ["build"]);
await runOrExit("docusaurus", ["build"], {
env: {
...process.env,
USE_SIMPLE_CSS_MINIFIER: "true",
},
});

function loadDotenv() {
const dirname = path.dirname(fileURLToPath(import.meta.url));
Expand Down
9 changes: 2 additions & 7 deletions pnpm-lock.yaml

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

0 comments on commit bcee728

Please sign in to comment.