Skip to content

fix: remove typesVersions from package.json #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 -- --",
Expand All @@ -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",
Expand Down
14 changes: 1 addition & 13 deletions packages/ipfs-unixfs-exporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@
},
"type": "module",
"types": "types/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"types/*",
"types/src/*"
],
"types/*": [
"types/*",
"types/src/*"
]
}
},
"files": [
"*",
"!**/*.tsbuildinfo",
Expand Down Expand Up @@ -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",
"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",
Expand Down
14 changes: 1 addition & 13 deletions packages/ipfs-unixfs-importer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@
},
"type": "module",
"types": "types/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"types/*",
"types/src/*"
],
"types/*": [
"types/*",
"types/src/*"
]
}
},
"files": [
"*",
"!**/*.tsbuildinfo",
Expand Down Expand Up @@ -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",
"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",
Expand Down
14 changes: 1 addition & 13 deletions packages/ipfs-unixfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@
},
"type": "module",
"types": "types/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"types/*",
"types/src/*"
],
"types/*": [
"types/*",
"types/src/*"
]
}
},
"files": [
"*",
"!**/*.tsbuildinfo",
Expand Down Expand Up @@ -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",
"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",
Expand Down