@oclif/plugin-test-esbuild 0.4.11 → 0.4.12
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/README.md +1 -1
- package/dist/{chunk-BYUSTTOD.js → chunk-CIX6RJY7.js} +135 -77
- package/dist/{chunk-GD66YHG5.js → chunk-HI3G23BH.js} +1 -1
- package/dist/{chunk-BJAVUDKI.js → chunk-J4F6MRFC.js} +1 -1
- package/dist/{chunk-63CAATEE.js → chunk-OLLTA5OL.js} +1 -1
- package/dist/{chunk-FIWLG4UA.js → chunk-PCDHMGQT.js} +1 -1
- package/dist/commands/esbuild.js +2 -2
- package/dist/commands/hello/index.js +2 -2
- package/dist/commands/hello/world.js +2 -2
- package/dist/hooks/init/init.js +2 -2
- package/dist/index.js +5 -5
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @oclif/plugin-test-esbuild
|
|
|
17
17
|
$ bundle COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ bundle (--version)
|
|
20
|
-
@oclif/plugin-test-esbuild/0.4.
|
|
20
|
+
@oclif/plugin-test-esbuild/0.4.12 linux-x64 node-v20.12.1
|
|
21
21
|
$ bundle --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ bundle COMMAND
|
|
@@ -4226,7 +4226,7 @@ var require_typescript = __commonJS({
|
|
|
4226
4226
|
"src/compiler/corePublic.ts"() {
|
|
4227
4227
|
"use strict";
|
|
4228
4228
|
versionMajorMinor = "5.4";
|
|
4229
|
-
version = "5.4.
|
|
4229
|
+
version = "5.4.4";
|
|
4230
4230
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
4231
4231
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
4232
4232
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -9877,14 +9877,17 @@ ${lanes.join("\n")}
|
|
|
9877
9877
|
pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingInterval === 250 ? "pollLowPollingIntervalQueue" : "pollPollingIntervalQueue", pollingIntervalQueue(pollingInterval));
|
|
9878
9878
|
}
|
|
9879
9879
|
}
|
|
9880
|
-
function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2) {
|
|
9880
|
+
function createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp) {
|
|
9881
9881
|
const fileWatcherCallbacks = createMultiMap();
|
|
9882
|
+
const fileTimestamps = fsWatchWithTimestamp ? /* @__PURE__ */ new Map() : void 0;
|
|
9882
9883
|
const dirWatchers = /* @__PURE__ */ new Map();
|
|
9883
9884
|
const toCanonicalName = createGetCanonicalFileName(useCaseSensitiveFileNames2);
|
|
9884
9885
|
return nonPollingWatchFile;
|
|
9885
9886
|
function nonPollingWatchFile(fileName, callback, _pollingInterval, fallbackOptions) {
|
|
9886
9887
|
const filePath = toCanonicalName(fileName);
|
|
9887
|
-
fileWatcherCallbacks.add(filePath, callback)
|
|
9888
|
+
if (fileWatcherCallbacks.add(filePath, callback).length === 1 && fileTimestamps) {
|
|
9889
|
+
fileTimestamps.set(filePath, getModifiedTime3(fileName) || missingFileModifiedTime);
|
|
9890
|
+
}
|
|
9888
9891
|
const dirPath = getDirectoryPath(filePath) || ".";
|
|
9889
9892
|
const watcher = dirWatchers.get(dirPath) || createDirectoryWatcher(getDirectoryPath(fileName) || ".", dirPath, fallbackOptions);
|
|
9890
9893
|
watcher.referenceCount++;
|
|
@@ -9904,14 +9907,31 @@ ${lanes.join("\n")}
|
|
|
9904
9907
|
const watcher = fsWatch(
|
|
9905
9908
|
dirName,
|
|
9906
9909
|
1,
|
|
9907
|
-
(
|
|
9910
|
+
(eventName, relativeFileName) => {
|
|
9908
9911
|
if (!isString(relativeFileName))
|
|
9909
9912
|
return;
|
|
9910
9913
|
const fileName = getNormalizedAbsolutePath(relativeFileName, dirName);
|
|
9911
|
-
const
|
|
9914
|
+
const filePath = toCanonicalName(fileName);
|
|
9915
|
+
const callbacks = fileName && fileWatcherCallbacks.get(filePath);
|
|
9912
9916
|
if (callbacks) {
|
|
9917
|
+
let currentModifiedTime;
|
|
9918
|
+
let eventKind = 1;
|
|
9919
|
+
if (fileTimestamps) {
|
|
9920
|
+
const existingTime = fileTimestamps.get(filePath);
|
|
9921
|
+
if (eventName === "change") {
|
|
9922
|
+
currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime;
|
|
9923
|
+
if (currentModifiedTime.getTime() === existingTime.getTime())
|
|
9924
|
+
return;
|
|
9925
|
+
}
|
|
9926
|
+
currentModifiedTime || (currentModifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime);
|
|
9927
|
+
fileTimestamps.set(filePath, currentModifiedTime);
|
|
9928
|
+
if (existingTime === missingFileModifiedTime)
|
|
9929
|
+
eventKind = 0;
|
|
9930
|
+
else if (currentModifiedTime === missingFileModifiedTime)
|
|
9931
|
+
eventKind = 2;
|
|
9932
|
+
}
|
|
9913
9933
|
for (const fileCallback of callbacks) {
|
|
9914
|
-
fileCallback(fileName,
|
|
9934
|
+
fileCallback(fileName, eventKind, currentModifiedTime);
|
|
9915
9935
|
}
|
|
9916
9936
|
}
|
|
9917
9937
|
},
|
|
@@ -10314,7 +10334,7 @@ ${lanes.join("\n")}
|
|
|
10314
10334
|
);
|
|
10315
10335
|
case 5:
|
|
10316
10336
|
if (!nonPollingWatchFile) {
|
|
10317
|
-
nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2);
|
|
10337
|
+
nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames2, getModifiedTime3, fsWatchWithTimestamp);
|
|
10318
10338
|
}
|
|
10319
10339
|
return nonPollingWatchFile(fileName, callback, pollingInterval, getFallbackOptions(options));
|
|
10320
10340
|
default:
|
|
@@ -10504,7 +10524,7 @@ ${lanes.join("\n")}
|
|
|
10504
10524
|
return watchPresentFileSystemEntryWithFsWatchFile();
|
|
10505
10525
|
}
|
|
10506
10526
|
try {
|
|
10507
|
-
const presentWatcher = (!fsWatchWithTimestamp ? fsWatchWorker : fsWatchWorkerHandlingTimestamp)(
|
|
10527
|
+
const presentWatcher = (entryKind === 1 || !fsWatchWithTimestamp ? fsWatchWorker : fsWatchWorkerHandlingTimestamp)(
|
|
10508
10528
|
fileOrDirectory,
|
|
10509
10529
|
recursive,
|
|
10510
10530
|
inodeWatching ? callbackChangingToMissingFileSystemEntry : callback
|
|
@@ -53166,13 +53186,21 @@ ${lanes.join("\n")}
|
|
|
53166
53186
|
}
|
|
53167
53187
|
const nearestTargetPackageJson = getNearestAncestorDirectoryWithPackageJson(host, getDirectoryPath(modulePath));
|
|
53168
53188
|
const nearestSourcePackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory);
|
|
53169
|
-
|
|
53189
|
+
const ignoreCase = !hostUsesCaseSensitiveFileNames(host);
|
|
53190
|
+
if (!packageJsonPathsAreEqual(nearestTargetPackageJson, nearestSourcePackageJson, ignoreCase)) {
|
|
53170
53191
|
return maybeNonRelative;
|
|
53171
53192
|
}
|
|
53172
53193
|
return relativePath;
|
|
53173
53194
|
}
|
|
53174
53195
|
return isPathRelativeToParent(maybeNonRelative) || countPathComponents(relativePath) < countPathComponents(maybeNonRelative) ? relativePath : maybeNonRelative;
|
|
53175
53196
|
}
|
|
53197
|
+
function packageJsonPathsAreEqual(a, b, ignoreCase) {
|
|
53198
|
+
if (a === b)
|
|
53199
|
+
return true;
|
|
53200
|
+
if (a === void 0 || b === void 0)
|
|
53201
|
+
return false;
|
|
53202
|
+
return comparePaths(a, b, ignoreCase) === 0;
|
|
53203
|
+
}
|
|
53176
53204
|
function countPathComponents(path2) {
|
|
53177
53205
|
let count = 0;
|
|
53178
53206
|
for (let i = startsWith(path2, "./") ? 2 : 0; i < path2.length; i++) {
|
|
@@ -58500,15 +58528,19 @@ ${lanes.join("\n")}
|
|
|
58500
58528
|
return true;
|
|
58501
58529
|
}
|
|
58502
58530
|
}
|
|
58503
|
-
function
|
|
58531
|
+
function getMeaningOfEntityNameReference(entityName) {
|
|
58504
58532
|
let meaning;
|
|
58505
58533
|
if (entityName.parent.kind === 186 || entityName.parent.kind === 233 && !isPartOfTypeNode(entityName.parent) || entityName.parent.kind === 167) {
|
|
58506
58534
|
meaning = 111551 | 1048576;
|
|
58507
|
-
} else if (entityName.kind === 166 || entityName.kind === 211 || entityName.parent.kind === 271) {
|
|
58535
|
+
} else if (entityName.kind === 166 || entityName.kind === 211 || entityName.parent.kind === 271 || entityName.parent.kind === 166 && entityName.parent.left === entityName || entityName.parent.kind === 211 && entityName.parent.expression === entityName || entityName.parent.kind === 212 && entityName.parent.expression === entityName) {
|
|
58508
58536
|
meaning = 1920;
|
|
58509
58537
|
} else {
|
|
58510
58538
|
meaning = 788968;
|
|
58511
58539
|
}
|
|
58540
|
+
return meaning;
|
|
58541
|
+
}
|
|
58542
|
+
function isEntityNameVisible(entityName, enclosingDeclaration) {
|
|
58543
|
+
const meaning = getMeaningOfEntityNameReference(entityName);
|
|
58512
58544
|
const firstIdentifier = getFirstIdentifier(entityName);
|
|
58513
58545
|
const symbol = resolveName(
|
|
58514
58546
|
enclosingDeclaration,
|
|
@@ -60821,9 +60853,10 @@ ${lanes.join("\n")}
|
|
|
60821
60853
|
introducesError = true;
|
|
60822
60854
|
return { introducesError, node };
|
|
60823
60855
|
}
|
|
60856
|
+
const meaning = getMeaningOfEntityNameReference(node);
|
|
60824
60857
|
const sym = resolveEntityName(
|
|
60825
60858
|
leftmost,
|
|
60826
|
-
|
|
60859
|
+
meaning,
|
|
60827
60860
|
/*ignoreErrors*/
|
|
60828
60861
|
true,
|
|
60829
60862
|
/*dontResolveAlias*/
|
|
@@ -60833,18 +60866,13 @@ ${lanes.join("\n")}
|
|
|
60833
60866
|
if (isSymbolAccessible(
|
|
60834
60867
|
sym,
|
|
60835
60868
|
context.enclosingDeclaration,
|
|
60836
|
-
|
|
60869
|
+
meaning,
|
|
60837
60870
|
/*shouldComputeAliasesToMakeVisible*/
|
|
60838
60871
|
false
|
|
60839
60872
|
).accessibility !== 0) {
|
|
60840
60873
|
introducesError = true;
|
|
60841
60874
|
} else {
|
|
60842
|
-
context.tracker.trackSymbol(
|
|
60843
|
-
sym,
|
|
60844
|
-
context.enclosingDeclaration,
|
|
60845
|
-
-1
|
|
60846
|
-
/* All */
|
|
60847
|
-
);
|
|
60875
|
+
context.tracker.trackSymbol(sym, context.enclosingDeclaration, meaning);
|
|
60848
60876
|
includePrivateSymbol == null ? void 0 : includePrivateSymbol(sym);
|
|
60849
60877
|
}
|
|
60850
60878
|
if (isIdentifier(node)) {
|
|
@@ -69334,6 +69362,9 @@ ${lanes.join("\n")}
|
|
|
69334
69362
|
/* Null */
|
|
69335
69363
|
);
|
|
69336
69364
|
result = getUnionType([getIntersectionType(typeSet), nullType], 1, aliasSymbol, aliasTypeArguments);
|
|
69365
|
+
} else if (typeSet.length >= 4) {
|
|
69366
|
+
const middle = Math.floor(typeSet.length / 2);
|
|
69367
|
+
result = getIntersectionType([getIntersectionType(typeSet.slice(0, middle)), getIntersectionType(typeSet.slice(middle))], aliasSymbol, aliasTypeArguments);
|
|
69337
69368
|
} else {
|
|
69338
69369
|
if (!checkCrossProductUnion(typeSet)) {
|
|
69339
69370
|
return errorType;
|
|
@@ -174082,10 +174113,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
174082
174113
|
return isJsxExpression(parent2) && !isJsxElement(parent2.parent) && !isJsxFragment(parent2.parent) ? checker.getContextualTypeForJsxAttribute(parent2.parent) : void 0;
|
|
174083
174114
|
default:
|
|
174084
174115
|
const argInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(previousToken, position, sourceFile, checker);
|
|
174085
|
-
return argInfo ? (
|
|
174086
|
-
// At `,`, treat this as the next argument after the comma.
|
|
174087
|
-
checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex + (previousToken.kind === 28 ? 1 : 0))
|
|
174088
|
-
) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? (
|
|
174116
|
+
return argInfo ? checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? (
|
|
174089
174117
|
// completion at `x ===/**/` should be for the right side
|
|
174090
174118
|
checker.getTypeAtLocation(parent2.left)
|
|
174091
174119
|
) : checker.getContextualType(
|
|
@@ -182959,12 +182987,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
182959
182987
|
if (!info)
|
|
182960
182988
|
return void 0;
|
|
182961
182989
|
const { list, argumentIndex } = info;
|
|
182962
|
-
const argumentCount = getArgumentCount(
|
|
182963
|
-
list,
|
|
182964
|
-
/*ignoreTrailingComma*/
|
|
182965
|
-
isInString(sourceFile, position, node),
|
|
182966
|
-
checker
|
|
182967
|
-
);
|
|
182990
|
+
const argumentCount = getArgumentCount(checker, list);
|
|
182968
182991
|
if (argumentIndex !== 0) {
|
|
182969
182992
|
Debug.assertLessThan(argumentIndex, argumentCount);
|
|
182970
182993
|
}
|
|
@@ -182976,7 +182999,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
182976
182999
|
return { list: getChildListThatStartsWithOpenerToken(node.parent, node, sourceFile), argumentIndex: 0 };
|
|
182977
183000
|
} else {
|
|
182978
183001
|
const list = findContainingList(node);
|
|
182979
|
-
return list && { list, argumentIndex: getArgumentIndex(list, node
|
|
183002
|
+
return list && { list, argumentIndex: getArgumentIndex(checker, list, node) };
|
|
182980
183003
|
}
|
|
182981
183004
|
}
|
|
182982
183005
|
function getImmediatelyContainingArgumentInfo(node, position, sourceFile, checker) {
|
|
@@ -183109,24 +183132,6 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
183109
183132
|
return isFunctionTypeNode(d) ? (_a = tryCast(d.parent, canHaveSymbol)) == null ? void 0 : _a.symbol : void 0;
|
|
183110
183133
|
}) || s : s;
|
|
183111
183134
|
}
|
|
183112
|
-
function getArgumentIndex(argumentsList, node, checker) {
|
|
183113
|
-
const args = argumentsList.getChildren();
|
|
183114
|
-
let argumentIndex = 0;
|
|
183115
|
-
for (let pos = 0; pos < length(args); pos++) {
|
|
183116
|
-
const child = args[pos];
|
|
183117
|
-
if (child === node) {
|
|
183118
|
-
break;
|
|
183119
|
-
}
|
|
183120
|
-
if (isSpreadElement(child)) {
|
|
183121
|
-
argumentIndex = argumentIndex + getSpreadElementCount(child, checker) + (pos > 0 ? pos : 0);
|
|
183122
|
-
} else {
|
|
183123
|
-
if (child.kind !== 28) {
|
|
183124
|
-
argumentIndex++;
|
|
183125
|
-
}
|
|
183126
|
-
}
|
|
183127
|
-
}
|
|
183128
|
-
return argumentIndex;
|
|
183129
|
-
}
|
|
183130
183135
|
function getSpreadElementCount(node, checker) {
|
|
183131
183136
|
const spreadType = checker.getTypeAtLocation(node.expression);
|
|
183132
183137
|
if (checker.isTupleType(spreadType)) {
|
|
@@ -183139,23 +183144,48 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
183139
183144
|
}
|
|
183140
183145
|
return 0;
|
|
183141
183146
|
}
|
|
183142
|
-
function
|
|
183143
|
-
|
|
183144
|
-
|
|
183145
|
-
|
|
183147
|
+
function getArgumentIndex(checker, argumentsList, node) {
|
|
183148
|
+
return getArgumentIndexOrCount(checker, argumentsList, node);
|
|
183149
|
+
}
|
|
183150
|
+
function getArgumentCount(checker, argumentsList) {
|
|
183151
|
+
return getArgumentIndexOrCount(
|
|
183152
|
+
checker,
|
|
183153
|
+
argumentsList,
|
|
183154
|
+
/*node*/
|
|
183155
|
+
void 0
|
|
183156
|
+
);
|
|
183157
|
+
}
|
|
183158
|
+
function getArgumentIndexOrCount(checker, argumentsList, node) {
|
|
183159
|
+
const args = argumentsList.getChildren();
|
|
183160
|
+
let argumentIndex = 0;
|
|
183161
|
+
let skipComma = false;
|
|
183162
|
+
for (const child of args) {
|
|
183163
|
+
if (node && child === node) {
|
|
183164
|
+
if (!skipComma && child.kind === 28) {
|
|
183165
|
+
argumentIndex++;
|
|
183166
|
+
}
|
|
183167
|
+
return argumentIndex;
|
|
183168
|
+
}
|
|
183146
183169
|
if (isSpreadElement(child)) {
|
|
183147
|
-
|
|
183170
|
+
argumentIndex += getSpreadElementCount(child, checker);
|
|
183171
|
+
skipComma = true;
|
|
183172
|
+
continue;
|
|
183148
183173
|
}
|
|
183174
|
+
if (child.kind !== 28) {
|
|
183175
|
+
argumentIndex++;
|
|
183176
|
+
skipComma = true;
|
|
183177
|
+
continue;
|
|
183178
|
+
}
|
|
183179
|
+
if (skipComma) {
|
|
183180
|
+
skipComma = false;
|
|
183181
|
+
continue;
|
|
183182
|
+
}
|
|
183183
|
+
argumentIndex++;
|
|
183149
183184
|
}
|
|
183150
|
-
|
|
183151
|
-
|
|
183152
|
-
(arg) => arg.kind !== 28
|
|
183153
|
-
/* CommaToken */
|
|
183154
|
-
);
|
|
183155
|
-
if (!ignoreTrailingComma && listChildren.length > 0 && last(listChildren).kind === 28) {
|
|
183156
|
-
argumentCount++;
|
|
183185
|
+
if (node) {
|
|
183186
|
+
return argumentIndex;
|
|
183157
183187
|
}
|
|
183158
|
-
return
|
|
183188
|
+
return args.length && last(args).kind === 28 ? argumentIndex + 1 : argumentIndex;
|
|
183159
183189
|
}
|
|
183160
183190
|
function getArgumentIndexForTemplatePiece(spanIndex, node, position, sourceFile) {
|
|
183161
183191
|
Debug.assert(position >= node.getStart(), "Assumed 'position' could not occur before node.");
|
|
@@ -194183,7 +194213,16 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
194183
194213
|
recursive ? watchedDirectoriesRecursive : watchedDirectories,
|
|
194184
194214
|
path2,
|
|
194185
194215
|
callback,
|
|
194186
|
-
(id) => ({
|
|
194216
|
+
(id) => ({
|
|
194217
|
+
eventName: CreateDirectoryWatcherEvent,
|
|
194218
|
+
data: {
|
|
194219
|
+
id,
|
|
194220
|
+
path: path2,
|
|
194221
|
+
recursive: !!recursive,
|
|
194222
|
+
// Special case node_modules as we watch it for changes to closed script infos as well
|
|
194223
|
+
ignoreUpdate: !path2.endsWith("/node_modules") ? true : void 0
|
|
194224
|
+
}
|
|
194225
|
+
})
|
|
194187
194226
|
);
|
|
194188
194227
|
}
|
|
194189
194228
|
function getOrCreateFileWatcher({ pathToId, idToCallbacks }, path2, callback, event) {
|
|
@@ -194210,24 +194249,43 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
194210
194249
|
}
|
|
194211
194250
|
};
|
|
194212
194251
|
}
|
|
194213
|
-
function onWatchChange(
|
|
194214
|
-
|
|
194215
|
-
|
|
194216
|
-
|
|
194252
|
+
function onWatchChange(args) {
|
|
194253
|
+
if (isArray(args))
|
|
194254
|
+
args.forEach(onWatchChangeRequestArgs);
|
|
194255
|
+
else
|
|
194256
|
+
onWatchChangeRequestArgs(args);
|
|
194217
194257
|
}
|
|
194218
|
-
function
|
|
194219
|
-
|
|
194220
|
-
|
|
194221
|
-
|
|
194222
|
-
|
|
194223
|
-
|
|
194258
|
+
function onWatchChangeRequestArgs({ id, created, deleted, updated }) {
|
|
194259
|
+
onWatchEventType(
|
|
194260
|
+
id,
|
|
194261
|
+
created,
|
|
194262
|
+
0
|
|
194263
|
+
/* Created */
|
|
194264
|
+
);
|
|
194265
|
+
onWatchEventType(
|
|
194266
|
+
id,
|
|
194267
|
+
deleted,
|
|
194268
|
+
2
|
|
194269
|
+
/* Deleted */
|
|
194270
|
+
);
|
|
194271
|
+
onWatchEventType(
|
|
194272
|
+
id,
|
|
194273
|
+
updated,
|
|
194274
|
+
1
|
|
194275
|
+
/* Changed */
|
|
194276
|
+
);
|
|
194224
194277
|
}
|
|
194225
|
-
function
|
|
194226
|
-
|
|
194227
|
-
if (eventType === "update")
|
|
194278
|
+
function onWatchEventType(id, paths, eventKind) {
|
|
194279
|
+
if (!(paths == null ? void 0 : paths.length))
|
|
194228
194280
|
return;
|
|
194229
|
-
(
|
|
194230
|
-
|
|
194281
|
+
forEachCallback(watchedFiles, id, paths, (callback, eventPath) => callback(eventPath, eventKind));
|
|
194282
|
+
forEachCallback(watchedDirectories, id, paths, (callback, eventPath) => callback(eventPath));
|
|
194283
|
+
forEachCallback(watchedDirectoriesRecursive, id, paths, (callback, eventPath) => callback(eventPath));
|
|
194284
|
+
}
|
|
194285
|
+
function forEachCallback(hostWatcherMap, id, eventPaths, cb) {
|
|
194286
|
+
var _a;
|
|
194287
|
+
(_a = hostWatcherMap.idToCallbacks.get(id)) == null ? void 0 : _a.forEach((callback) => {
|
|
194288
|
+
eventPaths.forEach((eventPath) => cb(callback, normalizeSlashes(eventPath)));
|
|
194231
194289
|
});
|
|
194232
194290
|
}
|
|
194233
194291
|
}
|
package/dist/commands/esbuild.js
CHANGED
package/dist/hooks/init/init.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ESBuild
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PCDHMGQT.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OLLTA5OL.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HI3G23BH.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-J4F6MRFC.js";
|
|
13
13
|
import {
|
|
14
14
|
__commonJS,
|
|
15
15
|
__toESM,
|
|
16
16
|
init_cjs_shims,
|
|
17
17
|
require_lib,
|
|
18
18
|
require_src
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CIX6RJY7.js";
|
|
20
20
|
|
|
21
21
|
// node_modules/semver/internal/constants.js
|
|
22
22
|
var require_constants = __commonJS({
|
package/oclif.manifest.json
CHANGED