[ https://issues.apache.org/jira/browse/CB-12766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179098#comment-16179098 ]
ASF GitHub Bot commented on CB-12766: ------------------------------------- Github user funkyvisions commented on the issue: https://github.com/apache/cordova-lib/pull/558 I don't like that my original package.json and config.xml get overwritten. I manage them myself and have lots of comments in them to detail intricacies. I also group things together so that they make logical sense for me. How can I get cordova to not touch these files? I tried --nosave on prepare and "cordova config set autosave false". Let me know if there is a better place we can have this discussion. This is the only thread I found regarding the overwriting of the configuration files. > Cordova CLI changes package.json indentation > -------------------------------------------- > > Key: CB-12766 > URL: https://issues.apache.org/jira/browse/CB-12766 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-lib > Affects Versions: 7.0.0 > Reporter: Remco Haszing > Assignee: Kerri Shotts > Priority: Minor > Labels: cordova-next, easy-fix > > While Cordova is busy adding platforms / plugins, it writes to package.json > several times. In this process the indentation of package.json alternates > between 2 and 4 spaces. The final result is an indentation of 4 spaces, which > conflicts with the indentation of 2 spaces that npm uses. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org