From df1ab2f1a991892b71cea9937db560480e3bc1cb Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 27 May 2022 11:46:53 +0000 Subject: [PATCH 1/5] chore(release): 9.0.9 [skip ci] ## [ipfs-unixfs-importer-v9.0.9](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-importer-v9.0.8...ipfs-unixfs-importer-v9.0.9) (2022-05-27) ### Bug Fixes * update deps ([#220](https://github.com/ipfs/js-ipfs-unixfs/issues/220)) ([08e851e](https://github.com/ipfs/js-ipfs-unixfs/commit/08e851e9c0dedf15f3a737157978a767343334f0)) --- packages/ipfs-unixfs-importer/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/ipfs-unixfs-importer/CHANGELOG.md b/packages/ipfs-unixfs-importer/CHANGELOG.md index f872931d..dcae67b8 100644 --- a/packages/ipfs-unixfs-importer/CHANGELOG.md +++ b/packages/ipfs-unixfs-importer/CHANGELOG.md @@ -1,3 +1,10 @@ +## [ipfs-unixfs-importer-v9.0.9](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-importer-v9.0.8...ipfs-unixfs-importer-v9.0.9) (2022-05-27) + + +### Bug Fixes + +* update deps ([#220](https://github.com/ipfs/js-ipfs-unixfs/issues/220)) ([08e851e](https://github.com/ipfs/js-ipfs-unixfs/commit/08e851e9c0dedf15f3a737157978a767343334f0)) + ## [ipfs-unixfs-importer-v9.0.8](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-importer-v9.0.7...ipfs-unixfs-importer-v9.0.8) (2022-05-04) From 83e289e66356c7eb73deec18cdea168642fd1d80 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 27 May 2022 11:47:07 +0000 Subject: [PATCH 2/5] chore(release): 7.0.10 [skip ci] ## [ipfs-unixfs-exporter-v7.0.10](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-exporter-v7.0.9...ipfs-unixfs-exporter-v7.0.10) (2022-05-27) ### Bug Fixes * update deps ([#220](https://github.com/ipfs/js-ipfs-unixfs/issues/220)) ([08e851e](https://github.com/ipfs/js-ipfs-unixfs/commit/08e851e9c0dedf15f3a737157978a767343334f0)) --- packages/ipfs-unixfs-exporter/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/ipfs-unixfs-exporter/CHANGELOG.md b/packages/ipfs-unixfs-exporter/CHANGELOG.md index 7109d821..94aede46 100644 --- a/packages/ipfs-unixfs-exporter/CHANGELOG.md +++ b/packages/ipfs-unixfs-exporter/CHANGELOG.md @@ -1,3 +1,10 @@ +## [ipfs-unixfs-exporter-v7.0.10](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-exporter-v7.0.9...ipfs-unixfs-exporter-v7.0.10) (2022-05-27) + + +### Bug Fixes + +* update deps ([#220](https://github.com/ipfs/js-ipfs-unixfs/issues/220)) ([08e851e](https://github.com/ipfs/js-ipfs-unixfs/commit/08e851e9c0dedf15f3a737157978a767343334f0)) + ## [ipfs-unixfs-exporter-v7.0.9](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-exporter-v7.0.8...ipfs-unixfs-exporter-v7.0.9) (2022-05-27) From 5802bd366768e1a024fad30e4190aed866f5c9ec Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Fri, 27 May 2022 12:50:32 +0100 Subject: [PATCH 3/5] chore: update dep-check command (#221) Also removes coverage with nyc because we use `--cov` with aegir instead. --- packages/ipfs-unixfs-exporter/package.json | 4 +--- packages/ipfs-unixfs-importer/package.json | 4 +--- packages/ipfs-unixfs/package.json | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/ipfs-unixfs-exporter/package.json b/packages/ipfs-unixfs-exporter/package.json index 88e1e2a2..f9dd3fd5 100644 --- a/packages/ipfs-unixfs-exporter/package.json +++ b/packages/ipfs-unixfs-exporter/package.json @@ -146,8 +146,7 @@ "preleaseOnly": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", "clean": "rimraf ./dist", "lint": "aegir ts -p check && aegir lint", - "coverage": "nyc -s npm run test -t node && nyc report --reporter=html", - "dep-check": "aegir dep-check -i @types/mocha -i @types/sinon -i nyc -i abort-controller -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i interface-blockstore", + "dep-check": "aegir dep-check -i @types/sinon -i nyc -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i interface-blockstore", "release": "semantic-release" }, "dependencies": { @@ -176,7 +175,6 @@ "it-first": "^1.0.6", "merge-options": "^3.0.4", "native-abort-controller": "^1.0.3", - "nyc": "^15.0.0", "readable-stream": "^3.6.0", "rimraf": "^3.0.2", "sinon": "^14.0.0", diff --git a/packages/ipfs-unixfs-importer/package.json b/packages/ipfs-unixfs-importer/package.json index f4dede13..65d77b30 100644 --- a/packages/ipfs-unixfs-importer/package.json +++ b/packages/ipfs-unixfs-importer/package.json @@ -146,8 +146,7 @@ "preleaseOnly": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", "clean": "rimraf ./dist", "lint": "aegir ts -p check && aegir lint", - "coverage": "nyc -s npm run test -t node && nyc report --reporter=html", - "de-pcheck": "aegir dep-check -i @types/mocha -i nyc -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i assert -i interface-blockstore", + "dep-check": "aegir dep-check -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i assert -i interface-blockstore", "release": "semantic-release" }, "dependencies": { @@ -175,7 +174,6 @@ "crypto-browserify": "^3.12.0", "events": "^3.3.0", "it-buffer-stream": "^2.0.0", - "nyc": "^15.0.0", "readable-stream": "^3.6.0", "rimraf": "^3.0.2", "util": "^0.12.3", diff --git a/packages/ipfs-unixfs/package.json b/packages/ipfs-unixfs/package.json index 7afe45e5..ccdec89a 100644 --- a/packages/ipfs-unixfs/package.json +++ b/packages/ipfs-unixfs/package.json @@ -150,8 +150,7 @@ "build": "aegir build && cp -R types dist", "clean": "rimraf ./dist", "lint": "aegir ts -p check && aegir lint", - "coverage": "nyc -s aegir test -t node && nyc report --reporter=html", - "dep-check": "aegir dep-check -i mkdirp -i @types/mocha -i nyc -i npm-run-all -i copy -i util", + "dep-check": "aegir dep-check -i mkdirp -i npm-run-all -i copy -i util", "release": "semantic-release" }, "dependencies": { @@ -163,7 +162,6 @@ "copy": "^0.3.2", "mkdirp": "^1.0.4", "npm-run-all": "^4.1.5", - "nyc": "^15.0.0", "uint8arrays": "^3.0.0", "util": "^0.12.3" }, From 465670eab2e707b14b14047e2da4ede23590196e Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Fri, 27 May 2022 12:54:02 +0100 Subject: [PATCH 4/5] fix: remove typesVersions from package.json (#219) We have `typesVersions` to allow deep requires from these modules, but they cause incorrect paths to be detected by tsc (see #214). Since #161 we control exports using the exports map, and we only export the root from each module so deep requires are disallowed and consequently `typesVersions` isn't necessary. Since it's causing problems and we don't need it, remove it. We can revisit once we publish ESM-only but right now this fixes up the types tsc generates. Fixes #214 --- package.json | 3 ++- packages/ipfs-unixfs-exporter/package.json | 14 +------------- packages/ipfs-unixfs-importer/package.json | 14 +------------- packages/ipfs-unixfs/package.json | 14 +------------- 4 files changed, 5 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 9af4a81c..4ad13838 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "private": true, "scripts": { - "reset": "lerna run clean && rimraf ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist", + "reset": "lerna run clean && rimraf ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json", "test": "lerna run --concurrency 1 test -- --", "test:node": "lerna run --concurrency 1 test:node -- --", "test:chrome": "lerna run --concurrency 1 test:chrome -- --", @@ -26,6 +26,7 @@ "test:firefox-webworker": "lerna run --concurrency 1 test:firefox-webworker -- --", "test:electron-main": "lerna run --concurrency 1 test:electron-main -- --", "test:electron-renderer": "lerna run --concurrency 1 test:electron-renderer -- --", + "clean": "lerna run clean", "build": "lerna run build", "lint": "lerna run lint", "dep-check": "lerna run dep-check", diff --git a/packages/ipfs-unixfs-exporter/package.json b/packages/ipfs-unixfs-exporter/package.json index f9dd3fd5..a9787a0b 100644 --- a/packages/ipfs-unixfs-exporter/package.json +++ b/packages/ipfs-unixfs-exporter/package.json @@ -20,18 +20,6 @@ }, "type": "module", "types": "types/src/index.d.ts", - "typesVersions": { - "*": { - "*": [ - "types/*", - "types/src/*" - ], - "types/*": [ - "types/*", - "types/src/*" - ] - } - }, "files": [ "*", "!**/*.tsbuildinfo", @@ -144,7 +132,7 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "build": "aegir build && cp -R types dist", "preleaseOnly": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", - "clean": "rimraf ./dist", + "clean": "rimraf ./dist ./types", "lint": "aegir ts -p check && aegir lint", "dep-check": "aegir dep-check -i @types/sinon -i nyc -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i interface-blockstore", "release": "semantic-release" diff --git a/packages/ipfs-unixfs-importer/package.json b/packages/ipfs-unixfs-importer/package.json index 65d77b30..44e359c5 100644 --- a/packages/ipfs-unixfs-importer/package.json +++ b/packages/ipfs-unixfs-importer/package.json @@ -20,18 +20,6 @@ }, "type": "module", "types": "types/src/index.d.ts", - "typesVersions": { - "*": { - "*": [ - "types/*", - "types/src/*" - ], - "types/*": [ - "types/*", - "types/src/*" - ] - } - }, "files": [ "*", "!**/*.tsbuildinfo", @@ -144,7 +132,7 @@ "test:firefox": "aegir test -t browser -- --browser firefox", "build": "aegir build && cp -R types dist", "preleaseOnly": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", - "clean": "rimraf ./dist", + "clean": "rimraf ./dist ./types", "lint": "aegir ts -p check && aegir lint", "dep-check": "aegir dep-check -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i assert -i interface-blockstore", "release": "semantic-release" diff --git a/packages/ipfs-unixfs/package.json b/packages/ipfs-unixfs/package.json index ccdec89a..1fa42d8d 100644 --- a/packages/ipfs-unixfs/package.json +++ b/packages/ipfs-unixfs/package.json @@ -20,18 +20,6 @@ }, "type": "module", "types": "types/src/index.d.ts", - "typesVersions": { - "*": { - "*": [ - "types/*", - "types/src/*" - ], - "types/*": [ - "types/*", - "types/src/*" - ] - } - }, "files": [ "*", "!**/*.tsbuildinfo", @@ -148,7 +136,7 @@ "test:chrome": "aegir test -t browser --cov", "test:firefox": "aegir test -t browser -- --browser firefox", "build": "aegir build && cp -R types dist", - "clean": "rimraf ./dist", + "clean": "rimraf ./dist ./types", "lint": "aegir ts -p check && aegir lint", "dep-check": "aegir dep-check -i mkdirp -i npm-run-all -i copy -i util", "release": "semantic-release" From b280c1d47248bcf0d5fd94735550160b64a1b4bc Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 27 May 2022 12:00:23 +0000 Subject: [PATCH 5/5] chore(release): 6.0.9 [skip ci] ## [ipfs-unixfs-v6.0.9](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-v6.0.8...ipfs-unixfs-v6.0.9) (2022-05-27) ### Bug Fixes * remove typesVersions from package.json ([#219](https://github.com/ipfs/js-ipfs-unixfs/issues/219)) ([465670e](https://github.com/ipfs/js-ipfs-unixfs/commit/465670eab2e707b14b14047e2da4ede23590196e)), closes [#214](https://github.com/ipfs/js-ipfs-unixfs/issues/214) [#161](https://github.com/ipfs/js-ipfs-unixfs/issues/161) [#214](https://github.com/ipfs/js-ipfs-unixfs/issues/214) ### Trivial Changes * update dep-check command ([#221](https://github.com/ipfs/js-ipfs-unixfs/issues/221)) ([5802bd3](https://github.com/ipfs/js-ipfs-unixfs/commit/5802bd366768e1a024fad30e4190aed866f5c9ec)) --- packages/ipfs-unixfs/CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/ipfs-unixfs/CHANGELOG.md b/packages/ipfs-unixfs/CHANGELOG.md index 47099297..84497cb9 100644 --- a/packages/ipfs-unixfs/CHANGELOG.md +++ b/packages/ipfs-unixfs/CHANGELOG.md @@ -1,3 +1,15 @@ +## [ipfs-unixfs-v6.0.9](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-v6.0.8...ipfs-unixfs-v6.0.9) (2022-05-27) + + +### Bug Fixes + +* remove typesVersions from package.json ([#219](https://github.com/ipfs/js-ipfs-unixfs/issues/219)) ([465670e](https://github.com/ipfs/js-ipfs-unixfs/commit/465670eab2e707b14b14047e2da4ede23590196e)), closes [#214](https://github.com/ipfs/js-ipfs-unixfs/issues/214) [#161](https://github.com/ipfs/js-ipfs-unixfs/issues/161) [#214](https://github.com/ipfs/js-ipfs-unixfs/issues/214) + + +### Trivial Changes + +* update dep-check command ([#221](https://github.com/ipfs/js-ipfs-unixfs/issues/221)) ([5802bd3](https://github.com/ipfs/js-ipfs-unixfs/commit/5802bd366768e1a024fad30e4190aed866f5c9ec)) + ## [ipfs-unixfs-v6.0.8](https://github.com/ipfs/js-ipfs-unixfs/compare/ipfs-unixfs-v6.0.7...ipfs-unixfs-v6.0.8) (2022-05-27)