-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updates all deps and adds types (#11)
Updates to the latest version of all deps and adds types. BREAKING CHANGE: There are now types where before there were none
- Loading branch information
1 parent
c99b684
commit 643bbbb
Showing
14 changed files
with
147 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"start": "node src/cli/bin.js", | ||
"test": "aegir test -t node", | ||
"build": "aegir build", | ||
"lint": "aegir lint", | ||
"lint": "aegir lint && aegir ts --check", | ||
"release": "aegir release -t node", | ||
"release-minor": "aegir release -t node --type minor", | ||
"release-major": "aegir release -t node --type major", | ||
|
@@ -30,15 +30,16 @@ | |
"dependencies": { | ||
"cids": "^1.0.0", | ||
"explain-error": "^1.0.4", | ||
"multibase": "^3.0.0", | ||
"multihashes": "^3.0.1", | ||
"multibase": "^4.0.2", | ||
"multihashes": "^4.0.2", | ||
"split2": "^3.1.1", | ||
"uint8arrays": "^1.1.0", | ||
"yargs": "^15.0.2" | ||
"uint8arrays": "^2.1.3", | ||
"yargs": "^16.2.0" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^25.1.0", | ||
"execa": "^4.0.0" | ||
"@types/split2": "^2.1.6", | ||
"aegir": "^33.0.0", | ||
"execa": "^5.0.0" | ||
}, | ||
"contributors": [ | ||
"Alan Shaw <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import type { CIDVersion } from 'cids' | ||
import type { BaseNameOrCode } from 'multibase' | ||
|
||
export interface FormatOptions { | ||
format?: string | ||
cidVersion?: CIDVersion | ||
base?: BaseNameOrCode | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
'use strict' | ||
|
||
/** | ||
* @typedef {import('./core/types').FormatOptions} FormatOptions | ||
*/ | ||
|
||
module.exports = require('./core') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": "aegir/src/config/tsconfig.aegir.json", | ||
"compilerOptions": { | ||
"outDir": "dist" | ||
}, | ||
"include": [ | ||
"src" | ||
] | ||
} |