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/ **/node_modules/
**/out/ **/out/
**/release/ **/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/samples-all.generated.js
/monaco-editor/test/playground.generated/ /monaco-editor/test/playground.generated/
/monaco-editor/typedoc/theme/ /monaco-editor/typedoc/theme/
/monaco-editor/typedoc/monaco.d.ts /monaco-editor/typedoc/monaco.d.ts
/monaco-editor/website/lib/ /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/ /src/typescript/lib/

View file

@ -30,7 +30,7 @@ It is recommended to develop against the `dev` version, and in production to use
## Documentation ## 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](./monaco-editor/docs/integrate-amd.md).
- [Integrate the AMD version cross-domain](./monaco-editor/docs/integrate-amd-cross.md) - [Integrate the AMD version cross-domain](./monaco-editor/docs/integrate-amd-cross.md)
- [Integrate the ESM version](./monaco-editor/docs/integrate-esm.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 ## Running
```bash ```bash
git clone https://github.com/Microsoft/monaco-editor-samples.git git clone https://github.com/microsoft/monaco-editor.git
cd monaco-editor-samples cd samples
npm install . npm install .
npm run simpleserver npm run simpleserver
``` ```
Go to <a href="http://localhost:8888">localhost:8888</a> and explore the samples! 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 ## Loading variations
- `browser-amd-editor`: running in a browser using `AMD` lazy loading. - `browser-amd-editor`: running in a browser using `AMD` lazy loading.

View file

@ -1,6 +1,7 @@
{ {
"name": "monaco-editor-samples", "name": "monaco-editor-samples",
"version": "0.0.1", "version": "0.0.1",
"private": true,
"description": "Samples for using the Monaco Editor", "description": "Samples for using the Monaco Editor",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {