Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12,607 changes: 0 additions & 12,607 deletions examples/package-lock.json

This file was deleted.

14,065 changes: 0 additions & 14,065 deletions lambda-durable-functions-testing-sdk-js/package-lock.json

This file was deleted.

5,873 changes: 2,152 additions & 3,721 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@
"version": "0.0.q",
"description": "Lambda Durable Functions SDK, Testing SDK and fully functional examples",
"workspaces": [
"dex-internal-sdk",
"lambda-durable-functions-sdk-js",
"lambda-durable-functions-testing-sdk-js",
"examples"
"packages/*"
],
"type": "module",
"scripts": {
"install-all": "npm install -w dex-internal-sdk && npm install -w lambda-durable-functions-sdk-js && npm install -w lambda-durable-functions-testing-sdk-js && npm install -w examples",
"test": "npm run test -w lambda-durable-functions-sdk-js -w lambda-durable-functions-testing-sdk-js -w examples",
"build": "npm run build -w lambda-durable-functions-sdk-js -w lambda-durable-functions-testing-sdk-js -w examples",
"postpublish": "git restore ."
"install-all": "npm install -w packages/lambda-durable-functions-sdk-js -w packages/lambda-durable-functions-testing-sdk-js -w packages/examples",
"test": "npm run test --workspaces --if-present",
"build": "npm run build -w packages/lambda-durable-functions-sdk-js -w packages/lambda-durable-functions-testing-sdk-js -w packages/examples",
"postpublish": "git restore .",
"clean": "npm run clean --workspaces --if-present"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git"
"url": "git@github.com:aws/lambda-durable-functions-js.git"
},
"keywords": [],
"author": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@
"name": "@amzn/dex-internal-sdk",
"description": "Durable Executions Internal SDK",
"version": "0.1.0",
"scripts": {
"build": "concurrently 'npm:build:cjs' 'npm:build:es' 'npm:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build:types": "tsc -p tsconfig.types.json",
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
"prepack": "npm run clean && npm run build"
},
"scripts": {},
"main": "./dist-cjs/index.js",
"types": "./dist-types/index.d.ts",
"module": "./dist-es/index.js",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/package.json → packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"prettier": "prettier --write './src/**/*.*' && prettier --write './test/**/*.*'"
},
"dependencies": {
"@amzn/durable-executions-language-sdk": "file:../lambda-durable-functions-sdk-js",
"@amzn/durable-executions-type-script-testing-library": "file:../lambda-durable-functions-testing-sdk-js",
"@amzn/durable-executions-language-sdk": "*",
"@amzn/durable-executions-type-script-testing-library": "*",
"@aws-sdk/client-dynamodb": "^3.777.0"
},
"devDependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/tsconfig.json → packages/examples/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["@tsconfig/node22"],
"extends": ["@tsconfig/node22", "../../tsconfig.json"],
"compilerOptions": {
"declaration": true,
"outDir": "./dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,10 @@
"timestamp": "2025-09-02T18:44:48.907Z",
"size": 213072,
"gitCommit": "41bfef1564e6a3bb95b3938d2f031ee8acef1eb5"
},
{
"timestamp": "2025-09-03T22:20:22.674Z",
"size": 213216,
"gitCommit": "c0034633240ceb29e00fd34c67f0d33cfe0a6714"
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ module.exports = [
parser: tsParser,
ecmaVersion: "latest",
sourceType: "module",
parserOptions: {
tsconfigRootDir: ".",
},
},
plugins: {
"@typescript-eslint": typescriptEslint,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"lint": "eslint src --ext .ts",
"lint:fix": "prettier --write . && eslint src --ext .ts --fix",
"prepublishOnly": "npm test && npm run lint && npm run build",
"run-locally": "ts-node --transpile-only ./src/run-durable.ts"
"run-locally": "ts-node --transpile-only ./src/run-durable.ts",
"clean": "rm -rf node_modules dist"
},
"lint-staged": {
"./src/**/*.ts": [
Expand Down Expand Up @@ -57,7 +58,7 @@
},
"dependencies": {},
"peerDependencies": {
"@amzn/dex-internal-sdk": "file:../dex-internal-sdk",
"@amzn/dex-internal-sdk": "*",
"@aws-sdk/credential-provider-node": "^3.800.0"
},
"peerDependenciesMeta": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
Operation,
} from "@amzn/dex-internal-sdk";
import { ExecutionContext } from "../../types";
import { log } from "../../utils/logger/logger";
import { log } from "../logger/logger";
import { CheckpointFailedError } from "../../errors/checkpoint-errors/checkpoint-errors";
import { TerminationReason } from "../../termination-manager/types";
import { hashId } from "../step-id-utils/step-id-utils";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ES2022",
"module": "CommonJS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@
"jest": "^30.0.3",
"supertest": "^7.1.1",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"tsx": "^4.20.3",
"tsx": "^4.20.5",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.1"
},
"dependencies": {
"@amzn/dex-internal-sdk": "file:../dex-internal-sdk",
"@amzn/durable-executions-language-sdk": "file:../lambda-durable-functions-sdk-js",
"@amzn/dex-internal-sdk": "*",
"@amzn/durable-executions-language-sdk": "*",
"express": "^5.1.0"
},
"lint-staged": {
Expand Down
Loading