Skip to content

Install.sh to TypeScript #7

Description

@jpillora

Nice project!

In one of my previous tools, early on, I switched the system automation from bash to typescript. Luckily I did, the complexity grew rapidly and there’s now 6K lines on TS doing system automation / devops tasks.

You’ll have lots of shell exec(…) but it’ll be much easier to maintain and handle errors - plus it’ll enable better concurrency and streaming use cases, which are virtually impossible in bash

Suggestion: switch your install.sh to install.ts

Bonus: it looks like it’s AI generated, with TS the types give AI a more of a complexity runway, they’ll still get muddled if complexity gets high enough but they’ll go a bit further with the help of the type checker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions