* Dependency detection * packageInfo imports * Dependency array * Bump common * Remove detectPackage comments (available in util) * Bump
12 lines
540 B
TypeScript
12 lines
540 B
TypeScript
// 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]);
|