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 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('=')));
@@ -1,4 +1,4 @@
1
- //! copy-folder-util v0.2.1 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
1
+ //! copy-folder-util v0.2.2 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
2
2
 
3
3
  export declare type Settings = {
4
4
  basename: string;
@@ -1,4 +1,4 @@
1
- //! copy-folder-util v0.2.1 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
1
+ //! copy-folder-util v0.2.2 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
2
2
 
3
3
  import fs from 'fs';
4
4
  import path from 'path';
@@ -1,4 +1,4 @@
1
- //! copy-folder-util v0.2.1 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
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.1",
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.40",
93
- "@typescript-eslint/parser": "~5.40",
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.26",
97
+ "eslint": "~8.27",
98
98
  "jshint": "~2.13",
99
99
  "mocha": "~10.1",
100
100
  "rev-web-assets": "~0.1",