@slahon/lazykit 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(npm pkg *)",
5
+ "Bash(npm publish *)"
6
+ ]
7
+ }
8
+ }
package/init.js CHANGED
@@ -248,7 +248,7 @@ async function init({ dryRun = false } = {}) {
248
248
  ].join(' ');
249
249
  execSync(`git add ${files}`, { stdio: 'pipe' });
250
250
  execSync(`git commit -m "Add LazyKit automation"`, { stdio: 'pipe' });
251
- execSync(`git push`, { stdio: 'pipe' });
251
+ execSync(`git push -u origin HEAD`, { stdio: 'pipe' });
252
252
  pushSpinner.succeed(chalk.green('Committed and pushed — workflow is live'));
253
253
  } catch {
254
254
  pushSpinner.fail(chalk.red('Push failed.'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slahon/lazykit",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Drop an issue, get a PR. AI-powered issue-to-PR automation using Claude.",
5
5
  "bin": {
6
6
  "lazykit": "./index.js"
package/remove.js CHANGED
@@ -90,7 +90,7 @@ async function remove() {
90
90
  try {
91
91
  execSync(`git add ${deleted.map(f => `"${f}"`).join(' ')}`, { stdio: 'pipe' });
92
92
  execSync(`git commit -m "Remove LazyKit automation"`, { stdio: 'pipe' });
93
- execSync(`git push`, { stdio: 'pipe' });
93
+ execSync(`git push -u origin HEAD`, { stdio: 'pipe' });
94
94
  spinner.succeed(chalk.green('Committed and pushed'));
95
95
  } catch {
96
96
  spinner.fail('Push failed — commit and push manually');
package/update.js CHANGED
@@ -75,7 +75,7 @@ async function update({ dryRun = false } = {}) {
75
75
  try {
76
76
  execSync(`git add ${filesToPush.join(' ')}`, { stdio: 'pipe' });
77
77
  execSync(`git commit -m "Update LazyKit configuration"`, { stdio: 'pipe' });
78
- execSync(`git push`, { stdio: 'pipe' });
78
+ execSync(`git push -u origin HEAD`, { stdio: 'pipe' });
79
79
  spinner.succeed(chalk.green('Committed and pushed'));
80
80
  } catch {
81
81
  spinner.fail('Push failed — commit and push manually');