From 1481132ea7420ddbd77bb84da50a6325d49b4b7b Mon Sep 17 00:00:00 2001 From: Aliaksandr Yankouski Date: Mon, 16 Jul 2018 17:02:06 +0300 Subject: [PATCH] Split i18n engine to specific parts by tech and by env (#20513) * split to packages in accordance to specific library * split to packages depending on tech and environment * make env modules names consistent * remove intl polyfilling * move laoder to root, i18n folder to core --- packages/kbn-i18n/src/core/index.js~HEAD | 21 +++++++++++++++++++ ...specific parts by tech and by env (#20513) | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 packages/kbn-i18n/src/core/index.js~HEAD create mode 100644 packages/kbn-i18n/src/core/index.js~Split i18n engine to specific parts by tech and by env (#20513) diff --git a/packages/kbn-i18n/src/core/index.js~HEAD b/packages/kbn-i18n/src/core/index.js~HEAD new file mode 100644 index 0000000000000..af7c854ad979d --- /dev/null +++ b/packages/kbn-i18n/src/core/index.js~HEAD @@ -0,0 +1,21 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +export { formats } from './formats'; +export * from './i18n'; diff --git a/packages/kbn-i18n/src/core/index.js~Split i18n engine to specific parts by tech and by env (#20513) b/packages/kbn-i18n/src/core/index.js~Split i18n engine to specific parts by tech and by env (#20513) new file mode 100644 index 0000000000000..af7c854ad979d --- /dev/null +++ b/packages/kbn-i18n/src/core/index.js~Split i18n engine to specific parts by tech and by env (#20513) @@ -0,0 +1,21 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +export { formats } from './formats'; +export * from './i18n';