Commit Graph

4066 Commits

Author SHA1 Message Date
alubọsa 8f050b40c1 chore(docs): add changeset guide to contributing.md (#219)
* chore(docs): add changeset guide to contributing.md

* chore: text changes to changeset guide

* Update CONTRIBUTING.md

---------

Co-authored-by: Eric Allam <eallam@icloud.com>
2023-07-26 17:30:58 +01:00
Ashutosh Bhadauriya 3cf01ff14c Add testing CLI changes guide to contributing.md (#220)
* Add testing CLI changes guide to contributing.md

* Update backticks
2023-07-26 17:18:42 +01:00
Matt Aitken 73e0084125 New lock file after main merge 2023-07-26 16:44:37 +01:00
Matt Aitken 093c9ec015 Merge remote-tracking branch 'origin/main' into react-hooks
# Conflicts:
#	pnpm-lock.yaml
2023-07-26 16:44:09 +01:00
Matt Aitken 475dddfbe4 Added private API keys to the environment page, with some explanatory text 2023-07-26 16:41:17 +01:00
Matt Aitken 188e4f2740 Added an outline styled for badges 2023-07-26 16:40:51 +01:00
Matt Aitken 4dc2b3184b Fix for missing pkApiKey in seedCloud script 2023-07-26 16:23:40 +01:00
Matt Aitken 139d541d86 Return the pkApiKey and sort the environments correctly (dev, preview, staging, prod) 2023-07-26 15:32:35 +01:00
Eric Allam 10798c0a05 Fixed the pnpm lock file @trigger.dev/cli@0.2.1-next.25 2023-07-26 14:45:42 +01:00
Matt Aitken 9c6ad11479 Latest lockfile 2023-07-26 14:43:54 +01:00
Matt Aitken 5527ef17f4 Merge remote-tracking branch 'origin/main' into react-hooks 2023-07-26 14:38:55 +01:00
Matt Aitken 981f4010a9 Shortened the delays in the hooks example to make it less annoying when testing 2023-07-26 14:38:05 +01:00
github-actions[bot] db7e8923c0 chore: Update version for release (next) (#212)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-26 14:37:48 +01:00
Hans Bignon K. Tognon 0eef5c2f01 Adds steps to contributing guide for running some jobs locally (#209)
* chore(contrib): added a few jobs

* chore(contrib): adds sample jobs for repo setup

* chore(contrib): refactor examples/jobs-starter

* docs(contrib): add steps to add starter jobs

* fix(contrib): typo

* chore(contrib): minor edits

* chore(contrib): update guide and starter code
2023-07-26 14:27:27 +01:00
Matt Aitken 08901f2e8a Merge remote-tracking branch 'origin/main' into react-hooks 2023-07-26 14:07:09 +01:00
Matt Aitken 51b365226d In the Job list, show the latest run across all environments
🚀 Publish Trigger.dev Docker / ʦ TypeScript (push) Has been cancelled
🚀 Publish Trigger.dev Docker / publish (push) Has been cancelled
v2.0.0-beta.16
2023-07-26 13:37:48 +01:00
Matt Aitken 0b89ee7eb5 ProjectsMenu truncates long titles and the badge is right-aligned 2023-07-26 13:37:18 +01:00
Sai Hari d7c4b24203 chore: 🤖 replace tsconfig package with tsconfck package (#218) 2023-07-26 07:22:16 +01:00
Matt Aitken d7352867ec Merge pull request #215 from katrieltsepelevish/fix/contributing-readme-running
Fix: Updated contributing README for running in development
2023-07-25 20:31:43 +01:00
Matt Aitken a2b97bd918 First changeset for the react package 2023-07-25 20:08:54 +01:00
Matt Aitken 5991a767f7 TriggerClient method for getRuns with a jobSlug. This will only work with the private API key 2023-07-25 20:00:19 +01:00
Matt Aitken 643eba263e Default to returning 20 tasks and set max to 50 2023-07-25 19:59:42 +01:00
Matt Aitken 4db8a3992b We don’t need the environmentId 2023-07-25 19:26:34 +01:00
Matt Aitken 03f7156749 API endpoint for getting the latest runs 2023-07-25 19:15:15 +01:00
Matt Aitken d9912e5548 jsdocs for the getEvent output 2023-07-25 18:13:14 +01:00
Matt Aitken 3c85c985d9 Added getEvent and getRun methods to TriggerClient. Added JSDocs to the types 2023-07-25 18:11:28 +01:00
Matt Aitken 0cf848b9b9 Show the job output in the example 2023-07-25 17:52:49 +01:00
Matt Aitken ef4056abde Only allow showing the task details if it’s a private API key 2023-07-25 17:52:40 +01:00
Matt Aitken 3a6c25d42d API authentication updated to work correctly with public and private keys 2023-07-25 17:52:20 +01:00
Matt Aitken 642c95027c Return an output from the hook test job 2023-07-25 17:51:25 +01:00
Matt Aitken 8a66a5c6c7 Migrate: Make the pkApiKey unique and non-null 2023-07-25 17:51:14 +01:00
Katriel Tsepelevish 7dcc55a083 Updated README 2023-07-25 19:33:16 +03:00
Matt Aitken 6989fec9d0 New API keys (public or private) now have 20 random characters 2023-07-25 17:06:01 +01:00
Matt Aitken bba190e4e9 Use apiCors function for the event endpoint too 2023-07-25 16:36:19 +01:00
Matt Aitken 6f670c8cc6 Use v5 react-query so we don’t need a QueryClientProvider. Improved the retrying behaviour 2023-07-25 16:36:09 +01:00
Katriel Tsepelevish d8626c624f Updated contributing README 2023-07-25 18:35:18 +03:00
D-K-P 454ad25b1d Updated the ID question in the CLI 2023-07-25 16:30:28 +01:00
D-K-P 4dce703b20 Changed the create a job in code callout from Quick start to Create a Job 2023-07-25 16:17:57 +01:00
D-K-P ce1e911c90 Fixed the github link on the examples job table 2023-07-25 16:13:08 +01:00
D-K-P f84f4dcee6 Updated the blank jobs page instructions 2023-07-25 16:02:03 +01:00
D-K-P bfa3757ee0 Updated the help & feedback copy 2023-07-25 15:16:33 +01:00
Matt Aitken 1fea5d7af3 React hooks are working in the example 2023-07-25 14:38:39 +01:00
Matt Aitken dd33bbf6a8 Reworked the next-js project to just have the app directory 2023-07-25 13:38:46 +01:00
Matt Aitken 74640b1a82 Custom react query context for the package 2023-07-25 13:38:32 +01:00
Eric Allam 51e6a74eda Lock turborepo to a specific version (1.10.10 breaks our Docker builds) 2023-07-25 13:37:40 +01:00
alubọsa 27a9812194 chore: use endpointId if it exists in package.json (#200)
* chore: use endpointId if package.json has it

* minor

* add changeset

* chore: include changeset

* chore: add proper summary to changeset

* chore: remove redundant changeset file
2023-07-25 13:27:35 +01:00
Eric Allam ba03a9ed20 Merge pull request #207 from jemiluv8/js-support-for-init-command
feat: Add Javascript support for init command
2023-07-25 13:09:56 +01:00
Matt Aitken f5c1c62a09 export SentEvent from the SDK 2023-07-24 17:48:07 +01:00
Matt Aitken 420e719db2 useEventRunDetails combines the two hooks 2023-07-24 17:23:32 +01:00
Matt Aitken c448f53964 Run hook fixes 2023-07-24 17:12:16 +01:00