monaco-editor-core no longer ships any built-in languages
This commit is contained in:
parent
09b4121dfe
commit
fa48339ae2
|
@ -6,7 +6,6 @@
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
var _ = require('underscore');
|
var _ = require('underscore');
|
||||||
var buildfile = require('../src/buildfile');
|
|
||||||
var util = require('./lib/util');
|
var util = require('./lib/util');
|
||||||
var common = require('./gulpfile.common');
|
var common = require('./gulpfile.common');
|
||||||
var es = require('event-stream');
|
var es = require('event-stream');
|
||||||
|
@ -19,12 +18,18 @@ var headerVersion = semver + '(' + sha1 + ')';
|
||||||
|
|
||||||
// Build
|
// Build
|
||||||
|
|
||||||
var editorEntryPoints = _.flatten([
|
var editorEntryPoints = [
|
||||||
buildfile.entrypoint('vs/editor/editor.main'),
|
{
|
||||||
buildfile.base,
|
name: 'vs/editor/editor.main',
|
||||||
buildfile.editor,
|
include: [],
|
||||||
buildfile.languages
|
exclude: [ 'vs/css', 'vs/nls' ]
|
||||||
]);
|
},
|
||||||
|
{
|
||||||
|
name: 'vs/base/common/worker/simpleWorker',
|
||||||
|
include: [ 'vs/editor/common/services/editorSimpleWorker' ],
|
||||||
|
exclude: [ 'vs/css', 'vs/nls' ]
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
var editorResources = [
|
var editorResources = [
|
||||||
'out-build/vs/{base,editor}/**/*.{svg,png}',
|
'out-build/vs/{base,editor}/**/*.{svg,png}',
|
||||||
|
@ -32,7 +37,6 @@ var editorResources = [
|
||||||
'!out-build/vs/base/browser/ui/toolbar/**/*',
|
'!out-build/vs/base/browser/ui/toolbar/**/*',
|
||||||
'!out-build/vs/base/browser/ui/octiconLabel/**/*',
|
'!out-build/vs/base/browser/ui/octiconLabel/**/*',
|
||||||
'!out-build/vs/editor/contrib/defineKeybinding/**/*',
|
'!out-build/vs/editor/contrib/defineKeybinding/**/*',
|
||||||
'out-build/vs/base/worker/workerMainCompatibility.html',
|
|
||||||
'out-build/vs/base/worker/workerMain.{js,js.map}',
|
'out-build/vs/base/worker/workerMain.{js,js.map}',
|
||||||
'!out-build/vs/workbench/**',
|
'!out-build/vs/workbench/**',
|
||||||
'!**/test/**'
|
'!**/test/**'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "monaco-editor-core",
|
"name": "monaco-editor-core",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.7.0-next.4",
|
"version": "0.7.0-next.5",
|
||||||
"description": "A browser based code editor",
|
"description": "A browser based code editor",
|
||||||
"author": "Microsoft Corporation",
|
"author": "Microsoft Corporation",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -41,8 +41,6 @@ import {
|
||||||
import {ContextKeyService} from 'vs/platform/contextkey/browser/contextKeyService';
|
import {ContextKeyService} from 'vs/platform/contextkey/browser/contextKeyService';
|
||||||
import {IMenuService} from 'vs/platform/actions/common/actions';
|
import {IMenuService} from 'vs/platform/actions/common/actions';
|
||||||
import {MenuService} from 'vs/platform/actions/common/menuService';
|
import {MenuService} from 'vs/platform/actions/common/menuService';
|
||||||
import {ICompatWorkerService} from 'vs/editor/common/services/compatWorkerService';
|
|
||||||
import {MainThreadCompatWorkerService} from 'vs/editor/common/services/compatWorkerServiceMain';
|
|
||||||
|
|
||||||
export interface IEditorContextViewService extends IContextViewService {
|
export interface IEditorContextViewService extends IContextViewService {
|
||||||
dispose(): void;
|
dispose(): void;
|
||||||
|
@ -137,8 +135,6 @@ export module StaticServices {
|
||||||
|
|
||||||
export const modelService = define(IModelService, (o) => new ModelServiceImpl(markerService.get(o), configurationService.get(o), messageService.get(o)));
|
export const modelService = define(IModelService, (o) => new ModelServiceImpl(markerService.get(o), configurationService.get(o), messageService.get(o)));
|
||||||
|
|
||||||
export const compatWorkerService = define(ICompatWorkerService, (o) => new MainThreadCompatWorkerService(modelService.get(o)));
|
|
||||||
|
|
||||||
export const editorWorkerService = define(IEditorWorkerService, (o) => new EditorWorkerServiceImpl(modelService.get(o)));
|
export const editorWorkerService = define(IEditorWorkerService, (o) => new EditorWorkerServiceImpl(modelService.get(o)));
|
||||||
|
|
||||||
export const codeEditorService = define(ICodeEditorService, () => new CodeEditorServiceImpl());
|
export const codeEditorService = define(ICodeEditorService, () => new CodeEditorServiceImpl());
|
||||||
|
|
Loading…
Reference in a new issue