Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Move CodeMirror on node_modules #12963

Closed
wants to merge 2 commits into from
Closed

Conversation

ficristo
Copy link
Collaborator

@ficristo ficristo commented Dec 2, 2016

What I had in mind was something like this.
I think this will NOT work on distribution since the node_modules would be in a different location.
Also I find worrisome I had to change the css link.

Ref #12940

@zaggino
Copy link
Contributor

zaggino commented Dec 2, 2016

Looks good to me, let's test how the distribution mode works.

@ficristo
Copy link
Collaborator Author

ficristo commented Dec 3, 2016

Otherwise we could put another package.json in the src folder.
But the two package.json doesn't seem necessary anymore with the newer versions of electron-builder and I think this is a bit of a contributor barrier.
I still don't have any idea how to change the path for distribution in case of single package.json.
At this point I don't have strong opinions: thoughts?

@swmitra
Copy link
Collaborator

swmitra commented Dec 6, 2016

@ficristo The changes looks good to me. But I have a different question. When I tried to check the changes on my local machine, I had to do a npm install. Is that expected when someone clones the repo for dev setup?

@zaggino
Copy link
Contributor

zaggino commented Dec 6, 2016

@ficristo
Copy link
Collaborator Author

ficristo commented Dec 6, 2016

I tryed to hack something but I wasn't able to make grunt build to pass. (In the specific grunt requirejs)
If nobody has some bright idea I don't think this will work, as is, on distribution.
I'll create a new package.json inside src and see how this will work.
Of course #12940 is still a choice.

@ficristo
Copy link
Collaborator Author

ficristo commented Dec 8, 2016

Closing in favor of #12972.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants