448443a024
Bumps the internal/toolchain Node version to the latest 22.x LTS (`22.23.1`) and standardises it across the repo. Scope is the **platform toolchain + the repo's own runtime images** (all `20 → 22` *upgrades*, off the now-EOL node 20). ### Main changes - Node `20.20.2 → 22.23.1` across all CI workflows, `.nvmrc`, `CONTRIBUTING.md`, and the OSS `docker/Dockerfile` (digest-pinned). - `@types/node → 22.20.0` (root dep + pnpm `overrides`, so the whole workspace resolves to it); lockfile regenerated. - `sdk-compat` matrix: adds Node 24 + 26 (keeps 20, still in `engines`). - **App runtime images → node 22** (were on EOL node 20): `apps/coordinator` → `node:22.23.1-bookworm-slim`; `apps/docker-provider` + `apps/kubernetes-provider` → `node:22-alpine` (reusing the exact digest `apps/supervisor` already runs, so all four worker images are now identical). Stage aliases renamed off `node-20`. ### Possible issues / test notes - `@types/node` 22.x can surface new TS errors — typecheck (now on 22) is the gate. - **Smoke-test the v3 worker path** — `coordinator` (`crictl`/CRI calls) and the docker/kubernetes providers (talking to their daemons) now run on node 22 (alpine/musl for the providers). Upgrade off EOL so low-risk, but it's deployed runtime code with its own `publish-worker.yml` pipeline.
98 lines
2.4 KiB
JSON
98 lines
2.4 KiB
JSON
{
|
|
"name": "@trigger.dev/python",
|
|
"version": "4.5.0",
|
|
"description": "Python runtime and build extension for Trigger.dev",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/triggerdotdev/trigger.dev",
|
|
"directory": "packages/python"
|
|
},
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"tshy": {
|
|
"selfLink": false,
|
|
"main": true,
|
|
"module": true,
|
|
"project": "./tsconfig.src.json",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": "./src/index.ts",
|
|
"./extension": "./src/extension.ts"
|
|
},
|
|
"sourceDialects": [
|
|
"@triggerdotdev/source"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"extension": [
|
|
"dist/commonjs/extension.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build": "tshy && pnpm run update-version",
|
|
"dev": "tshy --watch",
|
|
"typecheck": "tsc --noEmit -p tsconfig.src.json",
|
|
"update-version": "tsx ../../scripts/updateVersion.ts",
|
|
"check-exports": "attw --pack ."
|
|
},
|
|
"dependencies": {
|
|
"@trigger.dev/core": "workspace:4.5.0",
|
|
"tinyexec": "^0.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.20.0",
|
|
"rimraf": "6.0.1",
|
|
"tshy": "^3.0.2",
|
|
"typescript": "^5.5.4",
|
|
"tsx": "4.17.0",
|
|
"esbuild": "^0.23.0",
|
|
"@arethetypeswrong/cli": "^0.15.4",
|
|
"@trigger.dev/build": "workspace:4.5.0",
|
|
"@trigger.dev/sdk": "workspace:4.5.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@trigger.dev/sdk": "workspace:^4.5.0",
|
|
"@trigger.dev/build": "workspace:^4.5.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.20.0"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"@triggerdotdev/source": "./src/index.ts",
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"default": "./dist/commonjs/index.js"
|
|
}
|
|
},
|
|
"./extension": {
|
|
"import": {
|
|
"@triggerdotdev/source": "./src/extension.ts",
|
|
"types": "./dist/esm/extension.d.ts",
|
|
"default": "./dist/esm/extension.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/extension.d.ts",
|
|
"default": "./dist/commonjs/extension.js"
|
|
}
|
|
}
|
|
},
|
|
"main": "./dist/commonjs/index.js",
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"module": "./dist/esm/index.js"
|
|
}
|