Skip to content

Commit bdea160

Browse files
tonyxiaoclaude
andcommitted
conformance: remove bin field check (publishConfig pattern is gone)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
1 parent bd035d0 commit bdea160

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

e2e/conformance.test.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const packageDirs = readdirSync(packagesDir, { withFileTypes: true })
1717

1818
interface PkgJson {
1919
name: string
20-
bin?: Record<string, string>
2120
}
2221

2322
function readPkgJson(dir: string): PkgJson {
@@ -160,16 +159,6 @@ describe.each(destinations)('destination: $name', ({ name, mod: initialMod }) =>
160159
describe.each(connectorDirs)('connector bin: %s', (dir) => {
161160
const pkg = readPkgJson(dir)
162161

163-
it('package.json has a bin field pointing to .js', () => {
164-
expect(pkg.bin, 'bin field should exist').toBeDefined()
165-
expect(typeof pkg.bin).toBe('object')
166-
const binPaths = Object.values(pkg.bin!)
167-
expect(binPaths.length).toBeGreaterThan(0)
168-
for (const p of binPaths) {
169-
expect(p, `bin path "${p}" should point to a .js file`).toMatch(/\.js$/)
170-
}
171-
})
172-
173162
it('createConnectorCli registers correct commands', async () => {
174163
const mod = await import(pkg.name)
175164
const connector = mod.default as Record<string, unknown>

0 commit comments

Comments
 (0)