@spinekit/promo 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.
Files changed (1) hide show
  1. package/package.json +17 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spinekit/promo",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Arc module for @classytic/promo — programs, vouchers, rules, rewards, and cart evaluation as composable arc resources. BYO engine; company-wide by default (tenantField: false — a voucher generated at one branch redeems at any other); ships the promo-kernel↔wire error contract (stable UPPER_SNAKE codes + HTTP statuses).",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -55,35 +55,34 @@
55
55
  "coupon",
56
56
  "evaluation"
57
57
  ],
58
- "scripts": {
59
- "build": "tsdown",
60
- "typecheck": "tsc --noEmit",
61
- "test": "vitest run",
62
- "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
63
- "prepublishOnly": "npm run typecheck && npm run test && npm run build"
64
- },
65
58
  "peerDependencies": {
66
- "@classytic/arc": ">=2.34.0",
67
- "@classytic/mongokit": ">=3.34.0",
68
- "@classytic/primitives": ">=0.23.0",
59
+ "@classytic/arc": ">=2.35.0",
60
+ "@classytic/mongokit": ">=3.35.0",
61
+ "@classytic/primitives": ">=0.25.0",
69
62
  "@classytic/promo": ">=0.7.0",
70
- "@spinekit/kit": ">=0.1.0",
63
+ "@spinekit/kit": ">=0.3.0",
71
64
  "mongoose": ">=9.4.1",
72
65
  "zod": ">=4.0.0"
73
66
  },
74
67
  "devDependencies": {
75
- "@classytic/arc": "^2.34.0",
68
+ "@classytic/arc": "^2.35.0",
76
69
  "@classytic/arc-testkit": "^0.4.0",
77
- "@classytic/mongokit": ">=3.34.0",
78
- "@classytic/primitives": ">=0.23.0",
70
+ "@classytic/mongokit": "^3.35.0",
71
+ "@classytic/primitives": ">=0.25.0",
79
72
  "@classytic/promo": ">=0.7.0",
80
- "@spinekit/kit": "workspace:*",
81
73
  "@types/node": "^24.3.0",
82
74
  "fastify": "^5.12.0",
83
75
  "mongoose": "^9.7.2",
84
76
  "tsdown": "^0.22.14",
85
77
  "typescript": "^7.0.2",
86
78
  "vitest": "^3.2.4",
87
- "zod": "^4.3.6"
79
+ "zod": "^4.3.6",
80
+ "@spinekit/kit": "0.3.0"
81
+ },
82
+ "scripts": {
83
+ "build": "tsdown",
84
+ "typecheck": "tsc --noEmit",
85
+ "test": "vitest run",
86
+ "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""
88
87
  }
89
- }
88
+ }