4986bfda2e
* Database schema and migrations for schedules * Added schedules to the side menu * The pagination can optionally hide the page numbers for a compactive mode * Filters for the schedule page * Added triggerSource (“STANDARD”, “SCHEDULED”) to BackgroundWorkerTask * Added the ability to disabled a LinkButton * Started work on the schedule page * Environment buttons * The new schedule form styles * Added a cxouple of extra fields * Allow a checkbox to have a rich label * Added cronstrue package to the webapp * WIP creating tasks using the form * Improved the form styling * Creating schedules is working in the UI * Minor improvements * Basic schedule table is displaying * Creating tasks with triggerSource = scheduled. Refactored how task metadata is stored and accessed to be cleaner * Resource route * Fixes in the form * Added a gap between the environments * WIP on OpenAI generating CRON expressions * AI generated CRON expressions is working * Fix for the CRON field being uneditable after an AI generation * Improvements * Table padding * useThrottle now behaves correctly * Added filtering to the schedules list * Improved the layout and fixed CRON search * Fixed pagination for the schedules list. Just use a regular Prisma query * Page size of 20 * Added links to the schedule rows * Get rid of the Last run column for now * Implement triggered scheduled tasks Also implemented superjson payloads and dev runtime environment “presence” with RuntimeEnvironmentSession * Move CronPattern and CreateSchedule into a common client-accessible file * Latest UI changes * Fix for creating a task schedule with a blank dedup key * Refactor the human to cron stuff into a separate file and use json_object OpenAI response format * Fix for trying to use a hook on the server-side… * A couple of fixes to the new schedule form * WIP on viewing a scheduled run * Make the filters all optional * Use the RunListPresenter from the schedule presenter * Display a table of runs… the wrong runs but still * Runs from the schedule * Deleting schedules from the UI * Tidied imports and fixed name of options object * Disabling a schedule * Editing schedules * Tidied imports * Added icons to the task list, needs some design love * Added a tooltip for CRON pattersn * Show the last run in the schedules table * Some tweaks * Added a placeholder to the CRON AI field * Improved the trigger source icon * Dim out disabled schedules * Scheduled tasks have the correct icon in a run * Added the task source icon to the test task list * Added the date field component to storybook * Style improvements to the date field * Implement Task Schedule API * added a medium sized variant to the date field * Fixed replay run for superjson payload types Also now linking from the replaying run to the original run (using span links) Also added a project metrics prometheus endpoint to detect the state of the queues * WIP on allowing different forms for testing * If you pass a string to prettyPrintPacket which is json or superjson, safeParse it first * Test page, deal json and superjson. Started splitting UI for schedules * WIP on schedule form * Removed the Label from the DateField * WIP on test schedule form * Fix for the runs page showing the wrong message when there are no runs from time filtering * Removed labels from the DateField * Fixes for the form * Test runs are working for schedules * Fix for nextScheduledTimestamps in triggerScheduledTask * Implement idempotency key support and fix issue with cancelled runs causing concurrency usage * Added API documentation for the schedule API * Remove log * Removed console log from runs page * Transform the recent runs test data on the server * Fix for hydration mismatch * Current date as the default for the test form * Recent payloads working * Delete schedule modal * Deal with empty strings from the form * Set the initial value for the scheduled test form * Add option to print console logs in the dev CLI locally (issue #1014) * Export queue from the SDK * Fix for schedules list when you have no schedule tasks * Blank states improved * Make task schedules more generic, to support additional schedule generators in the future * Removed log from maqrs * Removed “v3/schedules” export from the SDK --------- Co-authored-by: Eric Allam <eallam@icloud.com> Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
229 lines
7.7 KiB
JSON
229 lines
7.7 KiB
JSON
{
|
|
"private": true,
|
|
"name": "webapp",
|
|
"version": "1.0.0",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "run-s build:**",
|
|
"build:db:seed": "esbuild --platform=node --bundle --minify --format=cjs ./prisma/seed.ts --outdir=prisma",
|
|
"build:remix": "remix build",
|
|
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build",
|
|
"dev": "cross-env PORT=3030 remix dev -c \"node ./build/server.js\"",
|
|
"format": "prettier --write .",
|
|
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
|
|
"start": "cross-env NODE_ENV=production node --max-old-space-size=8192 ./build/server.js",
|
|
"start:local": "cross-env node --max-old-space-size=8192 ./build/server.js",
|
|
"typecheck": "tsc -p ./tsconfig.check.json",
|
|
"db:seed": "node prisma/seed.js",
|
|
"db:seed:local": "ts-node prisma/seed.ts",
|
|
"generate:sourcemaps": "remix build --sourcemap",
|
|
"clean:sourcemaps": "run-s clean:sourcemaps:*",
|
|
"clean:sourcemaps:public": "rimraf ./build/**/*.map",
|
|
"clean:sourcemaps:build": "rimraf ./public/build/**/*.map",
|
|
"test": "vitest"
|
|
},
|
|
"eslintIgnore": [
|
|
"/node_modules",
|
|
"/build",
|
|
"/public/build"
|
|
],
|
|
"dependencies": {
|
|
"@aws-sdk/client-sqs": "^3.445.0",
|
|
"@codemirror/autocomplete": "^6.3.1",
|
|
"@codemirror/commands": "^6.1.2",
|
|
"@codemirror/lang-javascript": "^6.1.1",
|
|
"@codemirror/lang-json": "^6.0.1",
|
|
"@codemirror/language": "^6.3.1",
|
|
"@codemirror/lint": "^6.4.2",
|
|
"@codemirror/search": "^6.2.3",
|
|
"@codemirror/state": "^6.1.3",
|
|
"@codemirror/view": "^6.5.0",
|
|
"@conform-to/react": "^0.6.1",
|
|
"@conform-to/zod": "^0.6.1",
|
|
"@depot/sdk-node": "^0.5.0",
|
|
"@headlessui/react": "^1.7.8",
|
|
"@heroicons/react": "^2.0.12",
|
|
"@internationalized/date": "^3.5.1",
|
|
"@lezer/highlight": "^1.1.6",
|
|
"@opentelemetry/api": "^1.8.0",
|
|
"@opentelemetry/core": "^1.22.0",
|
|
"@opentelemetry/exporter-logs-otlp-http": "^0.49.1",
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.49.1",
|
|
"@opentelemetry/instrumentation": "^0.49.1",
|
|
"@opentelemetry/instrumentation-express": "^0.36.1",
|
|
"@opentelemetry/instrumentation-http": "^0.49.1",
|
|
"@opentelemetry/resources": "^1.22.0",
|
|
"@opentelemetry/sdk-logs": "^0.49.1",
|
|
"@opentelemetry/sdk-node": "^0.49.1",
|
|
"@opentelemetry/sdk-trace-base": "^1.22.0",
|
|
"@opentelemetry/sdk-trace-node": "^1.22.0",
|
|
"@opentelemetry/semantic-conventions": "^1.22.0",
|
|
"@prisma/instrumentation": "^5.11.0",
|
|
"@radix-ui/react-alert-dialog": "^1.0.4",
|
|
"@radix-ui/react-dialog": "^1.0.3",
|
|
"@radix-ui/react-label": "^2.0.1",
|
|
"@radix-ui/react-popover": "^1.0.5",
|
|
"@radix-ui/react-radio-group": "^1.1.3",
|
|
"@radix-ui/react-select": "^1.2.1",
|
|
"@radix-ui/react-slider": "^1.1.2",
|
|
"@radix-ui/react-switch": "^1.0.3",
|
|
"@radix-ui/react-tabs": "^1.0.3",
|
|
"@radix-ui/react-tooltip": "^1.0.5",
|
|
"@react-aria/datepicker": "^3.9.1",
|
|
"@react-stately/datepicker": "^3.9.1",
|
|
"@react-types/datepicker": "^3.7.1",
|
|
"@remix-run/express": "2.1.0",
|
|
"@remix-run/node": "2.1.0",
|
|
"@remix-run/react": "2.1.0",
|
|
"@remix-run/router": "^1.15.3",
|
|
"@remix-run/serve": "2.1.0",
|
|
"@remix-run/server-runtime": "2.1.0",
|
|
"@remix-run/v1-meta": "^0.1.3",
|
|
"@socket.io/redis-adapter": "^8.3.0",
|
|
"@tabler/icons-react": "^2.39.0",
|
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
"@tanstack/react-virtual": "^3.0.4",
|
|
"@team-plain/typescript-sdk": "^3.5.0",
|
|
"@trigger.dev/billing": "^1.0.10",
|
|
"@trigger.dev/companyicons": "^1.5.35",
|
|
"@trigger.dev/core": "workspace:*",
|
|
"@trigger.dev/core-backend": "workspace:*",
|
|
"@trigger.dev/database": "workspace:*",
|
|
"@trigger.dev/otlp-importer": "workspace:*",
|
|
"@trigger.dev/sdk": "workspace:*",
|
|
"@trigger.dev/yalt": "workspace:*",
|
|
"@types/pg": "8.6.6",
|
|
"@uiw/react-codemirror": "^4.19.5",
|
|
"@upstash/ratelimit": "^1.0.1",
|
|
"@whatwg-node/fetch": "^0.9.14",
|
|
"aws4fetch": "^1.0.18",
|
|
"class-variance-authority": "^0.5.2",
|
|
"clsx": "^1.2.1",
|
|
"compression": "^1.7.4",
|
|
"cron-parser": "^4.9.0",
|
|
"cronstrue": "^2.21.0",
|
|
"cross-env": "^7.0.3",
|
|
"cuid": "^2.1.8",
|
|
"emails": "workspace:*",
|
|
"evt": "^2.4.13",
|
|
"express": "^4.18.1",
|
|
"framer-motion": "^10.12.11",
|
|
"graphile-worker": "^0.13.0",
|
|
"highlight.run": "^7.3.4",
|
|
"humanize-duration": "^3.27.3",
|
|
"intl-parse-accept-language": "^1.0.0",
|
|
"ioredis": "^5.3.2",
|
|
"isbot": "^3.6.5",
|
|
"jsonpointer": "^5.0.1",
|
|
"jwt-decode": "^4.0.0",
|
|
"lodash.omit": "^4.5.0",
|
|
"lucide-react": "^0.229.0",
|
|
"marked": "^4.0.18",
|
|
"morgan": "^1.10.0",
|
|
"nanoid": "^3.3.4",
|
|
"non.geist": "^1.0.2",
|
|
"ohash": "^1.1.3",
|
|
"openai": "^4.33.1",
|
|
"posthog-js": "^1.93.3",
|
|
"posthog-node": "^3.1.3",
|
|
"prism-react-renderer": "^1.3.5",
|
|
"prismjs": "^1.29.0",
|
|
"prom-client": "^15.1.0",
|
|
"random-words": "^2.0.0",
|
|
"react": "^18.2.0",
|
|
"react-aria": "^3.31.1",
|
|
"react-collapse": "^5.1.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-hotkeys-hook": "^4.4.1",
|
|
"react-resizable-panels": "^2.0.9",
|
|
"react-stately": "^3.29.1",
|
|
"react-use": "^17.4.0",
|
|
"recharts": "^2.8.0",
|
|
"remix-auth": "^3.6.0",
|
|
"remix-auth-email-link": "2.0.2",
|
|
"remix-auth-github": "^1.6.0",
|
|
"remix-typedjson": "0.3.1",
|
|
"remix-utils": "^7.1.0",
|
|
"seedrandom": "^3.0.5",
|
|
"semver": "^7.5.0",
|
|
"simple-oauth2": "^5.0.0",
|
|
"simplur": "^3.0.1",
|
|
"slug": "^6.0.0",
|
|
"socket.io": "^4.7.4",
|
|
"socket.io-adapter": "^2.5.4",
|
|
"sonner": "^1.0.3",
|
|
"sqs-consumer": "^7.4.0",
|
|
"superjson": "^2.2.1",
|
|
"tailwind-merge": "^1.12.0",
|
|
"tailwind-scrollbar-hide": "^1.1.7",
|
|
"tailwindcss-animate": "^1.0.5",
|
|
"tailwindcss-textshadow": "^2.1.3",
|
|
"tiny-invariant": "^1.2.0",
|
|
"ulid": "^2.3.0",
|
|
"ulidx": "^2.2.1",
|
|
"ws": "^8.11.0",
|
|
"zod": "3.22.3",
|
|
"zod-error": "1.5.0",
|
|
"zod-validation-error": "^1.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@remix-run/dev": "2.1.0",
|
|
"@remix-run/eslint-config": "2.1.0",
|
|
"@remix-run/testing": "^2.1.0",
|
|
"@swc/core": "^1.3.4",
|
|
"@swc/helpers": "^0.4.11",
|
|
"@tailwindcss/forms": "^0.5.3",
|
|
"@tailwindcss/typography": "^0.5.9",
|
|
"@total-typescript/ts-reset": "^0.4.2",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/compression": "^1.7.2",
|
|
"@types/eslint": "^8.4.6",
|
|
"@types/express": "^4.17.13",
|
|
"@types/humanize-duration": "^3.27.1",
|
|
"@types/json-query": "^2.2.3",
|
|
"@types/lodash.omit": "^4.5.7",
|
|
"@types/marked": "^4.0.3",
|
|
"@types/morgan": "^1.9.3",
|
|
"@types/node": "^18.11.15",
|
|
"@types/node-fetch": "^2.6.2",
|
|
"@types/prismjs": "^1.26.0",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/react": "18.2.69",
|
|
"@types/react-collapse": "^5.0.4",
|
|
"@types/react-dom": "18.2.7",
|
|
"@types/seedrandom": "^3.0.8",
|
|
"@types/semver": "^7.3.13",
|
|
"@types/simple-oauth2": "^5.0.4",
|
|
"@types/slug": "^5.0.3",
|
|
"@types/tar": "^6.1.4",
|
|
"@types/ws": "^8.5.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
"@typescript-eslint/parser": "^5.59.6",
|
|
"autoprefixer": "^10.4.13",
|
|
"babel-loader": "^9.1.3",
|
|
"babel-preset-react-app": "^10.0.1",
|
|
"css-loader": "^6.10.0",
|
|
"datepicker": "link:@types/@react-aria/datepicker",
|
|
"engine.io": "^6.5.4",
|
|
"esbuild": "^0.15.10",
|
|
"eslint": "^8.24.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-import": "^16.0.1",
|
|
"postcss-loader": "^8.1.1",
|
|
"prettier": "^2.8.8",
|
|
"prettier-plugin-tailwindcss": "^0.3.0",
|
|
"prop-types": "^15.8.1",
|
|
"rimraf": "^3.0.2",
|
|
"style-loader": "^3.3.4",
|
|
"tailwind-scrollbar": "^3.0.1",
|
|
"tailwindcss": "3.4.1",
|
|
"ts-node": "^10.7.0",
|
|
"tsconfig-paths": "^3.14.1",
|
|
"typescript": "^5.1.6",
|
|
"vitest": "^1.4.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
}
|
|
} |