Closed anthonydillon closed 7 years ago
When updating ./run on a project. When you overwrite the package.json it results in a malformed file:
package.json
{ "name": "cn.ubuntu.com", "description": "Django website for cn.ubuntu.com", "scripts": { "test": "sass-lint static/**/*.scss --verbose --no-exit", "clean": "rm -rf node_modules yarn-error.log static/css *.log *.sqlite _site/ build/ .jekyll-metadata", "watch": "node-sass --include-path node_modules --source-map true --watch static/sass --output static/css", "build": "node-sass --include-path node_modules static/sass --output static/css", "//": "Scripts updated by generator-canonical-webteam@0.3.3" }, "author": "Canonical webteam", "devDependencies": { "sass-lint": "^1.10.2", "node-sass": "^4.5.3", "ubuntu-vanilla-theme": "0.0.35", "//": "Dependencies updated by generator-canonical-webteam@0.3.3" } }
Fixed by https://github.com/canonical-webteam/generator-canonical-webteam/commit/96000cf57f9517745a73c158ab508be61ba1a7a7#diff-04f8ece5781eecfa64e2f6ce11be0770
When updating ./run on a project. When you overwrite the
package.json
it results in a malformed file: