Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #914 from LiskHQ/912-fix_external_lib_def
Browse files Browse the repository at this point in the history
Fix not to expose custom external library definition - Closes #912
  • Loading branch information
shuse2 authored Nov 30, 2018
2 parents deafbe2 + f13fe82 commit 2714828
Show file tree
Hide file tree
Showing 16 changed files with 291 additions and 38 deletions.
4 changes: 2 additions & 2 deletions packages/lisk-api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"prepublishOnly": "npm run lint && npm test && npm run build && npm run build:check"
},
"dependencies": {
"@types/node": "10.10.1",
"@types/verror": "1.10.3",
"axios": "0.18.0",
"verror": "1.10.0"
},
Expand All @@ -66,10 +68,8 @@
"@types/expect": "1.20.3",
"@types/jquery": "3.3.9",
"@types/mocha": "5.2.5",
"@types/node": "10.10.1",
"@types/sinon": "5.0.5",
"@types/sinon-chai": "3.2.0",
"@types/verror": "1.10.3",
"browserify": "16.2.2",
"chai": "4.1.2",
"chai-as-promised": "7.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/lisk-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
"@liskhq/lisk-constants": "1.1.2",
"@liskhq/lisk-cryptography": "1.1.2",
"@liskhq/lisk-passphrase": "1.1.2",
"@liskhq/lisk-transactions": "1.1.2"
"@liskhq/lisk-transactions": "1.1.2",
"@types/node": "10.10.1"
},
"devDependencies": {
"@types/chai": "4.1.5",
"@types/expect": "1.20.3",
"@types/jquery": "3.3.22",
"@types/mocha": "5.2.5",
"@types/node": "10.10.1",
"browserify": "16.2.2",
"chai": "4.1.2",
"cypress": "3.1.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/lisk-constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,14 @@
"build:check": "node -e \"require('./dist-node')\"",
"prepublishOnly": "npm run lint && npm test && npm run build && npm run build:check"
},
"dependencies": {
"@types/node": "10.10.1"
},
"devDependencies": {
"@types/chai": "4.1.5",
"@types/expect": "1.20.3",
"@types/jquery": "3.3.9",
"@types/mocha": "5.2.5",
"@types/node": "10.10.1",
"browserify": "16.2.2",
"chai": "4.1.2",
"cypress": "3.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/lisk-cryptography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"prepublishOnly": "npm run lint && npm test && npm run build && npm run build:check"
},
"dependencies": {
"@types/ed2curve": "0.2.2",
"@types/node": "10.12.0",
"browserify-bignum": "1.3.0-2",
"buffer-reverse": "1.0.1",
"ed2curve": "0.2.1",
Expand All @@ -67,10 +69,8 @@
"sodium-native": "2.2.1"
},
"devDependencies": {
"@types/ed2curve": "0.2.2",
"@types/jquery": "3.3.22",
"@types/mocha": "5.2.5",
"@types/node": "10.12.0",
"benchmark": "2.1.4",
"browserify": "16.2.2",
"chai": "4.1.2",
Expand Down
15 changes: 0 additions & 15 deletions packages/lisk-cryptography/tsconfig.browsertest.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/lisk-cryptography/tsconfig.browsertest.json
9 changes: 0 additions & 9 deletions packages/lisk-cryptography/tsconfig.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/lisk-cryptography/tsconfig.json
4 changes: 2 additions & 2 deletions packages/lisk-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
"@liskhq/lisk-constants": "1.1.2",
"@liskhq/lisk-cryptography": "1.1.2",
"@liskhq/lisk-passphrase": "1.1.2",
"@liskhq/lisk-transactions": "1.1.2"
"@liskhq/lisk-transactions": "1.1.2",
"@types/node": "10.10.1"
},
"devDependencies": {
"@types/chai": "4.1.5",
"@types/expect": "1.20.3",
"@types/jquery": "3.3.22",
"@types/mocha": "5.2.5",
"@types/node": "10.10.1",
"browserify": "16.2.2",
"chai": "4.1.2",
"cypress": "3.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/lisk-passphrase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@
"prepublishOnly": "npm run lint && npm test && npm run build && npm run build:check"
},
"dependencies": {
"@types/bip39": "2.4.0",
"@types/node": "10.10.1",
"bip39": "2.5.0"
},
"devDependencies": {
"@types/bip39": "2.4.0",
"@types/chai": "4.1.5",
"@types/expect": "1.20.3",
"@types/jquery": "3.3.9",
"@types/mocha": "5.2.5",
"@types/node": "10.10.1",
"browserify": "16.2.2",
"chai": "4.1.2",
"cypress": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lisk-transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
"dependencies": {
"@liskhq/lisk-cryptography": "1.1.2",
"@types/node": "10.10.1",
"ajv": "6.5.3",
"ajv-merge-patch": "4.1.0",
"browserify-bignum": "1.3.0-2"
Expand All @@ -67,7 +68,6 @@
"@types/expect": "1.20.3",
"@types/jquery": "3.3.22",
"@types/mocha": "5.2.5",
"@types/node": "10.10.1",
"browserify": "16.2.2",
"chai": "4.1.2",
"cypress": "3.1.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/lisk-transactions/src/utils/validation/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* Removal or modification of this copyright notice is prohibited.
*
*/
// tslint:disable-next-line no-reference
/// <reference path="../../../types/browserify-bignum/index.d.ts" />
import * as cryptography from '@liskhq/lisk-cryptography';
import BigNum from 'browserify-bignum';
import {
Expand Down
1 change: 0 additions & 1 deletion packages/lisk-transactions/test/tsconfig.json

This file was deleted.

10 changes: 10 additions & 0 deletions packages/lisk-transactions/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../tsconfig",
"compilerOptions": {
"baseUrl": ".",
"declaration": false,
"target": "es2017",
"typeRoots": ["../types", "../../../types", "../node_modules/@types"]
},
"include": ["../../../types/**/*", "./**/*"]
}
Loading

0 comments on commit 2714828

Please sign in to comment.