0.2.5 • Published 11 days ago
makeswift v0.2.5
Running a local version of the Makeswift CLI
Modify the CLI so you know when you're running the local version
I like to add a console log to
/your/local/makeswift/packages/makeswift/src/init.ts
export default async function wrappedInit(name: string | undefined, args: InitArgs) {
- console.log(
\n\n\nRunning Local Version\n\n\n
) try { await init(name, args) } catch (err) { if (err instanceof MakeswiftError) { console.log(err.message) process.exit(0) } else { throw err } } }
- Run the CLI in dev mode
pnpm i --ignore-scripts pnpm -F makeswift dev
- Globally link the CLI
pnpm link --global --dir /your/local/makeswift/packages/makeswift
- Create a temp directory
cd $(mktemp -d)
Test the app by running
makeswift init test-app makeswift init test-app --with-bun makeswift init test-app --with-pnpm // etc...
When you are done, remove the linked version of the CLI
pnpm uninstall --global makeswift
0.2.5
11 days ago
0.0.0-app-router-support-20240326193332
2 months ago
0.2.3
2 months ago
0.2.4
2 months ago
0.0.0-app-router-support-20240311140950
2 months ago
0.0.0-app-router-support-20240307201337
2 months ago
0.2.1
3 months ago
0.2.2
3 months ago
0.2.0
3 months ago
0.1.8
1 year ago
0.1.7
1 year ago
0.0.10
2 years ago
0.0.0-20221011211555
2 years ago
0.1.0
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.0.0-alex-ferrari-20221006213634
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.1.4
2 years ago
0.0.0-alex-testing-20221006195014
2 years ago
0.1.3
2 years ago
0.1.6
1 year ago
0.0.7
2 years ago
0.1.5
1 year ago
0.0.1
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.0-20221004155648
2 years ago
0.0.6
2 years ago
0.0.0
2 years ago