Commit graph

134 commits

Author SHA1 Message Date
Tiago Costa
c168791d24
[8.2] chore(NA): remove @kbn/utility-types/jest subpackage (#133448) (#133572)
* chore(NA): remove @kbn/utility-types/jest subpackage (#133448)

* chore(NA): remove @kbn/utility-types/jest subpackage

* chore(NA): include migration rule for import path

* chore(NA): remove double import

* chore(NA): creating a new package

* chore(NA): remove jest mentions from @kbn/utility-types

* docs(NA): complete new readme file

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* chore(NA): remove expect error comment

* chore(NA): merge and solve problems with merge on latest upstream

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 3a6cc6e747)

# Conflicts:
#	src/core/public/chrome/chrome_service.mock.ts
#	src/core/server/core_context.mock.ts
#	src/core/server/mocks.ts
#	src/plugins/data/common/search/expressions/kibana_context.test.ts
#	src/plugins/data/common/search/search_source/mocks.ts
#	src/plugins/data/common/search/search_source/search_source.test.ts
#	src/plugins/data/public/search/collectors/create_usage_collector.test.ts
#	src/plugins/data/public/search/expressions/esaggs.test.ts
#	src/plugins/data/public/search/search_interceptor/search_interceptor.test.ts
#	src/plugins/data/public/search/search_service.test.ts
#	src/plugins/data/server/autocomplete/terms_agg.test.ts
#	src/plugins/data/server/search/expressions/esaggs.test.ts
#	src/plugins/data/server/search/search_service.test.ts
#	src/plugins/data/server/search/search_source/mocks.ts
#	src/plugins/data_view_management/server/routes/preview_scripted_field.test.ts
#	src/plugins/data_views/server/routes/has_data_views.test.ts
#	src/plugins/home/server/services/sample_data/sample_data_registry.test.ts
#	x-pack/plugins/cloud_security_posture/server/plugin.test.ts
#	x-pack/plugins/data_enhanced/public/search/sessions_mgmt/lib/api.test.ts
#	x-pack/plugins/security/server/routes/api_keys/create.test.ts
#	x-pack/plugins/security/server/routes/api_keys/enabled.test.ts
#	x-pack/plugins/security/server/routes/authentication/common.test.ts
#	x-pack/plugins/security/server/routes/authentication/saml.test.ts
#	x-pack/plugins/security/server/routes/authorization/spaces/share_saved_object_permissions.test.ts
#	x-pack/plugins/security/server/routes/deprecations/kibana_user_role.test.ts
#	x-pack/plugins/security/server/routes/index.mock.ts
#	x-pack/plugins/security/server/routes/users/change_password.test.ts
#	x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_context.ts

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-03 16:18:37 -07:00
Tiago Costa
cbc64a6379
[8.2] chore(NA): rename @elastic/eslint-config-kibana as @kbn/eslint-config (#132278) (#132285)
* chore(NA): rename @elastic/eslint-config-kibana as @kbn/eslint-config (#132278)

(cherry picked from commit dea9159c5d)

# Conflicts:
#	package.json
#	packages/BUILD.bazel
#	yarn.lock

* chore(NA): add removed kbn-eslint-import-resolver-kibana
2022-05-16 14:49:35 -07:00
Tiago Costa
86bb11dfb3
chore(NA): upgrades bazel rules nodejs to v5 (#129522) (#129852)
* chore(NA): upgrade bazel into v5

* chore(NA): initial work to upgrade to rules v5

* chore(NA): remove @elastic/datemath jest unit test for eslint plugin imports

* chore(NA): removed packager tsc_wrapped added my mistake

(cherry picked from commit eb0ef19583)

# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-eslint-plugin-imports/src/integration_tests/resolve_kibana_import.test.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-08 16:30:53 -07:00
Spencer
40ba9bf53b
[axe-config] extract module to it's own package (#128815) 2022-03-29 15:12:14 -07:00
Spencer
92d65484a5
[plugin-discovery] move logic to a package (#128684) 2022-03-29 13:19:58 -06:00
Clint Andrew Hall
71af73c18b
[sharedUX] Move to Package-based Architecture (#127546)
* [shared-ux][packages] 1. Create Services Package

* Address review feedback

* [shared-ux][packages] 2. Create Storybook Package (#127548)

* [shared-ux][packages] 2. Create Storybook Package

* [shared-ux][packages] 3. Create Utility Package (#127549)

* [shared-ux][packages] 3. Create Utility Package

* [shared-ux][packages] 4. Create Components Package (#127551)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Merging

* Adding docs

* A few fixes

* Fix TS types

* Fix TS types

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-16 17:13:58 -04:00
Spencer
9871111cf6
[bazel] validate packages/BUILD.bazel in CI (#127241) 2022-03-14 21:34:28 -05:00
Spencer
cdeea9f0e0
[kbn/bazel-packages] rename (#127350) 2022-03-09 15:10:56 -07:00
Spencer
ad0eb60772
[kbn/generate] add basic package generator (#127095) 2022-03-08 18:04:45 -07:00
Spencer
eb68e95acd
[ts] enable sourcemaps in summarized types of @kbn/crypto (#126410)
* [ts] enable sourcemaps in summarized types of @kbn/crypto

* update snapshots

* remove unnecessary exports of @kbn/type-summarizer package

* remove tsc from the build process

* use `@kbn/type-summarizer` to summarize its own types

* add tests for interface and function

* switch to export type where necessary

* ignore __tmp__ in global jest preset

* ignore __tmp__ globally

* remove `@kbn/crypto` types path
2022-03-04 08:02:02 -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
Tiago Costa
a926a57e03
chore(NA): splits types from code on @kbn/logging (#124688)
* chore(NA): splits types from code on @kbn/test

* chore(NA): create new @kbn/test-jest-helpers

* chore(NA): move wrong files into @kbn/test

* chore(NA): remove @kbn/test/jest references

* chore(NA): splits types from code on @kbn/logging

* chore(NA): import type from new @kbn/logging-mocks pkg

* chore(NA): missing deps on bazel build files

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-07 13:46:50 +00:00
Tiago Costa
a5b4b822ce
chore(NA): splits types from code on @kbn/test (#124469)
* chore(NA): splits types from code on @kbn/test

* chore(NA): create new @kbn/test-jest-helpers

* chore(NA): move wrong files into @kbn/test

* chore(NA): remove @kbn/test/jest references

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-04 03:27:39 +00:00
Tiago Costa
b08b2c9ef8
chore(NA): splits types from code on @kbn/storybook (#124199)
* chore(NA): splits types from code on @kbn/storybook

* chore(NA): correct export syntax

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-02 02:00:18 +00:00
Pierre Gayvallet
b4e53f44c3
Create server-side docLinks service (#123818)
* extract docLinks service to a package

* adapt unit tests for docLinks service

* initial server-side docLinks implementation

* add server-side service mock

* fix internal mocks

* update generated doc

* add unit tests for server-side service

* adapt server mocks

* update links due to rebase

* add base tests for new package

* update links from merge

* set kibana-docs team as owners for new package

* split concrete and type import

* update tsdoc

* update links due to merge

* update generated doc
2022-02-01 10:37:15 +01: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
Tiago Costa
356861d23b
chore(NA): splits types from code on @kbn/ui-shared-deps-src (#123313)
* chore(NA): splits types from code on @kbn/ui-shared-deps-src

* chore(NA): break flot-charts into another package

* chore(NA): skip failing tests

* chore(NA): remove skip and add correct value

* chore(NA): fix new ui-theme import

* chore(NA): adding fleet cloned test

* chore(NA): remove cloned test

* chore(NA): remove added typo
2022-01-20 22:04:19 +00:00
Tiago Costa
a6d21cc715
chore(NA): splits types from code on @kbn/ui-shared-deps-npm (#122788) 2022-01-13 02:23:18 +00:00
Tiago Costa
9127318d29
chore(NA): splits types from code on @elastic/safer-lodash-set (#122697)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-12 19:10:36 +00:00
Tiago Costa
64468b7a3e
chore(NA): splits types from code on @kbn/utils (#121924) 2021-12-23 03:18:10 +00:00
Tiago Costa
c3c9195c26
chore(NA): splits types from code on @kbn/utility-types (#121923) 2021-12-23 02:55:13 +00:00
Tiago Costa
0ed61981b7
chore(NA): splits types from code on @kbn/telemetry-tools (#121829) 2021-12-22 09:09:29 -07:00
Tiago Costa
e1a86bac32
chore(NA): splits types from code on @kbn/std (#121815) 2021-12-22 09:45:10 +01:00
Tiago Costa
dc79fa8243
chore(NA): splits types from code on @kbn/server-route-repository (#121810)
* chore(NA): splits types from code on @kbn/server-route-repository

* chore(NA): expose missing type
2021-12-22 03:20:43 +00:00
Tiago Costa
f7a0afc5e1
chore(NA): splits types from code on @kbn/server-http-tools (#121807) 2021-12-22 02:37:29 +00:00
Tiago Costa
0a75d426b9
chore(NA): splits types from code on @kbn/securitysolution-io-ts-utils (#121677)
* chore(NA): splits types from code on @kbn/securitysolution-io-ts-utils

* chore(NA): fix package.json

* chore(NA): merge and solve conflicts with main

* chore(NA): remove any from types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-21 17:24:58 -07:00
Tiago Costa
769efcdd2a
chore(NA): splits types from code on @kbn/securitysolution-list-utils (#121689)
* chore(NA): splits types from code on @kbn/securitysolution-list-utils

* chore(NA): add todos to remove later
2021-12-21 20:38:34 +00:00
Tiago Costa
8357217303
chore(NA): splits types from code on @kbn/interpreter (#121576)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-21 12:23:38 +00:00
Tiago Costa
deabda76a7
chore(NA): splits types from code on @kbn/securitysolutio-utils (#121694) 2021-12-21 04:35:30 +00:00
Tiago Costa
6f882541ab
chore(NA): splits types from code on @kbn/securitysolution-t-grid (#121693) 2021-12-21 04:29:31 +00:00
Tiago Costa
2a193f36e9
chore(NA): splits types from code on @kbn/securitysolution-rules (#121692) 2021-12-21 04:25:19 +00:00
Tiago Costa
9d152da7a1
chore(NA): splits types from code on @kbn/securitysolution-list-hooks (#121688) 2021-12-21 04:05:28 +00:00
Tiago Costa
df8e6199fe
chore(NA): splits types from code on @kbn/securitysolution-list-constants (#121683) 2021-12-21 04:00:46 +00:00
Tiago Costa
d7a7f6b3fb
chore(NA): splits types from code on @kbn/securitysolution-list-api (#121680)
* chore(NA): splits types from code on @kbn/securitysolution-list-api

* chore(NA): export type only

* chore(NA): merge and solve conflicts wth main
2021-12-21 03:46:00 +00:00
Tiago Costa
55bcdf27db
chore(NA): splits types from code on @kbn/securitysolution-io-ts-types (#121676) 2021-12-21 02:58:45 +00:00
Tiago Costa
e203be1613
chore(NA): splits types from code on @kbn/securitysolution-io-ts-list-types (#121672) 2021-12-21 02:54:49 +00:00
Tiago Costa
8525d36e52
chore(NA): splits types from code on @kbn/securitysolution-io-ts-alerting-types (#121670) 2021-12-21 02:14:27 +00:00
Tiago Costa
867862719e
chore(NA): splits types from code on @kbn/securitysolution-hook-utils (#121669) 2021-12-21 02:10:29 +00:00
Tiago Costa
198684effa
chore(NA): splits types from code on @kbn/securitysolution-es-utils (#121664) 2021-12-21 02:05:23 +00:00
Tiago Costa
26024595b0
chore(NA): splits types from code on @kbn/securitysolution-autocomplete (#121662) 2021-12-20 15:43:09 -07:00
Tiago Costa
aa6fe695af
chore(NA): splits types from code on @kbn/rule-data-utils (#121535)
* chore(NA): splits types from code on @kbn/rule-data-utils

* chore(NA): remove old style imports for this pkg

* chore(NA): eslint fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-20 20:41:46 +00:00
Tiago Costa
8496a8b1a3
chore(NA): splits types from code on @kbn/react-field (#121516)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-20 18:43:53 +00:00
Tiago Costa
a2d7a98353
chore(NA): splits types from code on @kbn/plugin-helpers (#121513)
* chore(NA): splits types from code on @kbn/monaco

* chore(NA): splits types from code on @kbn/plugin-helpers
2021-12-17 12:56:32 -07:00
Tiago Costa
6e14dc727d
chore(NA): splits types from code on @kbn/plugin-generator (#121511)
* chore(NA): splits types from code on @kbn/monaco

* chore(NA): splits types from code on @kbn/plugin-generator
2021-12-17 18:29:39 +00:00
Tiago Costa
137260effc
chore(NA): splits types from code on @kbn/monaco (#121423)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-17 03:16:20 +00:00
Tiago Costa
ecf2265d56
chore(NA): splits types from code on @kbn/optimizer (#121426) 2021-12-16 20:04:20 +00:00
Tiago Costa
8c7ed78d26
chore(NA): splits types from code on @kbn/mapbox-gl (#121078)
* chore(NA): splits types from code on @kbn/mapbox-gl

* chore(NA): fix exported types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-14 09:29:52 -05:00
Tiago Costa
b1f4b95064
chore(NA): splits types from code on @kbn/field-types (#121077) 2021-12-13 21:18:16 +00:00
Tiago Costa
662f491251
chore(NA): splits types from code on @kbn/es-query (#120783)
* chore(NA): splits types from code on @kbn/es-query

* chore(NA): add missing type exports

* chore(NA): export types as types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-12-09 02:49:30 +00:00
Tiago Costa
98f41aaf57
chore(NA): splits types from code on @kbn/es-archiver (#120657) 2021-12-08 02:33:32 +00:00