Skip to content

Commit 6911470

Browse files
deps(dev): bump helia from 2.0.1 to 2.0.3 (#10)
Bumps [helia](https://github.com/ipfs/helia) from 2.0.1 to 2.0.3. - [Release notes](https://github.com/ipfs/helia/releases) - [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md) - [Commits](helia-v2.0.1...helia-v2.0.3) --- updated-dependencies: - dependency-name: helia dependency-type: direct:development update-type: version-update:semver-patch ... --------- 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 077021a commit 6911470

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
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.9"
39+
"aegir": "^41.0.0",
40+
"npm-run-all": "^4.1.5"
3941
},
4042
"type": "module",
4143
"workspaces": [

packages/interop/package.json

+3-2
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
},
@@ -50,9 +51,9 @@
5051
"devDependencies": {
5152
"@helia/interface": "^2.0.0",
5253
"@helia/mfs": "^1.0.0",
53-
"aegir": "^40.0.9",
54+
"aegir": "^41.0.3",
5455
"go-ipfs": "^0.22.0",
55-
"helia": "2.0.1",
56+
"helia": "^2.0.3",
5657
"ipfsd-ctl": "^13.0.0",
5758
"kubo-rpc-client": "^3.0.0",
5859
"merge-options": "^3.0.4",

packages/mfs/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
},
@@ -148,7 +149,7 @@
148149
"multiformats": "^12.0.1"
149150
},
150151
"devDependencies": {
151-
"aegir": "^40.0.9",
152+
"aegir": "^41.0.3",
152153
"blockstore-core": "^4.0.1",
153154
"datastore-core": "^9.2.0",
154155
"delay": "^6.0.0",

packages/mfs/src/index.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export interface MFS {
9696
* await fs.writeBytes(Uint8Array.from([0, 1, 2, 3]), '/foo.txt')
9797
* ```
9898
*/
99-
writeBytes: (bytes: Uint8Array, path: string, options?: Partial<WriteOptions>) => Promise<void>
99+
writeBytes(bytes: Uint8Array, path: string, options?: Partial<WriteOptions>): Promise<void>
100100

101101
/**
102102
* Add a stream of `Uint8Array` to your MFS as a file.
@@ -110,7 +110,7 @@ export interface MFS {
110110
* await fs.writeByteStream(stream, '/foo.txt')
111111
* ```
112112
*/
113-
writeByteStream: (bytes: ByteStream, path: string, options?: Partial<WriteOptions>) => Promise<void>
113+
writeByteStream(bytes: ByteStream, path: string, options?: Partial<WriteOptions>): Promise<void>
114114

115115
/**
116116
* Retrieve the contents of a file from your MFS.
@@ -123,7 +123,7 @@ export interface MFS {
123123
* }
124124
* ```
125125
*/
126-
cat: (path: string, options?: Partial<CatOptions>) => AsyncIterable<Uint8Array>
126+
cat(path: string, options?: Partial<CatOptions>): AsyncIterable<Uint8Array>
127127

128128
/**
129129
* Change the permissions on a file or directory in your MFS
@@ -141,7 +141,7 @@ export interface MFS {
141141
* console.info(afterStats)
142142
* ```
143143
*/
144-
chmod: (path: string, mode: number, options?: Partial<ChmodOptions>) => Promise<void>
144+
chmod(path: string, mode: number, options?: Partial<ChmodOptions>): Promise<void>
145145

146146
/**
147147
* Add a file or directory to a target directory in your MFS.
@@ -165,7 +165,7 @@ export interface MFS {
165165
* await fs.cp('/foo.txt', '/bar.txt')
166166
* ```
167167
*/
168-
cp: (source: CID | string, destination: string, options?: Partial<CpOptions>) => Promise<void>
168+
cp(source: CID | string, destination: string, options?: Partial<CpOptions>): Promise<void>
169169

170170
/**
171171
* List directory contents from your MFS.
@@ -178,7 +178,7 @@ export interface MFS {
178178
* }
179179
* ```
180180
*/
181-
ls: (path?: string, options?: Partial<LsOptions>) => AsyncIterable<UnixFSEntry>
181+
ls(path?: string, options?: Partial<LsOptions>): AsyncIterable<UnixFSEntry>
182182

183183
/**
184184
* Make a new directory in your MFS.
@@ -189,7 +189,7 @@ export interface MFS {
189189
* await fs.mkdir('/new-dir')
190190
* ```
191191
*/
192-
mkdir: (path: string, options?: Partial<MkdirOptions>) => Promise<void>
192+
mkdir(path: string, options?: Partial<MkdirOptions>): Promise<void>
193193

194194
/**
195195
* Remove a file or directory from your MFS.
@@ -201,7 +201,7 @@ export interface MFS {
201201
* await fs.rm('/new-dir')
202202
* ```
203203
*/
204-
rm: (path: string, options?: Partial<RmOptions>) => Promise<void>
204+
rm(path: string, options?: Partial<RmOptions>): Promise<void>
205205

206206
/**
207207
* Return statistics about a UnixFS DAG in your MFS.
@@ -215,7 +215,7 @@ export interface MFS {
215215
* console.info(stats)
216216
* ```
217217
*/
218-
stat: (path: string, options?: Partial<StatOptions>) => Promise<UnixFSStats>
218+
stat(path: string, options?: Partial<StatOptions>): Promise<UnixFSStats>
219219

220220
/**
221221
* Update the mtime of a UnixFS DAG in your MFS.
@@ -233,7 +233,7 @@ export interface MFS {
233233
* console.info(afterStats)
234234
* ```
235235
*/
236-
touch: (path: string, options?: Partial<TouchOptions>) => Promise<void>
236+
touch(path: string, options?: Partial<TouchOptions>): Promise<void>
237237
}
238238

239239
interface PathEntry {

0 commit comments

Comments
 (0)