Commit graph

129 commits

Author SHA1 Message Date
Spencer
e07dffb9d8
[7.6] [kbn/pm] use mtime of untracked files in bootstrap cache key (#64293) (#64606) 2020-04-27 18:21:07 -07:00
Spencer
90a1af177b
[7.6] Implement basic CI metric reporting (#64263) (#64582) 2020-04-27 18:20:26 -07:00
Dmitry Lemeshko
339ba30ecf
update chromedriver dependency to 81.0.0 (#63266) (#63289) 2020-04-11 12:20:44 +03:00
Tiago Costa
5d37ec6905
fix(NA): support legacy plugins path in plugins (#57472) (#57531)
* fix(NA): support legacy plugins path in plugins

* chore(NA): add newly build dist
2020-02-13 04:42:39 +00:00
Tiago Costa
e1fdb21863
Fix paths for kibana packages used by plugins (#57097) (#57410)
* Fix paths for kibana packages in prepare_project_dependencies(#40858).

* Dist/index.js after yarn build.

* chore(NA): correctly include kbm pm new dist file

* Commit after cherry-pick 985c85c from recreation branch.

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Shailesh cheke <shailesh.cheke@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-12 14:42:39 +00:00
Brandon Kobel
433afb04c1
Updating to kind-of@6.0.3 (#57367) (#57379)
* Updating to kind-of@6.0.2

* Rebuilding @kbn\pm
2020-02-11 15:47:30 -08:00
Spencer
a39524c6f5 Fix compatibility with yarn 1.22.0 (#56917)
* Revert "force yarn 1.21.1 until we can handle invalid output of 1.22.0 (#56914)"

This reverts commit 5686010b46.

* move the --json argument before `workspaces` so it still works

* update kbn/pm dist

(cherry picked from commit 12de6a8459)
2020-02-05 14:20:04 -07:00
Tyler Smalley
66249b1f75
Bumps terser-webpack-plugin to 2.3.4 (#56662) (#56891)
We're seeing occasional "Error: Call retries were exceeded" exception
with Terser, which should be resolved by
abfd950620,
first included in 2.3.4

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-02-05 11:23:10 -08:00
Josh Dover
331138237f
[7.x] Add support for workspaces in NP x-pack plugins (#53825) (#54479)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-13 10:27:02 -07:00
Joe Portner
74ebdf9b11
Add support for certificates in PKCS#12 (P12) key stores (#53810) (#54383)
Kibana now supports the usage of PKCS#12 (P12) key stores and trust stores for certificates and keys.
2020-01-09 14:47:16 -05:00
Spencer
8f8d08367e
[7.x] [dev/run] expose unexpected flags as more than just name… (#54178) 2020-01-07 14:52:17 -07:00
Mikhail Shustov
d7789f20d9
[7.x] Set consistent EOL symbol in core API docs (#53815) (#53977)
* Set consistent EOL symbol in core API docs

* update yarn lock

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 14:53:47 +03:00
Spencer
14d8f8a308
[7.x] [kbn/pm] add caching to bootstrap (#53622) (#53953)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

# Conflicts:
#	packages/kbn-pm/dist/index.js
2020-01-03 12:33:11 -07:00
spalger
fa0926510e Revert "[7.x] Update dependency execa to ^3.4.0 (#53072) (#53152)"
This reverts commit eb8a3146dc.
2019-12-17 12:32:39 -07:00
spalger
9a7f132fca Revert "[7.x] Update webpack related packages (#53082) (#53170)"
This reverts commit 60a289b8ca.
2019-12-17 12:29:50 -07:00
patrykkopycinski
e69183d9f6
[7.x] Update babel-typescript config (#53108) (#53167) 2019-12-17 11:11:03 +01:00
Spencer
60a289b8ca
[7.x] Update webpack related packages (#53082) (#53170)
* Update webpack related packages

* fix updated config flag

* update other changes css-loader config options

# Conflicts:
#	package.json
#	packages/kbn-interpreter/package.json
#	packages/kbn-ui-framework/package.json
#	x-pack/package.json
#	yarn.lock
2019-12-16 15:34:09 -07:00
Spencer
eb8a3146dc
[7.x] Update dependency execa to ^3.4.0 (#53072) (#53152)
* Update dependency execa to ^3.4.0

* update kbn/pm dist

* update kbn/pm dist again
2019-12-16 15:33:13 -07:00
spalger
3d4f1f0616 update kbn/pm dist 2019-12-16 12:13:31 -07:00
spalger
95ea6d7f88 update kbn/pm dist 2019-12-16 11:10:51 -07:00
Stacey Gammon
9ed3fe0ccf
Add top level examples folder and command to run, --run-examples. (#52027) (#52739)
* Add top level examples folder and command to run, `--run-examples`.

* Add comment explaining reason --run-examples flag turns off base path.
2019-12-11 10:38:49 -05:00
Tim Roes
7e55cb0732
[7.x] Upgrade to TypeScript 3.7.2 (#47188) (#50756)
* Upgrade to TypeScript 3.7.2 (#47188)

* Update TS to 3.7.0-beta

* Upgrade to TypeScript 3.7.2

* Upgrade cypress to 3.5.0

* Upgrade apollo-link-http

* Update prettier

* Fix expression types

* Fix Lens test typings

* Fix ML breakage

* Fix APM breakage

* Fix sinon stub typing

* Fix beats management types

* Fix WMSOptions types

* Fix ui_filters in APM

* APM: Explicitly type Setup to prevent hitting TS limits

* Change file name to correct case

* Add styleguide rule for optional chaining

* Update typescript-eslint packages

* Revert changes in ui filters routes that are no longer needed

* Fix type guard TS 3.7 compatibility
2019-11-15 13:49:03 +01:00
Tim Roes
b08dc0c8b4
[7.x] Upgrade Prettier 1.19 (#50506)
* Upgrade Prettier to 1.19

* Fix all prettier issues
2019-11-13 20:13:45 +01:00
Spencer
f1bba139fc
Update dependency rxjs to ^6.5.3 (#49837) (#49985)
* Update dependency rxjs to ^6.5.3

* move argument type def up for better coverage

* adapt to possibly undefined helpExtension

* complete definition of deprecation$ type

* define types that bindNodeCallback can no longer infer

* define more types that bindNodeCallback can't infer

* be more explicit and accurate about the types for a subject/observable pair

* fix interface error, TS now identifies it

* ignore a return type flaw because types are not being managed properly

* avoid overspecifying types

* allow types to be inferred where possible

* remove unnecessary withLatestFrom()

* reduce number of rxjs versions installed

* update kbn/pm dist
2019-11-02 09:41:18 -07:00
Spencer
4bd85e3194
[7.x] Remove rimraf (#48985) (#49187)
* Update dependency del to v5

* unify del/rimraf usage with del v5

* update yarn.lock

* update kbn-pm distributable

* remove poorly transformed code

* force some deletes from tmp

* mock less of the fs module

* force tmp deletion in a few more suites

* please make this the last force

# Conflicts:
#	packages/kbn-plugin-helpers/package.json
2019-10-24 08:10:17 -07:00
Spencer
39d0e3c088
[7.x] Update dependency execa to v3 (#48975) (#49139)
* Update dependency execa to v3

* update kbn/pm dist

* remove old @types/execa package

* remove use of removed methods/properties, specify preferLocal when needed

* [@kbn/pm] specify preferLocal when running install scripts

* update kbn/pm dist

* Joi now converts input to matching option from .valid()

* fix failed tests

* Revert "Joi now converts input to matching option from .valid()"

This reverts commit 75531b1d09.
2019-10-23 20:54:03 -07:00
Brandon Kobel
561e6f9a81
Update set-value to 2.0.1 (#49005) (#49119)
* Updating set-value to 2.0.1

* update kbn/pm dist
2019-10-23 15:03:30 -07:00
Nathan L Smith
6b57c79f11
[7.x] [APM] Experimental Service Map front end (#46497) (#47840)
Add service map tabs on the main APM screen and for individual services.

This is not yet hooked up to work with back-end data, so it always shows the same hard-coded graph.

This is experimental, so you must have x-pack.apm.serviceMapEnabled: true in your Kibana config for it to show up.

Also add "PSF" to the list of allowed licenses since a new dependency added uses this license (it's on the [green list](https://github.com/elastic/open-source/blob/master/elastic-product-policy.md#green-list).)

Fixes #44890
Fixes #44853
2019-10-10 13:02:54 -05:00
Spencer
27c3b33189
[7.x] Update webpack related packages (#47402) (#47414)
# Conflicts:
#	packages/kbn-interpreter/package.json
#	yarn.lock
2019-10-05 21:01:25 -07:00
Spencer
13500762d1
[7.x] Update dependency prettier to ^1.18.2 (#47340) (#47398) 2019-10-05 15:51:04 -07:00
Spencer
bbacb1c365
[7.x] [mkdirp] remove in favor of recursive fs.mkdir (#47251) (#47333)
* [mkdirp] remove in favor of recursive fs.mkdir

* add eslint rule to educate future contributors

* reword the eslint error message to prevent copy-pasting callback code

* Commit updated kbn-pm dist

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fix typo

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

# Conflicts:
#	renovate.json5
2019-10-04 09:35:21 -07:00
Spencer
6aa679f02e
[7.x] Update dependency @types/ora to ^1.3.5 (#46649) (#46732) 2019-09-26 14:35:39 -07:00
Brandon Kobel
ab2d5672e9
Updating mixin-deep (#46412) (#46607)
* Updating mixin-deep

* update kbn/pm dist
2019-09-25 10:55:11 -07:00
Spencer
c48fa7eea6
[7.x] Update dependency cpy to ^7.3.0 (#46197) (#46540)
* Update dependency cpy to ^7.3.0

* update kbn/pm distributable
2019-09-25 09:04:07 -07:00
Spencer
194943ae1f
[7.x] Update set-value (#46417) (#46425)
* Updating some usages of set-value

* Updating snapdragon which updates transitive set-value

* update kbn/pm dist
2019-09-24 08:07:14 -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
Spencer
6dbcc8f050
[7.x] Update dependency cmd-shim to ^2.1.0 (#44034) (#44538)
* Update dependency cmd-shim to ^2.1.0

* rebuild kbn/pm

(cherry picked from commit 06852ed576)
2019-08-30 15:16:06 -07:00
Tyler Smalley
71f89a5275 Updates kbn/pm dist
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 10:17:58 -07:00
spalger
400cf9fb22 update kbn/pm dist 2019-08-29 08:49:40 -07:00
Spencer
fe25ee98c3
[7.x] Update dependency chalk to ^2.4.2 (#44032) (#44210)
* Update dependency chalk to ^2.4.2

* update kbn-pm dist

(cherry picked from commit dfddf3dbdd)
2019-08-29 08:48:12 -07:00
Spencer
49b82c2f7b
[7.x] Update dependency @types/wrap-ansi to ^2.0.15 (#43955) (#44020)
(cherry picked from commit aeb6e2c1e8)
2019-08-27 21:51:28 -07:00
Spencer
a0513b0cb9
[7.x] Update dependency write-pkg to v4 (#43226) (#43906)
* Update dependency write-pkg to v4

* rebuild kbn-pm and point worker_threads to built-in module
2019-08-27 14:41:36 -07:00
spalger
a82e20fbae update kbn-pm dist 2019-08-26 13:25:18 -07:00
Spencer
376f60a2f7
[7.x] Update read-pkg related packages (major) (#43118) (#43947)
* [7.x] Update read-pkg related packages (major) (#43118)

* Update read-pkg related packages

* update kbn/pm dist

* fix call style

* only pass directories to readPackageJson

(cherry picked from commit 0fb213714c)

* update kbn-pm dist
2019-08-26 10:51:34 -07:00
Spencer
bc7a2c1ead
[7.x] Update webpack related packages (#43903) (#43999)
* Update webpack related packages

* update kbn-pm dist

* update kbn/pm dist

(cherry picked from commit 76d8dbde72)
2019-08-26 09:51:31 -07: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
Tiago Costa
1332b359e5
chore(NA): enable @typescript-eslint/explicit-member-accessibility rule (#41422) (#41579) 2019-07-19 17:48:47 +01:00
Spencer
68f14413a7
[7.x] [jest] disallow invalid describe calls (#41378) (#41483)
* [jest] disallow invalid describe calls

* correct other describe calls

* remove unnecessary glob

* cast decribe names to strings

* remove new async describe function

# Conflicts:
#	x-pack/legacy/plugins/index_management/__jest__/client_integration/home.test.ts
#	x-pack/test/functional/apps/uptime/monitor.ts
2019-07-18 15:25:50 -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
spalger
f663e18cb8 [7.x] [prettier] upgrade to 1.18.2 (#40229)
* [prettier] upgrade to 1.18.2

* autofix prettier violations

(cherry picked from commit a95ae8c037)
2019-07-03 13:00:44 -07:00