Skip to content

Commit

Permalink
fix build types
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcwoshizz committed Apr 22, 2023
1 parent 00d8de7 commit 463689d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"clean": "zcloak-dev-clean-build",
"clean:test": "zcloak-dev-run-test --clearCache",
"lint": "yarn lint:ts && yarn lint:dependencies",
"lint:dependencies": "zcloak-dev-lint-dependencies --fix",
"lint:dependencies": "zcloak-dev-lint-dependencies",
"lint:ts": "zcloak-dev-run-lint",
"postinstall": "zcloak-dev-yarn-only",
"test": "zcloak-dev-run-test --coverage --forceExit --runInBand --testPathIgnorePatterns e2e",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
},
"files": [],
"references": [
{ "path": "./utility/cross/tsconfig.build.json" },
{ "path": "./utility/crypto/tsconfig.build.json" },
{ "path": "./utility/keyring/tsconfig.build.json" },
{ "path": "./utility/wasm/tsconfig.build.json" },
Expand Down
3 changes: 3 additions & 0 deletions utility/cross/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"browser": "browser.js",
"main": "index.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "^11.1.3"
},
"devDependencies": {
"@types/react-native": "^0.71.6"
}
Expand Down
3 changes: 0 additions & 3 deletions utility/cross/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,5 @@
"exclude": [
"**/*.spec.ts",
"**/test/**/*"
],
"references": [
{ "path": "../wasm-bridge/tsconfig.build.json" }
]
}
1 change: 1 addition & 0 deletions utility/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@noble/secp256k1": "^1.7.1",
"@polkadot/util": "^11.1.3",
"@scure/base": "^1.1.1",
"@zcloak/cross": "workspace:^",
"@zcloak/wasm-bridge": "workspace:^",
"bip39": "^3.1.0",
"canonicalize": "^2.0.0",
Expand Down
1 change: 1 addition & 0 deletions utility/crypto/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"**/test/**/*"
],
"references": [
{ "path": "../cross/tsconfig.build.json" },
{ "path": "../wasm-bridge/tsconfig.build.json" }
]
}
6 changes: 4 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2916,7 +2916,7 @@ __metadata:
languageName: node
linkType: hard

"@polkadot/x-global@npm:11.1.3":
"@polkadot/x-global@npm:11.1.3, @polkadot/x-global@npm:^11.1.3":
version: 11.1.3
resolution: "@polkadot/x-global@npm:11.1.3"
dependencies:
Expand Down Expand Up @@ -3923,10 +3923,11 @@ __metadata:
languageName: node
linkType: hard

"@zcloak/cross@workspace:utility/cross":
"@zcloak/cross@workspace:^, @zcloak/cross@workspace:utility/cross":
version: 0.0.0-use.local
resolution: "@zcloak/cross@workspace:utility/cross"
dependencies:
"@polkadot/x-global": "npm:^11.1.3"
"@types/react-native": "npm:^0.71.6"
languageName: unknown
linkType: soft
Expand All @@ -3941,6 +3942,7 @@ __metadata:
"@scure/base": "npm:^1.1.1"
"@types/ed2curve": "npm:^0.2.2"
"@types/ethereumjs-abi": "npm:^0.6.3"
"@zcloak/cross": "workspace:^"
"@zcloak/wasm-bridge": "workspace:^"
bip39: "npm:^3.1.0"
canonicalize: "npm:^2.0.0"
Expand Down

0 comments on commit 463689d

Please sign in to comment.