From e34fb0f1423a4b3616fd96fdcbf2241e8d897d6c Mon Sep 17 00:00:00 2001 From: him0 Date: Sun, 29 Jun 2025 23:59:23 +0900 Subject: [PATCH] fix: update sync script and build configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix sync script to run without 'sync' argument (matches CLI behavior) - Add explicit shebang header to build process for proper npm execution - Bump version to 0.3.1 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 817fd56..c8d2678 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@him0/ai-docs-sync", - "version": "0.3.0", + "version": "0.3.1", "type": "module", "description": "Sync AI documentation rules across GitHub Copilot, Cline, Cursor, and other AI tools.", "author": "him0", @@ -34,10 +34,10 @@ }, "scripts": { "dev": "bun run src/cli.ts", - "build": "bun build src/cli.ts --target=node --outfile=dist/cli.js && bun run build:types && cp -r src/templates dist/ && chmod +x ./dist/cli.js", + "build": "bun build src/cli.ts --target=node --outfile=dist/cli.js --header='#!/usr/bin/env node' && bun run build:types && cp -r src/templates dist/ && chmod +x ./dist/cli.js", "build:types": "tsc --emitDeclarationOnly", "init": "bun run src/cli.ts init", - "sync": "bun run src/cli.ts sync", + "sync": "bun run src/cli.ts", "plan": "bun run src/cli.ts plan", "prepublishOnly": "bun run build", "test": "bun test",