@amboras-dev/capability-kit 0.0.0-stage → 0.1.0

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 CHANGED
@@ -1,6 +1,57 @@
1
1
  {
2
- "name": "@amboras-dev/capability-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
2
+ "name": "@amboras-dev/capability-kit",
3
+ "version": "0.1.0",
4
+ "description": "Capability contract for Amboras: defineCapability, major-unit money, the shared error contract, pure policy evaluation, idempotency helpers and a deterministic manifest. Peer dependency on zod only.",
5
+ "license": "UNLICENSED",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Ecomcoder/amboras-core.git",
9
+ "directory": "packages/capability-kit"
10
+ },
11
+ "type": "module",
12
+ "main": "./dist/index.cjs",
13
+ "module": "./dist/index.js",
14
+ "types": "./dist/index.d.cts",
15
+ "exports": {
16
+ ".": {
17
+ "import": {
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.js"
20
+ },
21
+ "require": {
22
+ "types": "./dist/index.d.cts",
23
+ "default": "./dist/index.cjs"
24
+ }
25
+ },
26
+ "./package.json": "./package.json"
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "sideEffects": false,
32
+ "engines": {
33
+ "node": ">=20"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "scripts": {
39
+ "build": "tsdown",
40
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsc --noEmit -p tsconfig.zod3.json && tsc --noEmit -p tsconfig.zod40.json",
41
+ "test": "vitest run --coverage && vitest run --config vitest.zod3.config.ts && vitest run --config vitest.zod40.config.ts"
42
+ },
43
+ "peerDependencies": {
44
+ "zod": "^3.25.76 || ^4.0.0"
45
+ },
46
+ "devDependencies": {
47
+ "@types/node": "22.20.5",
48
+ "@vitest/coverage-v8": "3.2.7",
49
+ "fast-check": "4.3.0",
50
+ "tsdown": "0.23.0",
51
+ "typescript": "5.9.3",
52
+ "vitest": "3.2.7",
53
+ "zod": "4.3.6",
54
+ "zod3": "npm:zod@3.25.76",
55
+ "zod40": "npm:zod@4.0.0"
56
+ }
57
+ }