-
-
Notifications
You must be signed in to change notification settings - Fork 878
Closed
Labels
Milestone
Description
Please make sure to use Typescript for all code
Task 1 - SolidStart Adaptor
- Create a new folder in
packagescalledsolidstart - Create the adaptor for SolidStart. 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 SolidStart project that uses the adaptor in
references/solidstartfolder. 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/solidstartfolder and copy in the contents frompackages/nextjs/README.md. Adjust the wording to reference SolidStart where needed, including updating the the URLs.
Task 3 – Write the documentation
- Create a manual setup guide in the docs. 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
- Create a
route.tsxpage located in_app.orgs.$organizationSlug.projects.$projectParam.setup.solidstartwith the 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.
