-
- Downloads
[enh] #1037 Migrate new INDEX code to TypeScript
Showing
- .eslintignore 4 additions, 0 deletions.eslintignore
- .gitignore 13 additions, 0 deletions.gitignore
- app/lib/blockchain/BasicBlockchain.ts 10 additions, 12 deletionsapp/lib/blockchain/BasicBlockchain.ts
- app/lib/blockchain/DuniterBlockchain.ts 533 additions, 0 deletionsapp/lib/blockchain/DuniterBlockchain.ts
- app/lib/blockchain/IndexedBlockchain.ts 125 additions, 0 deletionsapp/lib/blockchain/IndexedBlockchain.ts
- app/lib/blockchain/MiscIndexedBlockchain.ts 4 additions, 6 deletionsapp/lib/blockchain/MiscIndexedBlockchain.ts
- app/lib/blockchain/SqlBlockchain.ts 63 additions, 0 deletionsapp/lib/blockchain/SqlBlockchain.ts
- app/lib/blockchain/SqlIndex.ts 77 additions, 0 deletionsapp/lib/blockchain/SqlIndex.ts
- app/lib/blockchain/duniterBlockchain.js 0 additions, 579 deletionsapp/lib/blockchain/duniterBlockchain.js
- app/lib/blockchain/indexedBlockchain.js 0 additions, 145 deletionsapp/lib/blockchain/indexedBlockchain.js
- app/lib/blockchain/interfaces/BlockchainOperator.ts 38 additions, 0 deletionsapp/lib/blockchain/interfaces/BlockchainOperator.ts
- app/lib/blockchain/interfaces/IndexOperator.ts 16 additions, 0 deletionsapp/lib/blockchain/interfaces/IndexOperator.ts
- app/lib/blockchain/sqlBlockchain.js 0 additions, 39 deletionsapp/lib/blockchain/sqlBlockchain.js
- app/lib/blockchain/sqlIndex.js 0 additions, 85 deletionsapp/lib/blockchain/sqlIndex.js
- app/lib/computation/blockchainContext.js 1 addition, 1 deletionapp/lib/computation/blockchainContext.js
- app/lib/computation/quickSync.js 2 additions, 2 deletionsapp/lib/computation/quickSync.js
- app/lib/dal/sqliteDAL/IndexDAL.js 10 additions, 0 deletionsapp/lib/dal/sqliteDAL/IndexDAL.js
- app/lib/dal/sqliteDAL/index/BIndexDAL.js 3 additions, 2 deletionsapp/lib/dal/sqliteDAL/index/BIndexDAL.js
- package.json 7 additions, 2 deletionspackage.json
- server.js 2 additions, 2 deletionsserver.js
.eslintignore
0 → 100644
app/lib/blockchain/DuniterBlockchain.ts
0 → 100644
This diff is collapsed.
app/lib/blockchain/IndexedBlockchain.ts
0 → 100644
app/lib/blockchain/SqlBlockchain.ts
0 → 100644
app/lib/blockchain/SqlIndex.ts
0 → 100644
This diff is collapsed.
app/lib/blockchain/sqlBlockchain.js
deleted
100644 → 0
app/lib/blockchain/sqlIndex.js
deleted
100644 → 0
app/lib/dal/sqliteDAL/IndexDAL.js
0 → 100644
... | ... | @@ -22,9 +22,10 @@ |
"test": "test" | ||
}, | ||
"scripts": { | ||
"tsc": "tsc", | ||
"test": "mocha --growl --timeout 20000 test test/fast test/integration test/", | ||
"start": "node bin/duniter start", | ||
"build": "cd \"node_modules/duniter-ui\" && npm install && npm run build", | ||
"build": "tsc && cd \"node_modules/duniter-ui\" && npm install && npm run build", | ||
"test-travis": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --timeout 20000 test test/fast test/integration test/" | ||
}, | ||
"repository": { | ||
... | ... | @@ -76,6 +77,9 @@ |
"wotb": "0.5.x" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^2.2.41", | ||
"@types/node": "^8.0.9", | ||
"@types/should": "^8.3.0", | ||
"coveralls": "2.11.4", | ||
"duniter-bma": "1.3.x", | ||
"duniter-crawler": "1.3.x", | ||
... | ... | @@ -90,7 +94,8 @@ |
"sha1": "", | ||
"should": "", | ||
"supertest": "", | ||
"tmp": "0.0.29" | ||
"tmp": "0.0.29", | ||
"typescript": "^2.4.1" | ||
}, | ||
"peerDependencies": { | ||
"duniter-bma": "1.3.x", | ||
... | ... |
Please sign in to comment