Skip to content

Commit e1c176a

Browse files
committed
fix(cli): remove strict from rawConfigSchema
1 parent 9306ce6 commit e1c176a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

packages/cli/src/utils/get-config.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ const explorer = cosmiconfig('components', {
1010
searchPlaces: ['components.json'],
1111
});
1212

13-
export const rawConfigSchema = z
14-
.object({
15-
aliases: z.object({
16-
components: z.string(),
17-
lib: z.string(),
18-
}),
19-
})
20-
.strict();
13+
export const rawConfigSchema = z.object({
14+
aliases: z.object({
15+
components: z.string(),
16+
lib: z.string(),
17+
}),
18+
});
2119

2220
export type RawConfig = z.infer<typeof rawConfigSchema>;
2321

0 commit comments

Comments
 (0)