-
-
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
Switch-to-dev script should add packages instead of linking those #1531
Comments
Maybe we could use |
The main goal is to use changes from Proposals: (1) Use yarn workspaces
(2) Replace versioned packages in
|
Using yarn workspaces to link the repository located in parent directory of the workspace root is not supported by yarn:
In order to use workspaces we could use mrgit to synchronise the This can be circumvented by using Another problem with this approach is that during the testing phase, we want to use Second option, Replace versioned packages in package.json with link/portal would require from each user one time setup, where they would define paths to the repositories which they want to link. Then, after calling One disadvantage to this approach is the fact that calling |
It turned out we should fix #12887 before resolving the issue. |
Recent highlights/updates regarding the issue:
|
To sum up what we decided:
|
Covered by #12970. |
We shouldn't link packages because during
yarn install
, all these packages will be removed (and installed from NPM).I had some issues with that during testing the new test environment on CI. See: ckeditor/ckeditor5-paragraph@c118504. After switching to
yarn add file:
, all issues disappeared.Following command should be called instead:
yarn add file:../ckeditor5-dev/packages/ckeditor5-dev-docs \ file:../ckeditor5-dev/packages/ckeditor5-dev-tests \ file:../ckeditor5-dev/packages/ckeditor5-dev-webpack-plugin \ file:../ckeditor5-dev/packages/ckeditor5-dev-env \ file:../ckeditor5-dev/packages/ckeditor5-dev-utils \ file:../ckeditor5-dev/packages/jsdoc-plugins \ -W
Unfortunately, this solution comes with other bug: all files are copied. It means, if you changed anything in the dev package, you need to install it once again.
The text was updated successfully, but these errors were encountered: