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 +1 -1
- package/README.md +5 -0
- package/dist/copy-file.d.ts +1 -1
- package/dist/copy-file.js +1 -1
- package/package.json +7 -7
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2022-
|
|
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
|
|
package/dist/copy-file.d.ts
CHANGED
package/dist/copy-file.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "copy-file-util",
|
|
3
|
-
"version": "1.1.
|
|
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.
|
|
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.
|
|
95
|
-
"@typescript-eslint/eslint-plugin": "~6.
|
|
96
|
-
"@typescript-eslint/parser": "~6.
|
|
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.
|
|
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.
|
|
104
|
+
"typescript": "~5.3"
|
|
105
105
|
}
|
|
106
106
|
}
|