Frank Hassanabad
aa2f5b535d
[Security Solution] Utilizes constants package and deletes duplicate code ( #100513 )
...
## Summary
Utilizes constants package and deletes duplicate code
* Renames the `securitysolution-constants` to be `securitysolution-list-constants` to be specific
* Deletes duplicated code found during cleanup
* Moves more tests into the packages found along the way with the duplicated code
* Moves `parseScheduleDates` from `@kbn/securitysolution-io-ts-types` to `@kbn/securitysolution-io-ts-utils`
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
2021-05-24 18:38:14 -06:00
Frank Hassanabad
192c8ba743
Adds two more packages and moves files into the packages ( #100375 )
...
## Summary
* Adds package `kbn-securitysolution-list-api`
* Adds package `kbn-securitysolution-list-hooks`
* Moves files into the packages
* Moves a few additional types into the other packages such as the `kbn-securitysolution-io-ts-types` package to remove more things from the shard_export/shared_import between lists and security solution
* Removes more duplicated code
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
2021-05-20 12:36:07 -06:00
Frank Hassanabad
9bf488e826
[Security Solutions] Re-arranges and adds more packages to remove copied code ( #100310 )
...
## Summary
* Creates a `securitysolution-list-utils` packaged and moves the first set of utilities into there
* Fixes a slight bug with `kbn-securitysolution-io-ts-list-types` where the wrong name was used
* Moves _all_ of the lists schemas and types into the package `kbn-securitysolution-io-ts-list-types`
* Removes copied code found in a few places
## Tech debt
* Some spots I have to use an `any` in the package as Kibana kbn packages don't have the types I need
* Some spots I copy constants until we can straighten out those pieces.
* I keep copied mock files until we figure out how to share mocks from these packages without adding weight or we create dedicated mock packages for all of this.
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
2021-05-19 15:59:52 -06:00
Tiago Costa
ed797e724b
chore(NA): moving @kbn/server-http-tools into bazel ( #100153 )
2021-05-14 16:14:45 -04:00
Tiago Costa
7124719d5b
chore(NA): moving @kbn/i18n into bazel ( #99390 )
...
* chore(NA): moving @kbn/i18n into bazel
* chore(NA): include javascript locales.js files
* chore(NA): remove build scripts
* chore(NA): remove node types on browser
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-14 21:12:20 +01:00
Frank Hassanabad
7058e919ba
Updates the monorepo-packages list ( #100096 )
...
## Summary
Updates the monorepo-packages list
2021-05-13 17:26:12 -06:00
Tiago Costa
442d7fa680
chore(NA): moving @kbn/docs-utils into bazel ( #100051 )
2021-05-13 20:39:15 +01:00
Frank Hassanabad
6d80bf7a21
[Security Solutions] Removes circular dependencies and introduces kbn-security-solution-es-utils package ( #99828 )
...
## Summary
Fixes the hopefully last circular dependency issues between security solutions and lists.
* Adds a package of `@kbn/securitysolution-es-utils` and moves files from security solutions into that package.
* Re-ingests that package back into lists
Before this PR if you ran:
```ts
node scripts/find_plugins_with_circular_deps.js --debug
```
Then you would get:
```
debg !!!!!!!!!!!!!! CIRCULAR DEPENDENCIES FOUND !!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Circular dependencies were found, you can find below !
! all the paths involved. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
debg 01) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts
02) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/lib/framework/kibana_framework_adapter.ts -> x-pack/plugins/security_solution/server/types.ts
03) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/endpoint/types.ts -> x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts
04) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/endpoint/types.ts -> x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts -> x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.ts
05) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/endpoint/types.ts -> x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts -> x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.ts -> x-pack/plugins/security_solution/server/endpoint/services/index.ts -> x-pack/plugins/security_solution/server/endpoint/services/artifacts/index.ts -> x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/index.ts -> x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.ts
06) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/endpoint/types.ts -> x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts -> x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.ts -> x-pack/plugins/security_solution/server/endpoint/services/index.ts -> x-pack/plugins/security_solution/server/endpoint/services/artifacts/index.ts -> x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/index.ts -> x-pack/plugins/security_solution/server/endpoint/services/artifacts/manifest_manager/manifest_manager.ts -> x-pack/plugins/security_solution/server/endpoint/lib/artifacts/index.ts -> x-pack/plugins/security_solution/server/endpoint/lib/artifacts/lists.ts
07) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/endpoint/types.ts -> x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts -> x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.ts -> x-pack/plugins/security_solution/server/fleet_integration/handlers/install_prepackaged_rules.ts
08) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/compose/kibana.ts -> x-pack/plugins/security_solution/server/endpoint/types.ts -> x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts -> x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.ts -> x-pack/plugins/security_solution/server/fleet_integration/handlers/install_prepackaged_rules.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.ts
09) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/types.ts
10) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts
11) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/query.ts
12) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/query.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/search_after_bulk_create.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/filters/filter_events_against_list.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/filters/types.ts
13) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/threat_match.ts
14) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/threat_match.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/create_threat_signals.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/get_threat_list.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/types.ts
15) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.ts -> x-pack/plugins/security_solution/server/lib/detection_engine/signals/executors/ml.ts
16) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts
17) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.ts
18) x-pack/plugins/lists/server/index.ts -> x-pack/plugins/lists/server/plugin.ts -> x-pack/plugins/lists/server/routes/init_routes.ts -> x-pack/plugins/lists/server/types.ts -> x-pack/plugins/lists/server/services/lists/list_client.ts -> x-pack/plugins/lists/server/siem_server_deps.ts -> x-pack/plugins/security_solution/server/index.ts -> x-pack/plugins/security_solution/server/plugin.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.ts -> x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/mapping.ts
debg !!!!!!!!!!!!!!!!! UP TO DATE ALLOWED LIST !!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The declared circular dependencies allowed list is up !
! to date and includes every plugin listed in above paths. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The allowed circular dependencies list is (#3 ):
'x-pack/plugins/lists -> x-pack/plugins/security_solution',
succ None non allowed circular dependencies were found
```
Now you get:
```
debg !!!!!!!!!!!!!!!!! UP TO DATE ALLOWED LIST !!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The declared circular dependencies allowed list is up !
! to date and includes every plugin listed in above paths. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The allowed circular dependencies list is (#1 ):
'x-pack/plugins/lists -> x-pack/plugins/security_solution',
succ None non allowed circular dependencies were found
```
### Checklist
Delete any items that are not applicable to this PR.
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
2021-05-12 15:55:37 -06:00
Jonathan Budzenski
67595786a7
[packages] Move @kbn/telemetry-tools to Bazel ( #99726 )
2021-05-12 09:27:11 -05:00
Jonathan Budzenski
e4e574082b
[packages] Move @kbn/ace to Bazel ( #99129 )
2021-05-06 14:56:29 -04:00
Tiago Costa
43d3a97f5b
chore(NA): moving @kbn/es into bazel ( #99371 )
...
* chore(NA): moving @kbn/es into bazel
* chore(NA): remove build scripts from pkg json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-05 20:52:01 +01:00
Jonathan Budzenski
ae6109e15a
[packages] Move @kbn/crypto to Bazel ( #99233 )
2021-05-05 11:33:23 -05:00
Frank Hassanabad
366c16c1cd
[Security Solutions][Lists] (Phase 1) Pulls constants from lists and security solutions plugin into its own kbn package ( #99149 )
...
## Summary
Pulls constants from lists plugin into its own kbn package.
Phase 1: Lift and shift small shared constants into kbn package called `kbn-securitysolution-constants`
Phase 2: Deprecate existing code now in packages
Phase 3+: Strangle/remove existing code and use the code from the kbn package
2021-05-04 17:48:16 -06:00
Tiago Costa
d6b41ff7bf
chore(NA): moving @kbn/config into bazel ( #99199 )
2021-05-04 23:04:55 +01:00
Frank Hassanabad
08d7e1c723
[Security Solutions] (Phase 1) Initial checkin with kbn package security-utils added ( #99151 )
...
## Summary
Good place for one off utils to use and reduce/remove the circular deps we have between security_solutions, lists, and anywhere else we have them for different utils.
Phase 1: Adds kbn package of `kbn-securitysolution-utils` through lift and shift
Phase 2: Deprecated the functions
Phase 3: Removes the functions in favor of using the `kbn-securitysolution-utils`
Phase 4+: Adds more and removes dependencies/copies across plugins within the security solution. Maybe we break things out by domain later as this grows in size.
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
2021-05-04 15:43:37 -06:00
Frank Hassanabad
bcde9e2b15
[Security Solutions] (Phase 1) Copies io-ts shared utilities into kibana/packages ( #98999 )
...
## Summary
We are removing duplicated code in sections of plugins into the kibana/packages folder. This is phase 1 of 4+ where:
Phase 1: Lift and shift the io-ts code into `kibana/packages/kbn-securitysolution-io-ts-utils`
Phase 2: Deprecate the utils across plugins any copied code
Phase 3: Replace the deprecated types with the ones in here where we can. [Strangle pattern](https://martinfowler.com/bliki/StranglerFigApplication.html )
Phase 4+: (potentially) consolidating any duplication or everything altogether with the `kbn-io-ts-utils` project
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
2021-05-04 13:19:10 -06:00
Jonathan Budzenski
c7977614ed
[docs/build] Update build dependencies list ( #98545 )
...
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-03 17:04:34 -05:00
Tiago Costa
4af6e9c691
chore(NA): moving @kbn/analytics into bazel ( #98917 )
...
* chore(NA): moving @kbn/analytics into bazel
* chore(NA): fix type check for package migration
* chore(NA): fix type check for package migration
* chore(NA): fix type check for package migration
* chore(NA): separate type generating from server code
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-03 22:34:53 +01:00
Tiago Costa
788bf329b1
chore(NA): moving @kbn/eslint-plugin-eslint into bazel ( #98926 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-30 22:31:38 +01:00
Jonathan Budzenski
3d8f1b1b3b
[packages] Move @kbn/legacy-logging to Bazel ( #98810 )
2021-04-30 14:34:37 -05:00
Tiago Costa
93ed44d2d4
chore(NA): moving @kbn/eslint-import-resolver-kibana into bazel ( #98798 )
2021-04-30 20:14:18 +01:00
Tiago Costa
1f15c6a1ad
chore(NA): moving @elastic/eslint-config-kibana into bazel ( #98648 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-29 17:20:52 +01:00
Tiago Costa
f690c60517
chore(NA): moving @kbn/dev-utils into bazel ( #98496 )
...
* chore(NA): moving @kbn/dev-utils into bazel
* docs(NA): updated generated plugin list
2021-04-28 23:46:33 +01:00
Tiago Costa
fb34ba0337
chore(NA): moving @kbn/logging into bazel ( #98564 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-28 16:01:22 +01:00
Tiago Costa
7c043dc3de
chore(NA): moving @kbn/apm-config-loader into bazel ( #98323 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 18:44:41 +01:00
Tiago Costa
e3d52fc598
chore(NA): moving @kbn/expect into bazel ( #98322 )
2021-04-26 20:09:08 +01:00
Tiago Costa
a304bb3577
chore(NA): moving @elastic/safer-lodash-set into bazel ( #98187 )
2021-04-23 21:28:37 +01:00
Tiago Costa
00940dd0f5
chore(NA): moving @kbn/babel-code-parser into bazel ( #97675 )
...
* chore(NA): moving @kbn/babel-code-parser into bazel
* docs(NA): missing docs about new package
* chore(NA): removing quiet arg
* chore(NA): fix packages build srcs
* chore(NA): change source order on tinymath
* chore(NA): add babelrc
* chore(NA): clear package build migration
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-23 17:48:48 +01:00
Tiago Costa
a8a8289b20
chore(NA): chore(NA): moving @kbn/utils into bazel ( #97833 )
...
* chore(NA): chore(NA): moving @kbn/utils into bazel
* chore(NA): run kbn-test integration test with preserve-symlinks
2021-04-22 17:55:38 +01:00
Tiago Costa
4fbb48daea
chore(NA): chore(NA): moving @kbn/std into bazel ( #97771 )
2021-04-21 20:50:05 +01:00
Tiago Costa
016700908b
docs(NA): adds missing requirement to developing on windows ( #97664 )
2021-04-20 19:57:32 +01:00
Tiago Costa
f0070be7d6
docs(NA): add requirements for windows development into the getting started developer guide ( #97264 )
...
* docs(NA): add requirements for windows development into the getting started developer docs
* chore(NA): change docs id for the new introduced section
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-19 14:09:43 -07:00
Tiago Costa
b6fd28884b
chore(NA): moving @kbn/babel-preset into bazel ( #97271 )
...
* chore(NA): moving @kbn/babel-preset into bazel
* chore(NA): remove unused deps from xpack package.json
2021-04-19 12:37:56 +02:00
Tiago Costa
2bb97f234a
chore(NA): moving @kbn/utility-types into bazel ( #97151 )
...
* chore(NA): moving @kbn/utility-types into bazel
* chore(NA): solve ts config errors
2021-04-15 02:33:38 +01:00
Tiago Costa
0bfa5aaf01
chore(NA): moving @kbn/tinymath into bazel ( #97022 )
...
* chore(NA): moving @kbn/tinymath into bazel
* chore(NA): fixed jest tests
* chore(NA): simplified tsconfig file
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 14:49:19 -04:00
Tiago Costa
e36650de70
chore(NA): moving @kbn/config-schema into bazel ( #96273 )
...
* chore(NA): moving @kbn/config-schema into bazel
* chore(NA): correctly format packages for the new bazel standards
* chore(NA): correctly maps srcs into source_files
* chore(NA): remove config-schema dep from legacy built packages package.jsons
* chore(NA): include kbn/config-schema in the list of bazel packages to be built
* chore(NA): change import to fix typechecking
* chore(NA): remove dependency on new package built by bazel
* chore(NA): be more explicit about incremental setting
* chore(NA): include pretty in the args for ts_project rule
* docs(NA): include package migration completion in the developer getting started
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-14 14:38:10 +01:00
Tiago Costa
47065acb05
chore(NA): moving @kbn/apm-utils into bazel ( #96227 )
...
* chore(NA): moving @kbn/apm-utils into bazel
* chore(NA): add kbn/apm-utils into package.json
* chore(NA): missing standard on build file globs
* chore(NA): be more explicit about incremental setting
* chore(NA): include pretty in the args for ts_project rule
* docs(NA): include package migration completion in the developer getting started
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-13 19:14:06 +01:00
Tiago Costa
e3f5249c88
chore(NA): @kbn/pm new commands to support development on Bazel packages ( #96465 )
...
* chore(NA): add warnings both to run and watch commands about Bazel built packages
* chore(NA): add new commands to build and watch bazel packages
* docs(NA): add documentation about how to deal with bazel packages
* chore(NA): addressed majority of the feedback received except for improved error logging
* chore(NA): disable ibazel info notification.
* chore(NA): remove iBazel notification
* chore(NA): remove iBazel notification - kbn pm dist
* chore(NA): move show_results option to kbn-pm only
* chore(NA): patch build bazel command to include packages target list
* chore(NA): add pretty logging for elastic-datemath
* chore(NA): remove double error output from commands ran with Bazel
* fix(NA): include simple error message to preserve subprocess failure state
* docs(NA): missing docs about how to independentely watch non bazel packages
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-12 20:24:19 -04:00
Michael Paul
426d495299
Fix "to to" spelling error ( #93885 )
...
* Fix "to to" spelling error
* Build API docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-10 17:46:31 +02:00
Tiago Costa
86f1684076
chore(NA): manage npm dependencies within bazel ( #92864 )
...
* chore(NA): full WORKSPACE.bazel logic plus manage yarn dependencies with Bazel
* chore(NA): update BUILD.bazel files comments on root and packages
* chore(NA): add workspace file with useful data
* chore(NA): install deps through bazel
* chore(NA): update workspace file
* chore(NA): update into last rules nodejs
* chore(NA): ensure bazel always run yarn install
* chore(NA): support offline mode
* chore(NA): remove elastic-datemath
* chore(NA): restore bazel 4.0.0
* chore(NA): update kbn pm dist
* chore(NA): introduce force-install command
* docs(NA): update docs with new yarn kbn bootstrap flags
* chore(NA): use path.resolve on kbn bootstrap integrity check verification
* chore(NA): update .yarnrc
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): change cli argument typo
* chore(NA): fix spacing on kbn pm cli
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-03-03 12:37:20 -05:00
Lisa Cawley
14d41c1952
[DOCS] More cleanup in developer docs ( #90506 )
2021-02-08 07:47:36 -08:00
Lisa Cawley
5d9b84ff75
[DOCS] Clean up text ( #90359 )
2021-02-05 09:16:28 -08:00
Thomas Watson
5c719e9ad9
Document how Node.js should be upgraded ( #87450 )
...
* Document how Node.js should be upgraded
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Don't show version numbers as code snippets
* Add information about .ci/Dockerfile edge-case
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-01-11 16:32:33 +01:00
Christiane (Tina) Heiligers
3604995ac2
[Docs] Adds docs on how to run Kibana with the APM agent locally ( #84700 )
...
Co-authored-by: Vignesh Shanmugam <vignesh.shanmugam22@gmail.com>
2020-12-07 12:39:48 -07:00
Tiago Costa
9c3ca2023e
chore(NA): removes auto install of pre-commit hook ( #83566 )
...
* chore(NA): remove kibana pre-commit hook installation from bootstrap
* chore(NA): add support for git ref flag on run precommit hook script
* chore(NA): integrate quick commit checks within the CI
* chore(NA): introduce logging trap to warn about quick commit checks failure and how to reproduce it
* chore(NA): update quick commit checks message
* fix(NA): quick commit checks function def
* chore(NA): fix quick commit checks message quotes
* chore(NA): fix functional call
* chore(NA): fix script to run
* chore(NA): add unexpected debugger statement to test quick commit checks
* chore(NA): update message to log before quick commit checks
* chore(NA): remove extra debugger statement
* chore(NA): add echo message inline with script execution
* chore(NA): add unexpected debugger statement to test quick commit checks
* chore(NA): remove extra usage of debug statement
* chore(NA): wrapping quick commit checks in a func
* chore(NA): export function to use later
* chore(NA): export function to use later
* chore(NA): use child bash script on github checks reporter
* chore(NA): define dir context for commit_check_runner.sh
* fix(NA): permissions for commit_check_runner.sh
* fix(NA): permissions for commit.sh
* chore(NA): format message to log
* chore(NA): add unexpected debugger statement to test quick commit checks
* chore(NA): remove extra usage of debug statement
* chore(NA): format runner message
* chore(NA): replace log.info by log.warning
* docs(NA): include docs for removing the pre-commit hook auto installation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:43:33 +00:00
Mikhail Shustov
ab8a2f7427
[docs] Convert migration guide to asciidoc ( #82600 )
...
* Initial conversion to asciidoc
* Update and split migration guide
* Convert MIGRATION_EXAMPLES to asciidoc
* build with --focus flag
* convert migration guide to asciidoc
* cleanup migration_examples
* fix wrong Heading size
* update links in docs
* Apply suggestions from code review
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
* Apply suggestions from code review
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
* add tooling section
* explain purpose of each lifecycle method
* cleanup docs
* cleanup p2
* fix wrong link
* resturcture core docs
* fix wrong link
* update missing links
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* address comments
* add a commenta about plugin-helpers preconfigured
* improve density of tables
* fix lik
* remove links to the migration guide
* address comments
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* address @gchaps comments
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* change format of ES client change list
Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-11-24 09:46:19 +01:00
gchaps
8de240c57b
Update development-plugin-resources.asciidoc ( #78340 )
...
Replaces {kib} in code comment with Kibana
2020-09-24 10:19:29 -07:00
Tiago Costa
0068c87d6f
chore(NA): add elastic prefix to eslint-config-kibana ( #76059 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-31 20:13:06 +01:00
Spencer
89ae03221b
[docs/getting-started] link to yarn v1 specifically ( #76169 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 14:19:41 -07:00
Nathan L Smith
3541edbb5d
Minor developer guide doc changes ( #75763 )
2020-08-26 08:30:47 -05:00