Skip to content

Commit 1b1fb08

Browse files
authored
Merge pull request #845 from bradygaster/squad/fix-insider-esm-return
fix: rename root index.js to index.cjs for ESM compat
2 parents a6f4b47 + bd1c162 commit 1b1fb08

10 files changed

Lines changed: 9 additions & 9 deletions
File renamed without changes.

‎test/email-scrub.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99

1010
function runSquad(args, cwd) {
1111
try {

‎test/init-flow.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99

1010
function runSquad(args, cwd) {
1111
try {

‎test/mcp-config.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99

1010
function runSquad(args, cwd) {
1111
try {

‎test/migrate-directory.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99
const pkg = require('../package.json');
1010

1111
function runSquad(args, cwd) {

‎test/plugin-marketplace.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99

1010
function runSquad(args, cwd) {
1111
try {

‎test/rework-rate.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const assert = require('node:assert/strict');
33
const path = require('path');
44
const { execFileSync } = require('child_process');
55

6-
const CLI = path.join(__dirname, '..', 'index.js');
6+
const CLI = path.join(__dirname, '..', 'index.cjs');
77

88
// Import rework calculation functions from the pure module (no CLI side effects)
99
const { calculatePrRework, calculateReworkSummary } = require(path.join(__dirname, '..', 'lib', 'rework.js'));

‎test/skills-export-import.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99

1010
function runSquad(args, cwd) {
1111
try {

‎test/version-stamping.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99

1010
function runSquad(args, cwd) {
1111
try {

‎test/workflows.test.cjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const { execFileSync } = require('child_process');
66
const os = require('os');
77

8-
const CLI = path.join(__dirname, '..', 'index.js');
8+
const CLI = path.join(__dirname, '..', 'index.cjs');
99
const TEMPLATES_DIR = path.join(__dirname, '..', 'templates', 'workflows');
1010

1111
// The three CI/CD workflows Kobayashi is building

0 commit comments

Comments
 (0)