Skip to content

Commit

Permalink
Fix CHANGELOG generation in preversion script now that an npm env var…
Browse files Browse the repository at this point in the history
… changed
  • Loading branch information
papandreou committed Jul 9, 2022
1 parent 015e1b5 commit e8c771d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"build": "rollup --config rollup.config.js --sourcemap --format umd --name uninspected -o uninspected.js lib/uninspected.js",
"bookmarklet": "npm run build && (echo -n '<!DOCTYPE html><html><body><a href=\"javascript:' && <uninspected.js sed -e 's/&/\\&amp;/g;' | sed -e 's/\"/\\&quot;/g;' | tr --delete '\\n' && echo -n '%0a;console=uninspected;void(null);\">Replace the console object with uninspected</a></body></html>') > bookmarklet.html",
"prepublishOnly": "npm run bookmarklet",
"preversion": "offline-github-changelog --next=${npm_package_version} > CHANGELOG.md && git add CHANGELOG.md"
"preversion": "offline-github-changelog --next=${npm_new_version} > CHANGELOG.md && git add CHANGELOG.md"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e8c771d

Please sign in to comment.