-
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
Migrate server-side deprecation
service to packages
#139789
Migrate server-side deprecation
service to packages
#139789
Conversation
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.
self-review
export { mockDeprecationsRegistry } from './deprecations_registry.mock'; | ||
export { mockDeprecationsFactory } from './deprecations_factory.mock'; |
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.
These two mocks were only used for internal testing. There is no code duplication involved this time.
…ide-deprecation-to-packages
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Unknown metric groupsAPI count
ESLint disabled in files
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-core (Team:Core) |
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.
LGTM
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.
LGTM! (better late than never)
* Move files to packages * start fixing usages * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * fix more usages * move mdx files * update READMEs * add author to package files * snake casing Co-authored-by: kibanamachine <[email protected]>
Summary
Fix #135961
#139305 already handled moving most of the public types
This PR creates the following packages:
@kbn/core-deprecations-server-internal
@kbn/core-deprecations-server-mocks
and move the content of
src/core/server/deprecations
accordingly.