fix: run correct lock-scan file type (#2342)

This commit is contained in:
Ayo Ayco 2024-08-22 09:21:58 +02:00 committed by GitHub
parent 95b7460367
commit ec81abb293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ module.exports = {
'prettier --write', 'prettier --write',
"markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'", "markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",
], ],
'package-lock.json': ['node ./scripts/lock-scan.js'], 'package-lock.json': ['node ./scripts/lock-scan.mjs'],
'*package.json': absolutePaths => { '*package.json': absolutePaths => {
const sortPackages = []; const sortPackages = [];
absolutePaths.forEach(p => { absolutePaths.forEach(p => {