mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
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:
parent
a4a41f57de
commit
d12e9902a7
3 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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/"
|
||||
},
|
||||
|
|
|
@ -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."
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue