Skip to content

Commit 86de096

Browse files
justin808claude
andauthored
Fix CI failures: restore root bin/shakapacker-config and fix prettier (#858)
## Summary - Restores `bin/shakapacker-config` at project root (was moved by PR #841, breaking integration tests) - Fixes quote style in `spec/dummy/bin/shakapacker-config` to match local `.prettierrc.yaml` (single quotes) This fixes two pre-existing CI failures that appear on the main branch: 1. **Node based checks (Linting)** - Prettier failing on `spec/dummy/bin/shakapacker-config` 2. **Testing (ubuntu-latest, 20.x/22.x)** - Integration tests can't find `bin/shakapacker-config` ## Test plan - [x] Verified locally: `yarn prettier --check .` passes - [x] Verified locally: `yarn lint` passes - [x] Verified locally: `yarn test` passes (319 tests) - [ ] CI should pass with these changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2d74b61 commit 86de096

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

bin/shakapacker-config

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env node
2+
3+
// Minimal shim - all logic is in the TypeScript module
4+
const { run } = require("shakapacker/configExporter")
5+
6+
run(process.argv.slice(2))
7+
.then((exitCode) => process.exit(exitCode))
8+
.catch((error) => {
9+
console.error(error.message)
10+
process.exit(1)
11+
})

spec/dummy/bin/shakapacker-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

33
// Minimal shim - all logic is in the TypeScript module
4-
const { run } = require("shakapacker/configExporter")
4+
const { run } = require('shakapacker/configExporter')
55

66
run(process.argv.slice(2))
77
.then((exitCode) => process.exit(exitCode))

0 commit comments

Comments
 (0)