Skip to content

Commit 1fb2db3

Browse files
deps: bump aegir from 45.2.1 to 47.0.16 (#431)
Bumps [aegir](https://github.com/ipfs/aegir) from 45.2.1 to 47.0.16. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/main/CHANGELOG.md) - [Commits](ipfs/aegir@v45.2.1...v47.0.16) --- updated-dependencies: - dependency-name: aegir dependency-version: 47.0.16 dependency-type: direct:development update-type: version-update:semver-major ... --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Potsides <[email protected]>
1 parent e059bbd commit 1fb2db3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+820
-203
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
11
version: 2
22
updates:
33
- package-ecosystem: npm
4-
directory: "/"
4+
directories:
5+
- "/"
56
schedule:
67
interval: daily
78
time: "10:00"
89
open-pull-requests-limit: 20
910
commit-message:
1011
prefix: "deps"
11-
prefix-development: "deps(dev)"
12+
prefix-development: "chore"
13+
groups:
14+
interplanetary-deps: # Helia/libp2p deps
15+
patterns:
16+
- "*helia*"
17+
- "*libp2p*"
18+
- "*multiformats*"
19+
- "*blockstore*"
20+
- "*datastore*"
21+
kubo-deps: # kubo deps
22+
patterns:
23+
- "*kubo*"
24+
- "ipfsd-ctl"
25+
- package-ecosystem: "github-actions"
26+
directory: "/"
27+
schedule:
28+
interval: "weekly"
29+
commit-message:
30+
prefix: chore

.github/workflows/semantic-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ on:
99

1010
jobs:
1111
main:
12-
uses: pl-strflt/.github/.github/workflows/reusable-semantic-pull-request.yml@v0.3
12+
uses: ipdxco/unified-github-workflows/.github/workflows/reusable-semantic-pull-request.yml@v1

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Close Stale Issues
1+
name: Close and mark stale issue
22

33
on:
44
schedule:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ node_modules
77
package-lock.json
88
yarn.lock
99
.vscode
10+
.tmp-compiled-docs
11+
tsconfig-doc-check.aegir.json

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77

88
> JS implementation of the IPFS UnixFS
99
10+
The UnixFS spec can be found at [ipfs/specs/UNIXFS.md](https://github.com/ipfs/specs/blob/master/UNIXFS.md)
11+
1012
# Packages
1113

14+
- [`benchmarks/import`](https://github.com/ipfs/js-ipfs-unixfs/tree/main/benchmarks/import) Import benchmarks for ipfs-unixfs-importer
15+
- [`benchmarks/memory`](https://github.com/ipfs/js-ipfs-unixfs/tree/main/benchmarks/memory) Memory benchmarks for ipfs-unixfs-importer
1216
- [`packages/ipfs-unixfs`](https://github.com/ipfs/js-ipfs-unixfs/tree/main/packages/ipfs-unixfs) JavaScript implementation of IPFS' unixfs (a Unix FileSystem representation on top of a MerkleDAG)
1317
- [`packages/ipfs-unixfs-exporter`](https://github.com/ipfs/js-ipfs-unixfs/tree/main/packages/ipfs-unixfs-exporter) JavaScript implementation of the UnixFs exporter used by IPFS
1418
- [`packages/ipfs-unixfs-importer`](https://github.com/ipfs/js-ipfs-unixfs/tree/main/packages/ipfs-unixfs-importer) JavaScript implementation of the UnixFs importer used by IPFS
1519

16-
The UnixFS spec can be found at [ipfs/specs/UNIXFS.md](https://github.com/ipfs/specs/blob/master/UNIXFS.md)
17-
1820
# API Docs
1921

2022
- <https://ipfs.github.io/js-ipfs-unixfs>

benchmarks/import/package.json

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,9 @@
11
{
2-
"name": "ipfs-unixfs-memory-benchmark",
2+
"name": "ipfs-unixfs-import-benchmark",
33
"version": "0.0.0",
4-
"description": "Memory benchmarks for ipfs-unixfs-importer",
4+
"description": "Import benchmarks for ipfs-unixfs-importer",
55
"license": "Apache-2.0 OR MIT",
6-
"private": true,
76
"type": "module",
8-
"types": "./dist/src/index.d.ts",
9-
"files": [
10-
"src",
11-
"dist",
12-
"!dist/test",
13-
"!**/*.tsbuildinfo"
14-
],
15-
"exports": {
16-
".": {
17-
"types": "./dist/src/index.d.ts",
18-
"import": "./dist/src/index.js"
19-
}
20-
},
21-
"eslintConfig": {
22-
"extends": "ipfs",
23-
"parserOptions": {
24-
"sourceType": "module"
25-
}
26-
},
277
"scripts": {
288
"build": "aegir build --bundle false",
299
"clean": "aegir clean",
@@ -32,11 +12,11 @@
3212
"start": "npm run build && node --expose-gc ./dist/test/index.spec.js"
3313
},
3414
"devDependencies": {
35-
"aegir": "^42.2.2",
36-
"blockstore-core": "^4.0.1",
37-
"blockstore-fs": "^1.0.0",
38-
"ipfs-unixfs-importer": "../../packages/ipfs-unixfs-importer",
39-
"it-buffer-stream": "^3.0.1",
40-
"it-drain": "^3.0.5"
41-
}
15+
"aegir": "^47.0.16",
16+
"blockstore-core": "^5.0.4",
17+
"ipfs-unixfs-importer": "^15.0.0",
18+
"it-buffer-stream": "^3.0.11",
19+
"it-drain": "^3.0.10"
20+
},
21+
"private": true
4222
}

benchmarks/import/test/index.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/* eslint-env mocha */
22

3-
import { importer, ImporterOptions } from 'ipfs-unixfs-importer'
4-
import bufferStream from 'it-buffer-stream'
53
import { MemoryBlockstore } from 'blockstore-core'
4+
import { importer } from 'ipfs-unixfs-importer'
5+
import bufferStream from 'it-buffer-stream'
66
import drain from 'it-drain'
7+
import type { ImporterOptions } from 'ipfs-unixfs-importer'
78

89
const REPEATS = 10
910
const FILE_SIZE = Math.pow(2, 20) * 500 // 500MB

benchmarks/import/tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@
66
"include": [
77
"src",
88
"test"
9+
],
10+
"references": [
11+
{
12+
"path": "../../packages/ipfs-unixfs-importer"
13+
}
914
]
1015
}

benchmarks/memory/package.json

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,7 @@
33
"version": "0.0.0",
44
"description": "Memory benchmarks for ipfs-unixfs-importer",
55
"license": "Apache-2.0 OR MIT",
6-
"private": true,
76
"type": "module",
8-
"types": "./dist/src/index.d.ts",
9-
"files": [
10-
"src",
11-
"dist",
12-
"!dist/test",
13-
"!**/*.tsbuildinfo"
14-
],
15-
"exports": {
16-
".": {
17-
"types": "./dist/src/index.d.ts",
18-
"import": "./dist/src/index.js"
19-
}
20-
},
21-
"eslintConfig": {
22-
"extends": "ipfs",
23-
"parserOptions": {
24-
"sourceType": "module"
25-
}
26-
},
277
"scripts": {
288
"build": "aegir build --bundle false",
299
"clean": "aegir clean",
@@ -32,9 +12,10 @@
3212
"start": "npm run build && node --expose-gc ./dist/test/index.spec.js"
3313
},
3414
"devDependencies": {
35-
"aegir": "^42.2.2",
36-
"blockstore-fs": "^1.0.0",
37-
"ipfs-unixfs-importer": "../../packages/ipfs-unixfs-importer",
38-
"it-drain": "^3.0.5"
39-
}
15+
"aegir": "^47.0.16",
16+
"blockstore-fs": "^2.0.4",
17+
"ipfs-unixfs-importer": "^15.0.0",
18+
"it-drain": "^3.0.10"
19+
},
20+
"private": true
4021
}

benchmarks/memory/test/index.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* eslint-disable no-console */
22

3-
import { importer } from 'ipfs-unixfs-importer'
4-
import path from 'node:path'
5-
import os from 'node:os'
63
import fs from 'node:fs'
7-
import drain from 'it-drain'
4+
import os from 'node:os'
5+
import path from 'node:path'
86
import { FsBlockstore } from 'blockstore-fs'
7+
import { importer } from 'ipfs-unixfs-importer'
8+
import drain from 'it-drain'
99

1010
const ONE_MEG = 1024 * 1024
1111

@@ -43,6 +43,6 @@ async function main (): Promise<void> {
4343
}
4444

4545
main().catch(err => {
46-
console.error(err) // eslint-disable-line no-console
46+
console.error(err)
4747
process.exit(1)
4848
})

benchmarks/memory/tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@
66
"include": [
77
"src",
88
"test"
9+
],
10+
"references": [
11+
{
12+
"path": "../../packages/ipfs-unixfs-importer"
13+
}
914
]
1015
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@
3333
"docs:no-publish": "aegir docs --publish false"
3434
},
3535
"devDependencies": {
36-
"aegir": "^45.0.8",
36+
"aegir": "^47.0.16",
3737
"npm-run-all": "^4.1.5"
3838
},
3939
"workspaces": [
40+
"benchmarks/*",
4041
"packages/*"
4142
]
4243
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributor Code of Conduct
2+
3+
This project follows the [`IPFS Community Code of Conduct`](https://github.com/ipfs/community/blob/master/code-of-conduct.md)

packages/ipfs-unixfs-exporter/LICENSE

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)