question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

https://github.com/google/wireit

Wireit is a library that works with npm for making scripts smarter and more efficient. At a high level, for each script (which is like projen’s current tasks) you can specify input and output files, as well as scripts that it depends on. By doing so, the library provides automatic caching (locally and on GitHub), as well as the ability to run tasks in parallel. It’s fairly minimal so the task model feels like a strong fit for projen.

It’s open ended how we would integrate this. One direction could be to extend the existing task model (I started to work on this in a separate branch: https://github.com/projen/projen/tree/rybickic/wireit). A better direction might be to replace projen’s task system entirely with this one, and/or consume wireit programmatically within projen (suggested by @mmcculloh-dms).

As an aside, I think having a Project base class that doesn’t have Tasks built-in (https://github.com/projen/projen/issues/1761) might make it easier to iterate on this kind of idea.

This feature probably needs a mini-RFC

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mrgraincommented, Aug 11, 2022

I agree. We need to make sure the contract for task runners is right. Then we can implement a default choice for the batteries-included projects based on that.

1reaction
moltarcommented, Aug 11, 2022

@andrestone If you are still looking to contribute, you know where to find me 😁 I’m working on a few solutions in this space, as a third-party component.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wireit upgrades your npm/pnpm/yarn scripts to make ... - GitHub
Join the Wireit Discord to chat with the Wireit community and get support for your project. Discord. Dependencies. To declare a dependency between...
Read more >
ContactUS - WireIT
Call Center: 087 7420 459. Support: helpdesk@wireit.co.za. Open 24/7. (including weekends and public holidays ). Sales Enquiries. sales@wireit.co.za.
Read more >
WireIT - Facebook
Use WireIT to buy prepaid electricity and water online using ABSA, FNB, Nedbank, Standard Bank and ... send us a direct message (DM)...
Read more >
Wire-it Electrical Services and Testing: Commercial Electrician ...
Service Always On-Time · Commercial Electrical & Testing Services in DC, MD, & VA · Prompt Service · Prompt Service · Prompt Service...
Read more >
Network Cabling Services | Security Camera Installation for NJ ...
Wire It On Is located in Bergen County, New Jersey. ... Our Low Voltage cable wiring solutions support voice, data, security, and audio/video....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found