File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " create-start-ui" ,
33 "description" : " Scaffold a new Start-UI project" ,
4- "version" : " 2.0.0 " ,
4+ "version" : " 2.0.1 " ,
55 "license" : " MIT" ,
66 "type" : " module" ,
77 "bin" : {
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ import { config } from '@/lib/conf.js';
1919import { debug } from '@/lib/debug.js' ;
2020import { type Target , repos } from '@/lib/repos.js' ;
2121import { spinner } from '@/lib/spinner.js' ;
22+ import native from '@/target/native/index.js' ;
23+ import web from '@/target/web/index.js' ;
2224import { match } from 'ts-pattern' ;
2325
2426const parsedCliArgs = program . parse ( process . argv ) ;
@@ -123,7 +125,4 @@ console.log(
123125
124126// Once the repo template has been copied into
125127// the disired folder, run target specific scripts
126- match ( type )
127- . with ( 'web' , ( ) => import ( '@/target/web/index.js' ) )
128- . with ( 'native' , ( ) => import ( '@/target/native/index.js' ) )
129- . exhaustive ( ) ;
128+ match ( type ) . with ( 'web' , web ) . with ( 'native' , native ) . exhaustive ( ) ;
Original file line number Diff line number Diff line change 11// TODO: add native specific scripts here
22// - renaming assets
33// - updating package names
4+ export default ( ) => { } ;
Original file line number Diff line number Diff line change 1- console . log ( 'ℹ️ Check https://docs.web.start-ui.com/ for additional guides or details about 🚀 Start UI [web]' ) ;
1+ export default ( ) =>
2+ console . log ( 'ℹ️ Check https://docs.web.start-ui.com/ for additional guides or details about 🚀 Start UI [web]' ) ;
You can’t perform that action at this time.
0 commit comments