Feat: add translations to default build source paths (elastic/kibana-plugin-helpers#48)

* feat: add translations path to build

included by default, to better match what's in the elastic products and even the plugin template

also add a translations path to the mock plugin for tests

* chore: add script to run tests with linting

Original commit: elastic/kibana-plugin-helpers@9871a4b11d
This commit is contained in:
Joe Fleming 2017-09-20 11:01:47 -07:00 committed by GitHub
parent a4a41f57de
commit d12e9902a7
3 changed files with 6 additions and 1 deletions

View file

@ -11,7 +11,7 @@ module.exports = function (root) {
const buildSourcePatterns = [
'package.json',
'index.js',
'{lib,public,server,webpackShims}/**/*',
'{lib,public,server,webpackShims,translations}/**/*',
];
// add shrinkwrap and lock files, if they exist

View file

@ -14,6 +14,7 @@
"license": "Apache-2.0",
"scripts": {
"test": "npm run lint && npm run jest",
"test:only": "npm run jest",
"jest": "jest",
"lint": "eslint bin/ help/ tasks/"
},

View file

@ -0,0 +1,4 @@
{
"UI-WELCOME_MESSAGE": "Cargando Kibana",
"UI-WELCOME_ERROR": "Kibana no se cargó correctamente. Heck la salida del servidor para obtener más información."
}