-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
chore(cli): remove findup-sync from root move to utils package && format ts files #806
Conversation
* chore(cli): move constants to a separate file moved all constants to a separate file for CLI scopre and imported from there. ISSUES CLOSED: webpack#772 * chore(cli): lint files, rm console.log Format all code using prettier, remove console.log ISSUES CLOSED: webpack#772 * chore(cli): codacy fix codacy fix * chore(cli): split destructuring into multiple lines split constants destructuring to multiple lines in config-yargs * chore(cli): update var name, revert oc update var name, revert oc * chore(cli): moved constants to utils moved constants to utils directory
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.
Please import the utility as it was a package
Can we possibly disable Travis comments as everyone can just follow the stack trace on Travis page? Comments seem to create a lot of noise. 😅 |
Sometimes people don't know how get to Travis logs and also from mobile it's not easy to read it. Here it helps and you also get a notification. |
@ematipico makes sense, can you help me figure out why tests are failing? Probably I'm missing something simple. 🤔 |
@ematipico still no help, it installs the npm version and not the local version, can you suggest something? |
Have you tried Update: I'm not from my PC so I may have said obvious things, if it is failing in the CI I don't think it can work without republishing the utils package |
Yeah works that way, locally. How do we make it work here? 🤔 |
You have to run Lerna bootstrap in order to link correctly the packages |
So the key is about listing |
The real issue is that during the CI we don't call the command On your machine works because you linked correctly all the packages by running the command |
If I understand correctly it seems we are running it @ematipico - webpack-cli/azure-pipelines-template.yml Line 24 in b96857f
🤔 |
That's weird 😮 |
cleanup
use absolute path
@anshumanv Thanks for your update. I labeled the Pull Request so reviewers will review it again. @evenstensberg Please review the new changes. |
use relative path for now
@evenstensberg PTAL ✨ |
@evenstensberg it's recommended to use relative imports for tests - lerna/lerna#2052 (comment) |
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.
Nearly there
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
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, thanks for taking the time! 💙
remove findup-sync from package dir and move to utils
ISSUES CLOSED: #805
What kind of change does this PR introduce?
refactor mostly
Did you add tests for your changes?
yes
If relevant, did you update the documentation?
NA
Summary
removed findup-sync package from root, ported to utils
Does this PR introduce a breaking change?
Yes
Other information