[TRI-1251] Framework: support for Redwood.js
Build support for Redwood into Trigger.dev
Please make sure to use Typescript for all code
Task 1 - Redwood Adaptor
- [ ] Create a new folder in
packagescalledredwood - [ ] Create the adaptor for Redwood. Use this Next.js adaptor code as reference when creating yours. Include all setup configurations to fully support the framework, e.g. Next.js requires adaptor support for both App and Pages routers.
- [ ] Create a basic Redwood project that uses the adaptor in
examples/redwoodfolder. Include a basic Job in Trigger.dev, e.g. a simple Job that just does a delay inside it. Screen grab the full Run dashboard page showing it successfully worked. Here are examples of how to do cross-project references in package.json and tsconfig.json. - [ ] Provide a screen grab of your terminal showing the Adaptor is working
Task 2 – Add a README.md file
- [ ] Create a new README.md file inside the
packages/redwoodfolder and copy in the contents frompackages/nextjs/README.md. Adjust the wording to reference Redwood where needed, including updating the the URLs.
Task 3 – Write the documentation
- [ ] Locate the
manual-setup-redwood.mdxfolder in/docs/_snippets/. Use this file to write your documentation, overwriting any contents of that file. Follow the structure of this Next.js example for reference when writing yours. - [ ] Update the table at the bottom of the
client-adaptors.mdxpage with the framework you’ve worked on.
Task 4 – Update the webapp onboarding
- [ ] In the
route.tsxpage located in_app.orgs.$organizationSlug.projects.$projectParam.setup.redwoodreplace the<FrameworkComingSoon/>component with your new onboarding steps. Follow the same structure as the Next.js example when creating your own. Ignore the very top step for adding this framework to a new project, just focus on the steps to add it to an existing project (so don’t include the<RadioGroup/>toggle selector at the top). Make sure you also include theuseProjectSetupComplete();hook at the top of the page – this triggers a particle effect when the new job is successfully created and redirects to the Jobs list 🥳 . - [ ] In the
FrameworkSelector.tsxfile, add “supported” to the framework you’ve worked on.
/bounty $200
💎 $200 bounty • Trigger.dev (YC W23)
~~## 💎 $200 bounty • Trigger.dev (YC W23)~~
Steps to solve:
-
Start working: Comment
/attempt #448with your implementation plan -
Submit work: Create a pull request including
/claim #448in the PR body to claim the bounty - Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts
Additional opportunities:
-
🔴 Livestream on Algora TV while solving this bounty & earn $200 upon merge! Make sure to have your camera and microphone on. Comment
/livestreamonce live
Thank you for contributing to triggerdotdev/trigger.dev!
Can you assign this to me?
This one is yours 👍
Thanks, looks like Redwood is tough for people :) (just kidding @ajcwebdev)
@rishi-raj-jain: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏
I'm working on it.
The bounty is up for grabs! Everyone is welcome to /attempt #448 🙌
/tip @rishi-raj-jain $200
/tip $200 @rishi-raj-jain
🎉🎈 @rishi-raj-jain has been awarded $200! 🎈🎊
This issue is currently on pause because RedwoodJS currently only supports the Yarn package manager: https://github.com/redwoodjs/redwood/issues/2907.
This means that it doesn't play nicely inside our repo. If we could get it work nicely we'd also have to make it so all the instructions in the app and docs only used yarn.
Additionally here's a comment with a video showing the problem: https://github.com/triggerdotdev/trigger.dev/pull/598#issuecomment-1754963307
Is this issue still on pause? @matt-aitken
Hey, we won’t be providing an official Redwood package for v2. Instead, v3 will be shipping in a few weeks and will not require any framework specific code: https://trigger.dev/blog/v3-announcement
/attempt #448
@HyperDanisH: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
Hey @HyperDanisH this bounty has already been claimed
@samejr It's fine, I can further look for other bounties.



