copy-file-util 1.3.0 → 1.3.1
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 -1
- package/bin/cli.js +1 -0
- package/dist/copy-file.d.ts +1 -1
- package/dist/copy-file.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ Examples:
|
|
|
65
65
|
- `copy-file 'src/Legal Notice.md' --folder dist`<br>
|
|
66
66
|
Copies a file that has a space in its filename.
|
|
67
67
|
|
|
68
|
-
- `copy-file node_modules/ui-xlib/colors.less --
|
|
68
|
+
- `copy-file node_modules/ui-xlib/colors.less --folder src/css --platform-eol`<br>
|
|
69
69
|
Copies `colors.less` into your project and converts the file's EOL characters to `\n` for LF
|
|
70
70
|
on Unix and `\r\n` for CRLF on Windows.
|
|
71
71
|
|
package/bin/cli.js
CHANGED
|
@@ -53,6 +53,7 @@ const options = {
|
|
|
53
53
|
cd: cli.flagMap.cd ?? null,
|
|
54
54
|
move: cli.flagOn.move,
|
|
55
55
|
overwrite: !cli.flagOn.noOverwrite,
|
|
56
|
+
platformEol: cli.flagOn.platformEol,
|
|
56
57
|
[targetKey]: target.replace(templateVariables, getPackageField),
|
|
57
58
|
};
|
|
58
59
|
const result = copyFile.cp(source, options);
|
package/dist/copy-file.d.ts
CHANGED
package/dist/copy-file.js
CHANGED
package/package.json
CHANGED