@codingame/monaco-vscode-rollup-vsix-plugin 12.0.1 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rollup-vsix-plugin.js +28 -27
package/package.json
CHANGED
package/rollup-vsix-plugin.js
CHANGED
|
@@ -2,15 +2,16 @@ import { createFilter } from '@rollup/pluginutils';
|
|
|
2
2
|
import * as yauzl from 'yauzl';
|
|
3
3
|
import { createFsFromVolume, Volume } from 'memfs';
|
|
4
4
|
import thenby from 'thenby';
|
|
5
|
-
import
|
|
6
|
-
import * as path$1 from 'path';
|
|
7
|
-
import path__default from 'path';
|
|
5
|
+
import 'node:stream';
|
|
6
|
+
import * as path$1 from 'node:path';
|
|
8
7
|
import parseCssUrl from 'css-url-parser';
|
|
9
8
|
import * as mime from 'mime-types';
|
|
10
9
|
import require$$0 from 'os';
|
|
11
|
-
import require$$0$1 from '
|
|
12
|
-
import require$$0$
|
|
13
|
-
import require$$0$3 from '
|
|
10
|
+
import require$$0$1 from 'path';
|
|
11
|
+
import require$$0$2 from 'util';
|
|
12
|
+
import require$$0$3 from 'stream';
|
|
13
|
+
import require$$0$5 from 'events';
|
|
14
|
+
import require$$0$4 from 'fs';
|
|
14
15
|
|
|
15
16
|
/*---------------------------------------------------------------------------------------------
|
|
16
17
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1015,7 +1016,7 @@ function requirePath () {
|
|
|
1015
1016
|
Object.defineProperty(path, "__esModule", { value: true });
|
|
1016
1017
|
path.convertPosixPathToPattern = path.convertWindowsPathToPattern = path.convertPathToPattern = path.escapePosixPath = path.escapeWindowsPath = path.escape = path.removeLeadingDotSegment = path.makeAbsolute = path.unixify = undefined;
|
|
1017
1018
|
const os = require$$0;
|
|
1018
|
-
const path$1 =
|
|
1019
|
+
const path$1 = require$$0$1;
|
|
1019
1020
|
const IS_WINDOWS_PLATFORM = os.platform() === 'win32';
|
|
1020
1021
|
const LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; // ./ or .\\
|
|
1021
1022
|
/**
|
|
@@ -1280,7 +1281,7 @@ function requireGlobParent () {
|
|
|
1280
1281
|
hasRequiredGlobParent = 1;
|
|
1281
1282
|
|
|
1282
1283
|
var isGlob = requireIsGlob();
|
|
1283
|
-
var pathPosixDirname =
|
|
1284
|
+
var pathPosixDirname = require$$0$1.posix.dirname;
|
|
1284
1285
|
var isWin32 = require$$0.platform() === 'win32';
|
|
1285
1286
|
|
|
1286
1287
|
var slash = '/';
|
|
@@ -1830,7 +1831,7 @@ function requireFillRange () {
|
|
|
1830
1831
|
if (hasRequiredFillRange) return fillRange;
|
|
1831
1832
|
hasRequiredFillRange = 1;
|
|
1832
1833
|
|
|
1833
|
-
const util = require$$0$
|
|
1834
|
+
const util = require$$0$2;
|
|
1834
1835
|
const toRegexRange = requireToRegexRange();
|
|
1835
1836
|
|
|
1836
1837
|
const isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
@@ -2852,7 +2853,7 @@ function requireConstants$1 () {
|
|
|
2852
2853
|
if (hasRequiredConstants$1) return constants$1;
|
|
2853
2854
|
hasRequiredConstants$1 = 1;
|
|
2854
2855
|
|
|
2855
|
-
const path =
|
|
2856
|
+
const path = require$$0$1;
|
|
2856
2857
|
const WIN_SLASH = '\\\\/';
|
|
2857
2858
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
2858
2859
|
|
|
@@ -3039,7 +3040,7 @@ function requireUtils$2 () {
|
|
|
3039
3040
|
hasRequiredUtils$2 = 1;
|
|
3040
3041
|
(function (exports) {
|
|
3041
3042
|
|
|
3042
|
-
const path =
|
|
3043
|
+
const path = require$$0$1;
|
|
3043
3044
|
const win32 = process.platform === 'win32';
|
|
3044
3045
|
const {
|
|
3045
3046
|
REGEX_BACKSLASH,
|
|
@@ -4610,7 +4611,7 @@ function requirePicomatch$1 () {
|
|
|
4610
4611
|
if (hasRequiredPicomatch$1) return picomatch_1;
|
|
4611
4612
|
hasRequiredPicomatch$1 = 1;
|
|
4612
4613
|
|
|
4613
|
-
const path =
|
|
4614
|
+
const path = require$$0$1;
|
|
4614
4615
|
const scan = requireScan();
|
|
4615
4616
|
const parse = requireParse();
|
|
4616
4617
|
const utils = requireUtils$2();
|
|
@@ -4971,7 +4972,7 @@ function requireMicromatch () {
|
|
|
4971
4972
|
if (hasRequiredMicromatch) return micromatch_1;
|
|
4972
4973
|
hasRequiredMicromatch = 1;
|
|
4973
4974
|
|
|
4974
|
-
const util = require$$0$
|
|
4975
|
+
const util = require$$0$2;
|
|
4975
4976
|
const braces = requireBraces();
|
|
4976
4977
|
const picomatch = requirePicomatch();
|
|
4977
4978
|
const utils = requireUtils$2();
|
|
@@ -5453,7 +5454,7 @@ function requirePattern () {
|
|
|
5453
5454
|
hasRequiredPattern = 1;
|
|
5454
5455
|
Object.defineProperty(pattern, "__esModule", { value: true });
|
|
5455
5456
|
pattern.isAbsolute = pattern.partitionAbsoluteAndRelative = pattern.removeDuplicateSlashes = pattern.matchAny = pattern.convertPatternsToRe = pattern.makeRe = pattern.getPatternParts = pattern.expandBraceExpansion = pattern.expandPatternsWithBraceExpansion = pattern.isAffectDepthOfReadingPattern = pattern.endsWithSlashGlobStar = pattern.hasGlobStar = pattern.getBaseDirectory = pattern.isPatternRelatedToParentDirectory = pattern.getPatternsOutsideCurrentDirectory = pattern.getPatternsInsideCurrentDirectory = pattern.getPositivePatterns = pattern.getNegativePatterns = pattern.isPositivePattern = pattern.isNegativePattern = pattern.convertToNegativePattern = pattern.convertToPositivePattern = pattern.isDynamicPattern = pattern.isStaticPattern = undefined;
|
|
5456
|
-
const path =
|
|
5457
|
+
const path = require$$0$1;
|
|
5457
5458
|
const globParent = requireGlobParent();
|
|
5458
5459
|
const micromatch = requireMicromatch();
|
|
5459
5460
|
const GLOBSTAR = '**';
|
|
@@ -5674,7 +5675,7 @@ function requireMerge2 () {
|
|
|
5674
5675
|
* Copyright (c) 2014-2020 Teambition
|
|
5675
5676
|
* Licensed under the MIT license.
|
|
5676
5677
|
*/
|
|
5677
|
-
const Stream = require$$0$
|
|
5678
|
+
const Stream = require$$0$3;
|
|
5678
5679
|
const PassThrough = Stream.PassThrough;
|
|
5679
5680
|
const slice = Array.prototype.slice;
|
|
5680
5681
|
|
|
@@ -6103,7 +6104,7 @@ function requireFs$2 () {
|
|
|
6103
6104
|
(function (exports) {
|
|
6104
6105
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6105
6106
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
|
|
6106
|
-
const fs = require$$0$
|
|
6107
|
+
const fs = require$$0$4;
|
|
6107
6108
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
6108
6109
|
lstat: fs.lstat,
|
|
6109
6110
|
stat: fs.stat,
|
|
@@ -6533,7 +6534,7 @@ function requireFs () {
|
|
|
6533
6534
|
(function (exports) {
|
|
6534
6535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6535
6536
|
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
|
|
6536
|
-
const fs = require$$0$
|
|
6537
|
+
const fs = require$$0$4;
|
|
6537
6538
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
6538
6539
|
lstat: fs.lstat,
|
|
6539
6540
|
stat: fs.stat,
|
|
@@ -6559,7 +6560,7 @@ function requireSettings$2 () {
|
|
|
6559
6560
|
if (hasRequiredSettings$2) return settings$2;
|
|
6560
6561
|
hasRequiredSettings$2 = 1;
|
|
6561
6562
|
Object.defineProperty(settings$2, "__esModule", { value: true });
|
|
6562
|
-
const path =
|
|
6563
|
+
const path = require$$0$1;
|
|
6563
6564
|
const fsStat = requireOut$3();
|
|
6564
6565
|
const fs = requireFs();
|
|
6565
6566
|
class Settings {
|
|
@@ -7044,7 +7045,7 @@ function requireAsync$3 () {
|
|
|
7044
7045
|
if (hasRequiredAsync$3) return async$2;
|
|
7045
7046
|
hasRequiredAsync$3 = 1;
|
|
7046
7047
|
Object.defineProperty(async$2, "__esModule", { value: true });
|
|
7047
|
-
const events_1 = require$$0$
|
|
7048
|
+
const events_1 = require$$0$5;
|
|
7048
7049
|
const fsScandir = requireOut$2();
|
|
7049
7050
|
const fastq = requireQueue();
|
|
7050
7051
|
const common = requireCommon();
|
|
@@ -7187,7 +7188,7 @@ function requireStream$2 () {
|
|
|
7187
7188
|
if (hasRequiredStream$2) return stream$2;
|
|
7188
7189
|
hasRequiredStream$2 = 1;
|
|
7189
7190
|
Object.defineProperty(stream$2, "__esModule", { value: true });
|
|
7190
|
-
const stream_1 = require$$0$
|
|
7191
|
+
const stream_1 = require$$0$3;
|
|
7191
7192
|
const async_1 = requireAsync$3();
|
|
7192
7193
|
class StreamProvider {
|
|
7193
7194
|
constructor(_root, _settings) {
|
|
@@ -7321,7 +7322,7 @@ function requireSettings$1 () {
|
|
|
7321
7322
|
if (hasRequiredSettings$1) return settings$1;
|
|
7322
7323
|
hasRequiredSettings$1 = 1;
|
|
7323
7324
|
Object.defineProperty(settings$1, "__esModule", { value: true });
|
|
7324
|
-
const path =
|
|
7325
|
+
const path = require$$0$1;
|
|
7325
7326
|
const fsScandir = requireOut$2();
|
|
7326
7327
|
class Settings {
|
|
7327
7328
|
constructor(_options = {}) {
|
|
@@ -7397,7 +7398,7 @@ function requireReader () {
|
|
|
7397
7398
|
if (hasRequiredReader) return reader;
|
|
7398
7399
|
hasRequiredReader = 1;
|
|
7399
7400
|
Object.defineProperty(reader, "__esModule", { value: true });
|
|
7400
|
-
const path =
|
|
7401
|
+
const path = require$$0$1;
|
|
7401
7402
|
const fsStat = requireOut$3();
|
|
7402
7403
|
const utils = requireUtils$1();
|
|
7403
7404
|
class Reader {
|
|
@@ -7439,7 +7440,7 @@ function requireStream$1 () {
|
|
|
7439
7440
|
if (hasRequiredStream$1) return stream$1;
|
|
7440
7441
|
hasRequiredStream$1 = 1;
|
|
7441
7442
|
Object.defineProperty(stream$1, "__esModule", { value: true });
|
|
7442
|
-
const stream_1 = require$$0$
|
|
7443
|
+
const stream_1 = require$$0$3;
|
|
7443
7444
|
const fsStat = requireOut$3();
|
|
7444
7445
|
const fsWalk = requireOut$1();
|
|
7445
7446
|
const reader_1 = requireReader();
|
|
@@ -7870,7 +7871,7 @@ function requireProvider () {
|
|
|
7870
7871
|
if (hasRequiredProvider) return provider;
|
|
7871
7872
|
hasRequiredProvider = 1;
|
|
7872
7873
|
Object.defineProperty(provider, "__esModule", { value: true });
|
|
7873
|
-
const path =
|
|
7874
|
+
const path = require$$0$1;
|
|
7874
7875
|
const deep_1 = requireDeep();
|
|
7875
7876
|
const entry_1 = requireEntry$1();
|
|
7876
7877
|
const error_1 = requireError();
|
|
@@ -7957,7 +7958,7 @@ function requireStream () {
|
|
|
7957
7958
|
if (hasRequiredStream) return stream;
|
|
7958
7959
|
hasRequiredStream = 1;
|
|
7959
7960
|
Object.defineProperty(stream, "__esModule", { value: true });
|
|
7960
|
-
const stream_1 = require$$0$
|
|
7961
|
+
const stream_1 = require$$0$3;
|
|
7961
7962
|
const stream_2 = requireStream$1();
|
|
7962
7963
|
const provider_1 = requireProvider();
|
|
7963
7964
|
class ProviderStream extends provider_1.default {
|
|
@@ -8083,7 +8084,7 @@ function requireSettings () {
|
|
|
8083
8084
|
(function (exports) {
|
|
8084
8085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8085
8086
|
exports.DEFAULT_FILE_SYSTEM_ADAPTER = undefined;
|
|
8086
|
-
const fs = require$$0$
|
|
8087
|
+
const fs = require$$0$4;
|
|
8087
8088
|
const os = require$$0;
|
|
8088
8089
|
/**
|
|
8089
8090
|
* The `os.cpus` method can return zero. We expect the number of cores to be greater than zero.
|
|
@@ -8539,7 +8540,7 @@ function plugin({ include = '**/*.vsix', exclude, transformManifest = (manifest)
|
|
|
8539
8540
|
.flat()
|
|
8540
8541
|
.sort(firstBy('pathInExtension'));
|
|
8541
8542
|
return `
|
|
8542
|
-
import { registerExtension } from 'vscode/extensions'
|
|
8543
|
+
import { registerExtension } from '@codingame/monaco-vscode-api/extensions'
|
|
8543
8544
|
|
|
8544
8545
|
const manifest = ${JSON.stringify(manifest)}
|
|
8545
8546
|
|