-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from dao-xyz/persistant-indexer
feat!: Persistant indexer
- Loading branch information
Showing
451 changed files
with
26,595 additions
and
80,636 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 |
---|---|---|
@@ -1,17 +1,19 @@ | ||
|
||
// get monorepo root location using esm and .git folder | ||
import path from 'path' | ||
import findUp from 'find-up' | ||
const root = path.dirname(findUp.sync('.git', { type: 'directory' })) | ||
import findUp from "find-up"; | ||
import path from "path"; | ||
|
||
const root = path.dirname(findUp.sync(".git", { type: "directory" })); | ||
|
||
export default { | ||
// global options | ||
debug: false, | ||
test: { | ||
concurrency: 2, | ||
files: [], | ||
before: () => { | ||
return { env: { TS_NODE_PROJECT: path.join(root, 'tsconfig.test.json') } } | ||
} | ||
} | ||
} | ||
// global options | ||
debug: false, | ||
test: { | ||
/* concurrency: 2, */ | ||
files: [], | ||
before: () => { | ||
return { | ||
env: { TS_NODE_PROJECT: path.join(root, "tsconfig.test.json") }, | ||
}; | ||
}, | ||
}, | ||
}; |
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,23 +1,14 @@ | ||
{ | ||
"require": [ | ||
"ts-node/register", | ||
"chai-extend/chai-global.js" | ||
], | ||
"node-option": [ | ||
"experimental-specifier-resolution=node", | ||
"loader=ts-node/esm", | ||
"no-warnings" | ||
], | ||
"extension": [ | ||
"ts" | ||
], | ||
"parallel": true, | ||
"spec": [ | ||
"**/test/**/*.spec.ts" | ||
], | ||
"ignore": [ | ||
"**/node_modules/**", | ||
"**/dist/**" | ||
], | ||
"timeout": "20000" | ||
} | ||
"require": ["ts-node/register", "chai-extend/chai-global.js"], | ||
"node-option": [ | ||
"experimental-specifier-resolution=node", | ||
"loader=ts-node/esm", | ||
"no-warnings" | ||
], | ||
"extension": ["ts"], | ||
"parallel": false, | ||
"spec": ["**/*.spec.ts"], | ||
"ignore": ["**/node_modules/**", "**/dist/**"], | ||
"timeout": "40000", | ||
"exit": true | ||
} |
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 @@ | ||
**/public/peerbit/** |
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,18 @@ | ||
{ | ||
"useTabs": true, | ||
"tabWidth": 2, | ||
"plugins": [ | ||
"@trivago/prettier-plugin-sort-imports" | ||
], | ||
"importOrder": [ | ||
"<THIRD_PARTY_MODULES>", | ||
"^[./]" | ||
], | ||
"importOrderParserPlugins": [ | ||
"typescript", | ||
"tsx", | ||
"jsx", | ||
"decorators" | ||
], | ||
"importOrderSortSpecifiers": true | ||
} |
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,29 +1,29 @@ | ||
{ | ||
"packages/transport/blocks": "2.0.32", | ||
"packages/transport/blocks-interface": "1.2.19", | ||
"packages/utils/cache": "2.0.6", | ||
"packages/programs/clock-service": "2.0.40", | ||
"packages/utils/crypto": "2.2.0", | ||
"packages/programs/data/document/document": "6.0.7", | ||
"packages/programs/acl/identity-access-controller": "3.0.40", | ||
"packages/transport/libp2p-test-utils": "2.1.3", | ||
"packages/log": "3.0.34", | ||
"packages/utils/logger": "1.0.2", | ||
"packages/programs/program": "4.0.7", | ||
"packages/clients/peerbit-proxy/proxy": "3.0.7", | ||
"packages/transport/pubsub": "3.0.5", | ||
"packages/transport/pubsub-interface": "3.0.3", | ||
"packages/programs/rpc": "4.0.7", | ||
"packages/clients/peerbit-server/node": "5.0.33", | ||
"packages/programs/data/shared-log": "8.0.7", | ||
"packages/transport/stream": "4.0.5", | ||
"packages/transport/stream-interface": "5.0.2", | ||
"packages/programs/data/string": "4.1.26", | ||
"packages/clients/test-utils": "2.0.33", | ||
"packages/utils/time": "2.0.6", | ||
"packages/programs/acl/trusted-network": "3.0.40", | ||
"packages/clients/peerbit": "4.0.7", | ||
"packages/clients/peerbit-proxy/window": "3.0.33", | ||
"packages/utils/any-store/any-store": "2.0.2", | ||
"packages/utils/keychain": "1.0.17" | ||
} | ||
"packages/transport/blocks": "2.0.32", | ||
"packages/transport/blocks-interface": "1.2.19", | ||
"packages/utils/cache": "2.0.6", | ||
"packages/programs/clock-service": "2.0.40", | ||
"packages/utils/crypto": "2.2.0", | ||
"packages/programs/data/document/document": "6.0.7", | ||
"packages/programs/acl/identity-access-controller": "3.0.40", | ||
"packages/transport/libp2p-test-utils": "2.1.3", | ||
"packages/log": "3.0.34", | ||
"packages/utils/logger": "1.0.2", | ||
"packages/programs/program": "4.0.7", | ||
"packages/clients/peerbit-proxy/proxy": "3.0.7", | ||
"packages/transport/pubsub": "3.0.5", | ||
"packages/transport/pubsub-interface": "3.0.3", | ||
"packages/programs/rpc": "4.0.7", | ||
"packages/clients/peerbit-server/node": "5.0.33", | ||
"packages/programs/data/shared-log": "8.0.7", | ||
"packages/transport/stream": "4.0.5", | ||
"packages/transport/stream-interface": "5.0.2", | ||
"packages/programs/data/string": "4.1.26", | ||
"packages/clients/test-utils": "2.0.33", | ||
"packages/utils/time": "2.0.6", | ||
"packages/programs/acl/trusted-network": "3.0.40", | ||
"packages/clients/peerbit": "4.0.7", | ||
"packages/clients/peerbit-proxy/window": "3.0.33", | ||
"packages/utils/any-store/any-store": "2.0.2", | ||
"packages/utils/keychain": "1.0.17" | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { use } from "chai"; | ||
import chaiAsPromised from 'chai-as-promised'; | ||
import chaiAsPromised from "chai-as-promised"; | ||
|
||
use(chaiAsPromised); | ||
/* | ||
process.env.TS_NODE_PROJECT = 'tsconfig.test.json'; | ||
console.log(process.env.TS_NODE_PROJECT) */ | ||
|
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,22 +1,13 @@ | ||
{ | ||
"require": [ | ||
"ts-node/register", | ||
"chai-extend/chai-global.js" | ||
], | ||
"node-option": [ | ||
"experimental-specifier-resolution=node", | ||
"loader=ts-node/esm", | ||
"no-warnings" | ||
], | ||
"extension": [ | ||
"ts" | ||
], | ||
"spec": [ | ||
"**/*.spec.ts" | ||
], | ||
"ignore": [ | ||
"**/node_modules/**", | ||
"dist/**" | ||
], | ||
"timeout": "20000" | ||
} | ||
"require": ["ts-node/register", "chai-extend/chai-global.js"], | ||
"node-option": [ | ||
"experimental-specifier-resolution=node", | ||
"loader=ts-node/esm", | ||
"no-warnings" | ||
], | ||
"extension": ["ts"], | ||
"spec": ["**/*.spec.ts"], | ||
"ignore": ["**/node_modules/**", "dist/**"], | ||
"timeout": "20000", | ||
"exit": true | ||
} |
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
Oops, something went wrong.