Use tsconfig references (#4328)

* Use tsconfig references

* Move types-known (temp until lower-level split)

* Sources

* Adjust

* tesconfig.eslint.json

* Bumps

* AdjustAdjust

* Linting passing... a start...

* Adjust

* Merge derive

* Merge

* api-contract-support

* It builds?

* compare locations
This commit is contained in:
Jaco
2021-12-14 12:04:50 +02:00
committed by GitHub
parent cbb5a021a0
commit 736fd536f9
292 changed files with 1675 additions and 1273 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ import type { Registry } from '@polkadot/types/types';
import fs from 'fs';
import path from 'path';
import abis from '@polkadot/api-contract-support/contracts';
import { TypeDefInfo } from '@polkadot/types/types';
import { blake2AsHex } from '@polkadot/util-crypto';
import abis from '../../test/contracts';
import { Abi } from '.';
interface SpecDef {
@@ -80,7 +80,7 @@ describe('Abi', (): void => {
it(`initializes from a contract ABI (${abiName})`, (): void => {
const abi = new Abi(abis[abiName]);
const json = stringifyJson(abi.registry);
const cmpPath = path.join(__dirname, `../../test/compare/${abiName}.test.json`);
const cmpPath = path.join(__dirname, `../../../api-contract-support/src/compare/${abiName}.test.json`);
try {
// eslint-disable-next-line @typescript-eslint/no-var-requires
@@ -1,9 +1,9 @@
// Copyright 2017-2021 @polkadot/api-contract authors & contributors
// SPDX-License-Identifier: Apache-2.0
import abis from '@polkadot/api-contract-support/contracts';
import { TypeRegistry } from '@polkadot/types';
import abis from '../../test/contracts';
import { v0ToLatest, v1ToLatest } from './toLatest';
describe('v0ToLatest', (): void => {