Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 8844f86

Browse files
committedJan 26, 2022
chore: fix paths and packages
1 parent 2119650 commit 8844f86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎bin/ipfs-interop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { spawn } from 'child_process'
44
import { dirname } from 'path'
55
import { fileURLToPath } from 'url'
66

7-
const __dirname = dirname(fileURLToPath(import.meta.url))
7+
const __dirname = dirname(dirname(fileURLToPath(import.meta.url)))
88

99
const proc = spawn('npm', ['test'].concat(process.argv.slice(2)), {
1010
cwd: __dirname

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
"scripts": {
144144
"clean": "rimraf /tmp/js-ipfs /tmp/go-ipfs ./go-libp2p-relay-daemon dist types",
145145
"lint": "aegir lint",
146-
"build": "aegir build --esm-tests && cp -R types dist && cp -R scripts dist && cp -R bin dist",
146+
"build": "aegir build --esm-tests && cp -R types scripts bin test src dist && cp bin/package.json dist/src && cp bin/package.json dist/test",
147147
"release": "semantic-release",
148148
"postinstall": "cross-env node ./scripts/setup-libp2p-relay-daemon.js",
149149
"pretest": "aegir build --esm-tests",

0 commit comments

Comments
 (0)
This repository has been archived.