diff --git a/package.json b/package.json index 105ff48e..e873b647 100644 --- a/package.json +++ b/package.json @@ -29,13 +29,14 @@ "generate": "aegir run generate", "build": "aegir run build", "lint": "aegir run lint", - "docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs -- --exclude packages/interop", - "docs:no-publish": "NODE_OPTIONS=--max_old_space_size=4096 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", + "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.11" + "aegir": "^41.0.0", + "npm-run-all": "^4.1.5" }, "type": "module", "workspaces": [ diff --git a/packages/dag-json/package.json b/packages/dag-json/package.json index eef0e31a..0477454d 100644 --- a/packages/dag-json/package.json +++ b/packages/dag-json/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, @@ -142,7 +143,7 @@ "progress-events": "^1.0.0" }, "devDependencies": { - "aegir": "^40.0.11", + "aegir": "^41.0.0", "blockstore-core": "^4.0.1" } } diff --git a/packages/dag-json/src/index.ts b/packages/dag-json/src/index.ts index d123449b..90be4cda 100644 --- a/packages/dag-json/src/index.ts +++ b/packages/dag-json/src/index.ts @@ -65,7 +65,7 @@ export interface DAGJSON { * // CID(baguqeerasords4njcts6vs7qvdjfcvgnume4hqohf65zsfguprqphs3icwea) * ``` */ - add: (str: unknown, options?: Partial) => Promise + add(str: unknown, options?: Partial): Promise /** * Get an object from your Helia node, either previously added to it or to @@ -85,7 +85,7 @@ export interface DAGJSON { * // { hello: 'world' } * ``` */ - get: (cid: CID, options?: Partial) => Promise + get(cid: CID, options?: Partial): Promise } class DefaultDAGJSON implements DAGJSON { diff --git a/packages/interop/package.json b/packages/interop/package.json index 695f1e96..79e5604f 100644 --- a/packages/interop/package.json +++ b/packages/interop/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, @@ -51,7 +52,7 @@ "@helia/dag-json": "^1.0.0", "@helia/interface": "^2.0.0", "@libp2p/websockets": "^7.0.5", - "aegir": "^40.0.11", + "aegir": "^41.0.0", "go-ipfs": "^0.22.0", "helia": "^2.0.1", "ipfs-core-types": "^0.14.0",