mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 09:20:10 +01:00
Move out remaining files from monaco-typescript
This commit is contained in:
parent
8b4f06b8c5
commit
d5e3af3744
9 changed files with 17 additions and 39 deletions
|
|
@ -14,7 +14,7 @@ const generatedNote = `//
|
||||||
|
|
||||||
const REPO_ROOT = path.join(__dirname, '../');
|
const REPO_ROOT = path.join(__dirname, '../');
|
||||||
const TYPESCRIPT_LIB_SOURCE = path.join(REPO_ROOT, 'node_modules/typescript/lib');
|
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 () {
|
(function () {
|
||||||
try {
|
try {
|
||||||
|
|
@ -111,7 +111,7 @@ define("vs/language/typescript/lib/typescriptServices", [], function() { return
|
||||||
|
|
||||||
// Remove pattern that creates warnings with esbuild
|
// Remove pattern that creates warnings with esbuild
|
||||||
// e.g.
|
// 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) {
|
// 20 │ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
||||||
// ╵ ~~~~
|
// ╵ ~~~~
|
||||||
//
|
//
|
||||||
13
monaco-editor.code-workspace
Normal file
13
monaco-editor.code-workspace
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": "../vscode"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../vscode-loc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -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"
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
/// <reference path="../../node_modules/monaco-editor-core/monaco.d.ts" />
|
/// <reference path="../../release/monaco.d.ts" />
|
||||||
/// <reference path="../../monaco-typescript/monaco.d.ts" />
|
|
||||||
define(['require', './samples'], function (require, SAMPLES) {
|
define(['require', './samples'], function (require, SAMPLES) {
|
||||||
var domutils = require('vs/base/browser/dom');
|
var domutils = require('vs/base/browser/dom');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"simpleserver": "gulp simpleserver",
|
"simpleserver": "gulp simpleserver",
|
||||||
"import-typescript": "node ./monaco-typescript/importTypescript",
|
"import-typescript": "node ./build/importTypescript",
|
||||||
"watch-src": "tsc -w -p ./src",
|
"watch-src": "tsc -w -p ./src",
|
||||||
"watch-languages": "tsc -w -p ./monaco-languages/src",
|
"watch-languages": "tsc -w -p ./monaco-languages/src",
|
||||||
"watch": "npm-run-all -lp watch-src watch-languages",
|
"watch": "npm-run-all -lp watch-src watch-languages",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue