-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Move acorn to devDependencies #131
Conversation
package-lock.json
Outdated
@@ -1,4733 +1,10578 @@ | |||
{ |
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.
npm updated lock file according to .editorconfig
. Should we keep it since new version of npm will do it for every contributor to the project?
Oh I thought devDependencies were for deps related to the build process, whereas dependencies were for deps actually used by the project. No? Not sure I understand your followup comment. Keep what? |
The problem is that we are using the same repo for website and for npm package. So we technically have two sets of dependencies: There is no simple solution for this problem. I suggest to keep
When I called |
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.
I guess moving acorn to devDependencies is fine, can't think of how it may affect anything negatively, so I'm gonna go ahead and approve this.
Then you can merge it whenever you're happy with package-lock.json
? Not sure whether you want to keep it or remove it from this PR. Up to you!
Let’s keep it. It will make contribution simpler for new developer (who will have npm >7 too). |
Sure. Are you able to merge it yourself with the approved review or should I merge it? |
Nope, I do not have Merge button |
I can add you as a collaborator if you plan to work more on the project, what do you think? |
I am not sure about my contribution in month later. Let’s keep PR flow for now. |
@LeaVerou I found another way to reduce npm package size.
dist/
files don’t useacorn
. It was used only in notebook which is not part of npm package.So we can move it from
dependencies
todevDependencies
.