Skip to content

Commit

Permalink
fix: update packageJsonSchema to allow .d.ts files in validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoward1994 committed Jan 21, 2025
1 parent e6d73f1 commit c8760f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/utils/pkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const packageJsonSchema = yup.object({
} else {
acc[key] = yup
.string()
.matches(/^\.\/.*\.json$/)
.matches(/^\.\/.*\.(json|d\.ts)$/)
.required();
}

Expand Down

0 comments on commit c8760f4

Please sign in to comment.