Rename to /samples/

This commit is contained in:
Alex Dima 2021-11-16 22:01:05 +01:00
parent c9081ee4f3
commit 091f871e65
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
85 changed files with 12 additions and 15 deletions

View File

@ -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/

View File

@ -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)

View File

@ -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 <a href="http://localhost:8888">localhost:8888</a> 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.

View File

@ -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": {