Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/dashboard/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{ "path": "../public-api" },
{ "path": "../theme/" },
{ "path": "../mask/src" },
{ "path": "../web3-shared/base/" },
{ "path": "../web3-shared/evm/" },
{ "path": "../web3-shared/flow/" },
{ "path": "../icons/" },
Expand Down
1 change: 1 addition & 0 deletions packages/mask/.webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export function createConfiguration(rawFlags: BuildFlags): Configuration {
'@masknet/icons': join(__dirname, '../../icons/index.ts'),
'@masknet/web3-kit': join(__dirname, '../../web3-kit/src/'),
'@masknet/web3-providers': join(__dirname, '../../web3-providers/src'),
'@masknet/web3-shared-base': join(__dirname, '../../web3-shared/base/src'),
'@masknet/web3-shared-evm': join(__dirname, '../../web3-shared/evm/'),
'@masknet/web3-shared-flow': join(__dirname, '../../web3-shared/flow/'),
'@masknet/web3-shared-solana': join(__dirname, '../../web3-shared/solana/'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { PluginTraderMessages } from '../../Trader/messages'
import { Trans } from 'react-i18next'
import getUnixTime from 'date-fns/getUnixTime'
import type { useAsset } from '../../EVM/hooks'
import { rightShift, ZERO } from '@masknet/web3-shared-base/utils/number'
import { rightShift, ZERO } from '@masknet/web3-shared-base'
import type { Coin } from '../../Trader/types'
import { isWyvernSchemaName } from '../utils'

Expand Down
1 change: 1 addition & 0 deletions packages/mask/src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
{ "path": "../../public-api" },
{ "path": "../../shared" },
{ "path": "../../shared-base" },
{ "path": "../../web3-shared/base" },
{ "path": "../../web3-shared/evm" },
{ "path": "../../web3-shared/flow" },
{ "path": "../../web3-providers" },
Expand Down
2 changes: 1 addition & 1 deletion packages/mask/utils-pure/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"lib": ["ES2021"]
},
"include": ["./"],
"references": []
"references": [{ "path": "../../shared-base" }]
}
7 changes: 6 additions & 1 deletion packages/plugin-infra/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
"tsBuildInfoFile": "./dist/.tsbuildinfo"
},
"include": ["./src"],
"references": [{ "path": "../shared/" }, { "path": "../shared-base" }, { "path": "../theme" }],
"references": [
{ "path": "../shared/" },
{ "path": "../shared-base" },
{ "path": "../theme" },
{ "path": "../web3-shared/base" }
],
"ts-node": {
"transpileOnly": true,
"compilerOptions": { "module": "CommonJS" }
Expand Down
1 change: 1 addition & 0 deletions packages/plugins/Flow/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
{ "path": "../../shared" },
{ "path": "../../shared-base" },
{ "path": "../../theme" },
{ "path": "../../web3-shared/base" },
{ "path": "../../web3-shared/flow" },
{ "path": "../../web3-providers" }
]
Expand Down
1 change: 1 addition & 0 deletions packages/polyfills/types/webpack.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

declare namespace __WebpackModuleApi {
type ModuleId = any
interface HotNotifierInfo {
type:
| 'self-declined'
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference types="@masknet/global-types/webpack" />
/// <reference types="@masknet/global-types/flag" />
2 changes: 1 addition & 1 deletion packages/web3-shared/base/tests/proxy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, test, expect, beforeEach, afterEach, jest, afterAll, beforeAll } from '@jest/globals'
import { SocketPoolItem, ProviderProxy } from '../proxy'
import { SocketPoolItem, ProviderProxy } from '../src/proxy'
import * as mockWS from 'jest-websocket-mock'
import addSeconds from 'date-fns/addSeconds'

Expand Down
8 changes: 4 additions & 4 deletions packages/web3-shared/base/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"rootDir": "./",
"outDir": "../dist/base",
"tsBuildInfoFile": "../dist/base.tsbuildinfo"
"rootDir": "./src",
"outDir": "./dist",
"tsBuildInfoFile": "./dist/src.tsbuildinfo"
},
"include": ["./", "./**/*.json"],
"include": ["./src", "./src/env.d.ts", "./src/**/*.json"],
"references": [{ "path": "../../injected-script/sdk" }]
}
1 change: 0 additions & 1 deletion packages/web3-shared/base/tsconfig.tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"tsBuildInfoFile": "../dist/tests.tsbuildinfo",
"types": ["node"]
},
"include": ["./tests"],
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-shared/evm/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"tsBuildInfoFile": "../dist/evm.tsbuildinfo"
},
"include": ["./", "./**/*.json"],
"references": [{ "path": "../../injected-script/sdk" }]
"references": [{ "path": "../../injected-script/sdk" }, { "path": "../base" }]
}
4 changes: 0 additions & 4 deletions packages/web3-shared/tsconfig.json

This file was deleted.