copy-file-util 1.1.2 → 1.1.3

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-2023 Individual contributors to copy-file-util
3
+ Copyright (c) 2022-2024 Individual contributors to copy-file-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
@@ -60,9 +60,14 @@ Examples:
60
60
  - `copy-file app.js --folder dist`<br>
61
61
  Copies **app.js** into the **dist** folder.
62
62
 
63
+ - `copy-file 'src/Legal Notice.md' --folder dist`<br>
64
+ Copies a file that has a space in its filename.
65
+
63
66
  - `copy-file app.js --move --folder dist`<br>
64
67
  Like the `mv` Unix command.
65
68
 
69
+ _**Note:** Single quotes in commands are normalized so they work cross-platform and avoid the errors often encountered on Microsoft Windows._
70
+
66
71
  ### 4. Template variables
67
72
  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.
68
73
 
@@ -1,4 +1,4 @@
1
- //! copy-file-util v1.1.2 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
1
+ //! copy-file-util v1.1.3 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
2
2
 
3
3
  export type Settings = {
4
4
  cd: string;
package/dist/copy-file.js CHANGED
@@ -1,4 +1,4 @@
1
- //! copy-file-util v1.1.2 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
1
+ //! copy-file-util v1.1.3 ~~ https://github.com/center-key/copy-file-util ~~ MIT License
2
2
 
3
3
  import chalk from 'chalk';
4
4
  import fs from 'fs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copy-file-util",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Copy or rename a file with optional package version number (CLI tool designed for use in npm scripts)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -85,22 +85,22 @@
85
85
  "dependencies": {
86
86
  "chalk": "~5.3",
87
87
  "cli-argv-util": "~1.2",
88
- "dna-engine": "~3.0",
88
+ "dna-engine": "~3.1",
89
89
  "fancy-log": "~2.0",
90
90
  "slash": "~5.1"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@types/fancy-log": "~2.0",
94
- "@types/node": "~20.6",
95
- "@typescript-eslint/eslint-plugin": "~6.7",
96
- "@typescript-eslint/parser": "~6.7",
94
+ "@types/node": "~20.10",
95
+ "@typescript-eslint/eslint-plugin": "~6.17",
96
+ "@typescript-eslint/parser": "~6.17",
97
97
  "add-dist-header": "~1.3",
98
98
  "assert-deep-strict-equal": "~1.1",
99
- "eslint": "~8.50",
99
+ "eslint": "~8.56",
100
100
  "jshint": "~2.13",
101
101
  "mocha": "~10.2",
102
102
  "rimraf": "~5.0",
103
103
  "run-scripts-util": "~1.2",
104
- "typescript": "~5.2"
104
+ "typescript": "~5.3"
105
105
  }
106
106
  }