Skip to content

Commit

Permalink
chore(lint-packages): delete unnecessary check for private packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakutoc committed Sep 20, 2023
1 parent d01fff4 commit d38e6c0
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions scripts/lint-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,17 @@ const packagesInfo = lerna.packages
author,
} = packageJSON;

// TODO: Убрать проверку, как только auto + npm plugin сможет корректно проставлять
// версии в приватных пакетах
if (
!['@salutejs/plasma-web-docs', '@salutejs/plasma-ui-docs', '@salutejs/plasma-temple-docs'].includes(
name,
)
) {
packages.set(name, {
name,
version,
dependencies,
devDependencies,
peerDependencies,
private,
author,
path: packagePath,
dir: p,
});
}
packages.set(name, {
name,
version,
dependencies,
devDependencies,
peerDependencies,
private,
author,
path: packagePath,
dir: p,
});
} catch (err) {
console.error(p, 'Error while reading package.json');
}
Expand Down

0 comments on commit d38e6c0

Please sign in to comment.