Adam Reis
24ce4a65fb
3.0.0
v3.0.0
2017-11-02 10:38:23 +13:00
Adam Reis
879b41cb95
Revert version
2017-11-02 10:38:03 +13:00
Adam Reis
23235f88b5
Update dependencies
2017-11-02 10:37:23 +13:00
Adam Reis
3470f938fc
Merge branch '3.0.0' of github.com:adamreisnz/replace-in-file into 3.0.0
2017-11-02 10:34:40 +13:00
Adam Reis
5da8f26270
3.0.0
2017-11-02 10:33:50 +13:00
Adam Reis
489fed8c03
3.0.0-beta.2
v3.0.0-beta.2
2017-09-15 09:32:03 +12:00
Greg Magolan
a0045eae5d
Pass filename as last arg to replacer function ( #34 )
...
* Pass filename as last arg to replacer function
* - Cleaned up replacer function override to use ES6
- Added replacer function tests to Async callback & Sync specs
2017-09-15 09:30:53 +12:00
Adam Reis
1f5bcedb9e
3.0.0-beta.1
v3.0.0-beta.1
2017-09-14 14:44:13 +12:00
Adam Reis
ae5acca527
Coverage back to 100%
2017-09-14 14:38:09 +12:00
Adam Reis
8b45fe754e
Fix tests
2017-09-14 14:30:51 +12:00
Adam Reis
dc3ea7368e
3.0.0
...
- Drop deprecated API
- Drop support for Node 4 and 5
- Refactor and clean up code base
- Leverage destructuring
- Option to disable globs (#33 )
- Update readme
2017-09-14 14:23:05 +12:00
Adam Reis
c044c5a5cb
2.6.4
v2.6.4
2017-09-04 15:18:57 +12:00
Adam Reis
823cb1183f
Explain usage of callbacks in readme
2017-09-04 15:18:40 +12:00
Adam Reis
6e67158700
Add Node 8 to travis test
2017-09-04 14:07:02 +12:00
Adam Reis
372ab9c656
2.6.3
v2.6.3
2017-08-26 08:19:51 +12:00
Adam Reis
cf00882d82
Handle undefined ignore param
2017-08-26 08:19:32 +12:00
Adam Reis
4cbee855f8
2.6.2
v2.6.2
2017-08-25 12:53:33 +12:00
Adam Reis
76fe912ba1
Fix typo
2017-08-25 12:53:16 +12:00
Adam Reis
2aa5eea1e0
2.6.1
v2.6.1
2017-08-25 07:41:36 +12:00
Adam Reis
e5a5c8e3b3
Update packages
2017-08-25 07:41:18 +12:00
Adam Reis
790f08f2a7
2.6.0
v2.6.0
2017-08-25 07:38:49 +12:00
Adam Reis
4f4991cfe5
Add sync unit test for ignored files
2017-08-25 07:38:33 +12:00
Adam Reis
dae627324e
Update readme, fix line length
2017-08-25 07:34:56 +12:00
Kodie Grantham
508ad44b09
Added ignore option ( #27 )
...
Ability to ignore files, since Glob doesn't take negated globs anymore since version 4 or 5.
2017-08-25 07:28:43 +12:00
Adam Reis
359aa4b8e6
2.5.4
v2.5.4
2017-08-15 14:19:34 +12:00
Adam Reis
42236ba44e
Clarify usage for replacing multiple occurrences
2017-08-15 14:19:14 +12:00
Adam Reis
270549f5ce
2.5.3
v2.5.3
2017-07-04 09:00:15 +12:00
Adam Reis
bb3ddb97d2
Update dependencies
2017-07-04 09:00:04 +12:00
Adam Reis
abdc84bb1f
2.5.2
v2.5.2
2017-06-22 09:36:55 +12:00
Adam Reis
ac3afc21ad
[bump] Update dependencies
2017-06-22 09:36:32 +12:00
Adam Reis
adb5fb1d80
2.5.1
v2.5.1
2017-06-22 09:32:02 +12:00
Adam Reis
483c92b15c
[fix] URL in package.json
2017-06-22 09:31:33 +12:00
Adam Reis
90c09ed1dd
[fix] #22 Explicitly document return value
2017-06-22 09:31:11 +12:00
Adam Reis
eee947e744
Add test to prove substring replacement is working
2017-03-12 12:44:20 +13:00
Adam Reis
d8aff85ba8
2.5.0
v2.5.0
2017-03-07 16:11:35 +13:00
Adam Reis
1400e4c4c6
Consistent error logging
2017-03-07 16:11:07 +13:00
Adam Reis
defdeaa52a
Tweak to CLI logging
2017-03-07 16:09:21 +13:00
Adam Reis
61a4c54214
Clean up
2017-03-07 16:08:20 +13:00
Dawson Botsford
f99a27310d
Move changedFiles logging outside of if ( #17 )
...
When the changed file was not found, there was no information from the cli which would let me know this. Because of that, an incorrect file path would be silently responded to with `"Replacing from with to"`.
2017-03-07 16:04:02 +13:00
Ryan Zimmerman
3a3ca2ce59
Add config file support ( #16 )
...
* Add config file support
* Allow passing files to config
* Fixes #15
2017-03-07 16:02:36 +13:00
Adam Reis
acf5fc7815
2.4.1
v2.4.1
2017-03-04 17:49:00 +13:00
Adam Reis
e97fd309ac
Update dependencies
2017-03-04 17:48:47 +13:00
Adam Reis
849c1b653a
2.4.0
v2.4.0
2017-02-21 21:26:40 +13:00
Adam Reis
faf15348ad
Exit on regex error
2017-02-21 21:26:01 +13:00
Ryan Graham
fbc7de4772
Added support for passing Regex into CLI ( #14 )
...
* Added support for passing Regex into CLI
This will allow for passing the `from`/`to` parameters as regex in the format `\match\g` through the CLI. If pattern does not match a Regex it will fall back to passing through as a `String`.
* - Fixed style inconsistencies
- Added -isRegex parameter to explicitly state ‘from’ parameter is a regex
- Removed regex support from ‘to’ parameter
* Replaced -isRegex with —isRegex and moved to the end of the param list
* Added line and sample syntax for CLI in README
2017-02-21 21:23:34 +13:00
Adam Reis
f176f676f0
2.3.2
v2.3.2
2017-02-15 07:28:56 +13:00
Adam Reis
49b41fe41e
Avoid destructuring to support Node 4 & 5
2017-02-15 07:27:43 +13:00
Adam Reis
c9a0b9935f
2.3.1
v2.3.1
2017-02-15 07:16:50 +13:00
Adam Reis
801f211c8e
Fix glob expansion in CLI wrapper
2017-02-14 10:48:14 +13:00
Adam Reis
89faa02639
Update readme
2017-02-13 18:35:45 +13:00