Skip to content

[legacy-framework] Fix buggy global/local CLI resolution code#731

Merged
flybayer merged 2 commits intocanaryfrom
fix-cli
Jul 6, 2020
Merged

[legacy-framework] Fix buggy global/local CLI resolution code#731
flybayer merged 2 commits intocanaryfrom
fix-cli

Conversation

@flybayer
Copy link
Member

@flybayer flybayer commented Jul 6, 2020

Closes: blitz-js/legacy-framework#684

What are the changes and their implications?

This drastically cleans up the hacky code for switching between global and local execution of the CLI package.

When blitz cli is used inside a blitz project, it uses the locally installed version of blitz. The code for doing that was buggy. This fixes that.

Also, this makes the blitz cli use the development version if the cli is globally linked!! This makes it very easy to test dev versions of blitz with apps that aren't in the blitz monorepo.

@flybayer flybayer merged commit fc9da2a into canary Jul 6, 2020
@flybayer flybayer deleted the fix-cli branch July 6, 2020 14:24
@itsdillon itsdillon changed the title Fix buggy global/local CLI resolution code [legacy-framework] Fix buggy global/local CLI resolution code Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installing tailwindcss breaks build on a fresh project

1 participant