* Dependency detection * packageInfo imports * Dependency array * Bump common * Remove detectPackage comments (available in util) * Bump
12 lines
523 B
TypeScript
12 lines
523 B
TypeScript
// Copyright 2017-2021 @polkadot/api-derive authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { packageInfo as apiInfo } from '@polkadot/api/packageInfo';
|
|
import { packageInfo as coreInfo } from '@polkadot/rpc-core/packageInfo';
|
|
import { packageInfo as typesInfo } from '@polkadot/types/packageInfo';
|
|
import { detectPackage } from '@polkadot/util';
|
|
|
|
import { packageInfo } from './packageInfo';
|
|
|
|
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [apiInfo, coreInfo, typesInfo]);
|