Skip to content

Commit a500de0

Browse files
committed
2.0.1
1 parent db55467 commit a500de0

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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": {

src/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import { config } from '@/lib/conf.js';
1919
import { debug } from '@/lib/debug.js';
2020
import { type Target, repos } from '@/lib/repos.js';
2121
import { spinner } from '@/lib/spinner.js';
22+
import native from '@/target/native/index.js';
23+
import web from '@/target/web/index.js';
2224
import { match } from 'ts-pattern';
2325

2426
const 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();

src/target/native/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
// TODO: add native specific scripts here
22
// - renaming assets
33
// - updating package names
4+
export default () => {};

src/target/web/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
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]');

0 commit comments

Comments
 (0)