@krizaka/credits 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/credits",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "One credits ledger for every Krizaka product: grants that expire with daily and monthly caps, purchases, debits, refunds, holds. Append-only; the balance is derived. Concurrent consumption never goes negative and never spends twice. No database client, no wall clock.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"typescript": "^5.9.3",
|
|
57
57
|
"vitest": "^4.1.11",
|
|
58
58
|
"zod": "^4.6.7",
|
|
59
|
-
"@krizaka/config": "^0.
|
|
59
|
+
"@krizaka/config": "^0.14.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@krizaka/intl": "^0.4.1",
|
|
63
|
-
"@krizaka/
|
|
64
|
-
"@krizaka/settings": "^0.
|
|
65
|
-
"@krizaka/
|
|
63
|
+
"@krizaka/time": "^0.1.0",
|
|
64
|
+
"@krizaka/settings": "^0.5.1",
|
|
65
|
+
"@krizaka/db": "^0.3.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"vitest": ">=4",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsup",
|
|
81
81
|
"lint": "eslint . --max-warnings 0 && tsc --noEmit",
|
|
82
82
|
"typecheck": "tsc --noEmit",
|
|
83
|
-
"test": "vitest run",
|
|
83
|
+
"test": "vitest run --coverage --coverage.provider=v8 --coverage.reporter=lcov --coverage.reporter=text-summary \"--coverage.include=src/**/*.ts\"",
|
|
84
84
|
"check": "pnpm run lint && pnpm run test && pnpm run build"
|
|
85
85
|
}
|
|
86
86
|
}
|