github-actions[bot]
2c70b7a360
chore: Update version for release (next)
2023-07-27 10:00:21 +00:00
Matt Aitken
0a3bbc1caf
Merge remote-tracking branch 'origin/main' into react-hooks
...
# Conflicts:
# apps/webapp/app/presenters/RunPresenter.server.ts
# examples/nextjs-example/src/app/api/trigger/route.ts
# examples/nextjs-example/tsconfig.json
2023-07-26 20:47:07 +01:00
Matt Aitken
2398d60b1a
Added noExternal for the @trigger.dev/internal package
2023-07-26 18:54:12 +01:00
github-actions[bot]
0239fc6773
chore: Update version for release (next) ( #222 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-26 18:20:42 +01:00
Eric Allam
f70f3a0a5d
Fixed doubling of the params option
2023-07-26 18:14:07 +01:00
Eric Allam
767e09ee18
New integration: @trigger.dev/supabase ( #203 )
...
* WIP supabase integration
* supabase oauth working
* Supabase database triggers
* Specify postgres:14
* Limit refreshOAuthToken jobs to 10 attempts
* Better displaying types and removing onChange for now
* WIP on the supabase db client
* Finishing the supabase-js integration
* Adding changeset
* Added supabase to the integration catalogs, and added an optional icon to Integrations
* Reworking how we handle types for the triggers (wip)
* Update fully over to the new way to define supabase triggers
* Go back to using the type for the event name
* Add back in the icon to the JobListPresenter since it was moved from the ProjectPresenter
* Remove unused import
2023-07-26 18:01:27 +01:00
Matt Aitken
5527ef17f4
Merge remote-tracking branch 'origin/main' into react-hooks
2023-07-26 14:38:55 +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
Matt Aitken
08901f2e8a
Merge remote-tracking branch 'origin/main' into react-hooks
2023-07-26 14:07:09 +01:00
Sai Hari
d7c4b24203
chore: 🤖 replace tsconfig package with tsconfck package ( #218 )
2023-07-26 07:22:16 +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
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
8a66a5c6c7
Migrate: Make the pkApiKey unique and non-null
2023-07-25 17:51:14 +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
D-K-P
454ad25b1d
Updated the ID question in the CLI
2023-07-25 16:30:28 +01:00
Matt Aitken
1fea5d7af3
React hooks are working in the example
2023-07-25 14:38:39 +01:00
Matt Aitken
74640b1a82
Custom react query context for the package
2023-07-25 13:38:32 +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
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
Matt Aitken
72230f67d8
Improved the hook
2023-07-24 17:03:11 +01:00
Matt Aitken
eb5195768b
Moved the run query to runs/$runId, instead of /tasks
2023-07-24 13:28:33 +01:00
Matt Aitken
b1b471cf63
Removed the optional stuff from react zodfetch function
2023-07-24 13:13:09 +01:00
Matt Aitken
bcd80463f3
Removed the parentId from the RunTaskSchema
2023-07-24 13:12:34 +01:00
Matt Aitken
dda8be1fd0
Remove log
2023-07-23 19:26:25 +01:00
Matt Aitken
ac4253a187
Only refetch the run if it’s not complete
2023-07-23 19:26:00 +01:00
Matt Aitken
a6f79d77d1
Run hook
2023-07-23 19:18:19 +01:00
Matt Aitken
106843be09
Checks for the correct public key format
2023-07-23 18:42:20 +01:00
Matt Aitken
3dcd7743be
Requests are happening but failing CORS
2023-07-23 18:03:39 +01:00
Matt Aitken
b04852c98c
useQueryEvent
2023-07-23 17:51:03 +01:00
Matt Aitken
ad19bfa283
Added zod fetch function
2023-07-23 17:50:51 +01:00
Matt Aitken
ee86910caa
Pass in default api url
2023-07-23 17:50:36 +01:00
Matt Aitken
9a4daaf024
Better errors for api key
2023-07-23 17:40:04 +01:00
Matt Aitken
43c402ccae
Initial React package with provider
2023-07-23 17:36:20 +01:00
Matt Aitken
24334a1e78
API client methods for getting event and run data
2023-07-23 16:25:13 +01:00
Jemilu Mohammed
b0c386ff87
fix bug when detecting app dir for js project
...
fix typo in createTriggerAppRoute
2023-07-22 20:38:10 +00:00
Jemilu Mohammed
8b69e06f79
rely on jsconfig.json file if javascript project revert unnecessary workarounds
2023-07-22 17:39:19 +00:00
Jemilu Mohammed
24aa4c7406
fix error in jobsPathPrefix and routePathPrefix for Javascript projects
2023-07-22 16:38:24 +00:00
Jemilu Mohammed
621c45aaf1
remove redundant Job import from @trigger.dev/sdk in jobsContent template string
2023-07-22 16:09:16 +00:00
Jemilu Mohammed
9f67b83bc5
fix formatting
2023-07-22 16:03:03 +00:00
Jemilu Mohammed
07250f4ace
Add support for Javascript nextjs projects in
...
removed assertion for whether the next project is using typescript
modify getPathAlias to work with non ts projects
2023-07-22 15:58:42 +00:00
github-actions[bot]
c895722ffc
chore: Update version for release (next)
2023-07-21 08:26:49 +00:00
Dylan Rodriguez
bf0a0a17a0
normalizing path in detectPagesOrAppDir
2023-07-19 17:14:25 -04:00
James Ritchie
5e522e1f3e
Updated the yarn install to yarn dlx
2023-07-18 10:51:50 +01:00
github-actions[bot]
e132ea33f2
chore: Update version for release (next)
2023-07-17 16:18:09 +00:00
Eric Allam
d0b19d50e4
@trigger.dev/cli: Add option to specify the path to the handler function in the dev command
2023-07-17 17:16:24 +01:00
github-actions[bot]
8f5abfd0a6
chore: Update version for release (next)
2023-07-17 15:47:03 +00:00
Eric Allam
1bf2802b67
@trigger.dev/cli: Parse .env files using dotenv instead of hand-parsing
2023-07-17 16:45:12 +01:00