From e77825074dc019aebc7b28368428d16226d9ab8b Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Thu, 9 Dec 2021 22:16:35 +0100 Subject: [PATCH] Fix some samples --- samples/browser-amd-monarch/index.html | 1 + samples/browser-esm-parcel/index.html | 6 ------ samples/browser-esm-vite-react/package.json | 3 ++- samples/browser-esm-webpack-monaco-plugin/.gitignore | 1 + 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/samples/browser-amd-monarch/index.html b/samples/browser-amd-monarch/index.html index 15b13854..98b269d3 100644 --- a/samples/browser-amd-monarch/index.html +++ b/samples/browser-amd-monarch/index.html @@ -28,6 +28,7 @@ // Define a new theme that constains only rules that match this language monaco.editor.defineTheme('myCoolTheme', { + colors: {}, base: 'vs', inherit: false, rules: [ diff --git a/samples/browser-esm-parcel/index.html b/samples/browser-esm-parcel/index.html index 6caccc3e..37029e1c 100644 --- a/samples/browser-esm-parcel/index.html +++ b/samples/browser-esm-parcel/index.html @@ -6,12 +6,6 @@

Monaco Editor Parcel Bundler Sample

- This sample shows how to load a small subset of the editor: - - To run this sample, you need to:
diff --git a/samples/browser-esm-vite-react/package.json b/samples/browser-esm-vite-react/package.json
index 562f998d..6329ca9b 100644
--- a/samples/browser-esm-vite-react/package.json
+++ b/samples/browser-esm-vite-react/package.json
@@ -3,7 +3,8 @@
 	"scripts": {
 		"dev": "vite",
 		"build": "tsc && vite build",
-		"serve": "vite preview"
+		"serve": "vite preview",
+		"simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999"
 	},
 	"dependencies": {},
 	"devDependencies": {
diff --git a/samples/browser-esm-webpack-monaco-plugin/.gitignore b/samples/browser-esm-webpack-monaco-plugin/.gitignore
index 75409ba5..7d3cfa2d 100644
--- a/samples/browser-esm-webpack-monaco-plugin/.gitignore
+++ b/samples/browser-esm-webpack-monaco-plugin/.gitignore
@@ -1,2 +1,3 @@
 dist/*.js
 dist/*.ttf
+dist/*.txt