Skip to content

Commit ed163fe

Browse files
committed
Drop unused publishedPackageExtraDependencies scaffolding
1 parent d564740 commit ed163fe

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

packages/tools/src/commands/integrity/dependencies.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ const dependencyExceptions = [
3131
'@dd/tools',
3232
];
3333

34-
// Dependencies that are added directly to a published package and should not
35-
// be removed by the integrity check, even though they don't come from an
36-
// internal plugin's dependency tree.
37-
const publishedPackageExtraDependencies: Record<string, Record<string, string>> = {};
38-
3934
// Some filters.
4035
const allDependencies = (dependencyName: string) => !dependencyExceptions.includes(dependencyName);
4136
const onlyInternalDependencies = (dependencyName: string) =>
@@ -137,10 +132,10 @@ export const updateDependencies = async (workspaces: Workspace[], bundlers: Work
137132
}
138133
}
139134

140-
const expectedDependencies: Record<string, string> = {
141-
...cleanDependencies(recordedDependencies, onlyExternalDependencies),
142-
...(publishedPackageExtraDependencies[bundler.name] || {}),
143-
};
135+
const expectedDependencies: Record<string, string> = cleanDependencies(
136+
recordedDependencies,
137+
onlyExternalDependencies,
138+
);
144139

145140
// First list all the dependencies we need to check.
146141
const depdenciesToCheck = new Map([

0 commit comments

Comments
 (0)