Remove /index imports (swap to bare) (#92)

* Remove /index imports (swap to bare)

* Bump api & common
This commit is contained in:
Jaco Greeff
2019-03-14 09:42:53 +01:00
committed by GitHub
parent 27e1d142f1
commit 3ce8b5bd35
12 changed files with 38 additions and 34 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
"react": "*"
},
"devDependencies": {
"@polkadot/keyring": "^0.36.1",
"@polkadot/util-crypto": "^0.36.1",
"@polkadot/keyring": "^0.36.3",
"@polkadot/util-crypto": "^0.36.3",
"xmlserializer": "^0.6.1"
}
}
+1 -1
View File
@@ -7,7 +7,7 @@ import ReactDOM from 'react-dom';
import { encodeAddress } from '@polkadot/keyring';
import { randomAsU8a } from '@polkadot/util-crypto';
import IdentityIcon from './index';
import IdentityIcon from '.';
export default class Demo extends React.PureComponent {
render () {
+1 -1
View File
@@ -9,7 +9,7 @@ import React from 'react';
import CopyToClipboard from 'react-copy-to-clipboard';
import styled from 'styled-components';
import { decodeAddress, encodeAddress } from '@polkadot/keyring';
import settings from '@polkadot/ui-settings/index';
import settings from '@polkadot/ui-settings';
import { isHex, isU8a } from '@polkadot/util';
import { Beachball, Empty, Jdenticon, Polkadot } from './icons';
+1 -1
View File
@@ -7,7 +7,7 @@ import { encodeAddress } from '@polkadot/keyring';
import { isNull } from '@polkadot/util';
import { randomAsU8a } from '@polkadot/util-crypto';
import identicon from './index';
import identicon from '.';
const element = document.getElementById('demo');
@@ -4,7 +4,7 @@
import xmlserializer from 'xmlserializer';
import identicon from './index';
import identicon from '.';
describe('identicon', () => {
it('generates a basic [0,..,0] identicon', () => {
@@ -6,7 +6,7 @@ import { Props } from '../types';
import React from 'react';
import identicon from '../beachball/index';
import identicon from '../beachball';
export default class Beachball extends React.PureComponent<Props> {
render () {
+3 -3
View File
@@ -16,9 +16,9 @@
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/keyring": "^0.36.1",
"@polkadot/types": "^0.46.11",
"@polkadot/util": "^0.36.1"
"@polkadot/keyring": "^0.36.3",
"@polkadot/types": "^0.46.12",
"@polkadot/util": "^0.36.3"
},
"peerDependencies": {
"@polkadot/keyring": "*",
+1 -1
View File
@@ -4,7 +4,7 @@
import React from 'react';
import styled from 'styled-components';
import IdentityIcon from '@polkadot/ui-identicon/index';
import IdentityIcon from '@polkadot/ui-identicon';
type Props = {
address: string,
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import keyringOptionInstance from './index';
import keyringOptionInstance from '.';
describe('KeyringOption', () => {
it('should not allow initOptions to be called more than once', () => {
+1 -1
View File
@@ -12,7 +12,7 @@
"@babel/runtime": "^7.3.4"
},
"devDependencies": {
"@polkadot/types": "^0.46.11"
"@polkadot/types": "^0.46.12"
},
"peerDependencies": {
"@polkadot/types": "*"