-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Issues after introducing new dependency check #1662
Comments
I don't have a clue why For The But OTOH requiring optional I've also found these imports (total 6 in 4 repos):
In other words it looks like we're finding more issues with our hacky package testing desing :D Anyway there are bunch of issues with testing single packages. Also introducing changes to the CI should be tested on all packages not only randomly picked as this leads to breaking up CI :( But I don't know if it is feasible at all because there's 20+ packages to check with new setup. |
Ad 1. My local check: CI: Could we agree that |
Ad 2. 👍 for creating a new solution. From scratch. |
Right after we figure out why it's listed. Because the first thing is to understand what's going on. |
cc @oleq. Do you think that non-optional CSS mixins could be moved to UI? |
These are the places that import stuff from theme-lark directly
First two are in a manual tests so I guess we can ignore that (?). The rest is about |
Then, I'd add theme-lark as a dev dependency of the engine, to avoid potential issues. After all, it's engine's dependency. If we'll move |
Still - I think if something from a package's files (CSS file here) imports something from other package then it must have this that package in it's |
I added https://travis-ci.org/ckeditor/ckeditor5-engine/builds/516111400 For some reason, builds started to timeout after Browserstack's tests are executed. Plus, another issue is that the depcheck should actually kill the build but it does not – tests are executed even when the depcheck returned some incorrect deps: https://travis-ci.org/ckeditor/ckeditor5-engine/builds/516099011 |
Missing |
cd /tmp
git clone [email protected]:ckeditor/ckeditor5-core.git
cd ckeditor5-core/
yarn add @ckeditor/ckeditor5-dev-tests
node ./node_modules/.bin/ckeditor5-dev-tests-check-dependencies produces: Checking dependencies...
Found some issue with dependencies.
┌────────────────────────┬───────────────────────────────┬─────────────────────────┬─────────────────────┬────────────────────────┐
│ Invalid itself imports │ Missing dependencies │ Missing devDependencies │ Unused dependencies │ Unused devDependencies │
├────────────────────────┼───────────────────────────────┼─────────────────────────┼─────────────────────┼────────────────────────┤
│ │ eslint-plugin-ckeditor5-rules │ │ │ │
└────────────────────────┴───────────────────────────────┴─────────────────────────┴─────────────────────┴────────────────────────┘ It could mean we use some kind of side-effect in CKE5 environment and for some reason, depcheck does not detect the package. |
It might be:
The output from dep-check is:
Meaning that The file itself is:
which only extends the base config The Which boils down to previous two points: either bug in I'm for adding the |
It fixes the problem. |
Fix: Fixed issues related to a new dependency checker on Travis. Closes ckeditor/ckeditor5#1662.
We need the final decision and verification that |
After merging PRs listed above, dep-checker should not display any error. Mgit returns 43x: Checking dependencies...
All dependencies are defined correctly. |
I am opening this ticket once again in order to not forget about those PRs. |
Other: Introduced support for CSS files in `depcheck`. See ckeditor/ckeditor5#1662.
Other: Moved `_rwd.css` mixin to `@ckeditor/ckeditor5-ui`. See ckeditor/ckeditor5#1662. BREAKING CHANGE: The `_rwd.css` mixin was moved to `@ckeditor/ckeditor5-ui`.
Other: The `_rwd.css` mixin was moved to this package from `@ckeditor/ckeditor5-theme-lark`. See ckeditor/ckeditor5#1662.
…en pkgs. See ckeditor/ckeditor5#1662. [skip ci]
…en pkgs. See ckeditor/ckeditor5#1662. [skip ci]
…en pkgs. See ckeditor/ckeditor5#1662. [skip ci]
…en pkgs. See ckeditor/ckeditor5#1662. [skip ci]
…en pkgs. See ckeditor/ckeditor5#1662. [skip ci]
…en pkgs. See ckeditor/ckeditor5#1662. [skip ci]
All PRs are closed now. |
https://travis-ci.org/ckeditor/ckeditor5-editor-decoupled/builds/512456662#L2221
There are two issues here:
eslint-plugin-ckeditor5-rules
– dunno.ckeditor5
repo in each package's CIs. To have the same situation that we have when running tests fromckeditor5
. Then, we would also be able to validate e.g. docs. It's not the first problem that we had due to the hacky way we run package tests on CI, so perhaps it's high time to really rethink and clean this.cc @jodator @pomek
The text was updated successfully, but these errors were encountered: