diff --git a/bun.lock b/bun.lock index 40fad3e1..59e590c4 100644 --- a/bun.lock +++ b/bun.lock @@ -12,7 +12,7 @@ }, "cli": { "name": "@twsxtd/hapi", - "version": "0.1.0", + "version": "0.1.2", "bin": { "hapi": "bin/hapi.cjs", }, @@ -50,11 +50,11 @@ "vitest": "^3.2.4", }, "optionalDependencies": { - "@twsxtd/hapi-darwin-arm64": "0.1.0", - "@twsxtd/hapi-darwin-x64": "0.1.0", - "@twsxtd/hapi-linux-arm64": "0.1.0", - "@twsxtd/hapi-linux-x64": "0.1.0", - "@twsxtd/hapi-win32-x64": "0.1.0", + "@twsxtd/hapi-darwin-arm64": "0.1.2", + "@twsxtd/hapi-darwin-x64": "0.1.2", + "@twsxtd/hapi-linux-arm64": "0.1.2", + "@twsxtd/hapi-linux-x64": "0.1.2", + "@twsxtd/hapi-win32-x64": "0.1.2", }, }, "server": { @@ -597,15 +597,15 @@ "@twsxtd/hapi": ["@twsxtd/hapi@workspace:cli"], - "@twsxtd/hapi-darwin-arm64": ["@twsxtd/hapi-darwin-arm64@0.1.0", "", { "os": "darwin", "cpu": "arm64", "bin": { "hapi": "bin/hapi" } }, "sha512-4IMZ7v8Cnmv6GAgZ4BqENXaXyG8WDPy8ZS7MRlye+WKbZDkJiliXM6ENScFUwvNe4lmWbYqY3Ge1784u2OOz1w=="], + "@twsxtd/hapi-darwin-arm64": ["@twsxtd/hapi-darwin-arm64@0.1.2", "", { "os": "darwin", "cpu": "arm64", "bin": { "hapi": "bin/hapi" } }, "sha512-UnlexQ4GStJo5Hj28Yib97awzklEnJsVKxsP9QVCOnOQAjtC3IzeE++9AvL2osxZxXrv49b1oRcQ/ig0XBDJiw=="], - "@twsxtd/hapi-darwin-x64": ["@twsxtd/hapi-darwin-x64@0.1.0", "", { "os": "darwin", "cpu": "x64", "bin": { "hapi": "bin/hapi" } }, "sha512-uQRlPNbSfCe8VUKznSiW5r+1pQoyQzkNHSRUCbjB/prbmDJXvZSsuXe1+DSlfLN8SeMIgk1/NoZQW0BMSPuD4A=="], + "@twsxtd/hapi-darwin-x64": ["@twsxtd/hapi-darwin-x64@0.1.2", "", { "os": "darwin", "cpu": "x64", "bin": { "hapi": "bin/hapi" } }, "sha512-EqrGsBS67/2CZWWp9CWxbi8zbAFI23s1zBl/iYbsBl1YsGI5W8ZjIZXC0uAGDxRLqqyh3BAAzuxlZ6XKAIElqQ=="], - "@twsxtd/hapi-linux-arm64": ["@twsxtd/hapi-linux-arm64@0.1.0", "", { "os": "linux", "cpu": "arm64", "bin": { "hapi": "bin/hapi" } }, "sha512-42IQcb4J/nNL2JEGp4egFdn1HFsQpJIMKZhdZ6iZi473+TQgfuQY4KSjrBQI467CKw2hevSd41doqHkgpyG1OA=="], + "@twsxtd/hapi-linux-arm64": ["@twsxtd/hapi-linux-arm64@0.1.2", "", { "os": "linux", "cpu": "arm64", "bin": { "hapi": "bin/hapi" } }, "sha512-wwQ5ZF+zu9UZdacGrENoVqZfH2QveKkpsNIZiMQwQRViM72skDpzSPkqiq/kL/szONGpz+5fdDBiYvn7PYy7xQ=="], - "@twsxtd/hapi-linux-x64": ["@twsxtd/hapi-linux-x64@0.1.0", "", { "os": "linux", "cpu": "x64", "bin": { "hapi": "bin/hapi" } }, "sha512-r1Llo7m4colancLC7WqA5NN40lMTPYW4BpvYkYSzFtwx6rdJshEChSWVGC7pTvAfh7OwiocaW+28ekpMNoOnGA=="], + "@twsxtd/hapi-linux-x64": ["@twsxtd/hapi-linux-x64@0.1.2", "", { "os": "linux", "cpu": "x64", "bin": { "hapi": "bin/hapi" } }, "sha512-tb2c/yv5G6mN1PDp4euXPTS1c2NFWHPjC1nksmrStxYiGCgZ3bIUEg0jUlv01h+awhdxRb4L7N+je90HMgCXJQ=="], - "@twsxtd/hapi-win32-x64": ["@twsxtd/hapi-win32-x64@0.1.0", "", { "os": "win32", "cpu": "x64", "bin": { "hapi": "bin/hapi.exe" } }, "sha512-CTmDzom2w7EO4QURqMQRqPMqpMAvq71TE97AFJ2525F/KzlGRbhi/M7SMGXNNiKIBOGMSbH9IOxLAxj5wI7d5g=="], + "@twsxtd/hapi-win32-x64": ["@twsxtd/hapi-win32-x64@0.1.2", "", { "os": "win32", "cpu": "x64", "bin": { "hapi": "bin/hapi.exe" } }, "sha512-3GByvOYOeGKq3Bqa5a/tTmEX7AMBZkkXXxZvIVBlbCx4FUuf08d9i9Y2y/V682mKe3sCb7M9FSsv68OB7sGHzA=="], "@types/babel__core": ["@types/babel__core@7.20.5", "", { "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA=="], diff --git a/cli/package.json b/cli/package.json index 26f01cf3..63e49763 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@twsxtd/hapi", - "version": "0.1.1", + "version": "0.1.2", "description": "App for agentic coding - access coding agent anywhere", "author": "Kirill Dubovitskiy & weishu", "license": "MIT", @@ -25,11 +25,11 @@ } }, "optionalDependencies": { - "@twsxtd/hapi-darwin-arm64": "0.1.1", - "@twsxtd/hapi-darwin-x64": "0.1.1", - "@twsxtd/hapi-linux-arm64": "0.1.1", - "@twsxtd/hapi-linux-x64": "0.1.1", - "@twsxtd/hapi-win32-x64": "0.1.1" + "@twsxtd/hapi-darwin-arm64": "0.1.2", + "@twsxtd/hapi-darwin-x64": "0.1.2", + "@twsxtd/hapi-linux-arm64": "0.1.2", + "@twsxtd/hapi-linux-x64": "0.1.2", + "@twsxtd/hapi-win32-x64": "0.1.2" }, "scripts": { "typecheck": "tsc --noEmit", diff --git a/cli/scripts/release-all.ts b/cli/scripts/release-all.ts index 4ff248c3..9f1c9a34 100644 --- a/cli/scripts/release-all.ts +++ b/cli/scripts/release-all.ts @@ -95,11 +95,7 @@ async function main(): Promise { run(`npm publish --access public${dryRun ? ' --dry-run' : ''}`, npmDir); } - // Step 4: bun install to get complete lockfile - console.log('\nšŸ“„ Step 4: Updating lockfile...'); - run('bun install', repoRoot); - - // Step 5: Publish main package + // Step 4: Publish main package console.log('\nšŸ“¤ Step 5: Publishing main package...'); run(`npm publish --access public${dryRun ? ' --dry-run' : ''}`); @@ -109,6 +105,10 @@ async function main(): Promise { return; } + // Step 5: bun install to get complete lockfile + console.log('\nšŸ“„ Step 4: Updating lockfile...'); + + run('bun install', repoRoot); // Step 6: Git commit + tag + push console.log('\nšŸ“ Step 6: Creating git commit and tag...'); run(`git add .`, repoRoot);