Quick start
-- SpecGov is pre-release. Until the first npm package and version tag - are published, use the source build. + Use the CLI locally or in CI without adopting a new spec format.
git clone https://github.com/paladini/specgov.git
-cd specgov
-npm ci
-npm run build
-npm link
+ npm install -g specgov
+npx specgov --help
specgov init
specgov scan
@@ -414,7 +406,7 @@ Put governance in the pull request.
- uses: actions/checkout@v5
with:
fetch-depth: 0
- - uses: paladini/specgov@main
+ - uses: paladini/specgov@v0.1.0
with:
mode: advisory
base-ref: ${{ github.event.pull_request.base.sha }}
diff --git a/package.json b/package.json
index 833e02a..b52e931 100644
--- a/package.json
+++ b/package.json
@@ -11,12 +11,16 @@
"dist",
"action.yml",
"README.md",
+ "RELEASING.md",
+ "SECURITY.md",
+ "CHANGELOG.md",
"LICENSE"
],
"scripts": {
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run clean && tsc -p tsconfig.json && npm run build:action",
"build:action": "ncc build src/action.ts -o dist/action -m --license licenses.txt",
+ "prepack": "npm run build",
"test": "vitest run",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
@@ -32,6 +36,17 @@
],
"author": "Fernando Paladini",
"license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/paladini/specgov.git"
+ },
+ "bugs": {
+ "url": "https://github.com/paladini/specgov/issues"
+ },
+ "homepage": "https://github.com/paladini/specgov#readme",
+ "publishConfig": {
+ "access": "public"
+ },
"engines": {
"node": ">=20"
},