Skip to content

Commit 961f23b

Browse files
committed
chore: remove pin/preload options and use correct aegir check command
1 parent 51f6c80 commit 961f23b

File tree

6 files changed

+3
-11
lines changed

6 files changed

+3
-11
lines changed

packages/ipfs-unixfs-exporter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "aegir test",
1313
"build": "aegir build",
1414
"clean": "rimraf ./dist",
15-
"lint": "aegir ts --check && aegir lint",
15+
"lint": "aegir ts -p check && aegir lint",
1616
"coverage": "nyc -s npm run test -t node && nyc report --reporter=html",
1717
"depcheck": "aegir dep-check -i @types/mocha -i @types/sinon -i nyc -i abort-controller -i rimraf -i ipfs-core-types -i copy -i util -i crypto-browserify -i events -i readable-stream -i interface-blockstore"
1818
},

packages/ipfs-unixfs-importer/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ The input's file paths and directory structure will be preserved in the [`dag-pb
140140
- `leafType` (string, defaults to `'file'`) what type of UnixFS node leaves should be - can be `'file'` or `'raw'` (ignored when `rawLeaves` is `true`)
141141
- `blockWriteConcurrency` (positive integer, defaults to 10) How many blocks to hash and write to the block store concurrently. For small numbers of large files this should be high (e.g. 50).
142142
- `fileImportConcurrency` (number, defaults to 50) How many files to import concurrently. For large numbers of small files this should be high (e.g. 50).
143-
- `pin` (boolean, defaults to `false`) Whether to pin each block as it is created
144-
- `preload` (boolean, defaults to `false`) Whether to preload each block as it is created
145143

146144
## Overriding internals
147145

packages/ipfs-unixfs-importer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "aegir test",
1313
"build": "aegir build",
1414
"clean": "rimraf ./dist",
15-
"lint": "aegir ts --check && aegir lint",
15+
"lint": "aegir ts -p check && aegir lint",
1616
"coverage": "nyc -s npm run test -t node && nyc report --reporter=html",
1717
"depcheck": "aegir dep-check -i @types/mocha -i nyc -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i assert"
1818
},

packages/ipfs-unixfs-importer/src/options.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ const defaultOptions = {
5050
maxChildrenPerNode: 174,
5151
layerRepeat: 4,
5252
wrapWithDirectory: false,
53-
pin: false,
5453
recursive: false,
5554
hidden: false,
56-
preload: false,
5755
timeout: undefined,
5856
hamtHashFn,
5957
hamtHashCode: 0x22,

packages/ipfs-unixfs-importer/src/types.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ interface UserImporterOptions {
6868
maxChildrenPerNode?: number
6969
layerRepeat?: number
7070
wrapWithDirectory?: boolean
71-
pin?: boolean
7271
recursive?: boolean
7372
hidden?: boolean
74-
preload?: boolean
7573
timeout?: number
7674
hamtHashFn?: HamtHashFn
7775
hamtBucketBits?: number
@@ -103,10 +101,8 @@ interface ImporterOptions {
103101
maxChildrenPerNode: number
104102
layerRepeat: number
105103
wrapWithDirectory: boolean
106-
pin: boolean
107104
recursive: boolean
108105
hidden: boolean
109-
preload: boolean
110106
timeout?: number
111107
hamtHashFn: HamtHashFn
112108
hamtBucketBits: number

packages/ipfs-unixfs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "aegir test",
1616
"build": "aegir build",
1717
"clean": "rimraf ./dist",
18-
"lint": "aegir ts --check && aegir lint",
18+
"lint": "aegir ts -p check && aegir lint",
1919
"coverage": "nyc -s aegir test -t node && nyc report --reporter=html",
2020
"depcheck": "aegir dep-check -i mkdirp -i @types/mocha -i nyc -i npm-run-all -i copy -i util"
2121
},

0 commit comments

Comments
 (0)