From 84ac0aae32f45a5e0fcdcdc3ef8c016cc76ae813 Mon Sep 17 00:00:00 2001 From: DiTo97 Date: Fri, 17 Apr 2026 17:14:50 +0200 Subject: [PATCH] Fix npm bin metadata and bump 1.0.2 Use an npm-compatible bin path so publish keeps the git-tasks executable and roll the package forward to 1.0.2 after the failed 1.0.1 publish attempt. Co-Authored-By: Claude Opus 4.6 --- package-lock.json | 4 ++-- package.json | 4 ++-- test/cli.test.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8b4d950..ec79d25 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@atena-reply/git-tasks", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@atena-reply/git-tasks", - "version": "1.0.1", + "version": "1.0.2", "license": "ISC", "dependencies": { "chalk": "^5.6.2", diff --git a/package.json b/package.json index 56500bd..99ff9cd 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "@atena-reply/git-tasks", - "version": "1.0.1", + "version": "1.0.2", "description": "AI-native GitHub issue planning via GitHub issues", "type": "module", "bin": { - "git-tasks": "./bin/git-tasks.js" + "git-tasks": "bin/git-tasks.js" }, "scripts": { "test": "node --test test/cli.test.js", diff --git a/test/cli.test.js b/test/cli.test.js index 383d300..ddbc736 100644 --- a/test/cli.test.js +++ b/test/cli.test.js @@ -129,7 +129,7 @@ test('skill install fails for unknown targets', async () => { test('package metadata targets the scoped npm package on Node.js 24+', async () => { const pkg = JSON.parse(fs.readFileSync(join(REPO_ROOT, 'package.json'), 'utf8')); assert.equal(pkg.name, '@atena-reply/git-tasks'); - assert.equal(pkg.bin['git-tasks'], './bin/git-tasks.js'); + assert.equal(pkg.bin['git-tasks'], 'bin/git-tasks.js'); assert.equal(pkg.publishConfig.access, 'public'); assert.equal(pkg.engines.node, '>=24'); });