copy-folder-util 0.2.3 → 0.2.5

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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Individual contributors to copy-folder-util
3
+ Copyright (c) 2022-2023 Individual contributors to copy-folder-util
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -45,7 +45,7 @@ $ npm install --global copy-folder-util
45
45
  $ copy-folder src/web ext=.html docs/api-manual
46
46
  ```
47
47
 
48
- ### 3. CLI Flags
48
+ ### 3. CLI flags
49
49
  Command-line flags:
50
50
  | Flag | Description | Value |
51
51
  | ------------ | ----------------------------------------------------- | ---------- |
package/bin/cli.js CHANGED
@@ -37,7 +37,7 @@ const printReport = (results) => {
37
37
  const name = chalk.gray('copy-folder');
38
38
  const source = chalk.blue.bold(results.source);
39
39
  const target = chalk.magenta(results.target);
40
- const arrow = { big: chalk.gray.bold('➤➤➤'), little: chalk.gray.bold('') }; //extra space for alignment
40
+ const arrow = { big: chalk.gray.bold(''), little: chalk.gray.bold('') };
41
41
  const infoColor = results.count ? chalk.white : chalk.red.bold;
42
42
  const info = infoColor(`(files: ${results.count}, ${results.duration}ms)`);
43
43
  const logFile = (file) => log(name, chalk.white(file.origin), arrow.little, chalk.green(file.dest));
@@ -1,4 +1,4 @@
1
- //! copy-folder-util v0.2.3 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
1
+ //! copy-folder-util v0.2.5 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
2
2
 
3
3
  export type Settings = {
4
4
  basename: string;
@@ -1,4 +1,4 @@
1
- //! copy-folder-util v0.2.3 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
1
+ //! copy-folder-util v0.2.5 ~~ 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.3 ~~ https://github.com/center-key/copy-folder-util ~~ MIT License
1
+ //! copy-folder-util v0.2.5 ~~ 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",
3
+ "version": "0.2.5",
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",
@@ -82,7 +82,7 @@
82
82
  "test": "mocha spec/*.spec.js"
83
83
  },
84
84
  "dependencies": {
85
- "chalk": "~5.1",
85
+ "chalk": "~5.2",
86
86
  "cli-argv-util": "~0.1",
87
87
  "fancy-log": "~2.0",
88
88
  "slash": "~5.0"
@@ -90,16 +90,16 @@
90
90
  "devDependencies": {
91
91
  "@types/fancy-log": "~2.0",
92
92
  "@types/node": "~18.11",
93
- "@typescript-eslint/eslint-plugin": "~5.43",
94
- "@typescript-eslint/parser": "~5.43",
93
+ "@typescript-eslint/eslint-plugin": "~5.48",
94
+ "@typescript-eslint/parser": "~5.48",
95
95
  "add-dist-header": "~0.3",
96
96
  "assert-deep-strict-equal": "~1.0",
97
97
  "copy-file-util": "~0.1",
98
- "eslint": "~8.27",
98
+ "eslint": "~8.31",
99
99
  "jshint": "~2.13",
100
- "mocha": "~10.1",
100
+ "mocha": "~10.2",
101
101
  "rev-web-assets": "~0.1",
102
- "rimraf": "~3.0",
102
+ "rimraf": "~4.0",
103
103
  "run-scripts-util": "~0.1",
104
104
  "typescript": "~4.9"
105
105
  }