Adjust package.json scripts and move all dev deps to the root package.json

This commit is contained in:
Alex Dima 2021-11-05 16:53:05 +01:00
parent ebcdd4fe0d
commit 7c6062ccf7
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
45 changed files with 1252 additions and 5160 deletions

View file

@ -6,15 +6,15 @@
const path = require('path');
const helpers = require('monaco-plugin-helpers');
const REPO_ROOT = path.join(__dirname, '../');
const REPO_ROOT = path.join(__dirname, '../../');
helpers.packageESM({
repoRoot: REPO_ROOT,
esmSource: 'out/esm',
esmDestination: 'release/esm',
esmSource: 'monaco-json/out/esm',
esmDestination: 'monaco-json/release/esm',
entryPoints: ['monaco.contribution.js', 'jsonMode.js', 'json.worker.js'],
resolveAlias: {
'vscode-nls': path.join(REPO_ROOT, 'out/esm/fillers/vscode-nls.js')
'vscode-nls': path.join(REPO_ROOT, 'monaco-json/out/esm/fillers/vscode-nls.js')
},
resolveSkip: ['monaco-editor-core'],
destinationFolderSimplification: {