Skip to content

Commit e56a30d

Browse files
authored
Merge pull request #1031 from constructive-io/fix/safegres-bin-path
fix(safegres): correct bin path so `safegres` CLI works after npm install
2 parents a3fd7fc + e64990f commit e56a30d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/safegres/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "safegres",
33
"version": "0.2.0",
44
"author": "Constructive <developers@constructive.io>",
5-
"description": "Pure-PostgreSQL RLS auditor: grants, RLS flags, policy coverage, and AST-level anti-pattern detection. Re-exports the Authz*/Data*/Relation*/View* type registry for downstream auditors.",
5+
"description": "Pure-Postgres Row-Level Security auditor: grants, RLS enforcement, policy coverage, and risky SQL policy patterns. No app framework required.",
66
"main": "index.js",
77
"module": "esm/index.js",
88
"types": "index.d.ts",
@@ -20,13 +20,13 @@
2020
"url": "https://github.com/constructive-io/constructive/issues"
2121
},
2222
"bin": {
23-
"safegres": "dist/cli.js"
23+
"safegres": "cli.js"
2424
},
2525
"scripts": {
2626
"clean": "makage clean",
2727
"prepack": "npm run build",
28-
"build": "makage build",
29-
"build:dev": "makage build --dev",
28+
"build": "makage build && chmod +x dist/cli.js",
29+
"build:dev": "makage build --dev && chmod +x dist/cli.js",
3030
"lint": "eslint . --fix",
3131
"test": "jest --passWithNoTests",
3232
"test:watch": "jest --watch"

0 commit comments

Comments
 (0)