Ui 2 move to packages/* (#6113)

* Move secureApi to shell

* Extract isTestnet test

* Use mobx + subscriptions for status

* Re-add status indicator

* Add lerna

* Move intial packages to js/packages

* Move 3rdparty/{email,sms}-verification to correct location

* Move package.json & README to library src

* Move tests for library packages

* Move views & dapps to packages

* Move i18n to root

* Move shell to actual src (main app)

* Remove ~ references

* Change ~ to root (explicit imports)

* Finalise convert of ~

* Move views into dapps as well

* Move dapps to packages/

* Fix references

* Update css

* Update test spec locations

* Update tests

* Case fix

* Skip flakey tests

* Update enzyme

* Skip previously ignored tests

* Allow empty api for hw

* Re-add theme for embed
This commit is contained in:
Jaco Greeff
2017-07-21 15:46:53 +02:00
committed by GitHub
parent 7f3bb37b96
commit 49fdd23d58
1850 changed files with 1933 additions and 729 deletions

View File

@@ -37,8 +37,8 @@ const FILE_HEADER = `// Copyright 2015-2017 Parity Technologies (UK) Ltd.
const SECTION_HEADER = 'export default ';
const SECTION_FOOTER = ';\n';
const INDENT = ' ';
const DESTPATH = path.join(__dirname, '../src/i18n/_default');
const ENPATH = path.join(__dirname, '../src/i18n/en');
const DESTPATH = path.join(__dirname, '../i18n/_default');
const ENPATH = path.join(__dirname, '../i18n/en');
const SRCPATH = path.join(__dirname, '../.build/i18n/i18n/en.json');
// main entry point

View File

@@ -16,8 +16,8 @@
import flatten from 'flat';
import * as defaults from '../src/i18n/_default';
import { LANGUAGES, MESSAGES } from '../src/i18n/store';
import * as defaults from '../i18n/_default';
import { LANGUAGES, MESSAGES } from '../i18n/store';
const SKIP_LANG = ['en'];
const defaultKeys = Object.keys(flatten(Object.assign({}, defaults, LANGUAGES)));