From 589586bff1e3020816149d8b0dafb89eb5c2e910 Mon Sep 17 00:00:00 2001 From: danielcinome Date: Sun, 8 Feb 2026 17:07:29 -0500 Subject: [PATCH] chore: update version to 0.1.1 and add author information in package.json; update bug report template placeholder --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/workflows/publish.yml | 43 +++++++++++++++++++++++++++ package.json | 4 +-- 3 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a1cec30..8bc0f6b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -12,7 +12,7 @@ body: attributes: label: Rulix Version description: Run `rulix --version` - placeholder: "0.1.0" + placeholder: "0.1.1" validations: required: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..f61f1cd --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,43 @@ +name: Publish to npm + +on: + push: + tags: + - "v*" + +permissions: + contents: read + +jobs: + publish: + name: Publish + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: npm + registry-url: https://registry.npmjs.org + + - run: npm ci + + - run: npm run lint + + - run: npm run typecheck + + - run: npm test + + - run: npm run build + + - name: Verify dist output + run: | + test -f dist/index.js + test -f dist/index.cjs + test -f dist/cli/index.js + head -1 dist/cli/index.js | grep -q "#!/usr/bin/env node" + + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 6723070..fc72711 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rulix", - "version": "0.1.0", + "version": "0.1.1", "description": "One ruleset. Every AI coding tool.", "type": "module", "bin": { @@ -43,7 +43,7 @@ "agents-md", "cli" ], - "author": "", + "author": "Daniel Chinome", "license": "MIT", "bugs": { "url": "https://github.com/danielcinome/rulix/issues"