UNPKG

@convex-dev/action-retrier

Version:

Convex component for retrying idempotent actions.

82 lines (81 loc) 3.01 kB
{ "name": "@convex-dev/action-retrier", "version": "0.3.1", "description": "Convex component for retrying idempotent actions.", "keywords": [ "convex", "retry", "idempotency" ], "homepage": "https://github.com/get-convex/action-retrier", "repository": "github:get-convex/action-retrier", "bugs": "https://github.com/get-convex/action-retrier/issues", "license": "Apache-2.0", "type": "module", "scripts": { "dev": "convex dev --start 'npm run dev:build'", "dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npm run build:codegen' --initial", "predev": "convex init && npm run build:codegen", "build": "tsc --project ./tsconfig.build.json", "build:codegen": "npx convex codegen --component-dir ./src/component && npm run build", "build:clean": "rm -rf dist *.tsbuildinfo && npm run build:codegen", "typecheck": "tsc --noEmit && tsc -p example/convex", "lint": "eslint .", "test": "vitest run --typecheck", "test:watch": "vitest --typecheck --clearScreen false", "test:debug": "vitest --inspect-brk --no-file-parallelism", "test:coverage": "vitest run --coverage --coverage.reporter=text", "preversion": "npm ci && npm run build:clean && npm run test && npm run lint && npm run typecheck", "alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --follow-tags", "release": "npm version patch && npm publish && git push --follow-tags", "version": "(npm whoami || npm login) && vim -c 'normal o' -c 'normal o## '$npm_package_version CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md" }, "files": [ "dist", "src" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/client/index.d.ts", "default": "./dist/client/index.js" }, "./test": "./src/test.ts", "./_generated/component.js": { "types": "./dist/component/_generated/component.d.ts" }, "./convex.config": { "types": "./dist/component/convex.config.d.ts", "default": "./dist/component/convex.config.js" }, "./convex.config.js": { "types": "./dist/component/convex.config.d.ts", "default": "./dist/component/convex.config.js" } }, "peerDependencies": { "convex": "^1.24.8" }, "devDependencies": { "@convex-dev/eslint-plugin": "2.0.0", "@edge-runtime/vm": "5.0.0", "@eslint/eslintrc": "3.3.5", "@eslint/js": "10.0.1", "@types/node": "20.19.41", "@typescript-eslint/eslint-plugin": "8.60.0", "@typescript-eslint/parser": "8.60.0", "chokidar-cli": "3.0.0", "convex": "1.39.1", "convex-test": "0.0.53", "eslint": "10.4.0", "eslint-plugin-react-hooks": "7.1.1", "eslint-plugin-react-refresh": "0.5.2", "globals": "17.6.0", "prettier": "3.8.3", "typescript": "5.9.3", "typescript-eslint": "8.60.0", "vitest": "4.1.7" }, "types": "./dist/client/index.d.ts", "module": "./dist/client/index.js" }