diff --git a/.nvmrc b/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/.shared/.nvmrc b/.shared/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/.shared/.nvmrc +++ b/.shared/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/.shared/.post-create b/.shared/.post-create index a682bb78..055c11e9 100644 --- a/.shared/.post-create +++ b/.shared/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/.shared/tsconfig.json b/.shared/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/.shared/tsconfig.json +++ b/.shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/README.md b/README.md index 3634ac2f..36dded2a 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,10 @@ temporal server start-dev (or use a [different installation method](https://github.com/temporalio/cli/#-install)) -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): -- Install Node 16: - - Mac: `brew install node@16` - - Other: [nodejs.org/en/download/](https://nodejs.org/en/download/) +- Mac: `brew install node@22` +- Other: [nodejs.org/en/download/](https://nodejs.org/en/download/) - Or use a Node version manager: [`fnm`](https://github.com/Schniz/fnm#readme) Run the [`hello-world`](./hello-world) sample: diff --git a/activities-cancellation-heartbeating/.nvmrc b/activities-cancellation-heartbeating/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/activities-cancellation-heartbeating/.nvmrc +++ b/activities-cancellation-heartbeating/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/activities-cancellation-heartbeating/.post-create b/activities-cancellation-heartbeating/.post-create index 610c2be9..fc811b07 100644 --- a/activities-cancellation-heartbeating/.post-create +++ b/activities-cancellation-heartbeating/.post-create @@ -1,15 +1,15 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ -Then, in the project directory, follow instructions in the {cyan README.md} \ No newline at end of file +Then, in the project directory, follow instructions in the {cyan README.md} diff --git a/activities-cancellation-heartbeating/package.json b/activities-cancellation-heartbeating/package.json index fa2bae8c..173d9a40 100644 --- a/activities-cancellation-heartbeating/package.json +++ b/activities-cancellation-heartbeating/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/activities-cancellation-heartbeating/tsconfig.json b/activities-cancellation-heartbeating/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/activities-cancellation-heartbeating/tsconfig.json +++ b/activities-cancellation-heartbeating/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/activities-dependency-injection/.nvmrc b/activities-dependency-injection/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/activities-dependency-injection/.nvmrc +++ b/activities-dependency-injection/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/activities-dependency-injection/.post-create b/activities-dependency-injection/.post-create index a682bb78..055c11e9 100644 --- a/activities-dependency-injection/.post-create +++ b/activities-dependency-injection/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/activities-dependency-injection/package.json b/activities-dependency-injection/package.json index 3c7812be..c300246b 100644 --- a/activities-dependency-injection/package.json +++ b/activities-dependency-injection/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/activities-dependency-injection/tsconfig.json b/activities-dependency-injection/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/activities-dependency-injection/tsconfig.json +++ b/activities-dependency-injection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/activities-examples/.nvmrc b/activities-examples/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/activities-examples/.nvmrc +++ b/activities-examples/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/activities-examples/.post-create b/activities-examples/.post-create index a682bb78..055c11e9 100644 --- a/activities-examples/.post-create +++ b/activities-examples/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/activities-examples/package.json b/activities-examples/package.json index 5d2d0301..628e6a07 100644 --- a/activities-examples/package.json +++ b/activities-examples/package.json @@ -24,20 +24,20 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "axios": "^0.26.0", "node-fetch": "2.x" }, "devDependencies": { - "@temporalio/nyc-test-coverage": "^1.11.3", - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/nyc-test-coverage": "^1.11.5", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/jest": "^27.5.1", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/node-fetch": "^2.5.12", "@types/sinon": "^10.0.4", "@types/uuid": "^8.3.4", diff --git a/activities-examples/tsconfig.json b/activities-examples/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/activities-examples/tsconfig.json +++ b/activities-examples/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/child-workflows/.nvmrc b/child-workflows/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/child-workflows/.nvmrc +++ b/child-workflows/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/child-workflows/.post-create b/child-workflows/.post-create index a682bb78..055c11e9 100644 --- a/child-workflows/.post-create +++ b/child-workflows/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/child-workflows/package.json b/child-workflows/package.json index 05b6e1fe..1a5635d5 100644 --- a/child-workflows/package.json +++ b/child-workflows/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/child-workflows/tsconfig.json b/child-workflows/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/child-workflows/tsconfig.json +++ b/child-workflows/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/continue-as-new/.nvmrc b/continue-as-new/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/continue-as-new/.nvmrc +++ b/continue-as-new/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/continue-as-new/.post-create b/continue-as-new/.post-create index a682bb78..055c11e9 100644 --- a/continue-as-new/.post-create +++ b/continue-as-new/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/continue-as-new/package.json b/continue-as-new/package.json index d9aa31f2..d53d173e 100644 --- a/continue-as-new/package.json +++ b/continue-as-new/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/continue-as-new/tsconfig.json b/continue-as-new/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/continue-as-new/tsconfig.json +++ b/continue-as-new/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/cron-workflows/.nvmrc b/cron-workflows/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/cron-workflows/.nvmrc +++ b/cron-workflows/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/cron-workflows/.post-create b/cron-workflows/.post-create index a682bb78..055c11e9 100644 --- a/cron-workflows/.post-create +++ b/cron-workflows/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/cron-workflows/package.json b/cron-workflows/package.json index 28c13a2b..129cac09 100644 --- a/cron-workflows/package.json +++ b/cron-workflows/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/cron-workflows/tsconfig.json b/cron-workflows/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/cron-workflows/tsconfig.json +++ b/cron-workflows/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/custom-logger/.nvmrc b/custom-logger/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/custom-logger/.nvmrc +++ b/custom-logger/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/custom-logger/.post-create b/custom-logger/.post-create index a682bb78..055c11e9 100644 --- a/custom-logger/.post-create +++ b/custom-logger/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/custom-logger/package.json b/custom-logger/package.json index e5d871e2..359e8874 100644 --- a/custom-logger/package.json +++ b/custom-logger/package.json @@ -20,17 +20,17 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x", "triple-beam": "^1.3.0", "winston": "^3.3.3" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@types/triple-beam": "^1.3.2", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", diff --git a/custom-logger/tsconfig.json b/custom-logger/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/custom-logger/tsconfig.json +++ b/custom-logger/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/dsl-interpreter/.nvmrc b/dsl-interpreter/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/dsl-interpreter/.nvmrc +++ b/dsl-interpreter/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/dsl-interpreter/.post-create b/dsl-interpreter/.post-create index a682bb78..055c11e9 100644 --- a/dsl-interpreter/.post-create +++ b/dsl-interpreter/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/dsl-interpreter/package.json b/dsl-interpreter/package.json index 0b50cce4..44a1544c 100644 --- a/dsl-interpreter/package.json +++ b/dsl-interpreter/package.json @@ -21,16 +21,16 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "js-yaml": "^4.1.0" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@types/js-yaml": "^4.0.5", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/dsl-interpreter/tsconfig.json b/dsl-interpreter/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/dsl-interpreter/tsconfig.json +++ b/dsl-interpreter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/ejson/.nvmrc b/ejson/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/ejson/.nvmrc +++ b/ejson/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/ejson/.post-create b/ejson/.post-create index a682bb78..055c11e9 100644 --- a/ejson/.post-create +++ b/ejson/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/ejson/package.json b/ejson/package.json index fbfcb44f..71fd91d2 100644 --- a/ejson/package.json +++ b/ejson/package.json @@ -20,18 +20,18 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/common": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/common": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "ejson": "^2.2.2", "uuid": "^8.3.2" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@types/ejson": "^2.1.3", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", diff --git a/ejson/tsconfig.json b/ejson/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/ejson/tsconfig.json +++ b/ejson/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/empty/.nvmrc b/empty/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/empty/.nvmrc +++ b/empty/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/empty/.post-create b/empty/.post-create index a682bb78..055c11e9 100644 --- a/empty/.post-create +++ b/empty/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/empty/package.json b/empty/package.json index 17dc6e05..8a7ce5e5 100644 --- a/empty/package.json +++ b/empty/package.json @@ -22,17 +22,17 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/empty/tsconfig.json b/empty/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/empty/tsconfig.json +++ b/empty/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/encryption/.nvmrc b/encryption/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/encryption/.nvmrc +++ b/encryption/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/encryption/.post-create b/encryption/.post-create index a682bb78..055c11e9 100644 --- a/encryption/.post-create +++ b/encryption/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/encryption/package.json b/encryption/package.json index 1f30be7f..01aceefd 100644 --- a/encryption/package.json +++ b/encryption/package.json @@ -22,11 +22,11 @@ }, "dependencies": { "@ronomon/crypto-async": "^5.0.1", - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/common": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/common": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "cors": "^2.8.5", "ejson": "^2.2.2", "express": "^4.18.0", @@ -34,11 +34,11 @@ "yargs": "^16.2.0" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@types/cors": "^2.8.12", "@types/ejson": "^2.1.3", "@types/express": "^4.17.13", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/ronomon__crypto-async": "^2.0.0", "@types/uuid": "^8.3.4", "@types/yargs": "^17.0.10", diff --git a/encryption/tsconfig.json b/encryption/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/encryption/tsconfig.json +++ b/encryption/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/expense/.nvmrc b/expense/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/expense/.nvmrc +++ b/expense/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/expense/.post-create b/expense/.post-create index 1c02b5fc..65d0d189 100644 --- a/expense/.post-create +++ b/expense/.post-create @@ -7,9 +7,9 @@ Start Temporal Server: {cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} + Mac: {cyan brew install node@22} Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: diff --git a/expense/package.json b/expense/package.json index ed083db3..fdee1ae4 100644 --- a/expense/package.json +++ b/expense/package.json @@ -23,19 +23,19 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", - "@temporalio/common": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", + "@temporalio/common": "^1.11.5", "axios": "^0.26.0", "express": "~4.17.1", "uuid": "8.3.2" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@types/express": "4.17.13", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/uuid": "8.3.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", diff --git a/expense/tsconfig.json b/expense/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/expense/tsconfig.json +++ b/expense/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/fetch-esm/.nvmrc b/fetch-esm/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/fetch-esm/.nvmrc +++ b/fetch-esm/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/fetch-esm/.post-create b/fetch-esm/.post-create index a682bb78..055c11e9 100644 --- a/fetch-esm/.post-create +++ b/fetch-esm/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/fetch-esm/package.json b/fetch-esm/package.json index acc4d3b7..2ceb475d 100644 --- a/fetch-esm/package.json +++ b/fetch-esm/package.json @@ -21,14 +21,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@types/node-fetch": "^3.0.3", "@typescript-eslint/eslint-plugin": "^5.3.0", "@typescript-eslint/parser": "^5.3.0", diff --git a/fetch-esm/tsconfig.json b/fetch-esm/tsconfig.json index 34d96fef..11ad0d06 100644 --- a/fetch-esm/tsconfig.json +++ b/fetch-esm/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "module": "esnext", diff --git a/food-delivery/.nvmrc b/food-delivery/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/food-delivery/.nvmrc +++ b/food-delivery/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/food-delivery/.post-create b/food-delivery/.post-create index 44420830..0b0dc95a 100644 --- a/food-delivery/.post-create +++ b/food-delivery/.post-create @@ -1,22 +1,22 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, run: - {cyan npm run dev} +{cyan npm run dev} And visit: - http://localhost:3000 - http://localhost:3001 \ No newline at end of file +http://localhost:3000 +http://localhost:3001 diff --git a/food-delivery/apps/worker/package.json b/food-delivery/apps/worker/package.json index a52638a5..bc05eb3f 100644 --- a/food-delivery/apps/worker/package.json +++ b/food-delivery/apps/worker/package.json @@ -19,14 +19,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "common": "*", "workflows": "*" }, "devDependencies": { - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "eslint-config-custom": "*", "nodemon": "^2.0.12", "ts-node": "^10.8.1", diff --git a/food-delivery/packages/activities/package.json b/food-delivery/packages/activities/package.json index c0948d83..791b2549 100644 --- a/food-delivery/packages/activities/package.json +++ b/food-delivery/packages/activities/package.json @@ -10,7 +10,7 @@ "lint": "TIMING=1 eslint \"**/*.ts*\"" }, "dependencies": { - "@temporalio/activity": "^1.11.3", + "@temporalio/activity": "^1.11.5", "common": "*" }, "devDependencies": { @@ -19,4 +19,4 @@ "tsconfig": "*", "typescript": "^4.5.2" } -} +} \ No newline at end of file diff --git a/food-delivery/packages/common/package.json b/food-delivery/packages/common/package.json index de1d50ac..17eb680e 100644 --- a/food-delivery/packages/common/package.json +++ b/food-delivery/packages/common/package.json @@ -10,7 +10,7 @@ "lint": "TIMING=1 eslint \"**/*.ts*\"" }, "dependencies": { - "@temporalio/client": "^1.11.3" + "@temporalio/client": "^1.11.5" }, "devDependencies": { "eslint": "^7.32.0", @@ -18,4 +18,4 @@ "tsconfig": "*", "typescript": "^4.5.2" } -} +} \ No newline at end of file diff --git a/food-delivery/packages/workflows/package.json b/food-delivery/packages/workflows/package.json index fecfc646..1b83c834 100644 --- a/food-delivery/packages/workflows/package.json +++ b/food-delivery/packages/workflows/package.json @@ -8,7 +8,7 @@ "lint": "TIMING=1 eslint \"**/*.ts*\"" }, "dependencies": { - "@temporalio/workflow": "^1.11.3", + "@temporalio/workflow": "^1.11.5", "common": "*" }, "devDependencies": { @@ -18,4 +18,4 @@ "tsconfig": "*", "typescript": "^4.5.2" } -} +} \ No newline at end of file diff --git a/grpc-calls/.nvmrc b/grpc-calls/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/grpc-calls/.nvmrc +++ b/grpc-calls/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/grpc-calls/.post-create b/grpc-calls/.post-create index a682bb78..055c11e9 100644 --- a/grpc-calls/.post-create +++ b/grpc-calls/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/grpc-calls/package.json b/grpc-calls/package.json index 73245460..65fc730d 100644 --- a/grpc-calls/package.json +++ b/grpc-calls/package.json @@ -20,16 +20,16 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/common": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/common": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/grpc-calls/tsconfig.json b/grpc-calls/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/grpc-calls/tsconfig.json +++ b/grpc-calls/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/hello-world-js/.nvmrc b/hello-world-js/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/hello-world-js/.nvmrc +++ b/hello-world-js/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/hello-world-js/.post-create b/hello-world-js/.post-create index a682bb78..055c11e9 100644 --- a/hello-world-js/.post-create +++ b/hello-world-js/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/hello-world-js/package.json b/hello-world-js/package.json index b8bf0338..f8a6a2f5 100644 --- a/hello-world-js/package.json +++ b/hello-world-js/package.json @@ -15,13 +15,13 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "nodemon": "^2.0.12", diff --git a/hello-world-mtls/.nvmrc b/hello-world-mtls/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/hello-world-mtls/.nvmrc +++ b/hello-world-mtls/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/hello-world-mtls/.post-create b/hello-world-mtls/.post-create index 8fdd731b..b2a8fccb 100644 --- a/hello-world-mtls/.post-create +++ b/hello-world-mtls/.post-create @@ -1,25 +1,25 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then follow the mTLS setup instructions: - {bold https://docs.temporal.io/typescript/security/#mtls-tutorial} +{bold https://docs.temporal.io/typescript/security/#mtls-tutorial} For step 8, run: - {cyan npm run start.watch} +{cyan npm run start.watch} For step 9, in another shell, run: - {cyan npm run workflow} +{cyan npm run workflow} diff --git a/hello-world-mtls/package.json b/hello-world-mtls/package.json index 56bd8ff5..523c0960 100644 --- a/hello-world-mtls/package.json +++ b/hello-world-mtls/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/hello-world-mtls/tsconfig.json b/hello-world-mtls/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/hello-world-mtls/tsconfig.json +++ b/hello-world-mtls/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/hello-world/.nvmrc b/hello-world/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/hello-world/.nvmrc +++ b/hello-world/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/hello-world/.post-create b/hello-world/.post-create index a682bb78..055c11e9 100644 --- a/hello-world/.post-create +++ b/hello-world/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/hello-world/package.json b/hello-world/package.json index a4d41369..69429a05 100644 --- a/hello-world/package.json +++ b/hello-world/package.json @@ -22,17 +22,17 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/hello-world/tsconfig.json b/hello-world/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/hello-world/tsconfig.json +++ b/hello-world/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/interceptors-opentelemetry/.nvmrc b/interceptors-opentelemetry/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/interceptors-opentelemetry/.nvmrc +++ b/interceptors-opentelemetry/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/interceptors-opentelemetry/.post-create b/interceptors-opentelemetry/.post-create index a682bb78..055c11e9 100644 --- a/interceptors-opentelemetry/.post-create +++ b/interceptors-opentelemetry/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/interceptors-opentelemetry/package.json b/interceptors-opentelemetry/package.json index ed4f2a28..e492c3a6 100644 --- a/interceptors-opentelemetry/package.json +++ b/interceptors-opentelemetry/package.json @@ -24,15 +24,15 @@ "@opentelemetry/resources": "^1.26.0", "@opentelemetry/sdk-node": "^0.53.0", "@opentelemetry/sdk-trace-base": "^1.26.0", - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/interceptors-opentelemetry": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/interceptors-opentelemetry": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/interceptors-opentelemetry/tsconfig.json b/interceptors-opentelemetry/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/interceptors-opentelemetry/tsconfig.json +++ b/interceptors-opentelemetry/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/message-passing/execute-update/.nvmrc b/message-passing/execute-update/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/message-passing/execute-update/.nvmrc +++ b/message-passing/execute-update/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/message-passing/execute-update/.post-create b/message-passing/execute-update/.post-create index a682bb78..055c11e9 100644 --- a/message-passing/execute-update/.post-create +++ b/message-passing/execute-update/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/message-passing/execute-update/package.json b/message-passing/execute-update/package.json index 2684b5d2..683ec143 100644 --- a/message-passing/execute-update/package.json +++ b/message-passing/execute-update/package.json @@ -22,17 +22,17 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/message-passing/execute-update/tsconfig.json b/message-passing/execute-update/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/message-passing/execute-update/tsconfig.json +++ b/message-passing/execute-update/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/message-passing/introduction/.nvmrc b/message-passing/introduction/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/message-passing/introduction/.nvmrc +++ b/message-passing/introduction/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/message-passing/introduction/.post-create b/message-passing/introduction/.post-create index a682bb78..055c11e9 100644 --- a/message-passing/introduction/.post-create +++ b/message-passing/introduction/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/message-passing/introduction/package.json b/message-passing/introduction/package.json index 1ca2c3c9..28fb2bb5 100644 --- a/message-passing/introduction/package.json +++ b/message-passing/introduction/package.json @@ -22,18 +22,18 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "async-mutex": "^0.5.0", "nanoid": "3.x" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/message-passing/introduction/tsconfig.json b/message-passing/introduction/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/message-passing/introduction/tsconfig.json +++ b/message-passing/introduction/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/message-passing/safe-message-handlers/.nvmrc b/message-passing/safe-message-handlers/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/message-passing/safe-message-handlers/.nvmrc +++ b/message-passing/safe-message-handlers/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/message-passing/safe-message-handlers/.post-create b/message-passing/safe-message-handlers/.post-create index a682bb78..055c11e9 100644 --- a/message-passing/safe-message-handlers/.post-create +++ b/message-passing/safe-message-handlers/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/message-passing/safe-message-handlers/package.json b/message-passing/safe-message-handlers/package.json index 30029a8f..9086223f 100644 --- a/message-passing/safe-message-handlers/package.json +++ b/message-passing/safe-message-handlers/package.json @@ -22,18 +22,18 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "async-mutex": "^0.5.0", "nanoid": "3.x" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/message-passing/tsconfig.json b/message-passing/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/message-passing/tsconfig.json +++ b/message-passing/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/monorepo-folders/.nvmrc b/monorepo-folders/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/monorepo-folders/.nvmrc +++ b/monorepo-folders/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/monorepo-folders/.post-create b/monorepo-folders/.post-create index 2afeb940..fbcc4243 100644 --- a/monorepo-folders/.post-create +++ b/monorepo-folders/.post-create @@ -7,9 +7,9 @@ Start Temporal Server: {cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} + Mac: {cyan brew install node@22} Other: https://nodejs.org/en/download/ Then, in the project directory, run: diff --git a/monorepo-folders/package.json b/monorepo-folders/package.json index 0816f8c1..bf10d43c 100644 --- a/monorepo-folders/package.json +++ b/monorepo-folders/package.json @@ -17,16 +17,16 @@ "concurrently": "^6.3.0" }, "resolutions": { - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/activity": "^1.11.3", - "@temporalio/common": "^1.11.3", - "@temporalio/proto": "^1.11.3", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/activity": "^1.11.5", + "@temporalio/common": "^1.11.5", + "@temporalio/proto": "^1.11.5", "mini-css-extract-plugin": "2.4.5" }, "devDependencies": { - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "eslint": "^7.32.0", "prettier": "^2.8.8", "ts-loader": "^9.2.6" diff --git a/monorepo-folders/packages/backend-apis/package.json b/monorepo-folders/packages/backend-apis/package.json index 71897c45..af19d01c 100644 --- a/monorepo-folders/packages/backend-apis/package.json +++ b/monorepo-folders/packages/backend-apis/package.json @@ -8,7 +8,7 @@ "start": "nodemon server.ts --watch . --watch ../temporal-workflows" }, "dependencies": { - "@temporalio/client": "^1.11.3", + "@temporalio/client": "^1.11.5", "express": "~4.16.1", "temporal-workflows": "*", "ts-node": "^10.4.0" @@ -17,4 +17,4 @@ "@types/express": "^4.17.13", "nodemon": "^2.0.15" } -} +} \ No newline at end of file diff --git a/monorepo-folders/packages/backend-apis/tsconfig.json b/monorepo-folders/packages/backend-apis/tsconfig.json index 361f9839..25d44ef6 100644 --- a/monorepo-folders/packages/backend-apis/tsconfig.json +++ b/monorepo-folders/packages/backend-apis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/monorepo-folders/packages/temporal-worker/package.json b/monorepo-folders/packages/temporal-worker/package.json index c34c6514..dce48ed9 100644 --- a/monorepo-folders/packages/temporal-worker/package.json +++ b/monorepo-folders/packages/temporal-worker/package.json @@ -8,11 +8,11 @@ "start": "nodemon worker.ts --watch ./worker.ts --watch ../temporal-workflows" }, "dependencies": { - "@temporalio/worker": "^1.11.3", + "@temporalio/worker": "^1.11.5", "temporal-workflows": "*", "ts-node": "^10.4.0" }, "devDependencies": { "nodemon": "^2.0.15" } -} +} \ No newline at end of file diff --git a/monorepo-folders/packages/temporal-worker/tsconfig.json b/monorepo-folders/packages/temporal-worker/tsconfig.json index 361f9839..25d44ef6 100644 --- a/monorepo-folders/packages/temporal-worker/tsconfig.json +++ b/monorepo-folders/packages/temporal-worker/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/monorepo-folders/packages/temporal-workflows/package.json b/monorepo-folders/packages/temporal-workflows/package.json index da8d8391..dd13da61 100644 --- a/monorepo-folders/packages/temporal-workflows/package.json +++ b/monorepo-folders/packages/temporal-workflows/package.json @@ -8,11 +8,11 @@ "lint": "eslint ." }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/monorepo-folders/packages/temporal-workflows/tsconfig.json b/monorepo-folders/packages/temporal-workflows/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/monorepo-folders/packages/temporal-workflows/tsconfig.json +++ b/monorepo-folders/packages/temporal-workflows/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/mutex/.nvmrc b/mutex/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/mutex/.nvmrc +++ b/mutex/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/mutex/.post-create b/mutex/.post-create index a682bb78..055c11e9 100644 --- a/mutex/.post-create +++ b/mutex/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/mutex/package.json b/mutex/package.json index c0a9b383..2ce2d5b2 100644 --- a/mutex/package.json +++ b/mutex/package.json @@ -21,17 +21,17 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "10.0.1", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/uuid": "8.x", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", diff --git a/mutex/tsconfig.json b/mutex/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/mutex/tsconfig.json +++ b/mutex/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/nestjs-exchange-rates/.nvmrc b/nestjs-exchange-rates/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/nestjs-exchange-rates/.nvmrc +++ b/nestjs-exchange-rates/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/nestjs-exchange-rates/package.json b/nestjs-exchange-rates/package.json index 0f0d983c..e493abc9 100644 --- a/nestjs-exchange-rates/package.json +++ b/nestjs-exchange-rates/package.json @@ -42,7 +42,7 @@ "@temporalio/testing": "^1.11.5", "@types/express": "^5.0.0", "@types/jest": "^29.5.14", - "@types/node": "^20.3.1", + "@types/node": "^22.9.1", "@types/supertest": "^6.0.2", "@typescript-eslint/eslint-plugin": "8.15.0", "@typescript-eslint/parser": "8.15.0", diff --git a/nextjs-ecommerce-oneclick/.nvmrc b/nextjs-ecommerce-oneclick/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/nextjs-ecommerce-oneclick/.nvmrc +++ b/nextjs-ecommerce-oneclick/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/nextjs-ecommerce-oneclick/.post-create b/nextjs-ecommerce-oneclick/.post-create index d11ea8b9..af1a615f 100644 --- a/nextjs-ecommerce-oneclick/.post-create +++ b/nextjs-ecommerce-oneclick/.post-create @@ -1,19 +1,19 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, run: - {cyan npm run dev} +{cyan npm run dev} And open {bold http://localhost:3000} diff --git a/nextjs-ecommerce-oneclick/package.json b/nextjs-ecommerce-oneclick/package.json index ef0e55f9..dd103103 100644 --- a/nextjs-ecommerce-oneclick/package.json +++ b/nextjs-ecommerce-oneclick/package.json @@ -17,10 +17,10 @@ "@heroicons/react": "^1.0.4", "@tailwindcss/aspect-ratio": "^0.2.1", "@tailwindcss/forms": "^0.3.3", - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "next": "latest", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -29,8 +29,8 @@ "uuid": "^8.3.2" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@types/react": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", diff --git a/nextjs-ecommerce-oneclick/temporal/tsconfig.json b/nextjs-ecommerce-oneclick/temporal/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/nextjs-ecommerce-oneclick/temporal/tsconfig.json +++ b/nextjs-ecommerce-oneclick/temporal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/package-lock.json b/package-lock.json index ee5299fa..1ad4e0ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,8 +6,8 @@ "": { "name": "samples-typescript", "devDependencies": { - "@temporalio/client": "^1.11.3", - "@tsconfig/node16": "^1.0.2", + "@temporalio/client": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "doctoc": "^2.1.0", @@ -1977,15 +1977,15 @@ } }, "node_modules/@temporalio/client": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@temporalio/client/-/client-1.11.3.tgz", - "integrity": "sha512-2x30xAXbUuqelrWe3Vd1FVC0+Z2Cfh6m2W5yDUZBjqTMdNP6qd8nH4S4mceRtZ4TipYSPmaONaiWoAU2VvwEIg==", + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/@temporalio/client/-/client-1.11.5.tgz", + "integrity": "sha512-Q8hFqxyf41MQmCeyxcGpbiMyuxhilvG8FScFwSbFs8ZZPZykNcpr5o+TOowLWzGWAL5f2bIKETh/eXDZpZvY7g==", "dev": true, "license": "MIT", "dependencies": { "@grpc/grpc-js": "^1.10.7", - "@temporalio/common": "1.11.3", - "@temporalio/proto": "1.11.3", + "@temporalio/common": "1.11.5", + "@temporalio/proto": "1.11.5", "abort-controller": "^3.0.0", "long": "^5.2.3", "uuid": "^9.0.1" @@ -2005,13 +2005,13 @@ } }, "node_modules/@temporalio/common": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@temporalio/common/-/common-1.11.3.tgz", - "integrity": "sha512-dzCrwiE9ox/Q16AjBsUKr4djg1ovYHNCjH36WZadwsemXINRWa5eW53j0WZOlmFF8/CbcHIhiD5N18rZqjiYkg==", + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/@temporalio/common/-/common-1.11.5.tgz", + "integrity": "sha512-6cgGTAT+jSKKwCPOoUDIseJuDroP7cEIAX/pYpNBRGvfj+lpU8GitSVsPEZTVoMQ400otzBa1n80aH8bnOLVTw==", "dev": true, "license": "MIT", "dependencies": { - "@temporalio/proto": "1.11.3", + "@temporalio/proto": "1.11.5", "long": "^5.2.3", "ms": "^3.0.0-canary.1", "proto3-json-serializer": "^2.0.0" @@ -2028,9 +2028,9 @@ } }, "node_modules/@temporalio/proto": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@temporalio/proto/-/proto-1.11.3.tgz", - "integrity": "sha512-X+xV75m11BvvS5MljagtYCybRNxpLNJM24eWyfv+uyU4WZSvgQCUh21fY4FOUDJS66DPvO1mefSPu0Nunp1PHg==", + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/@temporalio/proto/-/proto-1.11.5.tgz", + "integrity": "sha512-LjRGQdLRpRxDp2NSyNyhCp7JLaUlMY2T+hAeGfueR5cOVZxHXTO8TXnnjimi0UM1knyA6sW3yNJCNieKlCcASg==", "dev": true, "license": "MIT", "dependencies": { @@ -2068,8 +2068,10 @@ "node": ">= 10" } }, - "node_modules/@tsconfig/node16": { - "version": "1.0.3", + "node_modules/@tsconfig/node18": { + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.4.tgz", + "integrity": "sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ==", "dev": true, "license": "MIT" }, @@ -13080,14 +13082,14 @@ } }, "@temporalio/client": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@temporalio/client/-/client-1.11.3.tgz", - "integrity": "sha512-2x30xAXbUuqelrWe3Vd1FVC0+Z2Cfh6m2W5yDUZBjqTMdNP6qd8nH4S4mceRtZ4TipYSPmaONaiWoAU2VvwEIg==", + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/@temporalio/client/-/client-1.11.5.tgz", + "integrity": "sha512-Q8hFqxyf41MQmCeyxcGpbiMyuxhilvG8FScFwSbFs8ZZPZykNcpr5o+TOowLWzGWAL5f2bIKETh/eXDZpZvY7g==", "dev": true, "requires": { "@grpc/grpc-js": "^1.10.7", - "@temporalio/common": "1.11.3", - "@temporalio/proto": "1.11.3", + "@temporalio/common": "1.11.5", + "@temporalio/proto": "1.11.5", "abort-controller": "^3.0.0", "long": "^5.2.3", "uuid": "^9.0.1" @@ -13102,12 +13104,12 @@ } }, "@temporalio/common": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@temporalio/common/-/common-1.11.3.tgz", - "integrity": "sha512-dzCrwiE9ox/Q16AjBsUKr4djg1ovYHNCjH36WZadwsemXINRWa5eW53j0WZOlmFF8/CbcHIhiD5N18rZqjiYkg==", + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/@temporalio/common/-/common-1.11.5.tgz", + "integrity": "sha512-6cgGTAT+jSKKwCPOoUDIseJuDroP7cEIAX/pYpNBRGvfj+lpU8GitSVsPEZTVoMQ400otzBa1n80aH8bnOLVTw==", "dev": true, "requires": { - "@temporalio/proto": "1.11.3", + "@temporalio/proto": "1.11.5", "long": "^5.2.3", "ms": "^3.0.0-canary.1", "proto3-json-serializer": "^2.0.0" @@ -13122,9 +13124,9 @@ } }, "@temporalio/proto": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@temporalio/proto/-/proto-1.11.3.tgz", - "integrity": "sha512-X+xV75m11BvvS5MljagtYCybRNxpLNJM24eWyfv+uyU4WZSvgQCUh21fY4FOUDJS66DPvO1mefSPu0Nunp1PHg==", + "version": "1.11.5", + "resolved": "https://registry.npmjs.org/@temporalio/proto/-/proto-1.11.5.tgz", + "integrity": "sha512-LjRGQdLRpRxDp2NSyNyhCp7JLaUlMY2T+hAeGfueR5cOVZxHXTO8TXnnjimi0UM1knyA6sW3yNJCNieKlCcASg==", "dev": true, "requires": { "long": "^5.2.3", @@ -13156,8 +13158,10 @@ "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true }, - "@tsconfig/node16": { - "version": "1.0.3", + "@tsconfig/node18": { + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node18/-/node18-18.2.4.tgz", + "integrity": "sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ==", "dev": true }, "@types/fs-extra": { diff --git a/package.json b/package.json index c86dfcef..98fa80c0 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "update-toc": "doctoc README.md" }, "devDependencies": { - "@temporalio/client": "^1.11.3", - "@tsconfig/node16": "^1.0.2", + "@temporalio/client": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "doctoc": "^2.1.0", diff --git a/patching-api/.nvmrc b/patching-api/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/patching-api/.nvmrc +++ b/patching-api/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/patching-api/.post-create b/patching-api/.post-create index d706aff3..261dcefe 100644 --- a/patching-api/.post-create +++ b/patching-api/.post-create @@ -1,20 +1,20 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} -To try out the patching API, follow the rest of the steps in {bold README.md}. \ No newline at end of file +To try out the patching API, follow the rest of the steps in {bold README.md}. diff --git a/patching-api/package.json b/patching-api/package.json index 7feb1191..0156461d 100644 --- a/patching-api/package.json +++ b/patching-api/package.json @@ -20,18 +20,18 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "axios": "0.26.0", "eslint": "7", "node-fetch": "2.x" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "8.x", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/node-fetch": "^2.5.12", "@types/sinon": "^10.0.4", "@typescript-eslint/eslint-plugin": "^5.0.0", diff --git a/patching-api/tsconfig.json b/patching-api/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/patching-api/tsconfig.json +++ b/patching-api/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/production/.nvmrc b/production/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/production/.nvmrc +++ b/production/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/production/.post-create b/production/.post-create index 1d5be68e..e2d8f60d 100644 --- a/production/.post-create +++ b/production/.post-create @@ -1,24 +1,24 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} In production, run: - {cyan npm run build} - {cyan npm run build:workflow} - {cyan NODE_ENV=production node lib/worker.js} \ No newline at end of file +{cyan npm run build} +{cyan npm run build:workflow} +{cyan NODE_ENV=production node lib/worker.js} diff --git a/production/package.json b/production/package.json index e0d5b6bc..8e7d0268 100644 --- a/production/package.json +++ b/production/package.json @@ -21,14 +21,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/production/tsconfig.json b/production/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/production/tsconfig.json +++ b/production/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/protobufs/.nvmrc b/protobufs/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/protobufs/.nvmrc +++ b/protobufs/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/protobufs/.post-create b/protobufs/.post-create index a682bb78..055c11e9 100644 --- a/protobufs/.post-create +++ b/protobufs/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/protobufs/package.json b/protobufs/package.json index 7df1e7c3..701c8183 100644 --- a/protobufs/package.json +++ b/protobufs/package.json @@ -23,15 +23,15 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "uuid": "^8.3.2" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", diff --git a/protobufs/tsconfig.json b/protobufs/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/protobufs/tsconfig.json +++ b/protobufs/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/query-subscriptions/.nvmrc b/query-subscriptions/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/query-subscriptions/.nvmrc +++ b/query-subscriptions/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/query-subscriptions/.post-create b/query-subscriptions/.post-create index de015aa5..c4f89c26 100644 --- a/query-subscriptions/.post-create +++ b/query-subscriptions/.post-create @@ -1,19 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run subscribe} - +{cyan npm run start.watch} +{cyan npm run subscribe} diff --git a/query-subscriptions/package.json b/query-subscriptions/package.json index 2b9fa2be..b9e18555 100644 --- a/query-subscriptions/package.json +++ b/query-subscriptions/package.json @@ -20,17 +20,17 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "immer": "^9.0.6", "ioredis": "^4.28.0" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", + "@tsconfig/node18": "^18.2.4", "@types/ioredis": "^4.27.7", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/query-subscriptions/tsconfig.json b/query-subscriptions/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/query-subscriptions/tsconfig.json +++ b/query-subscriptions/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/saga/.nvmrc b/saga/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/saga/.nvmrc +++ b/saga/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/saga/.post-create b/saga/.post-create index a682bb78..055c11e9 100644 --- a/saga/.post-create +++ b/saga/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/saga/package.json b/saga/package.json index 750433a4..8ad67e5e 100644 --- a/saga/package.json +++ b/saga/package.json @@ -20,15 +20,15 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "cuid": "^2.1.8" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "babel-eslint": "^10.1.0", diff --git a/saga/tsconfig.json b/saga/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/saga/tsconfig.json +++ b/saga/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/schedules/.nvmrc b/schedules/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/schedules/.nvmrc +++ b/schedules/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/schedules/.post-create b/schedules/.post-create index b379900e..6017ea7f 100644 --- a/schedules/.post-create +++ b/schedules/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run schedule.start} +{cyan npm run start.watch} +{cyan npm run schedule.start} diff --git a/schedules/package.json b/schedules/package.json index 5fb0931f..d8c5fbe5 100644 --- a/schedules/package.json +++ b/schedules/package.json @@ -24,14 +24,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/schedules/tsconfig.json b/schedules/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/schedules/tsconfig.json +++ b/schedules/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/scratchpad/.nvmrc b/scratchpad/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/scratchpad/.nvmrc +++ b/scratchpad/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/scratchpad/.post-create b/scratchpad/.post-create index 779523ea..6443d6dd 100644 --- a/scratchpad/.post-create +++ b/scratchpad/.post-create @@ -1,17 +1,17 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, run scratchpad.ts: - {cyan npm run start.watch} +{cyan npm run start.watch} diff --git a/scratchpad/package.json b/scratchpad/package.json index f6d77d79..9df2c530 100644 --- a/scratchpad/package.json +++ b/scratchpad/package.json @@ -18,14 +18,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/scratchpad/tsconfig.json b/scratchpad/tsconfig.json index 265a7ac9..ff04fe44 100644 --- a/scratchpad/tsconfig.json +++ b/scratchpad/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/search-attributes/.nvmrc b/search-attributes/.nvmrc index b6a7d89c..8fdd954d 100644 --- a/search-attributes/.nvmrc +++ b/search-attributes/.nvmrc @@ -1 +1 @@ -16 +22 \ No newline at end of file diff --git a/search-attributes/.post-create b/search-attributes/.post-create index 66549760..3803d8c3 100644 --- a/search-attributes/.post-create +++ b/search-attributes/.post-create @@ -1,20 +1,20 @@ To begin development, install Docker: - Mac: {cyan brew cask install docker; open} /Applications/Docker.app - Other: https://www.docker.com/products/docker-desktop +Mac: {cyan brew cask install docker; open} /Applications/Docker.app +Other: https://www.docker.com/products/docker-desktop Start Temporal Server: - {cyan git clone} https://github.com/temporalio/docker-compose.git temporal-server - {cyan cd} temporal-server/ - {cyan docker-compose up} +{cyan git clone} https://github.com/temporalio/docker-compose.git temporal-server +{cyan cd} temporal-server/ +{cyan docker-compose up} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/search-attributes/package.json b/search-attributes/package.json index cd6f2087..d533f8c7 100644 --- a/search-attributes/package.json +++ b/search-attributes/package.json @@ -21,14 +21,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/search-attributes/tsconfig.json b/search-attributes/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/search-attributes/tsconfig.json +++ b/search-attributes/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/signals-queries/.nvmrc b/signals-queries/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/signals-queries/.nvmrc +++ b/signals-queries/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/signals-queries/.post-create b/signals-queries/.post-create index 70fb9a0f..f991dd7b 100644 --- a/signals-queries/.post-create +++ b/signals-queries/.post-create @@ -1,24 +1,24 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow.start} +{cyan npm run start.watch} +{cyan npm run workflow.start} After the Workflow is started, you can run any of these commands: - {cyan npm run workflow.signal} - {cyan npm run workflow.query} - {cyan npm run workflow.cancel} +{cyan npm run workflow.signal} +{cyan npm run workflow.query} +{cyan npm run workflow.cancel} diff --git a/signals-queries/package.json b/signals-queries/package.json index 44b5db99..1e028915 100644 --- a/signals-queries/package.json +++ b/signals-queries/package.json @@ -23,14 +23,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/signals-queries/tsconfig.json b/signals-queries/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/signals-queries/tsconfig.json +++ b/signals-queries/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/sinks/.nvmrc b/sinks/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/sinks/.nvmrc +++ b/sinks/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/sinks/.post-create b/sinks/.post-create index a682bb78..055c11e9 100644 --- a/sinks/.post-create +++ b/sinks/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/sinks/package.json b/sinks/package.json index 6bb7a0cc..987af136 100644 --- a/sinks/package.json +++ b/sinks/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/sinks/tsconfig.json b/sinks/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/sinks/tsconfig.json +++ b/sinks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/snippets/.nvmrc b/snippets/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/snippets/.nvmrc +++ b/snippets/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/snippets/.post-create b/snippets/.post-create index a682bb78..055c11e9 100644 --- a/snippets/.post-create +++ b/snippets/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/snippets/package.json b/snippets/package.json index 4e4301bf..b9a7b7cc 100644 --- a/snippets/package.json +++ b/snippets/package.json @@ -20,15 +20,15 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/snippets/tsconfig.json b/snippets/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/snippets/tsconfig.json +++ b/snippets/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/state/.nvmrc b/state/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/state/.nvmrc +++ b/state/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/state/.post-create b/state/.post-create index a682bb78..055c11e9 100644 --- a/state/.post-create +++ b/state/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/state/package.json b/state/package.json index b45a2789..94986e9b 100644 --- a/state/package.json +++ b/state/package.json @@ -23,14 +23,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/state/tsconfig.json b/state/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/state/tsconfig.json +++ b/state/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/timer-examples/.nvmrc b/timer-examples/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/timer-examples/.nvmrc +++ b/timer-examples/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/timer-examples/.post-create b/timer-examples/.post-create index 9e0cf797..20fd28af 100644 --- a/timer-examples/.post-create +++ b/timer-examples/.post-create @@ -7,9 +7,9 @@ Start Temporal Server: {cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} + Mac: {cyan brew install node@22} Other: https://nodejs.org/en/download/ Then, in the project directory: diff --git a/timer-examples/package.json b/timer-examples/package.json index 805446a0..580a21b4 100644 --- a/timer-examples/package.json +++ b/timer-examples/package.json @@ -24,19 +24,19 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "axios": "0.26.1", "dotenv": "^10.0.0" }, "devDependencies": { - "@temporalio/testing": "^1.11.3", - "@tsconfig/node16": "^1.0.0", + "@temporalio/testing": "^1.11.5", + "@tsconfig/node18": "^18.2.4", "@types/mocha": "^9.1.1", "@types/ms": "^0.7.31", - "@types/node": "^16.11.43", + "@types/node": "^22.9.1", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", diff --git a/timer-examples/tsconfig.json b/timer-examples/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/timer-examples/tsconfig.json +++ b/timer-examples/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/timer-progress/.nvmrc b/timer-progress/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/timer-progress/.nvmrc +++ b/timer-progress/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/timer-progress/.post-create b/timer-progress/.post-create index a682bb78..055c11e9 100644 --- a/timer-progress/.post-create +++ b/timer-progress/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/timer-progress/package.json b/timer-progress/package.json index 8cf38c87..7bfd36b4 100644 --- a/timer-progress/package.json +++ b/timer-progress/package.json @@ -20,14 +20,14 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3" + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/timer-progress/tsconfig.json b/timer-progress/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/timer-progress/tsconfig.json +++ b/timer-progress/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/vscode-debugger/.nvmrc b/vscode-debugger/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/vscode-debugger/.nvmrc +++ b/vscode-debugger/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/vscode-debugger/.post-create b/vscode-debugger/.post-create index a682bb78..055c11e9 100644 --- a/vscode-debugger/.post-create +++ b/vscode-debugger/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/vscode-debugger/package.json b/vscode-debugger/package.json index f8916f7e..e6ecf714 100644 --- a/vscode-debugger/package.json +++ b/vscode-debugger/package.json @@ -20,15 +20,15 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "waait": "^1.0.5" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/vscode-debugger/tsconfig.json b/vscode-debugger/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/vscode-debugger/tsconfig.json +++ b/vscode-debugger/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/worker-specific-task-queues/.nvmrc b/worker-specific-task-queues/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/worker-specific-task-queues/.nvmrc +++ b/worker-specific-task-queues/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/worker-specific-task-queues/.post-create b/worker-specific-task-queues/.post-create index a682bb78..055c11e9 100644 --- a/worker-specific-task-queues/.post-create +++ b/worker-specific-task-queues/.post-create @@ -1,18 +1,18 @@ To begin development, install the Temporal CLI: - Mac: {cyan brew install temporal} - Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest +Mac: {cyan brew install temporal} +Other: Download and extract the latest release from https://github.com/temporalio/cli/releases/latest Start Temporal Server: - {cyan temporal server start-dev} +{cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} - Other: https://nodejs.org/en/download/ +Mac: {cyan brew install node@22} +Other: https://nodejs.org/en/download/ Then, in the project directory, using two other shells, run these commands: - {cyan npm run start.watch} - {cyan npm run workflow} +{cyan npm run start.watch} +{cyan npm run workflow} diff --git a/worker-specific-task-queues/package.json b/worker-specific-task-queues/package.json index 8589b895..567ebbe1 100644 --- a/worker-specific-task-queues/package.json +++ b/worker-specific-task-queues/package.json @@ -20,15 +20,15 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "uuid": "^8.3.2" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@types/uuid": "^8.3.1", "@typescript-eslint/eslint-plugin": "^5.3.0", "@typescript-eslint/parser": "^5.3.0", diff --git a/worker-specific-task-queues/tsconfig.json b/worker-specific-task-queues/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/worker-specific-task-queues/tsconfig.json +++ b/worker-specific-task-queues/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true, diff --git a/worker-versioning/.nvmrc b/worker-versioning/.nvmrc index b6a7d89c..2bd5a0a9 100644 --- a/worker-versioning/.nvmrc +++ b/worker-versioning/.nvmrc @@ -1 +1 @@ -16 +22 diff --git a/worker-versioning/.post-create b/worker-versioning/.post-create index 0233dbc6..43ed7b04 100644 --- a/worker-versioning/.post-create +++ b/worker-versioning/.post-create @@ -7,9 +7,9 @@ Start Temporal Server: {cyan temporal server start-dev} -Use Node version 16+: +Use Node version 18+ (v22.x is recommended): - Mac: {cyan brew install node@16} + Mac: {cyan brew install node@22} Other: https://nodejs.org/en/download/ Then, in the project directory, run: diff --git a/worker-versioning/package.json b/worker-versioning/package.json index 82ad0b0e..44d626ec 100644 --- a/worker-versioning/package.json +++ b/worker-versioning/package.json @@ -16,15 +16,15 @@ ] }, "dependencies": { - "@temporalio/activity": "^1.11.3", - "@temporalio/client": "^1.11.3", - "@temporalio/worker": "^1.11.3", - "@temporalio/workflow": "^1.11.3", + "@temporalio/activity": "^1.11.5", + "@temporalio/client": "^1.11.5", + "@temporalio/worker": "^1.11.5", + "@temporalio/workflow": "^1.11.5", "nanoid": "3.x" }, "devDependencies": { - "@tsconfig/node16": "^1.0.0", - "@types/node": "^16.11.43", + "@tsconfig/node18": "^18.2.4", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^7.32.0", diff --git a/worker-versioning/tsconfig.json b/worker-versioning/tsconfig.json index 6ff187f6..adfc9a40 100644 --- a/worker-versioning/tsconfig.json +++ b/worker-versioning/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node16/tsconfig.json", + "extends": "@tsconfig/node18/tsconfig.json", "version": "4.4.2", "compilerOptions": { "declaration": true,