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:
@@ -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
|
||||
|
||||
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user