-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:yctercero/kibana into all-exc-view
- Loading branch information
Showing
3,445 changed files
with
16,258 additions
and
12,542 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
docs/development/plugins/data/server/kibana-plugin-plugins-data-server.config.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-server](./kibana-plugin-plugins-data-server.md) > [config](./kibana-plugin-plugins-data-server.config.md) | ||
|
||
## config variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
config: PluginConfigDescriptor<ConfigSchema> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# @kbn/monaco | ||
|
||
A customized version of monaco that is automatically configured the way we want it to be when imported as `@kbn/monaco`. Additionally, imports to this package are automatically shared with all plugins using `@kbn/ui-shared-deps`. | ||
|
||
Includes custom xjson language support. The `es_ui_shared` plugin has an example of how to use it, in the future we will likely expose helpers from this package to make using it everywhere a little more seamless. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "@kbn/monaco", | ||
"version": "1.0.0", | ||
"private": true, | ||
"main": "./target/index.js", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "node ./scripts/build.js", | ||
"kbn:bootstrap": "yarn build --dev" | ||
}, | ||
"dependencies": { | ||
"regenerator-runtime": "^0.13.3", | ||
"monaco-editor": "~0.17.0" | ||
}, | ||
"devDependencies": { | ||
"@kbn/babel-preset": "1.0.0", | ||
"@kbn/dev-utils": "1.0.0", | ||
"babel-loader": "^8.0.6", | ||
"css-loader": "^3.4.2", | ||
"del": "^5.1.0", | ||
"raw-loader": "3.1.0", | ||
"supports-color": "^7.0.0", | ||
"typescript": "3.7.2", | ||
"webpack": "^4.41.5", | ||
"webpack-cli": "^3.3.10" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
const path = require('path'); | ||
const del = require('del'); | ||
const supportsColor = require('supports-color'); | ||
const { run } = require('@kbn/dev-utils'); | ||
|
||
const TARGET_BUILD_DIR = path.resolve(__dirname, '../target'); | ||
const ROOT_DIR = path.resolve(__dirname, '../'); | ||
const WEBPACK_CONFIG_PATH = path.resolve(ROOT_DIR, 'webpack.config.js'); | ||
|
||
run( | ||
async ({ procRunner, log, flags }) => { | ||
log.info('Deleting old output'); | ||
|
||
await del(TARGET_BUILD_DIR); | ||
|
||
const cwd = ROOT_DIR; | ||
const env = { ...process.env }; | ||
if (supportsColor.stdout) { | ||
env.FORCE_COLOR = 'true'; | ||
} | ||
|
||
await procRunner.run('worker', { | ||
cmd: 'webpack', | ||
args: ['--config', WEBPACK_CONFIG_PATH, flags.dev ? '--env.dev' : '--env.prod'], | ||
wait: true, | ||
env, | ||
cwd, | ||
}); | ||
|
||
await procRunner.run('tsc ', { | ||
cmd: 'tsc', | ||
args: [], | ||
wait: true, | ||
env, | ||
cwd, | ||
}); | ||
|
||
log.success('Complete'); | ||
}, | ||
{ | ||
flags: { | ||
boolean: ['dev'], | ||
}, | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* 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 { monaco } from './monaco'; | ||
export { XJsonLang } from './xjson'; | ||
|
||
/* eslint-disable-next-line @kbn/eslint/module_migration */ | ||
import * as BarePluginApi from 'monaco-editor/esm/vs/editor/editor.api'; | ||
export { BarePluginApi }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# README | ||
|
||
This folder contains the language definitions for XJSON used by the Monaco editor. | ||
|
||
## Summary of contents | ||
|
||
Note: All source code. | ||
|
||
### ./worker | ||
|
||
The worker proxy and worker instantiation code used in both the main thread and the worker thread. | ||
|
||
### ./lexer_rules | ||
|
||
Contains the Monarch-specific language tokenization rules for XJSON. Each set of rules registers itself against monaco. | ||
|
||
### ./constants.ts | ||
|
||
Contains the unique language ID. | ||
|
||
### ./language | ||
|
||
Takes care of global setup steps for the language (like registering it against Monaco) and exports a way to load up | ||
the grammar parser. | ||
|
||
### ./worker_proxy_service | ||
|
||
A stateful mechanism for holding a reference to the Monaco-provided proxy getter. |
Oops, something went wrong.