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

fix: remove hacks from build and test #82

Merged
merged 2 commits into from
Mar 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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