Move metadata into types (circular deps hell) (#3743)

* Move metadata into types (circular deps hells)

* Adjust

* Additional

* Additional

* Last round?

* Adjust imports

* Adjust

* packages

* Bump common
This commit is contained in:
Jaco
2021-07-07 14:00:30 +02:00
committed by GitHub
parent 968d9078b1
commit 92a1f603d9
120 changed files with 312 additions and 627 deletions
+1 -2
View File
@@ -1,11 +1,10 @@
// Copyright 2017-2021 @polkadot/rpc-core authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { packageInfo as metaInfo } from '@polkadot/metadata/packageInfo';
import { packageInfo as providerInfo } from '@polkadot/rpc-provider/packageInfo';
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [metaInfo, providerInfo, typesInfo]);
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [providerInfo, typesInfo]);