From 8d6566333906756e882d7ccf846cc7763a3f024b Mon Sep 17 00:00:00 2001 From: dpilafian Date: Thu, 12 Oct 2023 00:42:23 -0700 Subject: [PATCH] Readme note about normalizing quotes --- README.md | 5 +++++ package.json | 4 ++-- task-runner.sh.command | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 754c301..fbe3c0d 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,14 @@ Examples: - `copy-file app.js --folder dist`
Copies **app.js** into the **dist** folder. + - `copy-file 'src/Legal Notice.md' --folder dist`
+ Copies a file that has a space in its filename. + - `copy-file app.js --move --folder dist`
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. diff --git a/package.json b/package.json index d65363b..fab2f41 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/task-runner.sh.command b/task-runner.sh.command index 0e6ac18..68ec28b 100755 --- a/task-runner.sh.command +++ b/task-runner.sh.command @@ -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() {