-
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
[cli] migrate remaining cli scripts to /dist /dev style #79409
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
Pinging @elastic/apm-ui (Team:apm) |
Pinging @elastic/ingest-management (Team:Ingest Management) |
93be953
to
f4a1a8a
Compare
This reverts commit f4a1a8a05247ce0023224ad5dc6828c909cd18f6.
b5b6e51
to
d7fe311
Compare
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.
Since there is no more index files, we need to update the bin scripts. Otherwise:
$./bin/kibana-keystore
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/home/tyler/test/kibana-8.0.0-SNAPSHOT-linux-x86_64/src/cli_keystore'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
…ill-prod # Conflicts: # src/dev/build/tasks/copy_source_task.ts
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]distributable file count
History
To update your PR or re-run it, just comment with: |
) Co-authored-by: spalger <[email protected]> Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # src/dev/build/tasks/copy_source_task.ts
Fixes #79470
Fixes #79472
With #79379 we migrated to a different setup strategy for the dist and dev Kibana CLI, with the dev version loading automatic transpilation and the dist version only loading polyfills. This transition didn't make its way to the rest of the CLIs that are included in the distributable.