Tiago Costa
6f7814b1c3
Update README.md with changes in I18n engine APIs ( #47290 ) ( #47984 )
2019-10-11 18:12:50 +01:00
Spencer
c77704dd64
[7.x] Update jest related packages ( #46391 ) ( #46624 )
...
* Update jest related packages (#46391 )
* Update jest related packages
* use correct type
* adapt spy and describe.each types
* update yarn.lock
* update snapshot
* define types before passing to describe.each
# Conflicts:
# yarn.lock
* update yarn.lock file
2019-09-25 15:16:26 -07:00
Spencer
24208ace6c
Update dependency del to ^4.1.1 ( #44806 ) ( #44825 )
...
# Conflicts:
# packages/kbn-plugin-helpers/package.json
2019-09-05 11:14:29 -07:00
Chris Davies
e61d514a57
Modify I18nProvider so that it does not generate new React components ( #43556 ) ( #44100 )
...
This fixes some edge-cases that caused infinite loops: React thinks the tree has changed because of a new root component, effects fire off which change the state and cause a re-render, React thinks the tree has changed because of a new root component...
2019-08-28 09:51:14 -04:00
Spencer
31e7eec1ce
[7.x] Update babel related packages ( #43595 ) ( #43837 )
...
* Update babel related packages (#43595 )
* upgrade all babel related modules, and bump lodash minors
* update kbn-pm dist
* update fetch-mock, necessary to use core-js 3
* use regenerator transform in jest tests, as required by EUI
* disable useBuiltIns rather than using regenerator plugin
* remove extra regenerator-runtime import
* Update package.json
* update yarn.lock
2019-08-23 08:24:52 -07:00
Tyler Smalley
62e7f58bd1
Transpile @kbn/analytics with Babel ( #43407 ) ( #43815 )
...
Since this is being imported by the UI as a package, we need to transpile for the
browsers we need to support.
Fixes #42782
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-22 15:13:21 -07:00
Spencer
614af05967
[7.x] [autoprefixer] upgrade to 9.6.1, unify browserslist hand… ( #41145 )
...
* [autoprefixer] upgrade to 9.6.1, unify browserslist handling
* remove debug option from datemath babel config
2019-07-15 13:01:17 -07:00
Spencer
1591c25148
[7.x] [ts] upgrade to 3.5.3 ( #40228 ) ( #40795 )
...
* [ts] upgrade to 3.5.3 (#40228 )
* [ts] upgrade to 3.5.2
* [ts] run from cwd so that relative paths are correct
* move eslint-disable-line comment into jsx attribute
* autofix eslint violations
* avoid generic type, it's not necessary and problematic
* make elasticsearch.cluster optional, many instances don't have them
* remove invalid prop
* expand AllowUnknownProperties to cleanly handle arrays
* esfilter values can sometimes be an array of strings
* allow exception objects to have unknown properties
* define accumulator as a boolean
* fix return type
* return a 404 if beat isn't found after update
* use Object.values for better types
* define return type of get() call
* define value type for Set
* define return value of get()
* define State property type
* use less get(), so ts can infer types
* define Set item type
* map state type
* make default_operator optional, since it's not always defined
* remove seemingly unused prop
* define return type of get() fn
* define inner type for state
* don't define base types are objects with index signatues
* regenerate public api docs
* make indices privileges optional too
* remove unnecessary index-signature from Exception interface
* use variadic _arg instead
* [core/plugin] use Record<string, any> rather than {}
* replace a couple more instances of {}
* revert some unnecessary changes
* remove unused types
* [reporting] output, payload, and meta are required properties
* bump to latest patch version
# Conflicts:
# x-pack/legacy/plugins/canvas/server/usage/custom_element_collector.ts
# x-pack/legacy/plugins/canvas/server/usage/workpad_collector.ts
* define inner type for Set
* default `config.get()` to any instead of unknown
2019-07-10 15:22:35 -07:00
Court Ewing
a973cbc7a9
Fix path references into and out of x-pack/legacy
2019-06-20 13:35:00 -04:00
Ahmad Bamieh
3e57cf797a
[7.x] [i18n] [docs] Update docs to encourage static i18n import ( #37858 ) ( #37980 )
...
* update documentation
* Update docs/development/plugin/development-plugin-localization.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/GUIDELINE.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/GUIDELINE.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/GUIDELINE.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/GUIDELINE.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/GUIDELINE.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/GUIDELINE.md
* Update packages/kbn-i18n/GUIDELINE.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/README.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Update packages/kbn-i18n/README.md
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-04 16:50:27 +03:00
Spencer
3fe5c954bf
[7.x] dependency updated ( #37406 ) ( #37465 )
...
* Pin dependencies (#37406 )
* Pin dependencies
* include core-js in babel packages
* specify core-js version when using `useBuiltIns`
* dedupe @babel/types to avoid "range of null" problem
* chore(deps): update dependency del to v4 (#37466 )
* chore(deps): update dependency del to v4
* remove @types/del since they ship with the package now
(cherry picked from commit c60e3491a2
)
* Update gulp related packages (#37456 )
(cherry picked from commit 62893ec0bc
)
* Update babel related packages (#37464 )
(cherry picked from commit 830bd1f0ca
)
2019-05-30 14:57:56 -07:00
Spencer
0f342e3c3f
[7.x] [npm] upgrade getopts ( #34603 ) ( #35106 )
...
Backports the following commits to 7.x:
- [npm] upgrade getopts (#34603 )
2019-04-15 15:45:10 -07:00
Tiago Costa
f062c97302
chore(NA): merge and solve conflicts with 7.x ( #34645 )
2019-04-05 19:14:26 +01:00
Aleh Zasypkin
9abeb1639a
[7.x] Use credentials: same-origin
when we fetch translations JSON. ( #34123 )
2019-03-28 23:55:37 +01:00
Tiago Costa
4213441df7
[7.x] Migration to Babel7 and @babel/preset-typescript ( #33093 ) ( #33889 )
...
* chore(NA): merge and solve conflicts with 7.x branch
* docs(NA): fix docs build with page headers.
2019-03-27 00:40:12 +00:00
Mikhail Shustov
13aef8b87d
[7.x] Update Typescript to the latest version ( #32063 ) ( #32215 )
...
* Update Typescript to the latest version (#32063 )
* bump typescript version to 3.3.3333
* fix tests after updating TS version
* suppress type errors until they fixed appropriately
* address comments
* add type def for UnconnectedKibanaLink
* remove fix @ts-ignore
* fix snapshot test. provide displayName
* update lost test
2019-02-28 18:57:59 +01:00
Mikhail Shustov
c2c8f9d878
Update jest to v24 ( #31825 ) ( #32193 )
...
* udpate jest, jest-cli, @types/jest to v24
* fix type error in kibana-i18n package
* return serivce explicitly to fix typings
* add explicit never
* suppress typings errors
* update jest versions in x-pack
* make tests in x-pack more robust and fix incompatibility
* suppress CallCluster mock typings
Mock interface doesn't match CallCluster. Requires
additional work
* x-pack. resolve other typing conflicts
* remove unused types/jest
* fix snapshots
* restore mocks after jest.spyOn
* remove outdated definitions for jest
* cleanup x-pack package.json and update @types/jest
* fix tests merged from master
* updated yarn.lock and log errors for scripts/type_check
* This commit fixes error in TS, which failed on parsing the file.
* suppress type errors from master
* jest-cli is devDep
Removes sinon from saved objects unit tests. (#32045 ) (#32151 )
* Removes sinon from saved objects unit tests.
* Uses mockResolvedValue for return values as promises.
temp
2019-02-28 15:57:48 +01:00
Aleh Zasypkin
f850802c33
Upgrade @babel/* dependencies. ( #32136 )
...
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2019-02-27 23:50:28 +02:00
Matthew Kime
be69696a37
tests typescript migration ( #31234 ) ( #31803 )
...
* add typescript support for functional tests
2019-02-22 09:28:44 -06:00
Felix Stürmer
f768cc6780
[7.x] Upgrade react to 16.8.3 ( #31268 ) ( #31679 )
...
Backports the following commits to 7.x:
- Upgrade react to 16.8.3 (#31268 )
2019-02-21 15:41:53 +01:00
Tim Roes
f333e9fae9
Fix i18n documentation ( #30818 ) ( #30824 )
2019-02-12 15:46:23 +01:00
Court Ewing
146518cab7
Update paths to ui, server, deprecation, plugin_discovery in src/legacy
...
This commit accompanies the four that precede it. Rather than squash
them altogether, the four previous commits all do nothing except move
files to help avoid conflicts.
2019-02-11 11:06:26 -05:00
Aleh Zasypkin
d5fe0ae9b7
[7.x] Add zh-CN.json
translations and respective compatibility checks via i18n tools ( #30638 )
2019-02-11 16:45:58 +01:00
Aleh Zasypkin
d05437703d
Introduce I18nService
core service and I18nContext
. ( #29379 )
2019-02-04 13:38:00 +01:00
Maryia Lapata
17bb0d0483
Update kbn-i18n dependencies ( #29699 )
2019-01-31 15:54:22 +03:00
Aleh Zasypkin
b450e1bab5
Expose */translations/{locale}.json
endpoint for the translations instead of embedding them into every app HTML index template. ( #29075 )
2019-01-28 14:21:22 +01:00
pavel06081991
1d2da963e8
[i18n] Add locale for lang html attribute ( #28923 )
...
* add locale for lang html attribute
* remove unused variable
* update readme
* fix unit tests
* add links to standards
* fix unit test
* Fix typos
2019-01-21 13:51:43 +03:00
Maryia Lapata
efb876dfe2
[i18n] Extend types for values ( #28907 )
...
* [i18n] Extend types for values
* Make "defaultMessage" mandatory param
2019-01-17 23:23:46 +03:00
Maryia Lapata
76ae4e6923
Update examples ( #27657 )
2018-12-21 12:39:42 +03:00
Leanid Shutau
eefde19a7f
[I18n] Update locale data for IntlRelativeFormat and IntlMessageFormat ( #26468 )
...
* [I18n] Update locale data for IntlRelativeFormat and IntlMessageFormat
* Update locales
* Add default relative formats
* Fix en locale formats
* Update readme
* Make setFormats public
* Update snapshots
* Resolve comments
* Update locales list
* Update snapshots
* Add locale data for pseudo-locale
2018-12-18 13:25:16 +03:00
Leanid Shutau
848121fb2e
[I18n] Fix pseudo-localization of i18n directive placeholders ( #26948 )
...
* [I18n] Fix pseudo-localization of i18n directive placeholders
* Add a unit test
* Add more tests
2018-12-14 13:38:45 +03:00
Leanid Shutau
0b480f03b5
[I18n] Fix wrong FormattedMessage example in readme ( #27035 )
2018-12-13 11:19:33 +03:00
Leanid Shutau
46a8ad4a53
[I18n] Register translations before plugins init ( #26078 )
...
* Register translations before plugins init
* Fix i18n engine initialization
* Fix translationPath$ RxJS pipeline
* Move translations registration to mixin
* Fix arrays concatenation
* Use prettier
* Fix translations relative paths
* Use globby instead of glob
* Update docs
* Move globby to dependencies
* Get rid of translation directories config
* Update globby patterns
* Search only for current locale translation files
2018-12-12 15:03:58 +03:00
Tiago Costa
45a67701f2
Upgrade to NodeJS 10 ( #25157 )
...
* feat(NA): upgrade node js version on file configs.
* chore(NA): migrate configs and 3rd party dependencies to work on node js 10.x
* fix(NA): add missing async function declaration.
* chore(NA): updated elastic/good package to work with node10
* chore(NA): update lockfiles.
* fix(NA): add missing dep.
* fix(NA): types for node 10.
* test(NA): fix error return type for node10.
* fix(NA): kbn-pm webpack config to unlazy a require using lazy-cache. fix(NA): build to work with node 10.
* test(NA): jest integration test for kbn-pluin-helpers.
* test(NA): fix jest tests for kbn-es.
* fix(NA): use ostmpdir instead of a tmp folder inside the fixtures.
* fix(NA): change afterEach on kbn es decompress test.
* fix(NA): change afterEach on kbn es decompress test.
* fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10.
* fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10.
* refact(NA): rewrite tests using mock-fs and completely remove this dependency.
* fix(NA): failing test implementation using jest mock in order to replace mock-fs.
* fix(NA): update jest snapshots to match new ones generated one node 10.
* fix(NA): cli/cluster mock to spyOn off method instead off spyOn removeListener as this was changed on Node 10.
* fix(NA): tests for cluster_manager to also spyOn off and on instead of addListener and removeListener
* test(NA): fix management advance settings image field test flow.
* fix(NA): apply missing types for src/core/server/plugins/discovery/plugins_discovery.ts.
* test(NA): updated 2 missing snapshots for KuiCodeEditor on kbn-ui-framework.
* refact(NA): fix eslint errors.
* refact(NA): fix ts code with tslint fix. chore(NA): update jest snapshots.
* chore(NA): migrate kbn config schema peer dependency to last used joi version to avoid warning on bootstrap.
* fix(NA): tslint errors.
* chore(NA): upgrade types node to the last version.
* fix(NA): missing utf8 input format encoding when reading a file.
* chore(NA): upgrade to node 10.14.1
* fix(NA): Buffer api usage to avoid deprecation warnings.
2018-12-10 17:41:51 +00:00
Leanid Shutau
c50e6418f0
[I18n] Remove JSON5 dependency from kbn-i18n ( #26634 )
2018-12-05 10:48:19 +03:00
Leanid Shutau
0b6e8af1c5
[I18n] Update I18n readme ( #26631 )
2018-12-05 10:36:05 +03:00
Maryia Lapata
28345e0099
[i18n] Update guideline ( #25098 )
...
* Update guideline
* Fix code review comments
2018-12-03 16:02:47 +03:00
Aleh Zasypkin
3427a08108
[docs] fix typos in the i18n and development docs.
2018-12-03 13:03:14 +01:00
Leanid Shutau
c800f8d592
[I18n] Support interpreting individual i18n-values as html or text-only ( #26274 )
...
* [I18n] Add attribute for interpreting i18n-values as html or text-only
* Switch over to html_ prefixed values solution
* Update readme
2018-11-30 17:48:46 +03:00
Aleh Zasypkin
b3a618c585
Skip React Intl placeholder during pseudo localization. ( #26350 )
2018-11-30 13:26:58 +01:00
Spencer
b05742affa
[kbn/i18n] remove npm-run-all ( #26297 )
...
* [kbn/i18n] remove npm-run-all
* remove unnecessary package
* loop through babel sub tasks and use helper for task name padding
* add --source-maps flag
* update yarn.lock
2018-11-28 15:18:14 -08:00
Brandon Kobel
0dd87332ea
Upgrading npm-run-all to ^4.1.5 ( #26200 )
2018-11-26 14:17:42 -08:00
Leanid Shutau
56e27e6c8c
Fix quotes in kbn-i18n build scripts ( #26120 )
...
**Bug**
`packages/kbn-i18n/package.json`:
```
...
scripts: {
"kbn:bootstrap": "run-p 'build:babel:** --quiet' build:tsc",
"kbn:watch": "run-p 'build:** --watch'",
},
...
```
These commands throw errors on Windows because of wrong command line arguments parsing (`'build:babel:**`, `--quiet'` and `build:tsc`):
```
@kbn/i18n: $ run-p 'build:babel:** --quiet' build:tsc
× @kbn/i18n: ERROR: Invalid Option: --quiet'
```
So `yarn kbn bootstrap` fails on Windows
**Fix**
Use cross-platform escaped double quotes instead of single quotes:
```
...
scripts: {
"kbn:bootstrap": "run-p \"build:babel:** --quiet\" build:tsc",
"kbn:watch": "run-p \"build:** --watch\"",
},
...
```
2018-11-23 06:24:30 -08:00
Spencer
433c324016
[bootstrap] run babel-cli with --quiet ( #26097 )
...
This updated the `kbn:boostrap` scripts in the packages to use `--quiet` when bootstrapping. This prevents babel from logging every file it builds, but still logs errors if any occur. To make things a little simpler I also used the [`npm-run-all`](https://github.com/mysticatea/npm-run-all ) package in `@kbn/i18n` to execute all the builds there in parallel and pass `--quiet`/`--watch` to all builds without duplicating the tasks or making them incompatible with windows.
Before:
```
running `kbn:bootstrap` scripts
@kbn/config-schema: $ yarn build
@kbn/datemath: $ yarn build
@kbn/i18n: $ yarn build
@kbn/config-schema: $ tsc
@kbn/datemath: $ babel src --out-dir target --copy-files
@kbn/i18n: $ yarn build:web && yarn build:node && yarn build:types
@kbn/i18n: $ cross-env BABEL_ENV=web babel src --config-file ./babel.config.js --out-dir target/web --extensions ".ts,.js,.tsx"
@kbn/datemath: src/index.js -> target/index.js
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/i18n: $ cross-env BABEL_ENV=node babel src --config-file ./babel.config.js --out-dir target/node --extensions ".ts,.js,.tsx"
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/i18n: $ tsc --emitDeclarationOnly
@kbn/dev-utils: $ yarn build
@kbn/es-query: $ yarn build
@kbn/dev-utils: $ babel src --out-dir target
@kbn/es-query: $ babel src --out-dir target
@kbn/dev-utils: src/index.js -> target/index.js
@kbn/dev-utils: src/proc_runner/errors.js -> target/proc_runner/errors.js
@kbn/dev-utils: src/proc_runner/index.js -> target/proc_runner/index.js
@kbn/dev-utils: src/proc_runner/observe_lines.js -> target/proc_runner/observe_lines.js
@kbn/dev-utils: src/proc_runner/observe_readable.js -> target/proc_runner/observe_readable.js
@kbn/es-query: src/es_query/__tests__/_migrate_filter.js -> target/es_query/__tests__/_migrate_filter.js
@kbn/dev-utils: src/proc_runner/observe_signals.js -> target/proc_runner/observe_signals.js
@kbn/es-query: src/es_query/__tests__/build_es_query.js -> target/es_query/__tests__/build_es_query.js
@kbn/es-query: src/es_query/__tests__/decorate_query.js -> target/es_query/__tests__/decorate_query.js
@kbn/dev-utils: src/proc_runner/proc.js -> target/proc_runner/proc.js
@kbn/es-query: src/es_query/__tests__/from_filters.js -> target/es_query/__tests__/from_filters.js
@kbn/es-query: src/es_query/__tests__/from_kuery.js -> target/es_query/__tests__/from_kuery.js
@kbn/es-query: src/es_query/__tests__/from_lucene.js -> target/es_query/__tests__/from_lucene.js
@kbn/es-query: src/es_query/__tests__/lucene_string_to_dsl.js -> target/es_query/__tests__/lucene_string_to_dsl.js
@kbn/dev-utils: src/proc_runner/proc_runner.js -> target/proc_runner/proc_runner.js
@kbn/dev-utils: src/proc_runner/with_proc_runner.js -> target/proc_runner/with_proc_runner.js
@kbn/dev-utils: src/proc_runner/with_proc_runner.test.js -> target/proc_runner/with_proc_runner.test.js
@kbn/es-query: src/es_query/build_es_query.js -> target/es_query/build_es_query.js
@kbn/dev-utils: src/serializers/absolute_path_serializer.js -> target/serializers/absolute_path_serializer.js
@kbn/es-query: src/es_query/decorate_query.js -> target/es_query/decorate_query.js
@kbn/dev-utils: src/serializers/index.js -> target/serializers/index.js
@kbn/es-query: src/es_query/from_filters.js -> target/es_query/from_filters.js
@kbn/dev-utils: src/streams/concat_stream.js -> target/streams/concat_stream.js
@kbn/dev-utils: src/streams/index.js -> target/streams/index.js
@kbn/dev-utils: src/streams/promise_from_streams.js -> target/streams/promise_from_streams.js
@kbn/es-query: src/es_query/from_kuery.js -> target/es_query/from_kuery.js
@kbn/dev-utils: src/streams/reduce_stream.js -> target/streams/reduce_stream.js
@kbn/es-query: src/es_query/from_lucene.js -> target/es_query/from_lucene.js
@kbn/dev-utils: src/tooling_log/index.js -> target/tooling_log/index.js
@kbn/es-query: src/es_query/index.js -> target/es_query/index.js
@kbn/dev-utils: src/tooling_log/log_levels.js -> target/tooling_log/log_levels.js
@kbn/es-query: src/es_query/lucene_string_to_dsl.js -> target/es_query/lucene_string_to_dsl.js
@kbn/dev-utils: src/tooling_log/log_levels.test.js -> target/tooling_log/log_levels.test.js
@kbn/es-query: src/es_query/migrate_filter.js -> target/es_query/migrate_filter.js
@kbn/dev-utils: src/tooling_log/tooling_log.js -> target/tooling_log/tooling_log.js
@kbn/es-query: src/filters/__tests__/phrase.js -> target/filters/__tests__/phrase.js
@kbn/es-query: src/filters/__tests__/query.js -> target/filters/__tests__/query.js
@kbn/dev-utils: src/tooling_log/tooling_log.test.js -> target/tooling_log/tooling_log.test.js
@kbn/dev-utils: src/tooling_log/tooling_log_text_writer.js -> target/tooling_log/tooling_log_text_writer.js
@kbn/dev-utils: src/tooling_log/tooling_log_text_writer.test.js -> target/tooling_log/tooling_log_text_writer.test.js
@kbn/es-query: src/filters/__tests__/range.js -> target/filters/__tests__/range.js
@kbn/es-query: src/filters/exists.js -> target/filters/exists.js
@kbn/es-query: src/filters/index.js -> target/filters/index.js
@kbn/es-query: src/filters/phrase.js -> target/filters/phrase.js
@kbn/es-query: src/filters/phrases.js -> target/filters/phrases.js
@kbn/es-query: src/filters/query.js -> target/filters/query.js
@kbn/es-query: src/filters/range.js -> target/filters/range.js
@kbn/es-query: src/index.js -> target/index.js
@kbn/es-query: src/kuery/ast/__tests__/ast.js -> target/kuery/ast/__tests__/ast.js
@kbn/es-query: src/kuery/ast/ast.js -> target/kuery/ast/ast.js
@kbn/es-query: src/kuery/ast/index.js -> target/kuery/ast/index.js
@kbn/es-query: src/kuery/ast/kuery.js -> target/kuery/ast/kuery.js
@kbn/es-query: src/kuery/ast/legacy_kuery.js -> target/kuery/ast/legacy_kuery.js
@kbn/es-query: src/kuery/filter_migration/__tests__/exists.js -> target/kuery/filter_migration/__tests__/exists.js
@kbn/es-query: src/kuery/filter_migration/__tests__/filter_to_kuery.js -> target/kuery/filter_migration/__tests__/filter_to_kuery.js
@kbn/es-query: src/kuery/filter_migration/__tests__/geo_bounding_box.js -> target/kuery/filter_migration/__tests__/geo_bounding_box.js
@kbn/es-query: src/kuery/filter_migration/__tests__/geo_polygon.js -> target/kuery/filter_migration/__tests__/geo_polygon.js
@kbn/es-query: src/kuery/filter_migration/__tests__/phrase.js -> target/kuery/filter_migration/__tests__/phrase.js
@kbn/es-query: src/kuery/filter_migration/__tests__/range.js -> target/kuery/filter_migration/__tests__/range.js
@kbn/es-query: src/kuery/filter_migration/exists.js -> target/kuery/filter_migration/exists.js
@kbn/es-query: src/kuery/filter_migration/filter_to_kuery.js -> target/kuery/filter_migration/filter_to_kuery.js
@kbn/es-query: src/kuery/filter_migration/geo_bounding_box.js -> target/kuery/filter_migration/geo_bounding_box.js
@kbn/es-query: src/kuery/filter_migration/geo_polygon.js -> target/kuery/filter_migration/geo_polygon.js
@kbn/es-query: src/kuery/filter_migration/index.js -> target/kuery/filter_migration/index.js
@kbn/es-query: src/kuery/filter_migration/phrase.js -> target/kuery/filter_migration/phrase.js
@kbn/es-query: src/kuery/filter_migration/range.js -> target/kuery/filter_migration/range.js
@kbn/es-query: src/kuery/functions/__tests__/and.js -> target/kuery/functions/__tests__/and.js
@kbn/es-query: src/kuery/functions/__tests__/exists.js -> target/kuery/functions/__tests__/exists.js
@kbn/es-query: src/kuery/functions/__tests__/geo_bounding_box.js -> target/kuery/functions/__tests__/geo_bounding_box.js
@kbn/es-query: src/kuery/functions/__tests__/geo_polygon.js -> target/kuery/functions/__tests__/geo_polygon.js
@kbn/es-query: src/kuery/functions/__tests__/is.js -> target/kuery/functions/__tests__/is.js
@kbn/es-query: src/kuery/functions/__tests__/not.js -> target/kuery/functions/__tests__/not.js
@kbn/es-query: src/kuery/functions/__tests__/or.js -> target/kuery/functions/__tests__/or.js
@kbn/es-query: src/kuery/functions/__tests__/range.js -> target/kuery/functions/__tests__/range.js
@kbn/es-query: src/kuery/functions/__tests__/utils/get_fields.js -> target/kuery/functions/__tests__/utils/get_fields.js
@kbn/es-query: src/kuery/functions/and.js -> target/kuery/functions/and.js
@kbn/es-query: src/kuery/functions/exists.js -> target/kuery/functions/exists.js
@kbn/es-query: src/kuery/functions/geo_bounding_box.js -> target/kuery/functions/geo_bounding_box.js
@kbn/es-query: src/kuery/functions/geo_polygon.js -> target/kuery/functions/geo_polygon.js
@kbn/es-query: src/kuery/functions/index.js -> target/kuery/functions/index.js
@kbn/es-query: src/kuery/functions/is.js -> target/kuery/functions/is.js
@kbn/es-query: src/kuery/functions/not.js -> target/kuery/functions/not.js
@kbn/es-query: src/kuery/functions/or.js -> target/kuery/functions/or.js
@kbn/es-query: src/kuery/functions/range.js -> target/kuery/functions/range.js
@kbn/es-query: src/kuery/functions/utils/get_fields.js -> target/kuery/functions/utils/get_fields.js
@kbn/es-query: src/kuery/index.js -> target/kuery/index.js
@kbn/es-query: src/kuery/node_types/__tests__/function.js -> target/kuery/node_types/__tests__/function.js
@kbn/es-query: src/kuery/node_types/__tests__/literal.js -> target/kuery/node_types/__tests__/literal.js
@kbn/es-query: src/kuery/node_types/__tests__/named_arg.js -> target/kuery/node_types/__tests__/named_arg.js
@kbn/es-query: src/kuery/node_types/__tests__/wildcard.js -> target/kuery/node_types/__tests__/wildcard.js
@kbn/es-query: src/kuery/node_types/function.js -> target/kuery/node_types/function.js
@kbn/es-query: src/kuery/node_types/index.js -> target/kuery/node_types/index.js
@kbn/es-query: src/kuery/node_types/literal.js -> target/kuery/node_types/literal.js
@kbn/es-query: src/kuery/node_types/named_arg.js -> target/kuery/node_types/named_arg.js
@kbn/es-query: src/kuery/node_types/wildcard.js -> target/kuery/node_types/wildcard.js
@kbn/test: $ yarn build
@kbn/test: $ babel src --out-dir target
@kbn/test: src/es/es_test_cluster.js -> target/es/es_test_cluster.js
@kbn/test: src/es/es_test_config.js -> target/es/es_test_config.js
@kbn/test: src/es/index.js -> target/es/index.js
@kbn/test: src/functional_tests/cli/index.js -> target/functional_tests/cli/index.js
@kbn/test: src/functional_tests/cli/run_tests/args.js -> target/functional_tests/cli/run_tests/args.js
@kbn/test: src/functional_tests/cli/run_tests/args.test.js -> target/functional_tests/cli/run_tests/args.test.js
@kbn/test: src/functional_tests/cli/run_tests/cli.js -> target/functional_tests/cli/run_tests/cli.js
@kbn/test: src/functional_tests/cli/run_tests/cli.test.js -> target/functional_tests/cli/run_tests/cli.test.js
@kbn/test: src/functional_tests/cli/start_servers/args.js -> target/functional_tests/cli/start_servers/args.js
@kbn/test: src/functional_tests/cli/start_servers/args.test.js -> target/functional_tests/cli/start_servers/args.test.js
@kbn/test: src/functional_tests/cli/start_servers/cli.js -> target/functional_tests/cli/start_servers/cli.js
@kbn/test: src/functional_tests/cli/start_servers/cli.test.js -> target/functional_tests/cli/start_servers/cli.test.js
@kbn/test: src/functional_tests/lib/auth.js -> target/functional_tests/lib/auth.js
@kbn/test: src/functional_tests/lib/index.js -> target/functional_tests/lib/index.js
@kbn/test: src/functional_tests/lib/paths.js -> target/functional_tests/lib/paths.js
@kbn/test: src/functional_tests/lib/run_cli.js -> target/functional_tests/lib/run_cli.js
@kbn/test: src/functional_tests/lib/run_cli.test.js -> target/functional_tests/lib/run_cli.test.js
@kbn/test: src/functional_tests/lib/run_elasticsearch.js -> target/functional_tests/lib/run_elasticsearch.js
@kbn/test: src/functional_tests/lib/run_ftr.js -> target/functional_tests/lib/run_ftr.js
@kbn/test: src/functional_tests/lib/run_kibana_server.js -> target/functional_tests/lib/run_kibana_server.js
@kbn/test: src/functional_tests/tasks.js -> target/functional_tests/tasks.js
@kbn/test: src/functional_tests/test_helpers.js -> target/functional_tests/test_helpers.js
@kbn/test: src/index.js -> target/index.js
@kbn/test: src/kbn/index.js -> target/kbn/index.js
@kbn/test: src/kbn/kbn_test_config.js -> target/kbn/kbn_test_config.js
@kbn/test: src/kbn/users.js -> target/kbn/users.js
x-pack: $ gulp canvas:plugins:build
x-pack: [13:22:34] /Users/spalger/kbn-dev/master/kibana/x-pack/plugins/canvas/canvas_plugin
x-pack: [13:22:34] Using gulpfile ~/kbn-dev/master/kibana/x-pack/gulpfile.js
x-pack: [13:22:34] Starting 'canvas:plugins:build'...
x-pack: [13:22:50] canvas:plugins Plugins built in 15.75 seconds
x-pack: [13:22:50] Finished 'canvas:plugins:build' after 16 s
kibana: $ yarn build:types && node scripts/register_git_hook
kibana: $ tsc --p tsconfig.types.json
kibana: Registering Kibana pre-commit git hook...
kibana: success Kibana pre-commit git hook was installed successfully.
```
(this will be even worse when we merge #26095 )
After:
```
running `kbn:bootstrap` scripts
@kbn/config-schema: $ yarn build
@kbn/datemath: $ yarn build --quiet
@kbn/i18n: $ run-p 'build:babel:** --quiet' build:tsc
@kbn/datemath: $ babel src --out-dir target --copy-files --quiet
@kbn/config-schema: $ tsc
@kbn/i18n: $ cross-env BABEL_ENV=node babel src --config-file ./babel.config.js --out-dir target/node --extensions ".ts,.js,.tsx" --quiet
@kbn/i18n: $ cross-env BABEL_ENV=web babel src --config-file ./babel.config.js --out-dir target/web --extensions ".ts,.js,.tsx" --quiet
@kbn/i18n: $ tsc --emitDeclarationOnly
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/dev-utils: $ yarn build --quiet
@kbn/es-query: $ yarn build --quiet
@kbn/dev-utils: $ babel src --out-dir target --quiet
@kbn/es-query: $ babel src --out-dir target --quiet
@kbn/test: $ yarn build --quiet
@kbn/test: $ babel src --out-dir target --quiet
x-pack: $ gulp canvas:plugins:build
x-pack: [13:16:56] /Users/spalger/kbn-dev/master/kibana/x-pack/plugins/canvas/canvas_plugin
x-pack: [13:16:56] Using gulpfile ~/kbn-dev/master/kibana/x-pack/gulpfile.js
x-pack: [13:16:56] Starting 'canvas:plugins:build'...
x-pack: [13:17:11] canvas:plugins Plugins built in 13.98 seconds
x-pack: [13:17:11] Finished 'canvas:plugins:build' after 14 s
kibana: $ yarn build:types && node scripts/register_git_hook
kibana: $ tsc --p tsconfig.types.json
kibana: Registering Kibana pre-commit git hook...
kibana: success Kibana pre-commit git hook was installed successfully.
```
2018-11-22 21:14:09 -08:00
Josh Dover
77522a7bd2
[kbn-pm] Use yarn workspaces for dependencies ( #24095 )
2018-11-12 12:38:11 -06:00
Leanid Shutau
26b01ddbb0
[Tools] Rename i18n context field to description field ( #25105 )
...
* [Tools] Rename React i18n context field to description field
* Rename context to description in all i18n use cases
2018-11-06 15:54:05 +03:00
Aleh Zasypkin
415be6bf91
Simplify pseudo localization for React components. ( #24903 )
2018-11-02 08:57:47 +01:00
Leanid Shutau
2fb2bda157
[I18n] Sanitize angular directive message before inserting it to DOM ( #24830 )
...
* [I18n] Sanitize message before inserting it to DOM
* Add tests
2018-11-01 11:37:19 +03:00
Leanid Shutau
074556f79e
[I18n] Update locale objects format ( #23917 )
...
* Update output file format for i18n_check tool
* Update i18n engine to work with new format
* Update tests
* Fix UI bootstrap test
* Update loader tests and fix getTranslationsByLocale function
* Fix messages passing to IntlProvider
* Update messages interface
* Resolve comments
* Resolve comment
2018-10-26 13:35:48 +03:00
Leanid Shutau
2534700e54
[I18n] Add pseudo-localization to i18n engine ( #24130 )
...
* [I18n] Add pseudo-localization to i18n engine
* Add pseudo-localization to React
* Remove lookbehind from regex
* Resolve comments
* Add comment
2018-10-26 12:25:45 +03:00