Skip to content
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

Location of x-pack directory should not differ between dev and distributions #31471

Closed
epixa opened this issue Feb 19, 2019 · 3 comments
Closed
Assignees
Labels
build Team:Operations Team label for Operations Team

Comments

@epixa
Copy link
Contributor

epixa commented Feb 19, 2019

The x-pack directory exists in the root of the project during development, but when you run the build task to create artifacts, it moves to node_modules/x-pack. This means there is no reliable way to consistency import oss plugin and core code statically inside x-pack.

It's location should remain static just like our other source code.

I think one of the reasons this was done in the past was to deduplicate shared dependencies, but this should be handled effectively enough now with yarn workspaces.

@epixa epixa added Team:Operations Team label for Operations Team build labels Feb 19, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations

@spalger
Copy link
Contributor

spalger commented Feb 23, 2019

The other reason we did that was to enforce that nobody was doing relative imports to core, but plans change

@tylersmalley
Copy link
Contributor

I have put up a draft PR here: #32722

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

4 participants