Skip to content

Stop depending on typescript for unrelated commands #487

Description

@leo

#482 uncovered that we were bundling the entire TypeScript compiler into Blade, which shouldn't be happening.

The PR defined the dependency as external, which means that projects now have to define it themselves in order to make use of the blade types command.

However there is still one problem: If typescript is not present, all blade commands crash at bootup time. Instead, I would say that only the codegen-related commands should require the dependency, right?

The other option is adding typescript as a dependency to Blade, which seems overkill considering that many people install typescript on their own project due to defining a tsconfig.json.

Once that's done, the extra dependency added in #486 and https://github.com/ronin-co/front/pull/130 should be removed again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions