0.2.5 • Published 11 days ago

makeswift v0.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

Running a local version of the Makeswift CLI

  1. 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 } } }
  1. Run the CLI in dev mode
    pnpm i --ignore-scripts
    pnpm -F makeswift dev
  2. Globally link the CLI
    pnpm link --global --dir /your/local/makeswift/packages/makeswift
  3. Create a temp directory
    cd $(mktemp -d)
  4. Test the app by running

    makeswift init test-app
    makeswift init test-app --with-bun
    makeswift init test-app --with-pnpm
    
    // etc...
  5. When you are done, remove the linked version of the CLI

    pnpm uninstall --global makeswift
0.2.5

11 days ago

0.2.3

2 months ago

0.2.4

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.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.1.4

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.6

2 years ago

0.0.0

2 years ago