Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix: remove hacks from build and test (#82)
Browse files Browse the repository at this point in the history
* fix: remove hacks from build and test

* fix: update ipld/car
  • Loading branch information
hugomrdias authored Mar 21, 2021
1 parent c6b90ed commit 18c0793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
12 changes: 0 additions & 12 deletions .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ const esbuild = {
build.onResolve({ filter: /^stream$/ }, () => {
return { path: require.resolve('readable-stream') }
})
build.onResolve({ filter: /^multiformats\/hashes\/digest$/ }, () => {
// remove when https://github.com/evanw/esbuild/issues/187 is fixed
return { path: require.resolve('multiformats/hashes/digest') }
})
build.onResolve({ filter: /^multiformats$/ }, () => {
// remove when https://github.com/evanw/esbuild/issues/187 is fixed
return { path: require.resolve('multiformats') }
})
build.onResolve({ filter: /^cborg$/ }, () => {
// remove when https://github.com/evanw/esbuild/issues/187 is fixed
return { path: require.resolve('cborg') }
})
}
}
]
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"main": "src/index.js",
"browser": {
"./src/repo/lock.js": "./src/repo/lock-memory.js",
"datastore-fs": "datastore-level",
"@ipld/car": "@ipld/car/esm/car-browser.js",
"cborg": "cborg/esm/cborg.js"
"datastore-fs": "datastore-level"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -65,10 +63,10 @@
"varint": "^6.0.0"
},
"devDependencies": {
"@ipld/car": "^0.1.2",
"@ipld/car": "^0.1.3",
"@types/debug": "^4.1.5",
"@types/varint": "^6.0.0",
"aegir": "^31.0.0",
"aegir": "^32.1.0",
"assert": "^2.0.0",
"datastore-fs": "^3.0.0",
"datastore-level": "^4.0.0",
Expand Down

0 comments on commit 18c0793

Please sign in to comment.