Skip to content

Commit

Permalink
change default files to *
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Dec 7, 2024
1 parent d2faa62 commit fc3b528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function validateFilesField(packageJson: PackageMetadata) {
definedField: true,
missingFiles: [],
}
const filesField = packageJson.files || []
const filesField = packageJson.files || ['*']
const exportsField = packageJson.exports || {}

state.definedField = !!packageJson.files
Expand Down

0 comments on commit fc3b528

Please sign in to comment.