Commit f9ec66c
v3: new build system (triggerdotdev#1265)
* upgrade @opentelemetry packages to the latest versions
* remove v2 only packages, will be moved to a dedicated repo
* remove more v2 code and run pnpm install
* use the npm yalt package in the webapp
* convert @trigger.dev/core to tshy
* Switch from jest to vitest in @trigger.dev/core
* Fixed core test
* move core-backend code into core subpath export
* convert @trigger.dev/sdk to tshy
* Removed hono
* move core-apps to core/v3/apps, remove core-apps, start converting cli-v3
* Fix up some of the commands
* cli now building and loadable
* using package-json-from-dist to get package version now in core and cli
* dev command WIP
* cleaned up some repetition and structure of the entry point stuff
* bringing back the background worker stuff
* Indexing of the v3 catalog
* getting closer to executing dev runs...
* centralize dev logging using event emitter
* Move indexing to it’s own entry point, simplify code
* dev runs working
* Get instrumentation to work with openai
* debugging achieved internally
* provide worker files as part of the worker creation on the server
* support for cjs and esm javascript
* Fixed timeout
* worker manifest now has the config path
* auto-upgrade config to non-deprecated alternatives
* Adding package preview release
* deployment WIP
* improve the syncEnvVars output and adapt resolveEnvVars
* WIP bun runtime
* WIP bun support
* seed tasks with the machine preset if listed in the config
* deploy run executions WIP, extracted TaskRunProcess into 1 place
* deployed tasks running and executing 🎉
* support for waits and better flushing & process cleanup
* Fixed the heartbeating
* Better warning messages
* Improve and unify the indexing between dev and deploy
* Support for external deps that need node-gyp to build
* build extensions can now install custom packages and run instructions in the image. Also prisma extension now works and also works with multiple schema files
* Add back in the main/types/module to sdk
* dev no longer is Ink/React, grace period for disconnections in dev
* Fix the changeset config
* More changeset fixes
* Remove config packages
* More changeset fixes
* Fixed typescript issues (needed to revert back to zod 3.22.3
* Fix pr_checks workflow
* Remove the prepare script
* Fixed tests and package versions
* Remove cli test script
* Remove packages from tailwind watch paths
* Add repo to public packages
* Just commit the generated files and do the building at dev time
* Try and get pkg.pr.new working
* Try again
* Fix emitDecoratorMetadata importing named export from typescript
* config file backwards compat with export const config
* Fixed issue where import errors weren’t coming through
* p-retry is a prod dep
* typescript needs to be a prod dependency for emitDecoratorMetadata
* Add better debug logging to help track down import-in-the-middle bug
* An external is only considered resolvable if it resolves to the same path as the collected external
* Fix runtime checks to allow >=18.20
* Move extensions to a new build package
* Fixed building packages in dockerfile
* Remove the e2e test from publish workflow for now
* Don’t treat pkg.pr.new versions has needing upgrading
* making sure config handleError works, and discovered path aliases don’t work in config files
* Strip empty string env vars so they accidentally override real values
* Couple of things
* Update version to use preview instead of beta
* Hopefully fix re-attempts with >30s delay
* Match socket emit messages to current latest in main
* Initial guide
* Go back to beta
* Go back to the preview, and update guide to use pr preview tags
* Go back to beta
---------
Co-authored-by: Matt Aitken <matt@mattaitken.com>1 parent 2cd8658 commit f9ec66c
1,055 files changed
Lines changed: 33652 additions & 320705 deletions
File tree
- .changeset
- .configs
- .github/workflows
- .vscode
- apps
- coordinator
- src
- docker-provider
- src
- kubernetes-provider
- src
- proxy
- webapp
- app
- components/runs/v3
- models
- presenters/v3
- routes
- services
- db
- runs
- v3
- marqs
- services
- utils
- yalt
- src
- config-packages
- eslint-config-custom
- tsconfig
- tsup
- src
- docker
- docs/guides
- experiments
- helm-charts
- templates
- integrations
- airtable
- src
- github
- src
- linear
- src
- payload-examples
- openai
- src
- test
- plain
- src
- replicate
- src
- resend
- src
- sendgrid
- src
- shopify
- src
- payload-examples
- slack
- src
- stripe
- src
- supabase
- src
- database
- management
- typeform
- src
- packages
- astro
- src
- build
- src
- extensions
- core
- cli-v3
- src
- build
- cli
- commands
- deploy
- dev
- entryPoints
- executions
- imports
- indexing
- runtimes
- shims
- telemetry
- utilities
- workers
- common
- dev
- prod
- cli
- src
- cli
- commands
- frameworks
- astro
- express
- hono
- nextjs
- remix
- telemetry
- templates
- astro
- integration
- payload-examples
- nextjs
- remix
- utils
- core-apps
- core-backend
- src
- core
- src
- schemas
- v3
- apiClientManager
- apiClient
- apps
- build
- clock
- dev
- logger
- otel
- prod
- runtime
- schemas
- task-catalog
- taskContext
- types
- usage
- utils
- workers
- test
- database/prisma
- migrations
- 20240810090402_add_background_worker_file_model
- 20240811185335_improve_background_worker_file_model
- emails
- eslint-plugin
- docs/rules
- lib
- rules
- tests/lib/rules
- express
- src
- hono
- src
- integration-kit
- src
- nestjs
- src
- nextjs
- src
- otlp-importer
- src/generated
- opentelemetry/proto
- collector
- logs/v1
- metrics/v1
- trace/v1
- common/v1
- logs/v1
- metrics/v1
- resource/v1
- trace/v1
- test
- react
- src
- remix
- src
- sveltekit
- src
- testing
- src
- tests
- trigger-sdk
- src
- store
- triggers
- utils
- v3
- schedules
- yalt
- src
- patches
- perf
- src
- references
- astro-referece
- .vscode
- public
- src
- components
- jobs
- layouts
- pages
- api
- bun-catalog
- src/trigger
- deno-reference
- .vscode
- hono-reference
- src
- job-catalog
- fixtures
- src
- nestjs-example
- src
- nextjs-reference
- .vscode
- public
- src
- app
- api
- send-test-event
- trigger
- events/[eventId]
- components
- jobs
- mocks
- styles
- nextjs-test
- public
- src
- app
- api/trigger
- jobs
- package-tester
- app
- api/trigger
- components
- events/[eventId]
- jobs
- public
- remix-reference
- app
- jobs
- routes
- public
- svelte-example
- src
- jobs
- lib
- routes
- api/trigger
- static
- unit-testing
- dummy-integration
- tests
- v3-catalog
- prisma
- migrations
- 20240821142001_add_initial_schema
- schema
- src
- trigger
- runtime_tests
- tests
- bun
- deno
- node
- wrangler
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 11 | | |
27 | 12 | | |
28 | | - | |
29 | | - | |
30 | 13 | | |
31 | 14 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 15 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 16 | + | |
45 | 17 | | |
46 | 18 | | |
47 | 19 | | |
| |||
197 | 169 | | |
198 | 170 | | |
199 | 171 | | |
200 | | - | |
| 172 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 5 | + | |
12 | 6 | | |
13 | 7 | | |
14 | 8 | | |
| |||
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
30 | 56 | | |
31 | 57 | | |
32 | 58 | | |
| |||
0 commit comments