Skip to content

Commit 0f775ae

Browse files
tejgokaniclaude
andcommitted
fix: add repository.url to all package.json for npm provenance
npm provenance requires repository.url to match the GitHub Actions source URL. E422 was thrown because the field was absent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1746849 commit 0f775ae

9 files changed

Lines changed: 106 additions & 42 deletions

File tree

packages/cli/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,22 @@
77
"@thekairojs/kairo": "./dist/bin.js"
88
},
99
"main": "./dist/bin.js",
10-
"files": ["dist"],
10+
"files": [
11+
"dist"
12+
],
1113
"scripts": {
1214
"build": "tsup",
13-
"dev": "tsup --watch",
14-
"test": "vitest run",
15+
"dev": "tsup --watch",
16+
"test": "vitest run",
1517
"typecheck": "tsc --noEmit"
1618
},
1719
"devDependencies": {
18-
"tsup": "*",
20+
"tsup": "*",
1921
"vitest": "^4.1.7",
2022
"typescript": "*"
23+
},
24+
"repository": {
25+
"type": "git",
26+
"url": "https://github.com/thekairojs/kairo.js"
2127
}
2228
}

packages/core/package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
}
1919
}
2020
},
21-
"files": ["dist"],
21+
"files": [
22+
"dist"
23+
],
2224
"scripts": {
2325
"build": "tsup",
2426
"dev": "tsup --watch",
@@ -27,9 +29,19 @@
2729
"typecheck": "tsc --noEmit",
2830
"clean": "rm -rf dist"
2931
},
30-
"keywords": ["framework", "security", "typescript", "http", "server"],
32+
"keywords": [
33+
"framework",
34+
"security",
35+
"typescript",
36+
"http",
37+
"server"
38+
],
3139
"license": "MIT",
3240
"engines": {
3341
"node": ">=20.0.0"
42+
},
43+
"repository": {
44+
"type": "git",
45+
"url": "https://github.com/thekairojs/kairo.js"
3446
}
3547
}

packages/dx/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"types": "./dist/index.d.ts"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
1820
"build": "tsup",
1921
"dev": "tsup --watch",
@@ -28,5 +30,9 @@
2830
"tsup": "^8.0.0",
2931
"typescript": "^5.4.0",
3032
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
3137
}
3238
}

packages/hardening/package.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,36 @@
33
"version": "1.0.0",
44
"description": "KAIRO Hardening Layer — active entropy-based request blocking",
55
"type": "module",
6-
"main": "./dist/index.cjs",
6+
"main": "./dist/index.cjs",
77
"module": "./dist/index.js",
8-
"types": "./dist/index.d.ts",
8+
"types": "./dist/index.d.ts",
99
"exports": {
1010
".": {
11-
"types": "./dist/index.d.ts",
12-
"import": "./dist/index.js",
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
1313
"require": "./dist/index.cjs"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
18-
"build": "tsup",
19-
"dev": "tsup --watch",
20-
"test": "vitest run",
20+
"build": "tsup",
21+
"dev": "tsup --watch",
22+
"test": "vitest run",
2123
"typecheck": "tsc --noEmit"
2224
},
2325
"peerDependencies": {
2426
"@thekairojs/kairo": "*"
2527
},
2628
"devDependencies": {
27-
"kairo": "*",
28-
"tsup": "^8.0.0",
29+
"kairo": "*",
30+
"tsup": "^8.0.0",
2931
"typescript": "^5.4.0",
3032
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
3137
}
3238
}

packages/intent/package.json

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,36 @@
33
"version": "1.0.0",
44
"description": "KAIRO Intent Engine — classifies request origin as human, api, bot, or scanner",
55
"type": "module",
6-
"main": "./dist/index.cjs",
6+
"main": "./dist/index.cjs",
77
"module": "./dist/index.js",
8-
"types": "./dist/index.d.ts",
8+
"types": "./dist/index.d.ts",
99
"exports": {
1010
".": {
11-
"types": "./dist/index.d.ts",
12-
"import": "./dist/index.js",
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
1313
"require": "./dist/index.cjs"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
18-
"build": "tsup",
19-
"dev": "tsup --watch",
20-
"test": "vitest run",
20+
"build": "tsup",
21+
"dev": "tsup --watch",
22+
"test": "vitest run",
2123
"typecheck": "tsc --noEmit"
2224
},
23-
"peerDependencies": { "@thekairojs/kairo": "*" },
25+
"peerDependencies": {
26+
"@thekairojs/kairo": "*"
27+
},
2428
"devDependencies": {
25-
"kairo": "*",
26-
"tsup": "^8.0.0",
29+
"kairo": "*",
30+
"tsup": "^8.0.0",
2731
"typescript": "^5.4.0",
2832
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
2937
}
3038
}

packages/lattice/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"types": "./dist/index.d.ts"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
1820
"build": "tsup",
1921
"dev": "tsup --watch",
@@ -28,5 +30,9 @@
2830
"tsup": "^8.0.0",
2931
"typescript": "^5.4.0",
3032
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
3137
}
3238
}

packages/membrane/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"types": "./dist/index.d.ts"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
1820
"build": "tsup",
1921
"dev": "tsup --watch",
@@ -28,5 +30,9 @@
2830
"tsup": "^8.0.0",
2931
"typescript": "^5.4.0",
3032
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
3137
}
3238
}

packages/sentinel/package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"types": "./dist/index.d.ts"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
1820
"build": "tsup",
1921
"dev": "tsup --watch",
@@ -28,5 +30,9 @@
2830
"tsup": "^8.0.0",
2931
"typescript": "^5.4.0",
3032
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
3137
}
3238
}

packages/shield/package.json

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,36 @@
33
"version": "1.0.0",
44
"description": "KAIRO Data Shield — PII detection and redaction for outbound responses",
55
"type": "module",
6-
"main": "./dist/index.cjs",
6+
"main": "./dist/index.cjs",
77
"module": "./dist/index.js",
8-
"types": "./dist/index.d.ts",
8+
"types": "./dist/index.d.ts",
99
"exports": {
1010
".": {
11-
"types": "./dist/index.d.ts",
12-
"import": "./dist/index.js",
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.js",
1313
"require": "./dist/index.cjs"
1414
}
1515
},
16-
"files": ["dist"],
16+
"files": [
17+
"dist"
18+
],
1719
"scripts": {
18-
"build": "tsup",
19-
"dev": "tsup --watch",
20-
"test": "vitest run",
20+
"build": "tsup",
21+
"dev": "tsup --watch",
22+
"test": "vitest run",
2123
"typecheck": "tsc --noEmit"
2224
},
23-
"peerDependencies": { "@thekairojs/kairo": "*" },
25+
"peerDependencies": {
26+
"@thekairojs/kairo": "*"
27+
},
2428
"devDependencies": {
25-
"kairo": "*",
26-
"tsup": "^8.0.0",
29+
"kairo": "*",
30+
"tsup": "^8.0.0",
2731
"typescript": "^5.4.0",
2832
"vitest": "^4.1.7"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/thekairojs/kairo.js"
2937
}
3038
}

0 commit comments

Comments
 (0)