Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

deps(dev): bump aegir from 40.0.13 to 41.0.0 #105

Merged
merged 3 commits into from
Oct 13, 2023
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
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop",
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
"release": "run-s build docs:no-publish npm:release docs",
"npm:release": "aegir run release",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop --excludeExternals",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop"
},
"devDependencies": {
"aegir": "^40.0.13"
"aegir": "^41.0.0",
"npm-run-all": "^4.1.5"
},
"type": "module",
"workspaces": [
Expand Down
3 changes: 2 additions & 1 deletion packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand All @@ -54,7 +55,7 @@
"@helia/unixfs": "^1.0.0",
"@libp2p/tcp": "^8.0.6",
"@libp2p/websockets": "^7.0.6",
"aegir": "^40.0.13",
"aegir": "^41.0.0",
"blockstore-core": "^4.0.1",
"datastore-core": "^9.0.3",
"go-ipfs": "^0.22.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/unixfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand Down Expand Up @@ -173,7 +174,7 @@
"sparse-array": "^1.3.2"
},
"devDependencies": {
"aegir": "^40.0.13",
"aegir": "^41.0.0",
"blockstore-core": "^4.0.1",
"delay": "^6.0.0",
"iso-url": "^1.2.1",
Expand Down
26 changes: 13 additions & 13 deletions packages/unixfs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export interface UnixFS {
* }
* ```
*/
addAll: (source: ImportCandidateStream, options?: Partial<AddOptions>) => AsyncIterable<ImportResult>
addAll(source: ImportCandidateStream, options?: Partial<AddOptions>): AsyncIterable<ImportResult>

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

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

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

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

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

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

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

/**
* List directory contents.
Expand All @@ -486,7 +486,7 @@ export interface UnixFS {
* }
* ```
*/
ls: (cid: CID, options?: Partial<LsOptions>) => AsyncIterable<UnixFSEntry>
ls(cid: CID, options?: Partial<LsOptions>): AsyncIterable<UnixFSEntry>

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

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

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

/**
* Update the mtime of a UnixFS DAG
Expand All @@ -550,7 +550,7 @@ export interface UnixFS {
* console.info(afterCid, afterStats)
* ```
*/
touch: (cid: CID, options?: Partial<TouchOptions>) => Promise<CID>
touch(cid: CID, options?: Partial<TouchOptions>): Promise<CID>
}

class DefaultUnixFS implements UnixFS {
Expand Down