mirror of
https://github.com/Lifeforge-app/lifeforge.git
synced 2026-06-27 14:26:06 +00:00
Introduce useForgeMutation that wraps useMutation with: - Automatic query invalidation from queryKey config - Default error handling via common.fetch:failure locale - setForgeMutationErrorHandler for global error toast setup - Action translation support through common.fetch:action.* keys
32 lines
753 B
JSON
32 lines
753 B
JSON
{
|
|
"name": "@lifeforge/api",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"typings": "dist/index.d.ts",
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"types": "tsgo -b --noEmit",
|
|
"build": "rm -rf dist && bun types && vite build"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.12.2",
|
|
"crypto-js": "^4.2.0",
|
|
"json-schema-to-ts": "^3.1.1",
|
|
"socket.io-client": "^4.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@vitejs/plugin-react": "^4.7.0",
|
|
"vite-plugin-dts": "^4.5.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@tanstack/react-query": "^5.90.2",
|
|
"react": "^19.2.0",
|
|
"react-i18next": "^15.0.0",
|
|
"zod": "^4.3.5"
|
|
}
|
|
}
|