diff --git a/.eslintignore b/.eslintignore index a495516fd869..06d53fcc5316 100644 --- a/.eslintignore +++ b/.eslintignore @@ -19,7 +19,7 @@ target /src/core/lib/osd_internal_native_observable /src/legacy/plugin_discovery/plugin_pack/__tests__/fixtures/plugins/broken /src/plugins/data/common/opensearch_query/kuery/ast/_generated_/** -/src/plugins/vis_type_timeline/public/_generated_/** +/src/plugins/vis-type-timeline/public/_generated_/** # package overrides /packages/opensearch-eslint-config-opensearch-dashboards diff --git a/.i18nrc.json b/.i18nrc.json index 71c7970affa4..6173bca1599e 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -47,13 +47,13 @@ "src/plugins/telemetry_management_section" ], "tileMap": "src/plugins/tile_map", - "timeline": ["src/plugins/timeline", "src/plugins/vis_type_timeline"], + "timeline": ["src/plugins/timeline", "src/plugins/vis-type-timeline"], "uiActions": "src/plugins/ui_actions", "visDefaultEditor": "src/plugins/vis_default_editor", "visTypeMarkdown": "src/plugins/vis_type_markdown", "visTypeMetric": "src/plugins/vis_type_metric", "visTypeTable": "src/plugins/vis_type_table", - "visTypeTagCloud": "src/plugins/vis_type_tagcloud", + "visTypeTagCloud": "src/plugins/vis-type-tagcloud", "visTypeTimeseries": "src/plugins/vis_type_timeseries", "visTypeVega": "src/plugins/vis_type_vega", "visTypeVislib": "src/plugins/vis_type_vislib", diff --git a/src/plugins/timeline/README.md b/src/plugins/timeline/README.md index 22ed15ebf5c6..01dcd7f96f42 100644 --- a/src/plugins/timeline/README.md +++ b/src/plugins/timeline/README.md @@ -1,2 +1,2 @@ Contains the deprecated timeline application. For the timeline visualization, -which also contains the timeline APIs and backend, look at the vis_type_timeline plugin. +which also contains the timeline APIs and backend, look at the vis-type-timeline plugin. diff --git a/src/plugins/timeline/public/app.js b/src/plugins/timeline/public/app.js index 9ada2ae72289..baa8fe7f34de 100644 --- a/src/plugins/timeline/public/app.js +++ b/src/plugins/timeline/public/app.js @@ -48,7 +48,7 @@ import { registerListenEventListener, watchMultiDecorator, } from '../../opensearch_dashboards_legacy/public'; -import { getTimezone } from '../../vis_type_timeline/public'; +import { getTimezone } from '../../vis-type-timeline/public'; import { initCellsDirective } from './directives/cells/cells'; import { initFullscreenDirective } from './directives/fullscreen/fullscreen'; import { initFixedElementDirective } from './directives/fixed_element'; diff --git a/src/plugins/timeline/public/directives/timeline_expression_input.js b/src/plugins/timeline/public/directives/timeline_expression_input.js index d0a52a05ae38..b2ec474f8772 100644 --- a/src/plugins/timeline/public/directives/timeline_expression_input.js +++ b/src/plugins/timeline/public/directives/timeline_expression_input.js @@ -56,7 +56,7 @@ import _ from 'lodash'; import $ from 'jquery'; import PEG from 'pegjs'; -import grammar from 'raw-loader!../../../vis_type_timeline/common/chain.peg'; +import grammar from 'raw-loader!../../../vis-type-timeline/common/chain.peg'; import timelineExpressionInputTemplate from './timeline_expression_input.html'; import { SUGGESTION_TYPE, diff --git a/src/plugins/timeline/public/index.scss b/src/plugins/timeline/public/index.scss index 060c5e8044a0..599de616b1f3 100644 --- a/src/plugins/timeline/public/index.scss +++ b/src/plugins/timeline/public/index.scss @@ -15,4 +15,4 @@ // styles for timeline visualization are lazy loaded only while a vis is opened // this will duplicate styles only if both Timeline app and timeline visualization are loaded // could be left here as it is since the Timeline app is deprecated -@import '../../vis_type_timeline/public/components/timeline_vis.scss'; +@import '../../vis-type-timeline/public/components/timeline_vis.scss'; diff --git a/src/plugins/timeline/public/panels/timechart/schema.ts b/src/plugins/timeline/public/panels/timechart/schema.ts index 488c4ff07c93..15eddd664d00 100644 --- a/src/plugins/timeline/public/panels/timechart/schema.ts +++ b/src/plugins/timeline/public/panels/timechart/schema.ts @@ -41,7 +41,7 @@ import { tickFormatters, xaxisFormatterProvider, generateTicksProvider, -} from '../../../../vis_type_timeline/public'; +} from '../../../../vis-type-timeline/public'; import { TimelineVisualizationDependencies } from '../../application'; const DEBOUNCE_DELAY = 50; diff --git a/src/plugins/timeline/public/plugin.ts b/src/plugins/timeline/public/plugin.ts index b39638fbcce7..c2a68ee575d9 100644 --- a/src/plugins/timeline/public/plugin.ts +++ b/src/plugins/timeline/public/plugin.ts @@ -55,7 +55,7 @@ import { VisualizationsStart } from '../../visualizations/public'; import { VisTypeTimelinePluginStart, VisTypeTimelinePluginSetup, -} from '../../vis_type_timeline/public'; +} from '../../vis-type-timeline/public'; export interface TimelinePluginDependencies { data: DataPublicPluginStart; diff --git a/src/plugins/vis_type_tagcloud/README.md b/src/plugins/vis-type-tagcloud/README.md similarity index 100% rename from src/plugins/vis_type_tagcloud/README.md rename to src/plugins/vis-type-tagcloud/README.md diff --git a/src/plugins/vis_type_tagcloud/config.ts b/src/plugins/vis-type-tagcloud/config.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/config.ts rename to src/plugins/vis-type-tagcloud/config.ts diff --git a/src/plugins/vis_type_tagcloud/opensearch_dashboards.json b/src/plugins/vis-type-tagcloud/opensearch_dashboards.json similarity index 100% rename from src/plugins/vis_type_tagcloud/opensearch_dashboards.json rename to src/plugins/vis-type-tagcloud/opensearch_dashboards.json diff --git a/src/plugins/vis_type_tagcloud/public/__snapshots__/tag_cloud_fn.test.ts.snap b/src/plugins/vis-type-tagcloud/public/__snapshots__/tag_cloud_fn.test.ts.snap similarity index 100% rename from src/plugins/vis_type_tagcloud/public/__snapshots__/tag_cloud_fn.test.ts.snap rename to src/plugins/vis-type-tagcloud/public/__snapshots__/tag_cloud_fn.test.ts.snap diff --git a/src/plugins/vis_type_tagcloud/public/__snapshots__/to_ast.test.ts.snap b/src/plugins/vis-type-tagcloud/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_type_tagcloud/public/__snapshots__/to_ast.test.ts.snap rename to src/plugins/vis-type-tagcloud/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_type_tagcloud/public/components/__snapshots__/tag_cloud.test.js.snap b/src/plugins/vis-type-tagcloud/public/components/__snapshots__/tag_cloud.test.js.snap similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/__snapshots__/tag_cloud.test.js.snap rename to src/plugins/vis-type-tagcloud/public/components/__snapshots__/tag_cloud.test.js.snap diff --git a/src/plugins/vis_type_tagcloud/public/components/__snapshots__/tag_cloud_visualization.test.js.snap b/src/plugins/vis-type-tagcloud/public/components/__snapshots__/tag_cloud_visualization.test.js.snap similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/__snapshots__/tag_cloud_visualization.test.js.snap rename to src/plugins/vis-type-tagcloud/public/components/__snapshots__/tag_cloud_visualization.test.js.snap diff --git a/src/plugins/vis_type_tagcloud/public/components/feedback_message.js b/src/plugins/vis-type-tagcloud/public/components/feedback_message.js similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/feedback_message.js rename to src/plugins/vis-type-tagcloud/public/components/feedback_message.js diff --git a/src/plugins/vis_type_tagcloud/public/components/label.js b/src/plugins/vis-type-tagcloud/public/components/label.js similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/label.js rename to src/plugins/vis-type-tagcloud/public/components/label.js diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.js b/src/plugins/vis-type-tagcloud/public/components/tag_cloud.js similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud.js rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud.js diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.scss b/src/plugins/vis-type-tagcloud/public/components/tag_cloud.scss similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud.scss rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud.scss diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud.test.js b/src/plugins/vis-type-tagcloud/public/components/tag_cloud.test.js similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud.test.js rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud.test.js diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_chart.tsx b/src/plugins/vis-type-tagcloud/public/components/tag_cloud_chart.tsx similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud_chart.tsx rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud_chart.tsx diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_options.tsx b/src/plugins/vis-type-tagcloud/public/components/tag_cloud_options.tsx similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud_options.tsx rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud_options.tsx diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js b/src/plugins/vis-type-tagcloud/public/components/tag_cloud_visualization.js similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud_visualization.js diff --git a/src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.test.js b/src/plugins/vis-type-tagcloud/public/components/tag_cloud_visualization.test.js similarity index 100% rename from src/plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.test.js rename to src/plugins/vis-type-tagcloud/public/components/tag_cloud_visualization.test.js diff --git a/src/plugins/vis_type_tagcloud/public/index.ts b/src/plugins/vis-type-tagcloud/public/index.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/index.ts rename to src/plugins/vis-type-tagcloud/public/index.ts diff --git a/src/plugins/vis_type_tagcloud/public/plugin.ts b/src/plugins/vis-type-tagcloud/public/plugin.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/plugin.ts rename to src/plugins/vis-type-tagcloud/public/plugin.ts diff --git a/src/plugins/vis_type_tagcloud/public/services.ts b/src/plugins/vis-type-tagcloud/public/services.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/services.ts rename to src/plugins/vis-type-tagcloud/public/services.ts diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.test.ts b/src/plugins/vis-type-tagcloud/public/tag_cloud_fn.test.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/tag_cloud_fn.test.ts rename to src/plugins/vis-type-tagcloud/public/tag_cloud_fn.test.ts diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_fn.ts b/src/plugins/vis-type-tagcloud/public/tag_cloud_fn.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/tag_cloud_fn.ts rename to src/plugins/vis-type-tagcloud/public/tag_cloud_fn.ts diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts b/src/plugins/vis-type-tagcloud/public/tag_cloud_type.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts rename to src/plugins/vis-type-tagcloud/public/tag_cloud_type.ts diff --git a/src/plugins/vis_type_tagcloud/public/tag_cloud_vis_renderer.tsx b/src/plugins/vis-type-tagcloud/public/tag_cloud_vis_renderer.tsx similarity index 100% rename from src/plugins/vis_type_tagcloud/public/tag_cloud_vis_renderer.tsx rename to src/plugins/vis-type-tagcloud/public/tag_cloud_vis_renderer.tsx diff --git a/src/plugins/vis_type_tagcloud/public/to_ast.test.ts b/src/plugins/vis-type-tagcloud/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/to_ast.test.ts rename to src/plugins/vis-type-tagcloud/public/to_ast.test.ts diff --git a/src/plugins/vis_type_tagcloud/public/to_ast.ts b/src/plugins/vis-type-tagcloud/public/to_ast.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/to_ast.ts rename to src/plugins/vis-type-tagcloud/public/to_ast.ts diff --git a/src/plugins/vis_type_tagcloud/public/types.ts b/src/plugins/vis-type-tagcloud/public/types.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/public/types.ts rename to src/plugins/vis-type-tagcloud/public/types.ts diff --git a/src/plugins/vis_type_tagcloud/server/index.ts b/src/plugins/vis-type-tagcloud/server/index.ts similarity index 100% rename from src/plugins/vis_type_tagcloud/server/index.ts rename to src/plugins/vis-type-tagcloud/server/index.ts diff --git a/src/plugins/vis_type_timeline/README.md b/src/plugins/vis-type-timeline/README.md similarity index 100% rename from src/plugins/vis_type_timeline/README.md rename to src/plugins/vis-type-timeline/README.md diff --git a/src/plugins/vis_type_timeline/common/chain.peg b/src/plugins/vis-type-timeline/common/chain.peg similarity index 100% rename from src/plugins/vis_type_timeline/common/chain.peg rename to src/plugins/vis-type-timeline/common/chain.peg diff --git a/src/plugins/vis_type_timeline/common/lib/calculate_interval.test.ts b/src/plugins/vis-type-timeline/common/lib/calculate_interval.test.ts similarity index 100% rename from src/plugins/vis_type_timeline/common/lib/calculate_interval.test.ts rename to src/plugins/vis-type-timeline/common/lib/calculate_interval.test.ts diff --git a/src/plugins/vis_type_timeline/common/lib/calculate_interval.ts b/src/plugins/vis-type-timeline/common/lib/calculate_interval.ts similarity index 100% rename from src/plugins/vis_type_timeline/common/lib/calculate_interval.ts rename to src/plugins/vis-type-timeline/common/lib/calculate_interval.ts diff --git a/src/plugins/vis_type_timeline/common/lib/index.ts b/src/plugins/vis-type-timeline/common/lib/index.ts similarity index 100% rename from src/plugins/vis_type_timeline/common/lib/index.ts rename to src/plugins/vis-type-timeline/common/lib/index.ts diff --git a/src/plugins/vis_type_timeline/common/lib/to_milliseconds.ts b/src/plugins/vis-type-timeline/common/lib/to_milliseconds.ts similarity index 100% rename from src/plugins/vis_type_timeline/common/lib/to_milliseconds.ts rename to src/plugins/vis-type-timeline/common/lib/to_milliseconds.ts diff --git a/src/plugins/vis_type_timeline/common/types.ts b/src/plugins/vis-type-timeline/common/types.ts similarity index 100% rename from src/plugins/vis_type_timeline/common/types.ts rename to src/plugins/vis-type-timeline/common/types.ts diff --git a/src/plugins/vis_type_timeline/config.ts b/src/plugins/vis-type-timeline/config.ts similarity index 100% rename from src/plugins/vis_type_timeline/config.ts rename to src/plugins/vis-type-timeline/config.ts diff --git a/src/plugins/vis_type_timeline/opensearch_dashboards.json b/src/plugins/vis-type-timeline/opensearch_dashboards.json similarity index 100% rename from src/plugins/vis_type_timeline/opensearch_dashboards.json rename to src/plugins/vis-type-timeline/opensearch_dashboards.json diff --git a/src/plugins/vis_type_timeline/public/__snapshots__/to_ast.test.ts.snap b/src/plugins/vis-type-timeline/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_type_timeline/public/__snapshots__/to_ast.test.ts.snap rename to src/plugins/vis-type-timeline/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_type_timeline/public/_generated_/chain.js b/src/plugins/vis-type-timeline/public/_generated_/chain.js similarity index 100% rename from src/plugins/vis_type_timeline/public/_generated_/chain.js rename to src/plugins/vis-type-timeline/public/_generated_/chain.js diff --git a/src/plugins/vis_type_timeline/public/components/index.ts b/src/plugins/vis-type-timeline/public/components/index.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/components/index.ts rename to src/plugins/vis-type-timeline/public/components/index.ts diff --git a/src/plugins/vis_type_timeline/public/components/timeline_expression_input.tsx b/src/plugins/vis-type-timeline/public/components/timeline_expression_input.tsx similarity index 100% rename from src/plugins/vis_type_timeline/public/components/timeline_expression_input.tsx rename to src/plugins/vis-type-timeline/public/components/timeline_expression_input.tsx diff --git a/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.test.ts b/src/plugins/vis-type-timeline/public/components/timeline_expression_input_helpers.test.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.test.ts rename to src/plugins/vis-type-timeline/public/components/timeline_expression_input_helpers.test.ts diff --git a/src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.ts b/src/plugins/vis-type-timeline/public/components/timeline_expression_input_helpers.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/components/timeline_expression_input_helpers.ts rename to src/plugins/vis-type-timeline/public/components/timeline_expression_input_helpers.ts diff --git a/src/plugins/vis_type_timeline/public/components/timeline_interval.tsx b/src/plugins/vis-type-timeline/public/components/timeline_interval.tsx similarity index 100% rename from src/plugins/vis_type_timeline/public/components/timeline_interval.tsx rename to src/plugins/vis-type-timeline/public/components/timeline_interval.tsx diff --git a/src/plugins/vis_type_timeline/public/components/timeline_vis.scss b/src/plugins/vis-type-timeline/public/components/timeline_vis.scss similarity index 100% rename from src/plugins/vis_type_timeline/public/components/timeline_vis.scss rename to src/plugins/vis-type-timeline/public/components/timeline_vis.scss diff --git a/src/plugins/vis_type_timeline/public/components/timeline_vis_component.tsx b/src/plugins/vis-type-timeline/public/components/timeline_vis_component.tsx similarity index 100% rename from src/plugins/vis_type_timeline/public/components/timeline_vis_component.tsx rename to src/plugins/vis-type-timeline/public/components/timeline_vis_component.tsx diff --git a/src/plugins/vis_type_timeline/public/helpers/arg_value_suggestions.ts b/src/plugins/vis-type-timeline/public/helpers/arg_value_suggestions.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/arg_value_suggestions.ts rename to src/plugins/vis-type-timeline/public/helpers/arg_value_suggestions.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/get_timezone.ts b/src/plugins/vis-type-timeline/public/helpers/get_timezone.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/get_timezone.ts rename to src/plugins/vis-type-timeline/public/helpers/get_timezone.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/panel_utils.ts b/src/plugins/vis-type-timeline/public/helpers/panel_utils.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/panel_utils.ts rename to src/plugins/vis-type-timeline/public/helpers/panel_utils.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/plugin_services.ts b/src/plugins/vis-type-timeline/public/helpers/plugin_services.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/plugin_services.ts rename to src/plugins/vis-type-timeline/public/helpers/plugin_services.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_formatters.test.ts b/src/plugins/vis-type-timeline/public/helpers/tick_formatters.test.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/tick_formatters.test.ts rename to src/plugins/vis-type-timeline/public/helpers/tick_formatters.test.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_formatters.ts b/src/plugins/vis-type-timeline/public/helpers/tick_formatters.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/tick_formatters.ts rename to src/plugins/vis-type-timeline/public/helpers/tick_formatters.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_generator.test.ts b/src/plugins/vis-type-timeline/public/helpers/tick_generator.test.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/tick_generator.test.ts rename to src/plugins/vis-type-timeline/public/helpers/tick_generator.test.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/tick_generator.ts b/src/plugins/vis-type-timeline/public/helpers/tick_generator.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/tick_generator.ts rename to src/plugins/vis-type-timeline/public/helpers/tick_generator.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/timeline_request_handler.ts b/src/plugins/vis-type-timeline/public/helpers/timeline_request_handler.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/timeline_request_handler.ts rename to src/plugins/vis-type-timeline/public/helpers/timeline_request_handler.ts diff --git a/src/plugins/vis_type_timeline/public/helpers/xaxis_formatter.ts b/src/plugins/vis-type-timeline/public/helpers/xaxis_formatter.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/helpers/xaxis_formatter.ts rename to src/plugins/vis-type-timeline/public/helpers/xaxis_formatter.ts diff --git a/src/plugins/vis_type_timeline/public/index.ts b/src/plugins/vis-type-timeline/public/index.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/index.ts rename to src/plugins/vis-type-timeline/public/index.ts diff --git a/src/plugins/vis_type_timeline/public/plugin.ts b/src/plugins/vis-type-timeline/public/plugin.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/plugin.ts rename to src/plugins/vis-type-timeline/public/plugin.ts diff --git a/src/plugins/vis_type_timeline/public/timeline_options.scss b/src/plugins/vis-type-timeline/public/timeline_options.scss similarity index 100% rename from src/plugins/vis_type_timeline/public/timeline_options.scss rename to src/plugins/vis-type-timeline/public/timeline_options.scss diff --git a/src/plugins/vis_type_timeline/public/timeline_options.tsx b/src/plugins/vis-type-timeline/public/timeline_options.tsx similarity index 100% rename from src/plugins/vis_type_timeline/public/timeline_options.tsx rename to src/plugins/vis-type-timeline/public/timeline_options.tsx diff --git a/src/plugins/vis_type_timeline/public/timeline_vis_fn.ts b/src/plugins/vis-type-timeline/public/timeline_vis_fn.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/timeline_vis_fn.ts rename to src/plugins/vis-type-timeline/public/timeline_vis_fn.ts diff --git a/src/plugins/vis_type_timeline/public/timeline_vis_renderer.tsx b/src/plugins/vis-type-timeline/public/timeline_vis_renderer.tsx similarity index 100% rename from src/plugins/vis_type_timeline/public/timeline_vis_renderer.tsx rename to src/plugins/vis-type-timeline/public/timeline_vis_renderer.tsx diff --git a/src/plugins/vis_type_timeline/public/timeline_vis_type.tsx b/src/plugins/vis-type-timeline/public/timeline_vis_type.tsx similarity index 100% rename from src/plugins/vis_type_timeline/public/timeline_vis_type.tsx rename to src/plugins/vis-type-timeline/public/timeline_vis_type.tsx diff --git a/src/plugins/vis_type_timeline/public/to_ast.test.ts b/src/plugins/vis-type-timeline/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/to_ast.test.ts rename to src/plugins/vis-type-timeline/public/to_ast.test.ts diff --git a/src/plugins/vis_type_timeline/public/to_ast.ts b/src/plugins/vis-type-timeline/public/to_ast.ts similarity index 100% rename from src/plugins/vis_type_timeline/public/to_ast.ts rename to src/plugins/vis-type-timeline/public/to_ast.ts diff --git a/src/plugins/vis_type_timeline/server/fit_functions/average.js b/src/plugins/vis-type-timeline/server/fit-functions/average.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/average.js rename to src/plugins/vis-type-timeline/server/fit-functions/average.js diff --git a/src/plugins/vis_type_timeline/server/fit_functions/average.test.js b/src/plugins/vis-type-timeline/server/fit-functions/average.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/average.test.js rename to src/plugins/vis-type-timeline/server/fit-functions/average.test.js diff --git a/src/plugins/vis_type_timeline/server/fit_functions/carry.js b/src/plugins/vis-type-timeline/server/fit-functions/carry.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/carry.js rename to src/plugins/vis-type-timeline/server/fit-functions/carry.js diff --git a/src/plugins/vis_type_timeline/server/fit_functions/carry.test.js b/src/plugins/vis-type-timeline/server/fit-functions/carry.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/carry.test.js rename to src/plugins/vis-type-timeline/server/fit-functions/carry.test.js diff --git a/src/plugins/vis_type_timeline/server/fit_functions/nearest.js b/src/plugins/vis-type-timeline/server/fit-functions/nearest.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/nearest.js rename to src/plugins/vis-type-timeline/server/fit-functions/nearest.js diff --git a/src/plugins/vis_type_timeline/server/fit_functions/none.js b/src/plugins/vis-type-timeline/server/fit-functions/none.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/none.js rename to src/plugins/vis-type-timeline/server/fit-functions/none.js diff --git a/src/plugins/vis_type_timeline/server/fit_functions/scale.js b/src/plugins/vis-type-timeline/server/fit-functions/scale.js similarity index 100% rename from src/plugins/vis_type_timeline/server/fit_functions/scale.js rename to src/plugins/vis-type-timeline/server/fit-functions/scale.js diff --git a/src/plugins/vis_type_timeline/server/handlers/chain_runner.js b/src/plugins/vis-type-timeline/server/handlers/chain_runner.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/chain_runner.js rename to src/plugins/vis-type-timeline/server/handlers/chain_runner.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/arg_type.js b/src/plugins/vis-type-timeline/server/handlers/lib/arg_type.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/arg_type.js rename to src/plugins/vis-type-timeline/server/handlers/lib/arg_type.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/index_arguments.js b/src/plugins/vis-type-timeline/server/handlers/lib/index_arguments.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/index_arguments.js rename to src/plugins/vis-type-timeline/server/handlers/lib/index_arguments.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.js b/src/plugins/vis-type-timeline/server/handlers/lib/parse_sheet.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.js rename to src/plugins/vis-type-timeline/server/handlers/lib/parse_sheet.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.test.js b/src/plugins/vis-type-timeline/server/handlers/lib/parse_sheet.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/parse_sheet.test.js rename to src/plugins/vis-type-timeline/server/handlers/lib/parse_sheet.test.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/preprocess_chain.js b/src/plugins/vis-type-timeline/server/handlers/lib/preprocess_chain.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/preprocess_chain.js rename to src/plugins/vis-type-timeline/server/handlers/lib/preprocess_chain.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/reposition_arguments.js b/src/plugins/vis-type-timeline/server/handlers/lib/reposition_arguments.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/reposition_arguments.js rename to src/plugins/vis-type-timeline/server/handlers/lib/reposition_arguments.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/tl_config.js b/src/plugins/vis-type-timeline/server/handlers/lib/tl_config.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/tl_config.js rename to src/plugins/vis-type-timeline/server/handlers/lib/tl_config.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/validate_arg.js b/src/plugins/vis-type-timeline/server/handlers/lib/validate_arg.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/validate_arg.js rename to src/plugins/vis-type-timeline/server/handlers/lib/validate_arg.js diff --git a/src/plugins/vis_type_timeline/server/handlers/lib/validate_time.js b/src/plugins/vis-type-timeline/server/handlers/lib/validate_time.js similarity index 100% rename from src/plugins/vis_type_timeline/server/handlers/lib/validate_time.js rename to src/plugins/vis-type-timeline/server/handlers/lib/validate_time.js diff --git a/src/plugins/vis_type_timeline/server/index.ts b/src/plugins/vis-type-timeline/server/index.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/index.ts rename to src/plugins/vis-type-timeline/server/index.ts diff --git a/src/plugins/vis_type_timeline/server/lib/alter.js b/src/plugins/vis-type-timeline/server/lib/alter.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/alter.js rename to src/plugins/vis-type-timeline/server/lib/alter.js diff --git a/src/plugins/vis_type_timeline/server/lib/as_sorted.js b/src/plugins/vis-type-timeline/server/lib/as_sorted.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/as_sorted.js rename to src/plugins/vis-type-timeline/server/lib/as_sorted.js diff --git a/src/plugins/vis_type_timeline/server/lib/build_target.js b/src/plugins/vis-type-timeline/server/lib/build_target.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/build_target.js rename to src/plugins/vis-type-timeline/server/lib/build_target.js diff --git a/src/plugins/vis_type_timeline/server/lib/classes/chainable.js b/src/plugins/vis-type-timeline/server/lib/classes/chainable.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/classes/chainable.js rename to src/plugins/vis-type-timeline/server/lib/classes/chainable.js diff --git a/src/plugins/vis_type_timeline/server/lib/classes/datasource.js b/src/plugins/vis-type-timeline/server/lib/classes/datasource.js similarity index 98% rename from src/plugins/vis_type_timeline/server/lib/classes/datasource.js rename to src/plugins/vis-type-timeline/server/lib/classes/datasource.js index 241c2567ba54..2d8440ad332e 100644 --- a/src/plugins/vis_type_timeline/server/lib/classes/datasource.js +++ b/src/plugins/vis-type-timeline/server/lib/classes/datasource.js @@ -32,7 +32,7 @@ import { i18n } from '@osd/i18n'; import loadFunctions from '../load_functions.js'; -const fitFunctions = loadFunctions('fit_functions'); +const fitFunctions = loadFunctions('fit-functions'); import TimelineFunction from './timeline_function'; import { offsetTime, preprocessOffset } from '../offset_time'; import _ from 'lodash'; diff --git a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.d.ts b/src/plugins/vis-type-timeline/server/lib/classes/timeline_function.d.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/classes/timeline_function.d.ts rename to src/plugins/vis-type-timeline/server/lib/classes/timeline_function.d.ts diff --git a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js b/src/plugins/vis-type-timeline/server/lib/classes/timeline_function.js similarity index 97% rename from src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js rename to src/plugins/vis-type-timeline/server/lib/classes/timeline_function.js index 5e47a7971df0..e985092c9fd5 100644 --- a/src/plugins/vis_type_timeline/server/lib/classes/timeline_function.js +++ b/src/plugins/vis-type-timeline/server/lib/classes/timeline_function.js @@ -32,7 +32,7 @@ import _ from 'lodash'; import loadFunctions from '../load_functions.js'; -const fitFunctions = loadFunctions('fit_functions'); +const fitFunctions = loadFunctions('fit-functions'); export default class TimelineFunction { constructor(name, config) { diff --git a/src/plugins/vis_type_timeline/server/lib/config_manager.ts b/src/plugins/vis-type-timeline/server/lib/config_manager.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/config_manager.ts rename to src/plugins/vis-type-timeline/server/lib/config_manager.ts diff --git a/src/plugins/vis_type_timeline/server/lib/functions_md.js b/src/plugins/vis-type-timeline/server/lib/functions_md.js similarity index 97% rename from src/plugins/vis_type_timeline/server/lib/functions_md.js rename to src/plugins/vis-type-timeline/server/lib/functions_md.js index ec5125bf5773..f7bf28e05282 100644 --- a/src/plugins/vis_type_timeline/server/lib/functions_md.js +++ b/src/plugins/vis-type-timeline/server/lib/functions_md.js @@ -31,7 +31,7 @@ */ import loadFunctions from './load_functions.js'; -const functions = loadFunctions('series_functions/'); +const functions = loadFunctions('series-functions/'); import _ from 'lodash'; export default (function () { @@ -75,7 +75,7 @@ export default (function () { help += 'This document is auto generated from the timeline code. ' + 'Do not submit pulls against this document. You want to submit a pull against something in the ' + - '`series_functions/` directory.\n\n'; + '`series-functions/` directory.\n\n'; help += '### Data sources\n'; help += diff --git a/src/plugins/vis_type_timeline/server/lib/get_namespaced_settings.js b/src/plugins/vis-type-timeline/server/lib/get_namespaced_settings.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/get_namespaced_settings.js rename to src/plugins/vis-type-timeline/server/lib/get_namespaced_settings.js diff --git a/src/plugins/vis_type_timeline/server/lib/load_functions.d.ts b/src/plugins/vis-type-timeline/server/lib/load_functions.d.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/load_functions.d.ts rename to src/plugins/vis-type-timeline/server/lib/load_functions.d.ts diff --git a/src/plugins/vis_type_timeline/server/lib/load_functions.js b/src/plugins/vis-type-timeline/server/lib/load_functions.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/load_functions.js rename to src/plugins/vis-type-timeline/server/lib/load_functions.js diff --git a/src/plugins/vis_type_timeline/server/lib/load_functions.test.js b/src/plugins/vis-type-timeline/server/lib/load_functions.test.js similarity index 91% rename from src/plugins/vis_type_timeline/server/lib/load_functions.test.js rename to src/plugins/vis-type-timeline/server/lib/load_functions.test.js index 50eebeac6cdc..e4a9fc7b9c42 100644 --- a/src/plugins/vis_type_timeline/server/lib/load_functions.test.js +++ b/src/plugins/vis-type-timeline/server/lib/load_functions.test.js @@ -30,7 +30,7 @@ * GitHub history for details. */ -const fn = require(`src/plugins/vis_type_timeline/server/lib/load_functions`); +const fn = require(`src/plugins/vis-type-timeline/server/lib/load_functions`); const expect = require('chai').expect; @@ -40,14 +40,14 @@ describe('load_functions.js', () => { }); it('returns an object with keys named for the javascript files in the directory', () => { - const fnList = fn('series_functions'); + const fnList = fn('series-functions'); expect(fnList).to.be.an('object'); expect(fnList.sum).to.be.a('object'); }); it('also includes index.js files in direct subdirectories, and names the keys for the directory', () => { - const fnList = fn('series_functions'); + const fnList = fn('series-functions'); expect(fnList).to.be.an('object'); expect(fnList.es).to.be.a('object'); diff --git a/src/plugins/vis_type_timeline/server/lib/offset_time.js b/src/plugins/vis-type-timeline/server/lib/offset_time.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/offset_time.js rename to src/plugins/vis-type-timeline/server/lib/offset_time.js diff --git a/src/plugins/vis_type_timeline/server/lib/offset_time.test.js b/src/plugins/vis-type-timeline/server/lib/offset_time.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/offset_time.test.js rename to src/plugins/vis-type-timeline/server/lib/offset_time.test.js diff --git a/src/plugins/vis_type_timeline/server/lib/process_function_definition.js b/src/plugins/vis-type-timeline/server/lib/process_function_definition.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/process_function_definition.js rename to src/plugins/vis-type-timeline/server/lib/process_function_definition.js diff --git a/src/plugins/vis_type_timeline/server/lib/reduce.js b/src/plugins/vis-type-timeline/server/lib/reduce.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/reduce.js rename to src/plugins/vis-type-timeline/server/lib/reduce.js diff --git a/src/plugins/vis_type_timeline/server/lib/split_interval.js b/src/plugins/vis-type-timeline/server/lib/split_interval.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/split_interval.js rename to src/plugins/vis-type-timeline/server/lib/split_interval.js diff --git a/src/plugins/vis_type_timeline/server/lib/unzip_pairs.js b/src/plugins/vis-type-timeline/server/lib/unzip_pairs.js similarity index 100% rename from src/plugins/vis_type_timeline/server/lib/unzip_pairs.js rename to src/plugins/vis-type-timeline/server/lib/unzip_pairs.js diff --git a/src/plugins/vis_type_timeline/server/plugin.ts b/src/plugins/vis-type-timeline/server/plugin.ts similarity index 99% rename from src/plugins/vis_type_timeline/server/plugin.ts rename to src/plugins/vis-type-timeline/server/plugin.ts index ac507d6235c0..4b1428813adc 100644 --- a/src/plugins/vis_type_timeline/server/plugin.ts +++ b/src/plugins/vis-type-timeline/server/plugin.ts @@ -74,7 +74,7 @@ export class Plugin { const configManager = new ConfigManager(this.initializerContext.config); - const functions = loadFunctions('series_functions'); + const functions = loadFunctions('series-functions'); const getFunction = (name: string) => { if (functions[name]) { diff --git a/src/plugins/vis_type_timeline/server/routes/functions.ts b/src/plugins/vis-type-timeline/server/routes/functions.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/routes/functions.ts rename to src/plugins/vis-type-timeline/server/routes/functions.ts diff --git a/src/plugins/vis_type_timeline/server/routes/run.ts b/src/plugins/vis-type-timeline/server/routes/run.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/routes/run.ts rename to src/plugins/vis-type-timeline/server/routes/run.ts diff --git a/src/plugins/vis_type_timeline/server/routes/validate_es.ts b/src/plugins/vis-type-timeline/server/routes/validate_es.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/routes/validate_es.ts rename to src/plugins/vis-type-timeline/server/routes/validate_es.ts diff --git a/src/plugins/vis_type_timeline/server/series_functions/abs.js b/src/plugins/vis-type-timeline/server/series-functions/abs.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/abs.js rename to src/plugins/vis-type-timeline/server/series-functions/abs.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/abs.test.js b/src/plugins/vis-type-timeline/server/series-functions/abs.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/abs.test.js rename to src/plugins/vis-type-timeline/server/series-functions/abs.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/aggregate.test.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/aggregate.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/aggregate.test.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/aggregate.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/avg.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/avg.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/avg.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/avg.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/cardinality.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/cardinality.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/cardinality.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/cardinality.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/first.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/first.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/first.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/first.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/index.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/index.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/index.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/index.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/last.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/last.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/last.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/last.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/max.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/max.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/max.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/max.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/min.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/min.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/min.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/min.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/aggregate/sum.js b/src/plugins/vis-type-timeline/server/series-functions/aggregate/sum.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/aggregate/sum.js rename to src/plugins/vis-type-timeline/server/series-functions/aggregate/sum.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/bars.js b/src/plugins/vis-type-timeline/server/series-functions/bars.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/bars.js rename to src/plugins/vis-type-timeline/server/series-functions/bars.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/bars.test.js b/src/plugins/vis-type-timeline/server/series-functions/bars.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/bars.test.js rename to src/plugins/vis-type-timeline/server/series-functions/bars.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/color.js b/src/plugins/vis-type-timeline/server/series-functions/color.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/color.js rename to src/plugins/vis-type-timeline/server/series-functions/color.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/color.test.js b/src/plugins/vis-type-timeline/server/series-functions/color.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/color.test.js rename to src/plugins/vis-type-timeline/server/series-functions/color.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/condition.js b/src/plugins/vis-type-timeline/server/series-functions/condition.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/condition.js rename to src/plugins/vis-type-timeline/server/series-functions/condition.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/condition.test.js b/src/plugins/vis-type-timeline/server/series-functions/condition.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/condition.test.js rename to src/plugins/vis-type-timeline/server/series-functions/condition.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/cusum.js b/src/plugins/vis-type-timeline/server/series-functions/cusum.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/cusum.js rename to src/plugins/vis-type-timeline/server/series-functions/cusum.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/cusum.test.js b/src/plugins/vis-type-timeline/server/series-functions/cusum.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/cusum.test.js rename to src/plugins/vis-type-timeline/server/series-functions/cusum.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/derivative.js b/src/plugins/vis-type-timeline/server/series-functions/derivative.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/derivative.js rename to src/plugins/vis-type-timeline/server/series-functions/derivative.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/derivative.test.js b/src/plugins/vis-type-timeline/server/series-functions/derivative.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/derivative.test.js rename to src/plugins/vis-type-timeline/server/series-functions/derivative.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/divide.js b/src/plugins/vis-type-timeline/server/series-functions/divide.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/divide.js rename to src/plugins/vis-type-timeline/server/series-functions/divide.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/divide.test.js b/src/plugins/vis-type-timeline/server/series-functions/divide.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/divide.test.js rename to src/plugins/vis-type-timeline/server/series-functions/divide.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/first.js b/src/plugins/vis-type-timeline/server/series-functions/first.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/first.js rename to src/plugins/vis-type-timeline/server/series-functions/first.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/first.test.js b/src/plugins/vis-type-timeline/server/series-functions/first.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/first.test.js rename to src/plugins/vis-type-timeline/server/series-functions/first.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/fit.js b/src/plugins/vis-type-timeline/server/series-functions/fit.js similarity index 97% rename from src/plugins/vis_type_timeline/server/series_functions/fit.js rename to src/plugins/vis-type-timeline/server/series-functions/fit.js index b475b981f3e8..834c7b5ab050 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fit.js +++ b/src/plugins/vis-type-timeline/server/series-functions/fit.js @@ -35,7 +35,7 @@ import alter from '../lib/alter.js'; import _ from 'lodash'; import Chainable from '../lib/classes/chainable'; import loadFunctions from '../lib/load_functions.js'; -const fitFunctions = loadFunctions('fit_functions'); +const fitFunctions = loadFunctions('fit-functions'); export default new Chainable('fit', { args: [ diff --git a/src/plugins/vis_type_timeline/server/series_functions/fit.test.js b/src/plugins/vis-type-timeline/server/series-functions/fit.test.js similarity index 99% rename from src/plugins/vis_type_timeline/server/series_functions/fit.test.js rename to src/plugins/vis-type-timeline/server/series-functions/fit.test.js index ed385d22f6ff..240bc5cc2a69 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fit.test.js +++ b/src/plugins/vis-type-timeline/server/series-functions/fit.test.js @@ -30,7 +30,7 @@ * GitHub history for details. */ -const fn = require(`src/plugins/vis_type_timeline/server/series_functions/fit`); +const fn = require(`src/plugins/vis-type-timeline/server/series-functions/fit`); import moment from 'moment'; const expect = require('chai').expect; import invoke from './helpers/invoke_series_fn.js'; diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/bucket_list.js b/src/plugins/vis-type-timeline/server/series-functions/fixtures/bucket_list.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/fixtures/bucket_list.js rename to src/plugins/vis-type-timeline/server/series-functions/fixtures/bucket_list.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/opensearch_response.js b/src/plugins/vis-type-timeline/server/series-functions/fixtures/opensearch_response.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/fixtures/opensearch_response.js rename to src/plugins/vis-type-timeline/server/series-functions/fixtures/opensearch_response.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/series_list.js b/src/plugins/vis-type-timeline/server/series-functions/fixtures/series_list.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/fixtures/series_list.js rename to src/plugins/vis-type-timeline/server/series-functions/fixtures/series_list.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js b/src/plugins/vis-type-timeline/server/series-functions/fixtures/tl_config.js similarity index 97% rename from src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js rename to src/plugins/vis-type-timeline/server/series-functions/fixtures/tl_config.js index a404457904df..9aead275d03e 100644 --- a/src/plugins/vis_type_timeline/server/series_functions/fixtures/tl_config.js +++ b/src/plugins/vis-type-timeline/server/series-functions/fixtures/tl_config.js @@ -36,7 +36,7 @@ import timelineDefaults from '../../lib/get_namespaced_settings'; import opensearchResponse from './opensearch_response'; export default function () { - const functions = require('../../lib/load_functions')('series_functions'); + const functions = require('../../lib/load_functions')('series-functions'); const tlConfig = require('../../handlers/lib/tl_config.js')({ getFunction: (name) => { diff --git a/src/plugins/vis_type_timeline/server/series_functions/graphite.js b/src/plugins/vis-type-timeline/server/series-functions/graphite.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/graphite.js rename to src/plugins/vis-type-timeline/server/series-functions/graphite.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/graphite.test.js b/src/plugins/vis-type-timeline/server/series-functions/graphite.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/graphite.test.js rename to src/plugins/vis-type-timeline/server/series-functions/graphite.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series.js b/src/plugins/vis-type-timeline/server/series-functions/helpers/get_series.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/helpers/get_series.js rename to src/plugins/vis-type-timeline/server/series-functions/helpers/get_series.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_series_list.js b/src/plugins/vis-type-timeline/server/series-functions/helpers/get_series_list.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/helpers/get_series_list.js rename to src/plugins/vis-type-timeline/server/series-functions/helpers/get_series_list.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/get_single_series_list.js b/src/plugins/vis-type-timeline/server/series-functions/helpers/get_single_series_list.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/helpers/get_single_series_list.js rename to src/plugins/vis-type-timeline/server/series-functions/helpers/get_single_series_list.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/helpers/invoke_series_fn.js b/src/plugins/vis-type-timeline/server/series-functions/helpers/invoke_series_fn.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/helpers/invoke_series_fn.js rename to src/plugins/vis-type-timeline/server/series-functions/helpers/invoke_series_fn.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/hide.js b/src/plugins/vis-type-timeline/server/series-functions/hide.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/hide.js rename to src/plugins/vis-type-timeline/server/series-functions/hide.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/hide.test.js b/src/plugins/vis-type-timeline/server/series-functions/hide.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/hide.test.js rename to src/plugins/vis-type-timeline/server/series-functions/hide.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/index.js b/src/plugins/vis-type-timeline/server/series-functions/holt/index.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/holt/index.js rename to src/plugins/vis-type-timeline/server/series-functions/holt/index.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/des.js b/src/plugins/vis-type-timeline/server/series-functions/holt/lib/des.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/holt/lib/des.js rename to src/plugins/vis-type-timeline/server/series-functions/holt/lib/des.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/ses.js b/src/plugins/vis-type-timeline/server/series-functions/holt/lib/ses.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/holt/lib/ses.js rename to src/plugins/vis-type-timeline/server/series-functions/holt/lib/ses.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/holt/lib/tes.js b/src/plugins/vis-type-timeline/server/series-functions/holt/lib/tes.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/holt/lib/tes.js rename to src/plugins/vis-type-timeline/server/series-functions/holt/lib/tes.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/label.js b/src/plugins/vis-type-timeline/server/series-functions/label.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/label.js rename to src/plugins/vis-type-timeline/server/series-functions/label.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/label.test.js b/src/plugins/vis-type-timeline/server/series-functions/label.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/label.test.js rename to src/plugins/vis-type-timeline/server/series-functions/label.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/legend.js b/src/plugins/vis-type-timeline/server/series-functions/legend.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/legend.js rename to src/plugins/vis-type-timeline/server/series-functions/legend.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/legend.test.js b/src/plugins/vis-type-timeline/server/series-functions/legend.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/legend.test.js rename to src/plugins/vis-type-timeline/server/series-functions/legend.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/lines.js b/src/plugins/vis-type-timeline/server/series-functions/lines.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/lines.js rename to src/plugins/vis-type-timeline/server/series-functions/lines.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/lines.test.js b/src/plugins/vis-type-timeline/server/series-functions/lines.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/lines.test.js rename to src/plugins/vis-type-timeline/server/series-functions/lines.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/log.js b/src/plugins/vis-type-timeline/server/series-functions/log.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/log.js rename to src/plugins/vis-type-timeline/server/series-functions/log.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/log.test.js b/src/plugins/vis-type-timeline/server/series-functions/log.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/log.test.js rename to src/plugins/vis-type-timeline/server/series-functions/log.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/max.js b/src/plugins/vis-type-timeline/server/series-functions/max.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/max.js rename to src/plugins/vis-type-timeline/server/series-functions/max.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/max.test.js b/src/plugins/vis-type-timeline/server/series-functions/max.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/max.test.js rename to src/plugins/vis-type-timeline/server/series-functions/max.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/min.js b/src/plugins/vis-type-timeline/server/series-functions/min.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/min.js rename to src/plugins/vis-type-timeline/server/series-functions/min.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/min.test.js b/src/plugins/vis-type-timeline/server/series-functions/min.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/min.test.js rename to src/plugins/vis-type-timeline/server/series-functions/min.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingaverage.js b/src/plugins/vis-type-timeline/server/series-functions/movingaverage.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/movingaverage.js rename to src/plugins/vis-type-timeline/server/series-functions/movingaverage.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingaverage.test.js b/src/plugins/vis-type-timeline/server/series-functions/movingaverage.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/movingaverage.test.js rename to src/plugins/vis-type-timeline/server/series-functions/movingaverage.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingstd.js b/src/plugins/vis-type-timeline/server/series-functions/movingstd.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/movingstd.js rename to src/plugins/vis-type-timeline/server/series-functions/movingstd.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/movingstd.test.js b/src/plugins/vis-type-timeline/server/series-functions/movingstd.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/movingstd.test.js rename to src/plugins/vis-type-timeline/server/series-functions/movingstd.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/multiply.js b/src/plugins/vis-type-timeline/server/series-functions/multiply.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/multiply.js rename to src/plugins/vis-type-timeline/server/series-functions/multiply.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/multiply.test.js b/src/plugins/vis-type-timeline/server/series-functions/multiply.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/multiply.test.js rename to src/plugins/vis-type-timeline/server/series-functions/multiply.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/index.js b/src/plugins/vis-type-timeline/server/series-functions/opensearch/index.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/opensearch/index.js rename to src/plugins/vis-type-timeline/server/series-functions/opensearch/index.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_body.js b/src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/agg_body.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_body.js rename to src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/agg_body.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_response_to_series_list.js b/src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/agg_response_to_series_list.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/agg_response_to_series_list.js rename to src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/agg_response_to_series_list.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/build_request.js b/src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/build_request.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/build_request.js rename to src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/build_request.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/create_date_agg.js b/src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/create_date_agg.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/opensearch/lib/create_date_agg.js rename to src/plugins/vis-type-timeline/server/series-functions/opensearch/lib/create_date_agg.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/opensearch/opensearch.test.js b/src/plugins/vis-type-timeline/server/series-functions/opensearch/opensearch.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/opensearch/opensearch.test.js rename to src/plugins/vis-type-timeline/server/series-functions/opensearch/opensearch.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/points.js b/src/plugins/vis-type-timeline/server/series-functions/points.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/points.js rename to src/plugins/vis-type-timeline/server/series-functions/points.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/points.test.js b/src/plugins/vis-type-timeline/server/series-functions/points.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/points.test.js rename to src/plugins/vis-type-timeline/server/series-functions/points.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/precision.js b/src/plugins/vis-type-timeline/server/series-functions/precision.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/precision.js rename to src/plugins/vis-type-timeline/server/series-functions/precision.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/precision.test.js b/src/plugins/vis-type-timeline/server/series-functions/precision.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/precision.test.js rename to src/plugins/vis-type-timeline/server/series-functions/precision.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/props.js b/src/plugins/vis-type-timeline/server/series-functions/props.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/props.js rename to src/plugins/vis-type-timeline/server/series-functions/props.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/quandl.js b/src/plugins/vis-type-timeline/server/series-functions/quandl.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/quandl.js rename to src/plugins/vis-type-timeline/server/series-functions/quandl.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/quandl.test.js b/src/plugins/vis-type-timeline/server/series-functions/quandl.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/quandl.test.js rename to src/plugins/vis-type-timeline/server/series-functions/quandl.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/range.js b/src/plugins/vis-type-timeline/server/series-functions/range.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/range.js rename to src/plugins/vis-type-timeline/server/series-functions/range.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/range.test.js b/src/plugins/vis-type-timeline/server/series-functions/range.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/range.test.js rename to src/plugins/vis-type-timeline/server/series-functions/range.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/scale_interval.js b/src/plugins/vis-type-timeline/server/series-functions/scale_interval.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/scale_interval.js rename to src/plugins/vis-type-timeline/server/series-functions/scale_interval.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/scale_interval.test.js b/src/plugins/vis-type-timeline/server/series-functions/scale_interval.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/scale_interval.test.js rename to src/plugins/vis-type-timeline/server/series-functions/scale_interval.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/static.js b/src/plugins/vis-type-timeline/server/series-functions/static.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/static.js rename to src/plugins/vis-type-timeline/server/series-functions/static.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/static.test.js b/src/plugins/vis-type-timeline/server/series-functions/static.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/static.test.js rename to src/plugins/vis-type-timeline/server/series-functions/static.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/subtract.js b/src/plugins/vis-type-timeline/server/series-functions/subtract.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/subtract.js rename to src/plugins/vis-type-timeline/server/series-functions/subtract.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/subtract.test.js b/src/plugins/vis-type-timeline/server/series-functions/subtract.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/subtract.test.js rename to src/plugins/vis-type-timeline/server/series-functions/subtract.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/sum.js b/src/plugins/vis-type-timeline/server/series-functions/sum.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/sum.js rename to src/plugins/vis-type-timeline/server/series-functions/sum.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/sum.test.js b/src/plugins/vis-type-timeline/server/series-functions/sum.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/sum.test.js rename to src/plugins/vis-type-timeline/server/series-functions/sum.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/title.js b/src/plugins/vis-type-timeline/server/series-functions/title.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/title.js rename to src/plugins/vis-type-timeline/server/series-functions/title.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/title.test.js b/src/plugins/vis-type-timeline/server/series-functions/title.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/title.test.js rename to src/plugins/vis-type-timeline/server/series-functions/title.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/trend/index.js b/src/plugins/vis-type-timeline/server/series-functions/trend/index.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/trend/index.js rename to src/plugins/vis-type-timeline/server/series-functions/trend/index.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/trend/lib/regress.js b/src/plugins/vis-type-timeline/server/series-functions/trend/lib/regress.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/trend/lib/regress.js rename to src/plugins/vis-type-timeline/server/series-functions/trend/lib/regress.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/trim.js b/src/plugins/vis-type-timeline/server/series-functions/trim.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/trim.js rename to src/plugins/vis-type-timeline/server/series-functions/trim.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/trim.test.js b/src/plugins/vis-type-timeline/server/series-functions/trim.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/trim.test.js rename to src/plugins/vis-type-timeline/server/series-functions/trim.test.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/worldbank.js b/src/plugins/vis-type-timeline/server/series-functions/worldbank.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/worldbank.js rename to src/plugins/vis-type-timeline/server/series-functions/worldbank.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/worldbank_indicators.js b/src/plugins/vis-type-timeline/server/series-functions/worldbank_indicators.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/worldbank_indicators.js rename to src/plugins/vis-type-timeline/server/series-functions/worldbank_indicators.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/yaxis.js b/src/plugins/vis-type-timeline/server/series-functions/yaxis.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/yaxis.js rename to src/plugins/vis-type-timeline/server/series-functions/yaxis.js diff --git a/src/plugins/vis_type_timeline/server/series_functions/yaxis.test.js b/src/plugins/vis-type-timeline/server/series-functions/yaxis.test.js similarity index 100% rename from src/plugins/vis_type_timeline/server/series_functions/yaxis.test.js rename to src/plugins/vis-type-timeline/server/series-functions/yaxis.test.js diff --git a/src/plugins/vis_type_timeline/server/timeline.json b/src/plugins/vis-type-timeline/server/timeline.json similarity index 100% rename from src/plugins/vis_type_timeline/server/timeline.json rename to src/plugins/vis-type-timeline/server/timeline.json diff --git a/src/plugins/vis_type_timeline/server/types.ts b/src/plugins/vis-type-timeline/server/types.ts similarity index 100% rename from src/plugins/vis_type_timeline/server/types.ts rename to src/plugins/vis-type-timeline/server/types.ts diff --git a/tasks/config/peg.js b/tasks/config/peg.js index 7a22bcc284e3..4173e7b9b2b7 100644 --- a/tasks/config/peg.js +++ b/tasks/config/peg.js @@ -39,7 +39,7 @@ module.exports = { }, }, timeline_chain: { - src: 'src/plugins/vis_type_timeline/public/chain.peg', - dest: 'src/plugins/vis_type_timeline/public/_generated_/chain.js', + src: 'src/plugins/vis-type-timeline/public/chain.peg', + dest: 'src/plugins/vis-type-timeline/public/_generated_/chain.js', }, };