Skip to content

Commit

Permalink
setup: only grab local deps during bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Aug 2, 2023
1 parent 8f41e25 commit ec1d5cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/bootstrap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ async function findDependencies(scope) {
function filterDependencies(basePath, dependencies) {
if (!dependencies) return [];
return Object.entries(dependencies)
.filter(
([key, value]) =>
key.startsWith("@notesnook/") || value.startsWith("file:")
)
.filter(([key, value]) => value.startsWith("file:"))
.map(([_, value]) =>
path.resolve(path.join(basePath, value.replace("file:", "")))
);
Expand Down

0 comments on commit ec1d5cc

Please sign in to comment.