copy-file-util 0.1.6 → 0.1.7
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 +2 -2
- package/dist/copy-file.d.ts +1 -1
- package/dist/copy-file.js +1 -1
- package/dist/copy-file.umd.cjs +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 Individual contributors to copy-file-util
|
|
3
|
+
Copyright (c) 2022-2023 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
|
@@ -45,7 +45,7 @@ $ npm install --global copy-file-util
|
|
|
45
45
|
$ copy-file src/web/api.html docs/api-manual.html
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
### 3. CLI
|
|
48
|
+
### 3. CLI flags
|
|
49
49
|
Command-line flags:
|
|
50
50
|
| Flag | Description | Values |
|
|
51
51
|
| ---------- | ---------------------------------------------- | ---------- |
|
|
@@ -58,7 +58,7 @@ Examples:
|
|
|
58
58
|
- `copy-file app.js app.mjs --quiet` Displays no output.
|
|
59
59
|
- `copy-file app.js --folder dist` Copies **app.js** into the **dist** folder.
|
|
60
60
|
|
|
61
|
-
### 4. Template
|
|
61
|
+
### 4. Template variables
|
|
62
62
|
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.
|
|
63
63
|
|
|
64
64
|
Example:
|
package/dist/copy-file.d.ts
CHANGED
package/dist/copy-file.js
CHANGED
package/dist/copy-file.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! copy-file-util v0.1.
|
|
1
|
+
//! copy-file-util v0.1.7 ~~ https://github.com/center-key/copy-file-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-file-util",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"test": "mocha spec/*.spec.js"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"chalk": "~5.
|
|
82
|
+
"chalk": "~5.2",
|
|
83
83
|
"cli-argv-util": "~0.1",
|
|
84
84
|
"dna-engine": "~2.2",
|
|
85
85
|
"fancy-log": "~2.0",
|
|
@@ -88,15 +88,15 @@
|
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@types/fancy-log": "~2.0",
|
|
90
90
|
"@types/node": "~18.11",
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
92
|
-
"@typescript-eslint/parser": "~5.
|
|
91
|
+
"@typescript-eslint/eslint-plugin": "~5.48",
|
|
92
|
+
"@typescript-eslint/parser": "~5.48",
|
|
93
93
|
"add-dist-header": "~0.3",
|
|
94
94
|
"assert-deep-strict-equal": "~1.0",
|
|
95
95
|
"cpy-cli": "~4.2",
|
|
96
|
-
"eslint": "~8.
|
|
96
|
+
"eslint": "~8.31",
|
|
97
97
|
"jshint": "~2.13",
|
|
98
|
-
"mocha": "~10.
|
|
99
|
-
"rimraf": "~
|
|
98
|
+
"mocha": "~10.2",
|
|
99
|
+
"rimraf": "~4.0",
|
|
100
100
|
"run-scripts-util": "~0.1",
|
|
101
101
|
"typescript": "~4.9"
|
|
102
102
|
}
|