-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implemented option to install dependencies using npm #38
Conversation
I've accidentally removed this comment. Is there any particular reason that this is commented out? |
☝️ I guess the |
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. However, it would be good to document this change:
- In README available on npm: https://github.com/ckeditor/create-ckeditor5-plugin/tree/0c71db4197b991ea86798c2577be12961dc7f276/packages/create-ckeditor5-plugin#creating-a-package
- In the repository root: https://github.com/ckeditor/create-ckeditor5-plugin/blob/0c71db4197b991ea86798c2577be12961dc7f276/README.md#options
Calling the But it should not be a problem when all packages are installed from the registry. |
But it is an issue if somebody would improve the tool and use npm instead of yarn. So, since we have a difference in installing packages using a file system between packages manager, let's try to create an archive from the |
The problem is more complicated than I thought => npm/npm#15900. Installing the package from an archive file works. But…
|
Ok, I rejected the idea of creating an archive. I'm unsure what should I do with the created archive file. I don't want to see it in my workspace, but if I remove it, the re-installing packages process in Fortunately, I figured that Hence, I'd adjust our tool to use the option. Yarn creates symlinks instead of copying files and install all dependencies correctly. Updating files from the Npm has some bugs when installing packages and I treat this as an upstream bug that may not be resolved. Let's mention it in the README - to use yarn when developing the project. |
Unfortunately… yarn does not create binary files for linked packages, hence this idea was also rejected. Let's use the As for now, let's ignore it. |
Feature: Implemented option to install dependencies using npm. Closes #29.