@geenius/release-toolkit 0.10.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 ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@geenius/release-toolkit",
3
+ "version": "0.10.0",
4
+ "description": "Centralized, opt-out-able release toolkit for every Geenius package and boilerplate. One canonical CLI (geenius-release) replaces the per-package supply-chain / license / SBOM / smoke-packed / gauntlet scripts.",
5
+ "type": "module",
6
+ "license": "FSL-1.1-Apache-2.0",
7
+ "author": "Mehdi Nabhani <mehdi@nabhani.com>",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/geenius-dev/geenius-release-toolkit"
11
+ },
12
+ "homepage": "https://docs.geenius.dev/packages/release-toolkit",
13
+ "bugs": "https://github.com/geenius-dev/geenius-release-toolkit/issues",
14
+ "keywords": [
15
+ "geenius",
16
+ "release",
17
+ "supply-chain",
18
+ "sbom",
19
+ "license",
20
+ "audit",
21
+ "gauntlet",
22
+ "dev-tools",
23
+ "cli"
24
+ ],
25
+ "engines": {
26
+ "node": ">=22.0.0"
27
+ },
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/index.d.ts",
33
+ "import": "./dist/index.js",
34
+ "default": "./dist/index.js"
35
+ }
36
+ },
37
+ "bin": {
38
+ "geenius-release": "./bin/geenius-release.js",
39
+ "geenius-release-toolkit": "./bin/geenius-release.js"
40
+ },
41
+ "files": [
42
+ "bin",
43
+ "dist",
44
+ "templates",
45
+ "README.md",
46
+ "CHANGELOG.md"
47
+ ],
48
+ "dependencies": {
49
+ "commander": "^14.0.3",
50
+ "picocolors": "^1.1.1",
51
+ "picomatch": "^4.0.4",
52
+ "zod": "^4.4.3"
53
+ },
54
+ "devDependencies": {
55
+ "@arethetypeswrong/cli": "^0.18.2",
56
+ "@biomejs/biome": "^2.4.15",
57
+ "@changesets/cli": "^2.31.0",
58
+ "@types/node": "^25.6.2",
59
+ "@types/picomatch": "^4.0.2",
60
+ "@vitest/coverage-v8": "^4.1.6",
61
+ "publint": "^0.3.21",
62
+ "tsup": "^8.5.1",
63
+ "typescript": "^6.0.3",
64
+ "vitest": "^4.1.6"
65
+ },
66
+ "publishConfig": {
67
+ "access": "public"
68
+ },
69
+ "scripts": {
70
+ "build": "tsup",
71
+ "clean": "rm -rf dist .eval",
72
+ "dev": "tsup --watch",
73
+ "lint": "biome check src bin __tests__ package.json biome.json tsconfig.json tsconfig.build.json tsup.config.ts vitest.config.ts --error-on-warnings",
74
+ "format": "biome format --write src bin __tests__",
75
+ "type-check": "tsc -p tsconfig.json --noEmit",
76
+ "test": "vitest run",
77
+ "test:watch": "vitest",
78
+ "test:coverage": "vitest run --coverage",
79
+ "test:unit": "vitest run __tests__/unit",
80
+ "test:integration": "vitest run __tests__/integration",
81
+ "audit:supply-chain": "geenius-release supply-chain && geenius-release sbom",
82
+ "audit:license": "geenius-release license",
83
+ "audit:manifest": "geenius-release manifest-contract",
84
+ "test:smoke-packed": "geenius-release smoke-packed",
85
+ "test:publint": "geenius-release publint",
86
+ "test:gauntlet": "pnpm build && geenius-release gauntlet"
87
+ }
88
+ }
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env sh
2
+ # Optional Geenius release-toolkit pre-push hook.
3
+ # Runs the supply-chain audit before each push. Non-blocking by default —
4
+ # remove the trailing `|| exit 0` to make findings block the push.
5
+ #
6
+ # Install:
7
+ # cp node_modules/@geenius/release-toolkit/templates/husky/pre-push .husky/pre-push
8
+ # chmod +x .husky/pre-push
9
+
10
+ pnpm run audit:supply-chain --silent 2>/dev/null \
11
+ || { echo "supply-chain audit reported issues (non-blocking — see output above)"; exit 0; }