Use package-info (name/version only) for detectPackage (#2955)

* Use package-info (name/version only) for detectPackage

* Fixed @polkadot/dev?
This commit is contained in:
Jaco Greeff
2020-12-15 14:52:27 +01:00
committed by GitHub
parent a72d33ad24
commit 1d3dfc77a3
17 changed files with 74 additions and 76 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
import process from 'process';
import yargs from 'yargs';
import { ApiPromise, WsProvider } from '@polkadot/api/index';
import { ApiPromise, WsProvider } from '@polkadot/api';
/** @internal */
async function run (ws: string): Promise<void> {
+1 -1
View File
@@ -3,7 +3,7 @@
import Handlebars from 'handlebars';
import { Metadata } from '@polkadot/metadata';
import { Metadata } from '@polkadot/metadata/Metadata';
import staticData from '@polkadot/metadata/static';
import { TypeRegistry } from '@polkadot/types/create';
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
+1 -1
View File
@@ -6,7 +6,7 @@ import type { Registry } from '@polkadot/types/types';
import Handlebars from 'handlebars';
import { Metadata } from '@polkadot/metadata';
import { Metadata } from '@polkadot/metadata/Metadata';
import staticData from '@polkadot/metadata/static';
import { TypeRegistry } from '@polkadot/types/create';
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
+1 -1
View File
@@ -5,7 +5,7 @@ import type { Registry } from '@polkadot/types/types';
import Handlebars from 'handlebars';
import { Metadata } from '@polkadot/metadata';
import { Metadata } from '@polkadot/metadata/Metadata';
import staticData from '@polkadot/metadata/static';
import { TypeRegistry } from '@polkadot/types/create';
import * as defaultDefs from '@polkadot/types/interfaces/definitions';