diff --git a/example/api/index-replace.js b/example/api/index-replace.js index 9e2e0a6..7ce13c9 100644 --- a/example/api/index-replace.js +++ b/example/api/index-replace.js @@ -1,10 +1,9 @@ -import Renamer from '../../index.js' +import Renamer from 'renamer' const renamer = new Renamer() const results = await renamer.rename({ files: ['./example/sandbox/**'], replace: '{{index}}.file', - dryRun: true, - chain: 'find-replace' + dryRun: true }) console.log('results', results) diff --git a/example/api/result-iterator.js b/example/api/result-iterator.js index 52401b7..bc29766 100644 --- a/example/api/result-iterator.js +++ b/example/api/result-iterator.js @@ -1,4 +1,4 @@ -import Renamer from '../../index.js' +import Renamer from 'renamer' const renamer = new Renamer() const options = {