File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " flowbite-qwik-cli" ,
3
- "version" : " 0.1.0 " ,
3
+ "version" : " 0.1.1 " ,
4
4
"description" : " This is a CLI tool to setup flowbite qwik into your project" ,
5
5
"main" : " bin/init.cjs" ,
6
6
"bin" : {
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ ${globalCssContent}
181
181
}` ,
182
182
{
183
183
singleQuote : true ,
184
- parser : 'babel' ,
184
+ parser : "css" ,
185
185
} ,
186
186
)
187
187
@@ -232,8 +232,12 @@ async function installFlowbiteQwik(): Promise<void> {
232
232
} )
233
233
234
234
loader . start ( 'Setup flowbite-qwik...' )
235
- await addFlowbiteToGlobalCss ( )
236
- await addFlowbiteWrapper ( colorTheme as string , toastPosition as string , useDarkTheme as boolean )
235
+ try {
236
+ await addFlowbiteToGlobalCss ( )
237
+ await addFlowbiteWrapper ( colorTheme as string , toastPosition as string , useDarkTheme as boolean )
238
+ } catch ( error ) {
239
+ console . log ( error )
240
+ }
237
241
loader . stop ( 'Flowbite Qwik configured! 🎉' )
238
242
}
239
243
You can’t perform that action at this time.
0 commit comments