Skip to content

Commit 2421ee2

Browse files
deps(dev): bump aegir from 40.0.13 to 41.0.0 (#105)
Bumps [aegir](https://github.com/ipfs/aegir) from 40.0.13 to 41.0.0. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v40.0.13...v41.0.0) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:development update-type: version-update:semver-major ... --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <alex@achingbrain.net>
1 parent 4e5b1bf commit 2421ee2

File tree

4 files changed

+23
-19
lines changed

4 files changed

+23
-19
lines changed

package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@
2929
"generate": "aegir run generate",
3030
"build": "aegir run build",
3131
"lint": "aegir run lint",
32-
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop",
33-
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop",
3432
"dep-check": "aegir run dep-check",
35-
"release": "npm run docs:no-publish && aegir run release && npm run docs"
33+
"release": "run-s build docs:no-publish npm:release docs",
34+
"npm:release": "aegir run release",
35+
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop --excludeExternals",
36+
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop"
3637
},
3738
"devDependencies": {
38-
"aegir": "^40.0.13"
39+
"aegir": "^41.0.0",
40+
"npm-run-all": "^4.1.5"
3941
},
4042
"type": "module",
4143
"workspaces": [

packages/interop/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"eslintConfig": {
3232
"extends": "ipfs",
3333
"parserOptions": {
34+
"project": true,
3435
"sourceType": "module"
3536
}
3637
},
@@ -54,7 +55,7 @@
5455
"@helia/unixfs": "^1.0.0",
5556
"@libp2p/tcp": "^8.0.6",
5657
"@libp2p/websockets": "^7.0.6",
57-
"aegir": "^40.0.13",
58+
"aegir": "^41.0.0",
5859
"blockstore-core": "^4.0.1",
5960
"datastore-core": "^9.0.3",
6061
"go-ipfs": "^0.22.0",

packages/unixfs/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"eslintConfig": {
5252
"extends": "ipfs",
5353
"parserOptions": {
54+
"project": true,
5455
"sourceType": "module"
5556
}
5657
},
@@ -173,7 +174,7 @@
173174
"sparse-array": "^1.3.2"
174175
},
175176
"devDependencies": {
176-
"aegir": "^40.0.13",
177+
"aegir": "^41.0.0",
177178
"blockstore-core": "^4.0.1",
178179
"delay": "^6.0.0",
179180
"iso-url": "^1.2.1",

packages/unixfs/src/index.ts

+13-13
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export interface UnixFS {
363363
* }
364364
* ```
365365
*/
366-
addAll: (source: ImportCandidateStream, options?: Partial<AddOptions>) => AsyncIterable<ImportResult>
366+
addAll(source: ImportCandidateStream, options?: Partial<AddOptions>): AsyncIterable<ImportResult>
367367

368368
/**
369369
* Add a single `Uint8Array` to your Helia node as a file.
@@ -376,7 +376,7 @@ export interface UnixFS {
376376
* console.info(cid)
377377
* ```
378378
*/
379-
addBytes: (bytes: Uint8Array, options?: Partial<AddOptions>) => Promise<CID>
379+
addBytes(bytes: Uint8Array, options?: Partial<AddOptions>): Promise<CID>
380380

381381
/**
382382
* Add a stream of `Uint8Array` to your Helia node as a file.
@@ -392,7 +392,7 @@ export interface UnixFS {
392392
* console.info(cid)
393393
* ```
394394
*/
395-
addByteStream: (bytes: ByteStream, options?: Partial<AddOptions>) => Promise<CID>
395+
addByteStream(bytes: ByteStream, options?: Partial<AddOptions>): Promise<CID>
396396

397397
/**
398398
* Add a file to your Helia node with optional metadata.
@@ -413,7 +413,7 @@ export interface UnixFS {
413413
* console.info(cid)
414414
* ```
415415
*/
416-
addFile: (file: FileCandidate, options?: Partial<AddOptions>) => Promise<CID>
416+
addFile(file: FileCandidate, options?: Partial<AddOptions>): Promise<CID>
417417

418418
/**
419419
* Add a directory to your Helia node.
@@ -426,7 +426,7 @@ export interface UnixFS {
426426
* console.info(cid)
427427
* ```
428428
*/
429-
addDirectory: (dir?: Partial<DirectoryCandidate>, options?: Partial<AddOptions>) => Promise<CID>
429+
addDirectory(dir?: Partial<DirectoryCandidate>, options?: Partial<AddOptions>): Promise<CID>
430430

431431
/**
432432
* Retrieve the contents of a file from your Helia node.
@@ -439,7 +439,7 @@ export interface UnixFS {
439439
* }
440440
* ```
441441
*/
442-
cat: (cid: CID, options?: Partial<CatOptions>) => AsyncIterable<Uint8Array>
442+
cat(cid: CID, options?: Partial<CatOptions>): AsyncIterable<Uint8Array>
443443

444444
/**
445445
* Change the permissions on a file or directory in a DAG
@@ -457,7 +457,7 @@ export interface UnixFS {
457457
* console.info(afterCid, afterStats)
458458
* ```
459459
*/
460-
chmod: (cid: CID, mode: number, options?: Partial<ChmodOptions>) => Promise<CID>
460+
chmod(cid: CID, mode: number, options?: Partial<ChmodOptions>): Promise<CID>
461461

462462
/**
463463
* Add a file or directory to a target directory.
@@ -473,7 +473,7 @@ export interface UnixFS {
473473
* console.info(updatedCid)
474474
* ```
475475
*/
476-
cp: (source: CID, target: CID, name: string, options?: Partial<CpOptions>) => Promise<CID>
476+
cp(source: CID, target: CID, name: string, options?: Partial<CpOptions>): Promise<CID>
477477

478478
/**
479479
* List directory contents.
@@ -486,7 +486,7 @@ export interface UnixFS {
486486
* }
487487
* ```
488488
*/
489-
ls: (cid: CID, options?: Partial<LsOptions>) => AsyncIterable<UnixFSEntry>
489+
ls(cid: CID, options?: Partial<LsOptions>): AsyncIterable<UnixFSEntry>
490490

491491
/**
492492
* Make a new directory under an existing directory.
@@ -501,7 +501,7 @@ export interface UnixFS {
501501
* console.info(updatedCid)
502502
* ```
503503
*/
504-
mkdir: (cid: CID, dirname: string, options?: Partial<MkdirOptions>) => Promise<CID>
504+
mkdir(cid: CID, dirname: string, options?: Partial<MkdirOptions>): Promise<CID>
505505

506506
/**
507507
* Remove a file or directory from an existing directory.
@@ -517,7 +517,7 @@ export interface UnixFS {
517517
* console.info(finalCid)
518518
* ```
519519
*/
520-
rm: (cid: CID, path: string, options?: Partial<RmOptions>) => Promise<CID>
520+
rm(cid: CID, path: string, options?: Partial<RmOptions>): Promise<CID>
521521

522522
/**
523523
* Return statistics about a UnixFS DAG.
@@ -532,7 +532,7 @@ export interface UnixFS {
532532
* console.info(stats)
533533
* ```
534534
*/
535-
stat: (cid: CID, options?: Partial<StatOptions>) => Promise<UnixFSStats>
535+
stat(cid: CID, options?: Partial<StatOptions>): Promise<UnixFSStats>
536536

537537
/**
538538
* Update the mtime of a UnixFS DAG
@@ -550,7 +550,7 @@ export interface UnixFS {
550550
* console.info(afterCid, afterStats)
551551
* ```
552552
*/
553-
touch: (cid: CID, options?: Partial<TouchOptions>) => Promise<CID>
553+
touch(cid: CID, options?: Partial<TouchOptions>): Promise<CID>
554554
}
555555

556556
class DefaultUnixFS implements UnixFS {

0 commit comments

Comments
 (0)