tsconfig adjustments (#9467)
This commit is contained in:
parent
c24e6d4dbb
commit
829c0fc311
@ -12,7 +12,6 @@
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../apps/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -46,6 +46,6 @@
|
||||
{ "path": "../page-utilities/tsconfig.build.json" },
|
||||
{ "path": "../page-whitelist/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
{ "path": "../apps-config/tsconfig.build.json" },
|
||||
{ "path": "../apps-routing/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-signer/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
{ "path": "../page-referenda/tsconfig.build.json" },
|
||||
{ "path": "../page-settings/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
"**/test/**/*"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../page-tech-comm/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
"**/test/**/*"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
"references": [
|
||||
{ "path": "../apps-config/tsconfig.build.json" },
|
||||
{ "path": "../page-bounties/tsconfig.build.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../test-support/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../page-parachains/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -5,9 +5,12 @@
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../react-api/tsconfig.xref.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
17
packages/page-claims/tsconfig.spec.json
Normal file
17
packages/page-claims/tsconfig.spec.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
"emitDeclarationOnly": false,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": [
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.tsx"
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../page-claims/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"references": [
|
||||
{ "path": "../react-api/tsconfig.xref.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../page-democracy/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../page-ranked/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../page-tech-comm/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../apps-config/tsconfig.build.json" },
|
||||
{ "path": "../page-explorer/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,6 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../page-referenda/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"references": [
|
||||
{ "path": "../page-preimages/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../page-democracy/tsconfig.build.json" },
|
||||
{ "path": "../page-preimages/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../apps-config/tsconfig.build.json" },
|
||||
{ "path": "../react-api/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
{ "path": "../page-explorer/tsconfig.build.json" },
|
||||
{ "path": "../page-staking2/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
"references": [
|
||||
{ "path": "../page-democracy/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-params/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../page-settings/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -8,6 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../page-preimages/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.build.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
{ "path": "../apps-config/tsconfig.build.json" },
|
||||
{ "path": "../react-api/tsconfig.xref.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.build.json" },
|
||||
{ "path": "../react-hooks/tsconfig.xref.json" },
|
||||
{ "path": "../react-signer/tsconfig.xref.json" }
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
],
|
||||
"references": [
|
||||
{ "path": "../react-api/tsconfig.xref.json" },
|
||||
{ "path": "../react-hooks/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.xref.json" }
|
||||
{ "path": "../react-hooks/tsconfig.xref.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api/types';
|
||||
import type { RawParam, RawParamOnChange, RawParamOnEnter, RawParamOnEscape } from '@polkadot/react-params/types';
|
||||
import type { RawParam, RawParamOnChange, RawParamOnEnter, RawParamOnEscape } from '../types.js';
|
||||
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { SubmittableExtrinsic } from '@polkadot/api/types';
|
||||
import type { Props, RawParam } from '@polkadot/react-params/types';
|
||||
import type { Props, RawParam } from '../types.js';
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2023 @polkadot/app-extrinsics authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Props, RawParam } from '@polkadot/react-params/types';
|
||||
import type { Props, RawParam } from '../types.js';
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2023 @polkadot/app-extrinsics authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ComponentMap } from '@polkadot/react-params/types';
|
||||
import type { ComponentMap } from '../types.js';
|
||||
|
||||
import Call from './Call.js';
|
||||
import OpaqueCall from './OpaqueCall.js';
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2023 @polkadot/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ComponentMap } from '@polkadot/react-params/types';
|
||||
import type { ExtrinsicSignature } from '@polkadot/types/interfaces';
|
||||
import type { Codec, IExtrinsic, IMethod, TypeDef } from '@polkadot/types/types';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { ComponentMap } from '../types.js';
|
||||
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api/types';
|
||||
import type { ComponentMap, RawParam } from '@polkadot/react-params/types';
|
||||
import type { TypeDef } from '@polkadot/types/types';
|
||||
import type { ComponentMap, RawParam } from '../types.js';
|
||||
|
||||
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
"references": [
|
||||
{ "path": "../react-api/tsconfig.xref.json" },
|
||||
{ "path": "../react-components/tsconfig.build.json" },
|
||||
{ "path": "../react-components/tsconfig.xref.json" },
|
||||
{ "path": "../react-params/tsconfig.xref.json" }
|
||||
{ "path": "../react-components/tsconfig.xref.json" }
|
||||
]
|
||||
}
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": [
|
||||
"src/types.ts"
|
||||
],
|
||||
"references": []
|
||||
}
|
||||
@ -22,6 +22,7 @@
|
||||
{ "path": "./packages/page-bounties/tsconfig.test.json" },
|
||||
{ "path": "./packages/page-calendar/tsconfig.build.json" },
|
||||
{ "path": "./packages/page-claims/tsconfig.build.json" },
|
||||
{ "path": "./packages/page-claims/tsconfig.spec.json" },
|
||||
{ "path": "./packages/page-collator/tsconfig.build.json" },
|
||||
{ "path": "./packages/page-contracts/tsconfig.build.json" },
|
||||
{ "path": "./packages/page-council/tsconfig.build.json" },
|
||||
@ -62,7 +63,6 @@
|
||||
{ "path": "./packages/react-hooks/tsconfig.build.json" },
|
||||
{ "path": "./packages/react-hooks/tsconfig.xref.json" },
|
||||
{ "path": "./packages/react-params/tsconfig.build.json" },
|
||||
{ "path": "./packages/react-params/tsconfig.xref.json" },
|
||||
{ "path": "./packages/react-query/tsconfig.build.json" },
|
||||
{ "path": "./packages/react-signer/tsconfig.build.json" },
|
||||
{ "path": "./packages/react-signer/tsconfig.xref.json" },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user