Skip to content

Commit

Permalink
Readme note about normalizing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Oct 12, 2023
1 parent 6b1d333 commit 8d65663
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,14 @@ Examples:
- `copy-file app.js --folder dist`<br>
Copies **app.js** into the **dist** folder.

- `copy-file 'src/Legal Notice.md' --folder dist`<br>
Copies a file that has a space in its filename.

- `copy-file app.js --move --folder dist`<br>
Like the `mv` Unix command.

_**Note:** Single quotes in commands are normalized so they work cross-platform and avoid the errors often encountered on Microsoft Windows._

### 4. Template variables
The *target* parameter can contain template variables, like `{{pkg.version}}` and `{{pkg.name}}`, which will be replaced with values with values from your project's **package.json** file.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@
},
"devDependencies": {
"@types/fancy-log": "~2.0",
"@types/node": "~20.6",
"@types/node": "~20.8",
"@typescript-eslint/eslint-plugin": "~6.7",
"@typescript-eslint/parser": "~6.7",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"eslint": "~8.50",
"eslint": "~8.51",
"jshint": "~2.13",
"mocha": "~10.2",
"rimraf": "~5.0",
Expand Down
2 changes: 1 addition & 1 deletion task-runner.sh.command
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ releaseInstructions() {
echo "When ready to do the next release:"
echo
echo " === Increment version ==="
echo " Edit pacakge.json to bump $version to next version number"
echo " Edit package.json to bump $version to next version number"
echo " $projectHome/package.json"
}
nextActionCommitTagPub() {
Expand Down

0 comments on commit 8d65663

Please sign in to comment.