copy-folder-util 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/bin/cli.js +1 -1
- package/dist/copy-folder.d.ts +1 -1
- package/dist/copy-folder.js +1 -1
- package/dist/copy-folder.umd.cjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -52,6 +52,7 @@ Command-line flags:
|
|
|
52
52
|
| `--basename` | Filter files by filename ignoring the file extension. | **string** |
|
|
53
53
|
| `--cd` | Change working directory before starting copy. | **string** |
|
|
54
54
|
| `--ext` | Filter files by file extension, such as `.js`.<br>Use a comma to specify multiple extensions. | **string** |
|
|
55
|
+
| `--note` | Place to add a comment only for humans. | **string** |
|
|
55
56
|
| `--quiet` | Suppress informational messages. | N/A |
|
|
56
57
|
| `--summary` | Only print out the single line summary message. | N/A |
|
|
57
58
|
|
package/bin/cli.js
CHANGED
|
@@ -26,7 +26,7 @@ import chalk from 'chalk';
|
|
|
26
26
|
import log from 'fancy-log';
|
|
27
27
|
|
|
28
28
|
// Parameters
|
|
29
|
-
const validFlags = ['cd', 'ext', 'quiet', 'summary'];
|
|
29
|
+
const validFlags = ['cd', 'ext', 'note', 'quiet', 'summary'];
|
|
30
30
|
const args = process.argv.slice(2);
|
|
31
31
|
const flags = args.filter(arg => /^--/.test(arg));
|
|
32
32
|
const flagMap = Object.fromEntries(flags.map(flag => flag.replace(/^--/, '').split('=')));
|
package/dist/copy-folder.d.ts
CHANGED
package/dist/copy-folder.js
CHANGED
package/dist/copy-folder.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! copy-folder-util v0.2.
|
|
1
|
+
//! copy-folder-util v0.2.2 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
|
|
2
2
|
|
|
3
3
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "copy-folder-util",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Recursively copy files from one folder to another folder (CLI tool designed for use in npm scripts)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@types/fancy-log": "~2.0",
|
|
91
91
|
"@types/node": "~18.11",
|
|
92
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
93
|
-
"@typescript-eslint/parser": "~5.
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "~5.42",
|
|
93
|
+
"@typescript-eslint/parser": "~5.42",
|
|
94
94
|
"add-dist-header": "~0.3",
|
|
95
95
|
"assert-deep-strict-equal": "~1.0",
|
|
96
96
|
"copy-file-util": "~0.1",
|
|
97
|
-
"eslint": "~8.
|
|
97
|
+
"eslint": "~8.27",
|
|
98
98
|
"jshint": "~2.13",
|
|
99
99
|
"mocha": "~10.1",
|
|
100
100
|
"rev-web-assets": "~0.1",
|