Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 8, 2021
1 parent 5073988 commit c6d9c09
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions packages/interface-blockstore-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Compliance tests for the blockstore interface",
"leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>",
"main": "src/index.js",
"type": "module",
"types": "types/src/index.d.ts",
"files": [
"src",
Expand Down
5 changes: 3 additions & 2 deletions packages/interface-blockstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"name": "interface-blockstore",
"version": "2.0.0",
"description": "An interface for storing and retrieving blocks",
"types": "types/src/index.d.ts",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "aegir build",
"lint": "aegir ts -p check && aegir lint"
"lint": "aegir ts -p check && aegir lint",
"preleaseOnly": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'"
},
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-blockstore#readme",
Expand Down
5 changes: 1 addition & 4 deletions packages/interface-blockstore/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"extends": "aegir/src/config/tsconfig.aegir.json",
"compilerOptions": {
"outDir": "types"
"outDir": "dist"
},
"include": [
"src"
],
"exclude": [
"dist"
],
"references": [
{
"path": "../interface-store"
Expand Down
2 changes: 2 additions & 0 deletions packages/interface-datastore-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "2.0.0",
"description": "Compliance tests for the datastore interface",
"leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>",
"main": "src/index.js",
"type": "module",
"types": "types/src/index.d.ts",
"files": [
"src",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.0.0",
"description": "A generic interface for storing and retrieving data",
"main": "src/index.js",
"types": "types/src/index.d.ts",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "aegir build",
"lint": "aegir ts -p check && aegir lint"
Expand Down
6 changes: 1 addition & 5 deletions packages/interface-store/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"extends": "aegir/src/config/tsconfig.aegir.json",
"compilerOptions": {
"outDir": "types"
"outDir": "dist"
},
"include": [
"src"
],
"exclude": [
"dist",
"node_modules"
]
}

0 comments on commit c6d9c09

Please sign in to comment.