Tiago Costa
e41569b4a6
fix(NA): wrongly spread stripInternal and rootDir configs across packages ( #144463 )
...
* chore(NA): remove overrides for rootDir on packages
* chore(NA): replace './target_types' with 'target_types' on packages
* chore(NA): removes stripInternal false configs
* chore(NA): remove unused strip internals
2022-11-03 01:04:55 +00:00
spalger
52f2b33a07
[auto] migrate existing plugin/package configs
2022-10-28 14:06:46 -05:00
spalger
42879f7656
[bazel] fix some BUILD.bazel file inconsistencies
2022-10-26 11:07:55 -05:00
Dario Gieselaar
b66cf585ca
[Profiling] Add Profiling application ( #140722 )
...
Co-authored-by: Joseph Crail <jbcrail@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
Co-authored-by: Stephanie Boomsma <stephanieboomsma@optimyze.cloud>
Co-authored-by: inge4pres <fgualazzi@gmail.com>
Co-authored-by: inge4pres <francesco.gualazzi@elastic.co>
Co-authored-by: Francesco Gualazzi <inge4pres@users.noreply.github.com>
Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>
2022-09-15 19:24:41 +02:00
Spencer
32491462a9
add kibana.jsonc files to existing packages ( #138965 )
...
* [packages] add kibana.jsonc files
* auto-migrate to kibana.jsonc
* support interactive pkg id selection too
* remove old codeowners entry
* skip codeowners generation when .github/CODEOWNERS doesn't exist
* fall back to format validation if user is offline
* update question style
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-08 13:31:57 -07:00
Tiago Costa
1cbf83f73c
chore(NA): remove src folder requirement from packages (part 2) ( #138476 )
...
* refact(NA): apply root_input_dir=src to each already created pkg
* refact(NA): update package generator
* fix(NA): correctly use rootDir
* fix(NA): use root input dir on latest introduced pkgs for jsts_transpiler macro
* chore(NA): merge with main
* chore(NA): first attempt to complete removal of src folder on a small group of pkgs
* Revert "chore(NA): first attempt to complete removal of src folder on a small group of pkgs"
This reverts commit b6f34b7530
.
* chore(NA): remove src folder requirement from xpack pkgs
* chore(NA): remove src folder from analytics pkgs
* chore(NA): remove src folder from home pkgs
* chore(NA): remove src folder from shared_ux pkgs
* fix(NA): remove missing src folder inputs on sharedux pkg
* chore(NA): remove src folder from kbn-a* pkgs
* chore(NA): remove src folder from kbn-b* pkgs
* chore(NA): remove src folder from kbn-c* pkgs
* chore(NA): correct exclude pattern for each changed pkg
* chore(NA): remove src folder from kbn-y* pkgs
* chore(NA): remove src folder from kbn-e* pkgs
* chore(NA): remove src folder from kbn-f* and kbn-g* pkgs
* chore(NA): remove src folder from kbn-f* and kbn-g* pkgs
* chore(NA): remove src folder from kbn-h** pkgs
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Revert "chore(NA): remove src folder from kbn-h** pkgs"
This reverts commit dcdf72bcc1
.
* fix(NA): grammar location
* test(NA): fix tests for kbn/config-schema
* test(NA): fix tests for kbn/config-schema
* chore(NA): multiple errors fixed
* chore(NA): remove kuery grammar fix
* fix(NA): @kbn/ace imports
* fix(NA): grammar location
* fix(NA): add missing files to tsconfigs
* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'
* chore(NA): complete tsconfigs
* Revert "chore(NA): complete tsconfigs"
This reverts commit f48c616864
.
* chore(NA): remove src folder from kbn-core* pkgs
* chore(NA): remove src folder from kbn-u* pkgs
* chore(NA): remove src folder from kbn-ui-shared-deps* pkgs
* chore(NA): fix problems on core pkgs
* chore(NA): fix problems on core pkgs
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* fix(NA): shared_built_assets correct location'
* test(NA): update @kbn/optimizer integration snapshots
* chore(NA): remove src folder from kbn-t* p1 pkgs
* chore(NA): remove src folder from kbn-t* p2 pkgs
* chore(NA): update rootDir on utility types pkg
* chore(NA): include missing files on @kbn/test
* chore(NA): include missing files on @kbn/test
* fix(NA): new jest preset paths on @kbn/test
* chore(NA): fix eslint
* fix(NA): new jest preset paths on @kbn/test
* chore(NA): remove exclusion for mocks folde on @kbn/test
* fix(NA): several imports from target_node
* fix(NA): @kbn/test mocha and jest types clash
* chore(NA): remove src folder from kbn-storybook pkg
* chore(NA): remove src folder from kbn-stdio-dev-helpers pkg
* chore(NA): remove src folder from kbn-std pkg
* chore(NA): remove src folder from kbn-sort-pkg-json pkg
* chore(NA): remove src folder from kbn-some-dev-log and kbn-shared-ux-utility pkgs
* chore(NA): remove src folder from kbn-ux-storybook pkg
* chore(NA): remove src folder from kbn-shared-ux-services pkg
* chore(NA): remove src folder from kbn-shared-ux-components pkg
* chore(NA): remove src folder from kbn-shared-svg pkg
* chore(NA): remove src folder from kbn-server-http-tools pkg
* chore(NA): remove src folder from kbn-securitysolution-* pkgs
* chore(NA): remove src folder from kbn-r-* pkgs
* chore(NA): remove src folder from kbn-p* pkgs
* chore(NA): remove src folder from kbn-o* pkgs
* chore(NA): remove src folder from kbn-m* pkgs
* chore(NA): remove src folder from kbn-j,k,l* pkgs
* chore(NA): remove src folder from kbn-j,k,l* pkgs
* chore(NA): remove src folder from kbn-io-ts-utils* pkgs
* chore(NA): remove src folder from kbn-* pkgs except a few
* chore(NA): update @kbn/generate
* fix(NA): wrong exclusion on kbn-storybook
* chore(NA): remove src folder from kbn-monaco pkg
* chore(NA): remove src folder from kbn-interpreter pkg
* fix(NA): wrong exclusion on kbn-storybook
* chore(NA): update every require for target_*/src
* chore(NA): remover src folder from @kbn/handlebars
* fix(NA): license for @kbn/handlebars
* chore(NA): copy templates as part of the jsts_transpiler macro for @kbn/storybook
* chore(NA): update handlebars
* fix(NA): @kbn/plugin-generator import paths
* fix(NA): bundle sizes
* fix(NA): web bundle for @kbn/i18n-react
* Revert "fix(NA): bundle sizes"
This reverts commit 8aefe84fbc
.
* Revert "Revert "fix(NA): bundle sizes""
This reverts commit e9d87d72a4
.
* fix(NA): @kbn/docs-utils index.ts path expectation
* chore(NA): merge and solve conflicts with main
* fix(NA): relative import to index
* chore(NA): merge and solve conflicts with main
* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'
* chore(NA): apply eslint fix
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-30 15:57:35 +01:00
Tiago Costa
df8b62aa98
chore(NA): allow packages to not have an obligation for a src folder on packages ( #138038 )
...
* refact(NA): apply root_input_dir=src to each already created pkg
* refact(NA): update package generator
* fix(NA): correctly use rootDir
* fix(NA): use root input dir on latest introduced pkgs for jsts_transpiler macro
* chore(NA): merge with main
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-08 15:54:05 +01:00
Spencer
a3b2757e4e
[type-summarizer] reimplement for broader support ( #135163 )
...
* [type-summarizer] reimplement for broader support
* Enable sourceMaps in all packages
* include naming collision in summarizePackage test
* fix readmes
* remove unnecessary transient dependency
* remove code that was commented out
* remove outdated todo comment
* ensure errors triggered by untyped-exports are ligible
* remove unused import
* break out snippet generation from AstIndexer
* refactor several massive files into smaller pieces and add more inline docs
* fix typos
* update jest snapshots
* add sections to readme that points people to the useful parts of the source code along with a high-level overview of how the type-summarizer works
* remove --dump flag, it doesn't work
* use decName instead of calling names.get a second time
* include `export` as invalid name
2022-07-06 13:48:45 -05:00
Dario Gieselaar
c8a206545a
[APM] Improve error message for route matching ( #126455 )
2022-03-01 14:49:27 +01:00
Spencer
614139b8e5
[bazel] avoid a little boilerplate in packages ( #126309 )
...
* [bazel] avoid a little boilerplate for @types packages
* [bazel/ts] stop building sourcemaps since they're ignored
2022-02-24 12:43:12 -06:00
Tiago Costa
1af9629c58
chore(NA): splits types from code on @kbn/typed-react-router-config ( #124944 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-08 20:58:01 +00:00
Dario Gieselaar
429b2528f3
[APM] Simplify browser router types ( #123549 )
2022-01-24 13:02:47 +00:00
Tiago Costa
735948de4d
chore(NA): splits types from code on @kbn/io-ts-utils ( #123431 )
...
* chore(NA): splits types from code on @kbn/io-ts-utils
* chore(NA): missing import keys
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-21 00:17:38 +00:00
Miriam
b0f4e88f3d
Add infrastructure tab to service-details ( #123037 )
...
* Add infrastructure tab to service-details
* Fix ts recursive limit
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-17 09:26:13 +00:00
Muneeb Sajjad
2c6ef2047f
[APM] Update "customize-app" route path ( #121032 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-14 18:37:46 -05:00
Dario Gieselaar
5b359a90b0
[APM] TypeScript performance fix ( #120754 )
...
* [APM] TypeScript performance fix
* Clarify use_apm_params split with comments
* Remove ts-expect-error for security plugin
* Fix type error in searchtypes
2021-12-09 11:29:18 +01:00
Dario Gieselaar
7f0a6cf8ca
[APM] Revert kbn/typed-react-router-config changes ( #120581 )
2021-12-07 11:46:55 +01:00
Tyler Smalley
92a8636f0f
Upgrade Typescript to 4.3.5 ( #104470 )
...
Co-authored-by: Mikhail Shustov <restrry@gmail.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Kyle Pollich <kpollich1@gmail.com>
Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Kevin Qualters <kevin.qualters@elastic.co>
Co-authored-by: Candace Park <candace.park@elastic.co>
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: spalger <spencer@elastic.co>
2021-12-02 16:27:41 -08:00
Spencer
4e443cca4f
[kbn/io-ts] export and require importing individual functions ( #117958 )
2021-11-09 11:42:39 -07:00
Dario Gieselaar
6aade8f0eb
[APM] Ensure refresh button works ( #112652 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 13:03:09 +02:00
Dario Gieselaar
884165af28
[APM] Ensure multiple path parameters are matched ( #112958 )
2021-09-23 18:39:25 +02:00
Tyler Smalley
4681a80317
[DX] Upgrade prettier to v2.4.0 ( #112359 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:30 -07:00
Dario Gieselaar
96bffbfaf8
[APM] Use full path in route definition ( #111501 )
2021-09-09 08:30:26 +02:00
Tiago Costa
7c4e4f507b
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule ( #110620 )
...
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule
* chore(NA): update @kbn/ace build to exclude worker file
* chore(NA): remove config file support
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-03 21:17:46 +01:00
Dario Gieselaar
6e3af2b524
[APM] Support multiple route paths in useApmParams ( #109370 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 15:38:06 +02:00
Tiago Costa
79f1e18686
chore(NA): moving @kbn/io-ts-utils to babel transpiler ( #108517 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-13 18:39:35 +01:00
Dario Gieselaar
a474a63a7f
[APM] Make environment & kuery required ( #108338 )
2021-08-13 09:50:14 -04:00
Spencer
c0395c9ef6
[build_ts_refs] improve caches, allow building a subset of projects ( #107981 )
...
* [build_ts_refs] improve caches, allow building a subset of projects
* cleanup project def script and update refs in type check script
* rename browser_bazel config to avoid kebab-case
* remove execInProjects() helper
* list references for tsconfig.types.json for api-extractor workload
* disable composite features of tsconfig.types.json for api-extractor
* set declaration: true to avoid weird debug error
* fix jest tests
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-10 22:12:45 -07:00
Dario Gieselaar
78e2bd2788
[APM] Make rangeFrom/rangeTo required ( #107717 )
2021-08-10 05:56:15 -04:00
Tiago Costa
78a54fb985
chore(NA): moving @kbn/typed-react-router-config to babel transpiler ( #107437 )
2021-08-02 22:35:13 +01:00
Dario Gieselaar
9fcfeba464
[UX] make route match optional in EnvironmentFilter ( #105780 )
...
Closes #105757 .
2021-07-16 10:52:40 -04:00
Dario Gieselaar
821aeb1ff4
[APM] Typed client-side routing ( #104274 )
...
* [APM] @kbn/typed-router-config
* [APM] typed route config
* Breadcrumbs, wildcards
* Migrate settings, home
* Migrate part of service detail page
* Migrate remaining routes, tests
* Set maxWorkers for precommit script to 4
* Add jest types to tsconfigs
* Make sure transaction distribution data is fetched
* Fix typescript errors
* Remove usage of react-router's useParams
* Add route() utility function
* Don't use ApmServiceContext for alert flyouts
* Don't add onClick handler for breadcrumb
* Clarify ts-ignore
* Remove unused things
* Update documentation
* Use useServiceName() in ServiceMap component
2021-07-15 11:30:59 +02:00