replace-in-files-cli
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "replace-in-files-cli", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Replace matching strings and regexes in files", | ||
@@ -14,2 +14,3 @@ "license": "MIT", | ||
"type": "module", | ||
"exports": "./api.js", | ||
"bin": { | ||
@@ -22,3 +23,4 @@ "replace-in-files": "./cli.js" | ||
"scripts": { | ||
"test": "xo && ava" | ||
"//test": "xo && ava", | ||
"test": "ava" | ||
}, | ||
@@ -25,0 +27,0 @@ "files": [ |
@@ -35,1 +35,3 @@ # replace-in-files-cli | ||
Real-world use-case: [Bumping version number in a file when publishing to npm](https://github.com/sindresorhus/modern-normalize/commit/c1d65e3f7daba2b695ccf837d2aef19d586d1ca6) | ||
The regex should be [JavaScript flavor](https://www.regular-expressions.info/javascript.html). |
7104
37