Title: [TRI-1252] Framework: support for Nest.js · Issue #449 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: [TRI-1252] Framework: support for Nest.js · Issue #449 · triggerdotdev/trigger.dev
X Title: [TRI-1252] Framework: support for Nest.js · Issue #449 · triggerdotdev/trigger.dev
Description: Build support for Nest.js into Trigger.dev Please make sure to use Typescript for all code Task 1 - Nest.js Adaptor Create a new folder in packages called nestjs Create the adaptor for Nest.js. Use this Next.js adaptor code as reference ...
Open Graph Description: Build support for Nest.js into Trigger.dev Please make sure to use Typescript for all code Task 1 - Nest.js Adaptor Create a new folder in packages called nestjs Create the adaptor for Nest.js. Use...
X Description: Build support for Nest.js into Trigger.dev Please make sure to use Typescript for all code Task 1 - Nest.js Adaptor Create a new folder in packages called nestjs Create the adaptor for Nest.js. Use...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/449
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[TRI-1252] Framework: support for Nest.js","articleBody":"# Build support for Nest.js into Trigger.dev\r\n\r\n**_Please make sure to use Typescript for all code_**\r\n\r\n### Task 1 - Nest.js Adaptor\r\n- [ ] Create a new folder in `packages` called `nestjs`\r\n- [ ] Create the adaptor for Nest.js. Use [this Next.js adaptor](https://github.com/triggerdotdev/trigger.dev/blob/main/packages/nextjs/src/index.ts) 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.\r\n- [ ] Create a basic Nest.js project that uses the adaptor in `examples/nestjs` folder. 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](https://github.com/triggerdotdev/trigger.dev/blob/aae143d96e1cd3c2b2b2ccb5120f75651a4261d0/examples/nextjs-example/package.json#L14) and [tsconfig.json](https://github.com/triggerdotdev/trigger.dev/blob/aae143d96e1cd3c2b2b2ccb5120f75651a4261d0/examples/nextjs-example/tsconfig.json#L31).\r\n- [ ] Provide a screen grab of your terminal showing the Adaptor is working\r\n\r\n### Task 2 – Add a README.md file\r\n- [ ] Create a new README.md file inside the `packages/nestjs` folder and copy in the contents from `packages/nextjs/README.md`. Adjust the wording to reference Nest.js where needed, including updating the the URLs.\r\n\r\n### Task 3 – Write the documentation\r\n- [ ] Locate the `manual-setup-nestjs.mdx` folder in `/docs/_snippets/`. Use this file to write your documentation, overwriting any contents of that file. Follow the structure of [this Next.js example](https://trigger.dev/docs/documentation/guides/manual/nextjs) for reference when writing yours.\r\n- [ ] Update the table at the bottom of the `client-adaptors.mdx` page with the framework you’ve worked on.\r\n\r\n### Task 4 – Update the webapp onboarding\r\n- [ ] In the `route.tsx` page located in `_app.orgs.$organizationSlug.projects.$projectParam.setup.nestjs` replace the `\u003cFrameworkComingSoon/>` 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 `\u003cRadioGroup/>` toggle selector at the top). Make sure you also include the `useProjectSetupComplete();` 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 🥳 .\r\n- [ ] In the `FrameworkSelector.tsx` file, add “supported” to the framework you’ve worked on.\r\n\n\n\u003csub>[TRI-1252](https://linear.app/triggerdotdev/issue/TRI-1252/framework-support-for-nestjs)\u003c/sub>","author":{"url":"https://github.com/samejr","@type":"Person","name":"samejr"},"datePublished":"2023-09-08T15:54:55Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/449"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:70d326ad-9ae1-1829-249f-34f4957e72f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA74:376D0C:442E16C:5C8A4D8:6AFAE12F |
| html-safe-nonce | 048288f16ca202078ac2130d75bb6b33c8d86bd959ebf56d933a31a10ca28bd2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTc0OjM3NkQwQzo0NDJFMTZDOjVDOEE0RDg6NkFGQUUxMkYiLCJ2aXNpdG9yX2lkIjoiNzYxMDg3OTcyMDg1NTIyNzM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 275a8f8dd54757bed1d3785aaa4833f5ec0e99bd14bfd8e9c270d1d9d9ff62de |
| hovercard-subject-tag | issue:1887939147 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/449/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87f5676f45b4520664d6ce272563af3dc7269f9d30646953f05fae0dccf412fa/triggerdotdev/trigger.dev/issues/449 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87f5676f45b4520664d6ce272563af3dc7269f9d30646953f05fae0dccf412fa/triggerdotdev/trigger.dev/issues/449 |
| og:image:alt | Build support for Nest.js into Trigger.dev Please make sure to use Typescript for all code Task 1 - Nest.js Adaptor Create a new folder in packages called nestjs Create the adaptor for Nest.js. Use... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | samejr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a7ae932999cc6d511008dbf980ff9efad2a31f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width