-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove core->cli dependency #95145
Merged
pgayvallet
merged 45 commits into
elastic:master
from
pgayvallet:kbn-76935-extract-cli-dev-mode
Mar 30, 2021
Merged
Remove core->cli dependency #95145
Changes from 28 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
7fdc347
extract http_tools to package
pgayvallet 3c7ca94
fix readme
pgayvallet a617ef8
start moving stuff
pgayvallet 10dcd75
cleaning up `isDevCliParent`
pgayvallet 023c6af
choose bootstrap script
pgayvallet 38ab1af
fix bootstrap script logic
pgayvallet fb098c0
fix watch paths logic
pgayvallet 0967c20
import REPO_ROOT from correct package
pgayvallet 54ee08a
create the @kbn/crypto package
pgayvallet 1ef4ddd
update core's `dev` config
pgayvallet d2e1ba0
only export bootstrap function
pgayvallet 6a64c1c
extract sslConfig to http-tools package
pgayvallet 790b74a
fix core types
pgayvallet 3ddd3e7
fix optimizer tests
pgayvallet a25f37c
fix cli_dev_mode tests
pgayvallet f4892b4
fix basePath proxy tests
pgayvallet 783e4f7
update generated doc
pgayvallet a7a0b1f
fix unit tests
pgayvallet f19dfa1
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet 77e5625
create @kbn/dev-cli-mode package
pgayvallet 6908053
remove useless comment
pgayvallet 587d275
self-review NITS
pgayvallet 47db89a
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet 3092af1
update CODEOWNERS file
pgayvallet 74a7a35
add devOnly flag
pgayvallet 35420c6
use variable for DEV_MODE_PATH
pgayvallet 2fe3e49
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet eafa84c
review comments
pgayvallet 83943d1
fix logger/log adapter
pgayvallet bd2a5a8
fix log calls in base path proxy server
pgayvallet 63f059a
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet b14bdcc
address some review comments
pgayvallet 78d0d42
rename @kbn/http-tools to @kbn/server-http-tools
pgayvallet 70dadaa
more review comments
pgayvallet 08ed6ea
move test to correct file
pgayvallet fd26fba
add comment on getBootstrapScript
pgayvallet 107bb39
fix lint
pgayvallet 324d2d8
lint
pgayvallet dabd6eb
add cli-dev-mode to eslint dev packages
pgayvallet 19a018e
review comments
pgayvallet e2ab226
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet f47fc07
update yarn.lock
pgayvallet 28ef9e8
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet b007289
Revert "[ci] skip building ts refs when not necessary (#95739)"
pgayvallet a123e34
Merge remote-tracking branch 'upstream/master' into kbn-76935-extract…
pgayvallet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,8 @@ | |
"@kbn/apm-utils": "link:packages/kbn-apm-utils", | ||
"@kbn/config": "link:packages/kbn-config", | ||
"@kbn/config-schema": "link:packages/kbn-config-schema", | ||
"@kbn/crypto": "link:packages/kbn-crypto", | ||
"@kbn/http-tools": "link:packages/kbn-http-tools", | ||
"@kbn/i18n": "link:packages/kbn-i18n", | ||
"@kbn/interpreter": "link:packages/kbn-interpreter", | ||
"@kbn/legacy-logging": "link:packages/kbn-legacy-logging", | ||
|
@@ -358,6 +360,7 @@ | |
"@jest/reporters": "^26.5.2", | ||
"@kbn/babel-code-parser": "link:packages/kbn-babel-code-parser", | ||
"@kbn/babel-preset": "link:packages/kbn-babel-preset", | ||
"@kbn/cli-dev-mode": "link:packages/kbn-cli-dev-mode", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"@kbn/dev-utils": "link:packages/kbn-dev-utils", | ||
"@kbn/docs-utils": "link:packages/kbn-docs-utils", | ||
"@kbn/es": "link:packages/kbn-es", | ||
|
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,13 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
module.exports = { | ||
preset: '@kbn/test', | ||
rootDir: '../..', | ||
roots: ['<rootDir>/packages/kbn-cli-dev-mode'], | ||
}; |
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 @@ | ||
{ | ||
"name": "@kbn/cli-dev-mode", | ||
"main": "./target/index.js", | ||
"types": "./target/index.d.ts", | ||
"version": "1.0.0", | ||
"license": "SSPL-1.0 OR Elastic License 2.0", | ||
"private": true, | ||
"scripts": { | ||
"build": "../../node_modules/.bin/tsc", | ||
"kbn:bootstrap": "yarn build" | ||
pgayvallet marked this conversation as resolved.
Show resolved
Hide resolved
|
||
}, | ||
"kibana": { | ||
"devOnly": true | ||
}, | ||
"dependencies": { | ||
"@kbn/config": "link:../kbn-config", | ||
"@kbn/config-schema": "link:../kbn-config-schema", | ||
"@kbn/logging": "link:../kbn-logging", | ||
"@kbn/http-tools": "link:../kbn-http-tools", | ||
"@kbn/optimizer": "link:../kbn-optimizer", | ||
"@kbn/std": "link:../kbn-std", | ||
"@kbn/utils": "link:../kbn-utils" | ||
}, | ||
"devDependencies": { | ||
"@kbn/dev-utils": "link:../kbn-dev-utils", | ||
"@kbn/utility-types": "link:../kbn-utility-types" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not change anything on any core type. Moving stuff around just had some effects on TS non-deterministic type generation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately, the print order in union types is indeterministic, we should minimize the number of Union type occurrences in the public types #78126