Move out remaining files from `monaco-typescript`

pull/2766/head
Alex Dima 2021-11-13 20:15:46 +01:00
parent 8b4f06b8c5
commit d5e3af3744
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
9 changed files with 17 additions and 39 deletions

View File

@ -14,7 +14,7 @@ const generatedNote = `//
const REPO_ROOT = path.join(__dirname, '../');
const TYPESCRIPT_LIB_SOURCE = path.join(REPO_ROOT, 'node_modules/typescript/lib');
const TYPESCRIPT_LIB_DESTINATION = path.join(REPO_ROOT, 'monaco-typescript/src/lib');
const TYPESCRIPT_LIB_DESTINATION = path.join(REPO_ROOT, 'src/typescript/lib');
(function () {
try {
@ -111,7 +111,7 @@ define("vs/language/typescript/lib/typescriptServices", [], function() { return
// Remove pattern that creates warnings with esbuild
// e.g.
// > monaco-typescript/src/lib/typescriptServices.js:20:21: warning: Top-level "this" will be replaced with undefined since this file is an ECMAScript module
// > /src/typescript/lib/typescriptServices.js:20:21: warning: Top-level "this" will be replaced with undefined since this file is an ECMAScript module
// 20 │ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
// ╵ ~~~~
//

View File

@ -0,0 +1,13 @@
{
"folders": [
{
"path": "../vscode"
},
{
"path": "../vscode-loc"
},
{
"path": "."
}
]
}

View File

@ -1,34 +0,0 @@
{
"folders": [
{
"path": "../vscode"
},
{
"path": "../vscode-loc"
},
{
"path": "."
},
{
"path": "../monaco-css"
},
{
"path": "../monaco-html"
},
{
"path": "../monaco-json"
},
{
"path": "../monaco-languages"
},
{
"path": "../monaco-typescript"
},
{
"path": "../monaco-editor-webpack-plugin"
},
{
"path": "../monaco-editor-samples"
},
]
}

View File

@ -1,5 +1,4 @@
/// <reference path="../../node_modules/monaco-editor-core/monaco.d.ts" />
/// <reference path="../../monaco-typescript/monaco.d.ts" />
/// <reference path="../../release/monaco.d.ts" />
define(['require', './samples'], function (require, SAMPLES) {
var domutils = require('vs/base/browser/dom');

View File

@ -7,7 +7,7 @@
"license": "MIT",
"scripts": {
"simpleserver": "gulp simpleserver",
"import-typescript": "node ./monaco-typescript/importTypescript",
"import-typescript": "node ./build/importTypescript",
"watch-src": "tsc -w -p ./src",
"watch-languages": "tsc -w -p ./monaco-languages/src",
"watch": "npm-run-all -lp watch-src watch-languages",