diff --git a/.prettierignore b/.prettierignore index f514ab1f..09e39f96 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,17 +1,17 @@ **/node_modules/ **/out/ **/release/ -/monaco-editor-samples/browser-esm-parcel/.cache/ -/monaco-editor-samples/browser-esm-parcel/dist/ -/monaco-editor-samples/browser-esm-vite-react/dist/**/*.js -/monaco-editor-samples/browser-esm-webpack/dist/*.js -/monaco-editor-samples/browser-esm-webpack-monaco-plugin/dist/*.js -/monaco-editor-samples/browser-esm-webpack-small/dist/*.js -/monaco-editor-samples/browser-esm-webpack-typescript/dist/*.js -/monaco-editor-samples/browser-esm-webpack-typescript-react/dist/*.js /monaco-editor/test/samples-all.generated.js /monaco-editor/test/playground.generated/ /monaco-editor/typedoc/theme/ /monaco-editor/typedoc/monaco.d.ts /monaco-editor/website/lib/ +/samples/browser-esm-parcel/.cache/ +/samples/browser-esm-parcel/dist/ +/samples/browser-esm-vite-react/dist/**/*.js +/samples/browser-esm-webpack/dist/*.js +/samples/browser-esm-webpack-monaco-plugin/dist/*.js +/samples/browser-esm-webpack-small/dist/*.js +/samples/browser-esm-webpack-typescript/dist/*.js +/samples/browser-esm-webpack-typescript-react/dist/*.js /src/typescript/lib/ diff --git a/README.md b/README.md index b2384e70..89e7cde6 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ It is recommended to develop against the `dev` version, and in production to use ## Documentation -- Learn how to integrate the editor with these [complete samples](https://github.com/Microsoft/monaco-editor-samples/). +- Learn how to integrate the editor with these [complete samples](./samples/). - [Integrate the AMD version](./monaco-editor/docs/integrate-amd.md). - [Integrate the AMD version cross-domain](./monaco-editor/docs/integrate-amd-cross.md) - [Integrate the ESM version](./monaco-editor/docs/integrate-esm.md) diff --git a/monaco-editor-samples/README.md b/samples/README.md similarity index 82% rename from monaco-editor-samples/README.md rename to samples/README.md index 17225f87..e197c016 100644 --- a/monaco-editor-samples/README.md +++ b/samples/README.md @@ -5,18 +5,14 @@ Standalone HTML samples showing how to integrate the Monaco Editor. ## Running ```bash -git clone https://github.com/Microsoft/monaco-editor-samples.git -cd monaco-editor-samples +git clone https://github.com/microsoft/monaco-editor.git +cd samples npm install . npm run simpleserver ``` Go to localhost:8888 and explore the samples! -## Issues - -Please file issues concering `monaco-editor-samples` in the [`monaco-editor` repository](https://github.com/Microsoft/monaco-editor/issues). - ## Loading variations - `browser-amd-editor`: running in a browser using `AMD` lazy loading. diff --git a/monaco-editor-samples/browser-amd-diff-editor/index.html b/samples/browser-amd-diff-editor/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-diff-editor/index.html rename to samples/browser-amd-diff-editor/index.html diff --git a/monaco-editor-samples/browser-amd-diff-editor/modified.txt b/samples/browser-amd-diff-editor/modified.txt similarity index 100% rename from monaco-editor-samples/browser-amd-diff-editor/modified.txt rename to samples/browser-amd-diff-editor/modified.txt diff --git a/monaco-editor-samples/browser-amd-diff-editor/original.txt b/samples/browser-amd-diff-editor/original.txt similarity index 100% rename from monaco-editor-samples/browser-amd-diff-editor/original.txt rename to samples/browser-amd-diff-editor/original.txt diff --git a/monaco-editor-samples/browser-amd-editor/index.html b/samples/browser-amd-editor/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-editor/index.html rename to samples/browser-amd-editor/index.html diff --git a/monaco-editor-samples/browser-amd-iframe/index.html b/samples/browser-amd-iframe/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-iframe/index.html rename to samples/browser-amd-iframe/index.html diff --git a/monaco-editor-samples/browser-amd-iframe/inner.html b/samples/browser-amd-iframe/inner.html similarity index 100% rename from monaco-editor-samples/browser-amd-iframe/inner.html rename to samples/browser-amd-iframe/inner.html diff --git a/monaco-editor-samples/browser-amd-localized/index.html b/samples/browser-amd-localized/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-localized/index.html rename to samples/browser-amd-localized/index.html diff --git a/monaco-editor-samples/browser-amd-monarch/index.html b/samples/browser-amd-monarch/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-monarch/index.html rename to samples/browser-amd-monarch/index.html diff --git a/monaco-editor-samples/browser-amd-requirejs/index.html b/samples/browser-amd-requirejs/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-requirejs/index.html rename to samples/browser-amd-requirejs/index.html diff --git a/monaco-editor-samples/browser-amd-shadow-dom/index.html b/samples/browser-amd-shadow-dom/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-shadow-dom/index.html rename to samples/browser-amd-shadow-dom/index.html diff --git a/monaco-editor-samples/browser-amd-shared-model/index.html b/samples/browser-amd-shared-model/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-shared-model/index.html rename to samples/browser-amd-shared-model/index.html diff --git a/monaco-editor-samples/browser-amd-trusted-types/index.html b/samples/browser-amd-trusted-types/index.html similarity index 100% rename from monaco-editor-samples/browser-amd-trusted-types/index.html rename to samples/browser-amd-trusted-types/index.html diff --git a/monaco-editor-samples/browser-esm-parcel/.gitignore b/samples/browser-esm-parcel/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-parcel/.gitignore rename to samples/browser-esm-parcel/.gitignore diff --git a/monaco-editor-samples/browser-esm-parcel/index.html b/samples/browser-esm-parcel/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-parcel/index.html rename to samples/browser-esm-parcel/index.html diff --git a/monaco-editor-samples/browser-esm-parcel/package-lock.json b/samples/browser-esm-parcel/package-lock.json similarity index 100% rename from monaco-editor-samples/browser-esm-parcel/package-lock.json rename to samples/browser-esm-parcel/package-lock.json diff --git a/monaco-editor-samples/browser-esm-parcel/package.json b/samples/browser-esm-parcel/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-parcel/package.json rename to samples/browser-esm-parcel/package.json diff --git a/monaco-editor-samples/browser-esm-parcel/src/index.html b/samples/browser-esm-parcel/src/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-parcel/src/index.html rename to samples/browser-esm-parcel/src/index.html diff --git a/monaco-editor-samples/browser-esm-parcel/src/index.js b/samples/browser-esm-parcel/src/index.js similarity index 100% rename from monaco-editor-samples/browser-esm-parcel/src/index.js rename to samples/browser-esm-parcel/src/index.js diff --git a/monaco-editor-samples/browser-esm-vite-react/.gitignore b/samples/browser-esm-vite-react/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/.gitignore rename to samples/browser-esm-vite-react/.gitignore diff --git a/monaco-editor-samples/browser-esm-vite-react/index.html b/samples/browser-esm-vite-react/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/index.html rename to samples/browser-esm-vite-react/index.html diff --git a/monaco-editor-samples/browser-esm-vite-react/package-lock.json b/samples/browser-esm-vite-react/package-lock.json similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/package-lock.json rename to samples/browser-esm-vite-react/package-lock.json diff --git a/monaco-editor-samples/browser-esm-vite-react/package.json b/samples/browser-esm-vite-react/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/package.json rename to samples/browser-esm-vite-react/package.json diff --git a/monaco-editor-samples/browser-esm-vite-react/src/components/Editor.module.css b/samples/browser-esm-vite-react/src/components/Editor.module.css similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/src/components/Editor.module.css rename to samples/browser-esm-vite-react/src/components/Editor.module.css diff --git a/monaco-editor-samples/browser-esm-vite-react/src/components/Editor.tsx b/samples/browser-esm-vite-react/src/components/Editor.tsx similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/src/components/Editor.tsx rename to samples/browser-esm-vite-react/src/components/Editor.tsx diff --git a/monaco-editor-samples/browser-esm-vite-react/src/main.tsx b/samples/browser-esm-vite-react/src/main.tsx similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/src/main.tsx rename to samples/browser-esm-vite-react/src/main.tsx diff --git a/monaco-editor-samples/browser-esm-vite-react/src/userWorker.ts b/samples/browser-esm-vite-react/src/userWorker.ts similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/src/userWorker.ts rename to samples/browser-esm-vite-react/src/userWorker.ts diff --git a/monaco-editor-samples/browser-esm-vite-react/src/vite-env.d.ts b/samples/browser-esm-vite-react/src/vite-env.d.ts similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/src/vite-env.d.ts rename to samples/browser-esm-vite-react/src/vite-env.d.ts diff --git a/monaco-editor-samples/browser-esm-vite-react/tsconfig.json b/samples/browser-esm-vite-react/tsconfig.json similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/tsconfig.json rename to samples/browser-esm-vite-react/tsconfig.json diff --git a/monaco-editor-samples/browser-esm-vite-react/vite.config.ts b/samples/browser-esm-vite-react/vite.config.ts similarity index 100% rename from monaco-editor-samples/browser-esm-vite-react/vite.config.ts rename to samples/browser-esm-vite-react/vite.config.ts diff --git a/monaco-editor-samples/browser-esm-webpack-monaco-plugin/.gitignore b/samples/browser-esm-webpack-monaco-plugin/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-monaco-plugin/.gitignore rename to samples/browser-esm-webpack-monaco-plugin/.gitignore diff --git a/monaco-editor-samples/browser-esm-webpack-monaco-plugin/dist/index.html b/samples/browser-esm-webpack-monaco-plugin/dist/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-monaco-plugin/dist/index.html rename to samples/browser-esm-webpack-monaco-plugin/dist/index.html diff --git a/monaco-editor-samples/browser-esm-webpack-monaco-plugin/index.html b/samples/browser-esm-webpack-monaco-plugin/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-monaco-plugin/index.html rename to samples/browser-esm-webpack-monaco-plugin/index.html diff --git a/monaco-editor-samples/browser-esm-webpack-monaco-plugin/index.js b/samples/browser-esm-webpack-monaco-plugin/index.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-monaco-plugin/index.js rename to samples/browser-esm-webpack-monaco-plugin/index.js diff --git a/monaco-editor-samples/browser-esm-webpack-monaco-plugin/package.json b/samples/browser-esm-webpack-monaco-plugin/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-monaco-plugin/package.json rename to samples/browser-esm-webpack-monaco-plugin/package.json diff --git a/monaco-editor-samples/browser-esm-webpack-monaco-plugin/webpack.config.js b/samples/browser-esm-webpack-monaco-plugin/webpack.config.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-monaco-plugin/webpack.config.js rename to samples/browser-esm-webpack-monaco-plugin/webpack.config.js diff --git a/monaco-editor-samples/browser-esm-webpack-small/.gitignore b/samples/browser-esm-webpack-small/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/.gitignore rename to samples/browser-esm-webpack-small/.gitignore diff --git a/monaco-editor-samples/browser-esm-webpack-small/dist/index.html b/samples/browser-esm-webpack-small/dist/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/dist/index.html rename to samples/browser-esm-webpack-small/dist/index.html diff --git a/monaco-editor-samples/browser-esm-webpack-small/generate-imports.js b/samples/browser-esm-webpack-small/generate-imports.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/generate-imports.js rename to samples/browser-esm-webpack-small/generate-imports.js diff --git a/monaco-editor-samples/browser-esm-webpack-small/index.html b/samples/browser-esm-webpack-small/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/index.html rename to samples/browser-esm-webpack-small/index.html diff --git a/monaco-editor-samples/browser-esm-webpack-small/index.js b/samples/browser-esm-webpack-small/index.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/index.js rename to samples/browser-esm-webpack-small/index.js diff --git a/monaco-editor-samples/browser-esm-webpack-small/package.json b/samples/browser-esm-webpack-small/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/package.json rename to samples/browser-esm-webpack-small/package.json diff --git a/monaco-editor-samples/browser-esm-webpack-small/webpack.config.js b/samples/browser-esm-webpack-small/webpack.config.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-small/webpack.config.js rename to samples/browser-esm-webpack-small/webpack.config.js diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/.gitignore b/samples/browser-esm-webpack-typescript-react/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/.gitignore rename to samples/browser-esm-webpack-typescript-react/.gitignore diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/package-lock.json b/samples/browser-esm-webpack-typescript-react/package-lock.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/package-lock.json rename to samples/browser-esm-webpack-typescript-react/package-lock.json diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/package.json b/samples/browser-esm-webpack-typescript-react/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/package.json rename to samples/browser-esm-webpack-typescript-react/package.json diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/src/components/Editor.tsx b/samples/browser-esm-webpack-typescript-react/src/components/Editor.tsx similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/src/components/Editor.tsx rename to samples/browser-esm-webpack-typescript-react/src/components/Editor.tsx diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/src/index.css b/samples/browser-esm-webpack-typescript-react/src/index.css similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/src/index.css rename to samples/browser-esm-webpack-typescript-react/src/index.css diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/src/index.html b/samples/browser-esm-webpack-typescript-react/src/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/src/index.html rename to samples/browser-esm-webpack-typescript-react/src/index.html diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/src/index.tsx b/samples/browser-esm-webpack-typescript-react/src/index.tsx similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/src/index.tsx rename to samples/browser-esm-webpack-typescript-react/src/index.tsx diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/tsconfig.json b/samples/browser-esm-webpack-typescript-react/tsconfig.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/tsconfig.json rename to samples/browser-esm-webpack-typescript-react/tsconfig.json diff --git a/monaco-editor-samples/browser-esm-webpack-typescript-react/webpack.config.js b/samples/browser-esm-webpack-typescript-react/webpack.config.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript-react/webpack.config.js rename to samples/browser-esm-webpack-typescript-react/webpack.config.js diff --git a/monaco-editor-samples/browser-esm-webpack-typescript/.gitignore b/samples/browser-esm-webpack-typescript/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript/.gitignore rename to samples/browser-esm-webpack-typescript/.gitignore diff --git a/monaco-editor-samples/browser-esm-webpack-typescript/package.json b/samples/browser-esm-webpack-typescript/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript/package.json rename to samples/browser-esm-webpack-typescript/package.json diff --git a/monaco-editor-samples/browser-esm-webpack-typescript/src/index.css b/samples/browser-esm-webpack-typescript/src/index.css similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript/src/index.css rename to samples/browser-esm-webpack-typescript/src/index.css diff --git a/monaco-editor-samples/browser-esm-webpack-typescript/src/index.ts b/samples/browser-esm-webpack-typescript/src/index.ts similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript/src/index.ts rename to samples/browser-esm-webpack-typescript/src/index.ts diff --git a/monaco-editor-samples/browser-esm-webpack-typescript/tsconfig.json b/samples/browser-esm-webpack-typescript/tsconfig.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript/tsconfig.json rename to samples/browser-esm-webpack-typescript/tsconfig.json diff --git a/monaco-editor-samples/browser-esm-webpack-typescript/webpack.config.js b/samples/browser-esm-webpack-typescript/webpack.config.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack-typescript/webpack.config.js rename to samples/browser-esm-webpack-typescript/webpack.config.js diff --git a/monaco-editor-samples/browser-esm-webpack/.gitignore b/samples/browser-esm-webpack/.gitignore similarity index 100% rename from monaco-editor-samples/browser-esm-webpack/.gitignore rename to samples/browser-esm-webpack/.gitignore diff --git a/monaco-editor-samples/browser-esm-webpack/dist/index.html b/samples/browser-esm-webpack/dist/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack/dist/index.html rename to samples/browser-esm-webpack/dist/index.html diff --git a/monaco-editor-samples/browser-esm-webpack/index.html b/samples/browser-esm-webpack/index.html similarity index 100% rename from monaco-editor-samples/browser-esm-webpack/index.html rename to samples/browser-esm-webpack/index.html diff --git a/monaco-editor-samples/browser-esm-webpack/index.js b/samples/browser-esm-webpack/index.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack/index.js rename to samples/browser-esm-webpack/index.js diff --git a/monaco-editor-samples/browser-esm-webpack/package.json b/samples/browser-esm-webpack/package.json similarity index 100% rename from monaco-editor-samples/browser-esm-webpack/package.json rename to samples/browser-esm-webpack/package.json diff --git a/monaco-editor-samples/browser-esm-webpack/webpack.config.js b/samples/browser-esm-webpack/webpack.config.js similarity index 100% rename from monaco-editor-samples/browser-esm-webpack/webpack.config.js rename to samples/browser-esm-webpack/webpack.config.js diff --git a/monaco-editor-samples/browser-script-editor/index.html b/samples/browser-script-editor/index.html similarity index 100% rename from monaco-editor-samples/browser-script-editor/index.html rename to samples/browser-script-editor/index.html diff --git a/monaco-editor-samples/electron-amd-nodeIntegration/electron-index.html b/samples/electron-amd-nodeIntegration/electron-index.html similarity index 100% rename from monaco-editor-samples/electron-amd-nodeIntegration/electron-index.html rename to samples/electron-amd-nodeIntegration/electron-index.html diff --git a/monaco-editor-samples/electron-amd-nodeIntegration/index.html b/samples/electron-amd-nodeIntegration/index.html similarity index 100% rename from monaco-editor-samples/electron-amd-nodeIntegration/index.html rename to samples/electron-amd-nodeIntegration/index.html diff --git a/monaco-editor-samples/electron-amd-nodeIntegration/main.js b/samples/electron-amd-nodeIntegration/main.js similarity index 100% rename from monaco-editor-samples/electron-amd-nodeIntegration/main.js rename to samples/electron-amd-nodeIntegration/main.js diff --git a/monaco-editor-samples/electron-amd-nodeIntegration/package.json b/samples/electron-amd-nodeIntegration/package.json similarity index 100% rename from monaco-editor-samples/electron-amd-nodeIntegration/package.json rename to samples/electron-amd-nodeIntegration/package.json diff --git a/monaco-editor-samples/electron-amd/electron-index.html b/samples/electron-amd/electron-index.html similarity index 100% rename from monaco-editor-samples/electron-amd/electron-index.html rename to samples/electron-amd/electron-index.html diff --git a/monaco-editor-samples/electron-amd/index.html b/samples/electron-amd/index.html similarity index 100% rename from monaco-editor-samples/electron-amd/index.html rename to samples/electron-amd/index.html diff --git a/monaco-editor-samples/electron-amd/main.js b/samples/electron-amd/main.js similarity index 100% rename from monaco-editor-samples/electron-amd/main.js rename to samples/electron-amd/main.js diff --git a/monaco-editor-samples/electron-amd/package.json b/samples/electron-amd/package.json similarity index 100% rename from monaco-editor-samples/electron-amd/package.json rename to samples/electron-amd/package.json diff --git a/monaco-editor-samples/electron-esm-webpack/.gitignore b/samples/electron-esm-webpack/.gitignore similarity index 100% rename from monaco-editor-samples/electron-esm-webpack/.gitignore rename to samples/electron-esm-webpack/.gitignore diff --git a/monaco-editor-samples/electron-esm-webpack/dist/electron-index.html b/samples/electron-esm-webpack/dist/electron-index.html similarity index 100% rename from monaco-editor-samples/electron-esm-webpack/dist/electron-index.html rename to samples/electron-esm-webpack/dist/electron-index.html diff --git a/monaco-editor-samples/electron-esm-webpack/index.js b/samples/electron-esm-webpack/index.js similarity index 100% rename from monaco-editor-samples/electron-esm-webpack/index.js rename to samples/electron-esm-webpack/index.js diff --git a/monaco-editor-samples/electron-esm-webpack/main.js b/samples/electron-esm-webpack/main.js similarity index 100% rename from monaco-editor-samples/electron-esm-webpack/main.js rename to samples/electron-esm-webpack/main.js diff --git a/monaco-editor-samples/electron-esm-webpack/package.json b/samples/electron-esm-webpack/package.json similarity index 100% rename from monaco-editor-samples/electron-esm-webpack/package.json rename to samples/electron-esm-webpack/package.json diff --git a/monaco-editor-samples/electron-esm-webpack/webpack.config.js b/samples/electron-esm-webpack/webpack.config.js similarity index 100% rename from monaco-editor-samples/electron-esm-webpack/webpack.config.js rename to samples/electron-esm-webpack/webpack.config.js diff --git a/monaco-editor-samples/nwjs-amd-v2/index.html b/samples/nwjs-amd-v2/index.html similarity index 100% rename from monaco-editor-samples/nwjs-amd-v2/index.html rename to samples/nwjs-amd-v2/index.html diff --git a/monaco-editor-samples/nwjs-amd/index.html b/samples/nwjs-amd/index.html similarity index 100% rename from monaco-editor-samples/nwjs-amd/index.html rename to samples/nwjs-amd/index.html diff --git a/monaco-editor-samples/package-lock.json b/samples/package-lock.json similarity index 100% rename from monaco-editor-samples/package-lock.json rename to samples/package-lock.json diff --git a/monaco-editor-samples/package.json b/samples/package.json similarity index 97% rename from monaco-editor-samples/package.json rename to samples/package.json index 4eb25a6b..2a90c2c0 100644 --- a/monaco-editor-samples/package.json +++ b/samples/package.json @@ -1,6 +1,7 @@ { "name": "monaco-editor-samples", "version": "0.0.1", + "private": true, "description": "Samples for using the Monaco Editor", "main": "index.js", "scripts": {