knip 5.57.0 → 5.57.1
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/dist/WorkspaceWorker.js +5 -4
- package/dist/graph/build.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/WorkspaceWorker.js
CHANGED
|
@@ -267,7 +267,8 @@ export class WorkspaceWorker {
|
|
|
267
267
|
configFileName: basename(configFilePath),
|
|
268
268
|
};
|
|
269
269
|
const cache = {};
|
|
270
|
-
|
|
270
|
+
const key = `${wsName}:${pluginName}`;
|
|
271
|
+
if (plugin.resolveConfig && !seen.get(key)?.has(configFilePath)) {
|
|
271
272
|
const localConfig = await loadConfigForPlugin(configFilePath, plugin, resolveOpts, pluginName);
|
|
272
273
|
if (localConfig) {
|
|
273
274
|
const inputs = await plugin.resolveConfig(localConfig, resolveOpts);
|
|
@@ -293,9 +294,9 @@ export class WorkspaceWorker {
|
|
|
293
294
|
if (basename(configFilePath) !== 'package.json') {
|
|
294
295
|
addInput(toEntry(configFilePath));
|
|
295
296
|
addInput(toConfig(pluginName, configFilePath));
|
|
296
|
-
if (!seen.has(
|
|
297
|
-
seen.set(
|
|
298
|
-
seen.get(
|
|
297
|
+
if (!seen.has(key))
|
|
298
|
+
seen.set(key, new Set());
|
|
299
|
+
seen.get(key)?.add(configFilePath);
|
|
299
300
|
}
|
|
300
301
|
if (!isManifest && fd?.changed && fd.meta)
|
|
301
302
|
fd.meta.data = cache;
|
package/dist/graph/build.js
CHANGED
|
@@ -10,7 +10,6 @@ import { isAlias, isConfig, isDeferResolveEntry, isDeferResolveProductionEntry,
|
|
|
10
10
|
import { getOrCreateFileNode, updateImportMap } from '../util/module-graph.js';
|
|
11
11
|
import { getEntryPathsFromManifest } from '../util/package-json.js';
|
|
12
12
|
import { dirname, isAbsolute, join, relative, toRelative } from '../util/path.js';
|
|
13
|
-
import {} from '../util/tag.js';
|
|
14
13
|
import { augmentWorkspace, getToSourcePathHandler, getToSourcePathsHandler } from '../util/to-source-path.js';
|
|
15
14
|
import { loadTSConfig } from '../util/tsconfig-loader.js';
|
|
16
15
|
export async function build({ cacheLocation, chief, collector, cwd, deputy, factory, gitignore, isCache, isFixExports, isFixTypes, isGitIgnored, isIsolateWorkspaces, isProduction, isSkipLibs, isStrict, isWatch, report, streamer, tags, tsConfigFile, workspaces, }) {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "5.57.
|
|
1
|
+
export declare const version = "5.57.1";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.57.
|
|
1
|
+
export const version = '5.57.1';
|