-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: export binary from @helia/interop (#384)
To prevent things like transient deps breaking Kubo interop tests, export a bin to allow installing the interop tests from npm and running them in an easy-to-digest way.
- Loading branch information
1 parent
c8d2fac
commit 3477b27
Showing
28 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! /usr/bin/env node | ||
/* eslint-disable no-console */ | ||
|
||
import { spawn } from 'node:child_process' | ||
|
||
const test = spawn('npx', ['aegir', 'test']) | ||
|
||
test.stdout.on('data', (data) => { | ||
process.stdout.write(data) | ||
}) | ||
|
||
test.stderr.on('data', (data) => { | ||
process.stderr.write(data) | ||
}) | ||
|
||
test.on('close', (code) => { | ||
process.exit(code ?? 0) | ||
}) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
/** | ||
* @packageDocumentation | ||
* | ||
* Runs interop tests between Helia and Kubo. | ||
* | ||
* @example Testing a new Kubo release | ||
* | ||
* ```console | ||
* $ npm i @helia/interop | ||
* $ KUBO_BINARY=/path/to/kubo helia-interop | ||
* ``` | ||
*/ | ||
|
||
export {} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,6 @@ | |
{ | ||
"path": "../helia" | ||
}, | ||
{ | ||
"path": "../interface" | ||
}, | ||
{ | ||
"path": "../ipns" | ||
}, | ||
|